; LLVM IR from jgaeddert/liquid-dsp :: sandbox (fskcorr_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 [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [7 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 i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca float, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca { float, float }, align 4
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %41 = alloca float, align 4
  %42 = alloca { float, float }, align 4
  %43 = alloca float, align 4
  %44 = alloca { float, float }, align 4
  %45 = alloca float, align 4
  %46 = alloca float, align 4
  %47 = alloca ptr, align 8
  %48 = alloca float, align 4
  %49 = alloca { float, float }, align 4
  %50 = alloca i64, 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) #8
  store i32 1024, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 256, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 4, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store float -1.000000e+01, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store float -6.000000e+01, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store float 0x3FC99999A0000000, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %51 = load float, ptr %10, align 4, !tbaa !11
  %52 = fdiv float %51, 2.000000e+01
  %53 = call float @powf(float noundef 1.000000e+01, float noundef %52) #8
  store float %53, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %54 = load float, ptr %9, align 4, !tbaa !11
  %55 = load float, ptr %10, align 4, !tbaa !11
  %56 = fadd float %54, %55
  %57 = fdiv float %56, 2.000000e+01
  %58 = call float @powf(float noundef 1.000000e+01, float noundef %57) #8
  store float %58, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %59 = load float, ptr %12, align 4, !tbaa !11
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = uitofp i32 %60 to float
  %62 = fmul float %59, %61
  %63 = fpext float %62 to double
  %64 = call double @llvm.round.f64(double %63)
  %65 = fptoui double %64 to i32
  store i32 %65, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = load i32, ptr %17, align 4, !tbaa !5
  %68 = sub i32 %66, %67
  store i32 %68, ptr %18, align 4, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = load float, ptr %12, align 4, !tbaa !11
  %71 = fpext float %70 to double
  %72 = load i32, ptr %18, align 4, !tbaa !5
  %73 = load i32, ptr %17, align 4, !tbaa !5
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %69, double noundef %71, i32 noundef %72, i32 noundef %73)
  %75 = load i32, ptr %7, align 4, !tbaa !5
  %76 = zext i32 %75 to i64
  %77 = call ptr @llvm.stacksave.p0()
  store ptr %77, ptr %19, align 8
  %78 = alloca i8, i64 %76, align 16
  store i64 %76, ptr %20, align 8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %79

79:                                               ; preds = %90, %2
  %80 = load i32, ptr %13, align 4, !tbaa !5
  %81 = load i32, ptr %7, align 4, !tbaa !5
  %82 = icmp ult i32 %80, %81
  br i1 %82, label %83, label %93

83:                                               ; preds = %79
  %84 = call i32 @rand() #8
  %85 = and i32 %84, 1
  %86 = trunc i32 %85 to i8
  %87 = load i32, ptr %13, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds i8, ptr %78, i64 %88
  store i8 %86, ptr %89, align 1, !tbaa !13
  br label %90

90:                                               ; preds = %83
  %91 = load i32, ptr %13, align 4, !tbaa !5
  %92 = add i32 %91, 1
  store i32 %92, ptr %13, align 4, !tbaa !5
  br label %79, !llvm.loop !14

93:                                               ; preds = %79
  %94 = load i32, ptr %8, align 4, !tbaa !5
  %95 = mul i32 2, %94
  %96 = zext i32 %95 to i64
  %97 = alloca float, i64 %96, align 16
  store i64 %96, ptr %21, align 8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %111, %93
  %99 = load i32, ptr %13, align 4, !tbaa !5
  %100 = load i32, ptr %8, align 4, !tbaa !5
  %101 = icmp ult i32 %99, %100
  br i1 %101, label %102, label %114

102:                                              ; preds = %98
  %103 = load i32, ptr %13, align 4, !tbaa !5
  %104 = uitofp i32 %103 to float
  %105 = load i32, ptr %8, align 4, !tbaa !5
  %106 = uitofp i32 %105 to float
  %107 = fdiv float %104, %106
  %108 = load i32, ptr %13, align 4, !tbaa !5
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds float, ptr %97, i64 %109
  store float %107, ptr %110, align 4, !tbaa !11
  br label %111

111:                                              ; preds = %102
  %112 = load i32, ptr %13, align 4, !tbaa !5
  %113 = add i32 %112, 1
  store i32 %113, ptr %13, align 4, !tbaa !5
  br label %98, !llvm.loop !16

114:                                              ; preds = %98
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %115

115:                                              ; preds = %132, %114
  %116 = load i32, ptr %13, align 4, !tbaa !5
  %117 = load i32, ptr %8, align 4, !tbaa !5
  %118 = icmp ult i32 %116, %117
  br i1 %118, label %119, label %135

119:                                              ; preds = %115
  %120 = load i32, ptr %8, align 4, !tbaa !5
  %121 = load i32, ptr %13, align 4, !tbaa !5
  %122 = sub i32 %120, %121
  %123 = uitofp i32 %122 to float
  %124 = load i32, ptr %8, align 4, !tbaa !5
  %125 = uitofp i32 %124 to float
  %126 = fdiv float %123, %125
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = load i32, ptr %13, align 4, !tbaa !5
  %129 = add i32 %127, %128
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds float, ptr %97, i64 %130
  store float %126, ptr %131, align 4, !tbaa !11
  br label %132

132:                                              ; preds = %119
  %133 = load i32, ptr %13, align 4, !tbaa !5
  %134 = add i32 %133, 1
  store i32 %134, ptr %13, align 4, !tbaa !5
  br label %115, !llvm.loop !17

135:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %136 = load i32, ptr %8, align 4, !tbaa !5
  %137 = load i32, ptr %8, align 4, !tbaa !5
  %138 = mul i32 2, %137
  %139 = call ptr @firinterp_rrrf_create(i32 noundef %136, ptr noundef %97, i32 noundef %138)
  store ptr %139, ptr %22, align 8, !tbaa !9
  %140 = load i32, ptr %7, align 4, !tbaa !5
  %141 = load i32, ptr %8, align 4, !tbaa !5
  %142 = mul i32 %140, %141
  %143 = zext i32 %142 to i64
  %144 = alloca float, i64 %143, align 16
  store i64 %143, ptr %23, align 8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %163, %135
  %146 = load i32, ptr %13, align 4, !tbaa !5
  %147 = load i32, ptr %7, align 4, !tbaa !5
  %148 = icmp ult i32 %146, %147
  br i1 %148, label %149, label %166

149:                                              ; preds = %145
  %150 = load ptr, ptr %22, align 8, !tbaa !9
  %151 = load i32, ptr %13, align 4, !tbaa !5
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds i8, ptr %78, i64 %152
  %154 = load i8, ptr %153, align 1, !tbaa !13
  %155 = uitofp i8 %154 to float
  %156 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %155, float -1.000000e+00)
  %157 = load i32, ptr %13, align 4, !tbaa !5
  %158 = load i32, ptr %8, align 4, !tbaa !5
  %159 = mul i32 %157, %158
  %160 = zext i32 %159 to i64
  %161 = getelementptr inbounds float, ptr %144, i64 %160
  %162 = call i32 @firinterp_rrrf_execute(ptr noundef %150, float noundef %156, ptr noundef %161)
  br label %163

163:                                              ; preds = %149
  %164 = load i32, ptr %13, align 4, !tbaa !5
  %165 = add i32 %164, 1
  store i32 %165, ptr %13, align 4, !tbaa !5
  br label %145, !llvm.loop !18

166:                                              ; preds = %145
  %167 = load ptr, ptr %22, align 8, !tbaa !9
  %168 = call i32 @firinterp_rrrf_destroy(ptr noundef %167)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %169 = load i32, ptr %7, align 4, !tbaa !5
  %170 = load i32, ptr %8, align 4, !tbaa !5
  %171 = mul i32 %169, %170
  %172 = call ptr @dotprod_rrrf_create(ptr noundef %144, i32 noundef %171)
  store ptr %172, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %173 = load i32, ptr %8, align 4, !tbaa !5
  %174 = load i32, ptr %7, align 4, !tbaa !5
  %175 = mul i32 %173, %174
  %176 = call ptr @windowf_create(i32 noundef %175)
  store ptr %176, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %177 = load i32, ptr %8, align 4, !tbaa !5
  %178 = load i32, ptr %7, align 4, !tbaa !5
  %179 = mul i32 %177, %178
  %180 = call float @liquid_sumsqf(ptr noundef %144, i32 noundef %179)
  store float %180, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %181 = load i32, ptr %6, align 4, !tbaa !5
  %182 = zext i32 %181 to i64
  %183 = mul i64 %182, 8
  %184 = trunc i64 %183 to i32
  %185 = call ptr @fft_malloc(i32 noundef %184)
  store ptr %185, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %186 = load i32, ptr %6, align 4, !tbaa !5
  %187 = zext i32 %186 to i64
  %188 = mul i64 %187, 8
  %189 = trunc i64 %188 to i32
  %190 = call ptr @fft_malloc(i32 noundef %189)
  store ptr %190, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %191 = load i32, ptr %6, align 4, !tbaa !5
  %192 = zext i32 %191 to i64
  %193 = mul i64 %192, 8
  %194 = trunc i64 %193 to i32
  %195 = call ptr @fft_malloc(i32 noundef %194)
  store ptr %195, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %196 = load i32, ptr %6, align 4, !tbaa !5
  %197 = zext i32 %196 to i64
  %198 = mul i64 %197, 8
  %199 = trunc i64 %198 to i32
  %200 = call ptr @fft_malloc(i32 noundef %199)
  store ptr %200, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %201 = load i32, ptr %6, align 4, !tbaa !5
  %202 = call ptr @windowcf_create(i32 noundef %201)
  store ptr %202, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %203 = load i32, ptr %6, align 4, !tbaa !5
  %204 = load ptr, ptr %27, align 8, !tbaa !9
  %205 = load ptr, ptr %28, align 8, !tbaa !9
  %206 = call ptr @fft_create_plan(i32 noundef %203, ptr noundef %204, ptr noundef %205, i32 noundef -1, i32 noundef 0)
  store ptr %206, ptr %32, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %207 = load i32, ptr %6, align 4, !tbaa !5
  %208 = load ptr, ptr %29, align 8, !tbaa !9
  %209 = load ptr, ptr %30, align 8, !tbaa !9
  %210 = call ptr @fft_create_plan(i32 noundef %207, ptr noundef %208, ptr noundef %209, i32 noundef 1, i32 noundef 0)
  store ptr %210, ptr %33, align 8, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %211

211:                                              ; preds = %235, %166
  %212 = load i32, ptr %13, align 4, !tbaa !5
  %213 = load i32, ptr %6, align 4, !tbaa !5
  %214 = icmp ult i32 %212, %213
  br i1 %214, label %215, label %238

215:                                              ; preds = %211
  %216 = load ptr, ptr %31, align 8, !tbaa !9
  %217 = load float, ptr %15, align 4, !tbaa !11
  %218 = call float (...) @randnf()
  %219 = call float (...) @randnf()
  %220 = fmul float 0.000000e+00, %219
  %221 = fmul float 1.000000e+00, %219
  %222 = fadd float %218, %220
  %223 = fmul float %217, %222
  %224 = fmul float %217, %221
  %225 = fpext float %223 to double
  %226 = fpext float %224 to double
  %227 = fmul double %225, 0x3FE6A09E667F3BCD
  %228 = fmul double %226, 0x3FE6A09E667F3BCD
  %229 = fptrunc double %227 to float
  %230 = fptrunc double %228 to float
  %231 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 0
  %232 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 1
  store float %229, ptr %231, align 4
  store float %230, ptr %232, align 4
  %233 = load <2 x float>, ptr %34, align 4
  %234 = call i32 @windowcf_push(ptr noundef %216, <2 x float> noundef %233)
  br label %235

235:                                              ; preds = %215
  %236 = load i32, ptr %13, align 4, !tbaa !5
  %237 = add i32 %236, 1
  store i32 %237, ptr %13, align 4, !tbaa !5
  br label %211, !llvm.loop !19

238:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 2400, ptr %35, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %239 = load i32, ptr %35, align 4, !tbaa !5
  %240 = call ptr @spgramcf_create_default(i32 noundef %239)
  store ptr %240, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %241 = call noalias ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
  store ptr %241, ptr %37, align 8, !tbaa !9
  %242 = load ptr, ptr %37, align 8, !tbaa !9
  %243 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %242, ptr noundef @.str.3) #8
  %244 = load ptr, ptr %37, align 8, !tbaa !9
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef @.str.4) #8
  %246 = load ptr, ptr %37, align 8, !tbaa !9
  %247 = load i32, ptr %7, align 4, !tbaa !5
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str.5, i32 noundef %247) #8
  %249 = load ptr, ptr %37, align 8, !tbaa !9
  %250 = load i32, ptr %8, align 4, !tbaa !5
  %251 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.6, i32 noundef %250) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %252

252:                                              ; preds = %266, %238
  %253 = load i32, ptr %13, align 4, !tbaa !5
  %254 = load i32, ptr %7, align 4, !tbaa !5
  %255 = icmp ult i32 %253, %254
  br i1 %255, label %256, label %269

256:                                              ; preds = %252
  %257 = load ptr, ptr %37, align 8, !tbaa !9
  %258 = load i32, ptr %13, align 4, !tbaa !5
  %259 = add i32 %258, 1
  %260 = load i32, ptr %13, align 4, !tbaa !5
  %261 = zext i32 %260 to i64
  %262 = getelementptr inbounds i8, ptr %78, i64 %261
  %263 = load i8, ptr %262, align 1, !tbaa !13
  %264 = zext i8 %263 to i32
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %257, ptr noundef @.str.7, i32 noundef %259, i32 noundef %264) #8
  br label %266

266:                                              ; preds = %256
  %267 = load i32, ptr %13, align 4, !tbaa !5
  %268 = add i32 %267, 1
  store i32 %268, ptr %13, align 4, !tbaa !5
  br label %252, !llvm.loop !20

269:                                              ; preds = %252
  %270 = load ptr, ptr %37, align 8, !tbaa !9
  %271 = load i32, ptr %8, align 4, !tbaa !5
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %270, ptr noundef @.str.6, i32 noundef %271) #8
  %273 = load ptr, ptr %37, align 8, !tbaa !9
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.8) #8
  %275 = load ptr, ptr %37, align 8, !tbaa !9
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.9) #8
  %277 = load ptr, ptr %37, align 8, !tbaa !9
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %277, ptr noundef @.str.10) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %279

279:                                              ; preds = %489, %269
  %280 = load i32, ptr %13, align 4, !tbaa !5
  %281 = load i32, ptr %7, align 4, !tbaa !5
  %282 = add i32 %281, 200
  %283 = icmp ult i32 %280, %282
  br i1 %283, label %284, label %492

284:                                              ; preds = %279
  %285 = load ptr, ptr %27, align 8, !tbaa !9
  %286 = load i32, ptr %6, align 4, !tbaa !5
  %287 = zext i32 %286 to i64
  %288 = mul i64 %287, 8
  call void @llvm.memset.p0.i64(ptr align 4 %285, i8 0, i64 %288, i1 false)
  %289 = load i32, ptr %13, align 4, !tbaa !5
  %290 = load i32, ptr %7, align 4, !tbaa !5
  %291 = icmp ult i32 %289, %290
  br i1 %291, label %292, label %311

292:                                              ; preds = %284
  %293 = load float, ptr %16, align 4, !tbaa !11
  %294 = load ptr, ptr %27, align 8, !tbaa !9
  %295 = load i32, ptr %13, align 4, !tbaa !5
  %296 = zext i32 %295 to i64
  %297 = getelementptr inbounds i8, ptr %78, i64 %296
  %298 = load i8, ptr %297, align 1, !tbaa !13
  %299 = zext i8 %298 to i32
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %301, label %303

301:                                              ; preds = %292
  %302 = load i32, ptr %17, align 4, !tbaa !5
  br label %305

303:                                              ; preds = %292
  %304 = load i32, ptr %18, align 4, !tbaa !5
  br label %305

305:                                              ; preds = %303, %301
  %306 = phi i32 [ %302, %301 ], [ %304, %303 ]
  %307 = zext i32 %306 to i64
  %308 = getelementptr inbounds { float, float }, ptr %294, i64 %307
  %309 = getelementptr inbounds { float, float }, ptr %308, i32 0, i32 0
  %310 = getelementptr inbounds { float, float }, ptr %308, i32 0, i32 1
  store float %293, ptr %309, align 4
  store float 0.000000e+00, ptr %310, align 4
  br label %327

311:                                              ; preds = %284
  %312 = load float, ptr %16, align 4, !tbaa !11
  %313 = load ptr, ptr %27, align 8, !tbaa !9
  %314 = call i32 @rand() #8
  %315 = and i32 %314, 1
  %316 = icmp ne i32 %315, 0
  br i1 %316, label %317, label %319

317:                                              ; preds = %311
  %318 = load i32, ptr %17, align 4, !tbaa !5
  br label %321

319:                                              ; preds = %311
  %320 = load i32, ptr %18, align 4, !tbaa !5
  br label %321

321:                                              ; preds = %319, %317
  %322 = phi i32 [ %318, %317 ], [ %320, %319 ]
  %323 = zext i32 %322 to i64
  %324 = getelementptr inbounds { float, float }, ptr %313, i64 %323
  %325 = getelementptr inbounds { float, float }, ptr %324, i32 0, i32 0
  %326 = getelementptr inbounds { float, float }, ptr %324, i32 0, i32 1
  store float %312, ptr %325, align 4
  store float 0.000000e+00, ptr %326, align 4
  br label %327

327:                                              ; preds = %321, %305
  %328 = load ptr, ptr %32, align 8, !tbaa !9
  %329 = call i32 @fft_execute(ptr noundef %328)
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %330

330:                                              ; preds = %363, %327
  %331 = load i32, ptr %14, align 4, !tbaa !5
  %332 = load i32, ptr %6, align 4, !tbaa !5
  %333 = icmp ult i32 %331, %332
  br i1 %333, label %334, label %366

334:                                              ; preds = %330
  %335 = load float, ptr %15, align 4, !tbaa !11
  %336 = call float (...) @randnf()
  %337 = call float (...) @randnf()
  %338 = fmul float 0.000000e+00, %337
  %339 = fmul float 1.000000e+00, %337
  %340 = fadd float %336, %338
  %341 = fmul float %335, %340
  %342 = fmul float %335, %339
  %343 = fpext float %341 to double
  %344 = fpext float %342 to double
  %345 = fmul double %343, 0x3FE6A09E667F3BCD
  %346 = fmul double %344, 0x3FE6A09E667F3BCD
  %347 = load ptr, ptr %28, align 8, !tbaa !9
  %348 = load i32, ptr %14, align 4, !tbaa !5
  %349 = zext i32 %348 to i64
  %350 = getelementptr inbounds { float, float }, ptr %347, i64 %349
  %351 = getelementptr inbounds { float, float }, ptr %350, i32 0, i32 0
  %352 = load float, ptr %351, align 4
  %353 = getelementptr inbounds { float, float }, ptr %350, i32 0, i32 1
  %354 = load float, ptr %353, align 4
  %355 = fpext float %352 to double
  %356 = fpext float %354 to double
  %357 = fadd double %355, %345
  %358 = fadd double %356, %346
  %359 = fptrunc double %357 to float
  %360 = fptrunc double %358 to float
  %361 = getelementptr inbounds { float, float }, ptr %350, i32 0, i32 0
  %362 = getelementptr inbounds { float, float }, ptr %350, i32 0, i32 1
  store float %359, ptr %361, align 4
  store float %360, ptr %362, align 4
  br label %363

363:                                              ; preds = %334
  %364 = load i32, ptr %14, align 4, !tbaa !5
  %365 = add i32 %364, 1
  store i32 %365, ptr %14, align 4, !tbaa !5
  br label %330, !llvm.loop !21

366:                                              ; preds = %330
  %367 = load ptr, ptr %36, align 8, !tbaa !9
  %368 = load ptr, ptr %28, align 8, !tbaa !9
  %369 = load i32, ptr %6, align 4, !tbaa !5
  %370 = call i32 @spgramcf_write(ptr noundef %367, ptr noundef %368, i32 noundef %369)
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %371

371:                                              ; preds = %485, %366
  %372 = load i32, ptr %14, align 4, !tbaa !5
  %373 = load i32, ptr %6, align 4, !tbaa !5
  %374 = icmp ult i32 %372, %373
  br i1 %374, label %375, label %488

375:                                              ; preds = %371
  %376 = load i32, ptr %11, align 4, !tbaa !5
  %377 = icmp ne i32 %376, 0
  br i1 %377, label %469, label %378

378:                                              ; preds = %375
  %379 = load i32, ptr %6, align 4, !tbaa !5
  %380 = load i32, ptr %8, align 4, !tbaa !5
  %381 = udiv i32 %379, %380
  store i32 %381, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %382 = load ptr, ptr %31, align 8, !tbaa !9
  %383 = call i32 @windowcf_read(ptr noundef %382, ptr noundef %38)
  %384 = load ptr, ptr %29, align 8, !tbaa !9
  %385 = load ptr, ptr %38, align 8, !tbaa !9
  %386 = load i32, ptr %6, align 4, !tbaa !5
  %387 = zext i32 %386 to i64
  %388 = mul i64 %387, 8
  call void @llvm.memmove.p0.p0.i64(ptr align 4 %384, ptr align 4 %385, i64 %388, i1 false)
  %389 = load ptr, ptr %33, align 8, !tbaa !9
  %390 = call i32 @fft_execute(ptr noundef %389)
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %391 = load ptr, ptr %30, align 8, !tbaa !9
  %392 = load i32, ptr %6, align 4, !tbaa !5
  %393 = call float @liquid_sumsqcf(ptr noundef %391, i32 noundef %392)
  store float %393, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %394 = load float, ptr %39, align 4, !tbaa !11
  %395 = call float @sqrtf(float noundef %394) #8
  %396 = fadd float %395, 0x3EB0C6F7A0000000
  %397 = fdiv float 1.000000e+00, %396
  store float %397, ptr %40, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  %398 = load ptr, ptr %30, align 8, !tbaa !9
  %399 = load i32, ptr %18, align 4, !tbaa !5
  %400 = zext i32 %399 to i64
  %401 = getelementptr inbounds { float, float }, ptr %398, i64 %400
  %402 = getelementptr inbounds { float, float }, ptr %401, i32 0, i32 0
  %403 = load float, ptr %402, align 4
  %404 = getelementptr inbounds { float, float }, ptr %401, i32 0, i32 1
  %405 = load float, ptr %404, align 4
  %406 = getelementptr inbounds { float, float }, ptr %42, i32 0, i32 0
  %407 = getelementptr inbounds { float, float }, ptr %42, i32 0, i32 1
  store float %403, ptr %406, align 4
  store float %405, ptr %407, align 4
  %408 = load <2 x float>, ptr %42, align 4
  %409 = call float @cabsf(<2 x float> noundef %408) #8
  %410 = load float, ptr %40, align 4, !tbaa !11
  %411 = call float @llvm.fmuladd.f32(float %409, float %410, float 0x3EB0C6F7A0000000)
  store float %411, ptr %41, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  %412 = load ptr, ptr %30, align 8, !tbaa !9
  %413 = load i32, ptr %17, align 4, !tbaa !5
  %414 = zext i32 %413 to i64
  %415 = getelementptr inbounds { float, float }, ptr %412, i64 %414
  %416 = getelementptr inbounds { float, float }, ptr %415, i32 0, i32 0
  %417 = load float, ptr %416, align 4
  %418 = getelementptr inbounds { float, float }, ptr %415, i32 0, i32 1
  %419 = load float, ptr %418, align 4
  %420 = getelementptr inbounds { float, float }, ptr %44, i32 0, i32 0
  %421 = getelementptr inbounds { float, float }, ptr %44, i32 0, i32 1
  store float %417, ptr %420, align 4
  store float %419, ptr %421, align 4
  %422 = load <2 x float>, ptr %44, align 4
  %423 = call float @cabsf(<2 x float> noundef %422) #8
  %424 = load float, ptr %40, align 4, !tbaa !11
  %425 = call float @llvm.fmuladd.f32(float %423, float %424, float 0x3EB0C6F7A0000000)
  store float %425, ptr %43, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %426 = load float, ptr %43, align 4, !tbaa !11
  %427 = load float, ptr %41, align 4, !tbaa !11
  %428 = fdiv float %426, %427
  %429 = call float @log10f(float noundef %428) #8
  store float %429, ptr %45, align 4, !tbaa !11
  %430 = load ptr, ptr %37, align 8, !tbaa !9
  %431 = load float, ptr %45, align 4, !tbaa !11
  %432 = fpext float %431 to double
  %433 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %430, ptr noundef @.str.11, double noundef %432) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  store float 0.000000e+00, ptr %46, align 4, !tbaa !11
  %434 = load ptr, ptr %25, align 8, !tbaa !9
  %435 = load float, ptr %45, align 4, !tbaa !11
  %436 = call i32 @windowf_push(ptr noundef %434, float noundef %435)
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %437 = load ptr, ptr %25, align 8, !tbaa !9
  %438 = call i32 @windowf_read(ptr noundef %437, ptr noundef %47)
  %439 = load ptr, ptr %24, align 8, !tbaa !9
  %440 = load ptr, ptr %47, align 8, !tbaa !9
  %441 = call i32 @dotprod_rrrf_execute(ptr noundef %439, ptr noundef %440, ptr noundef %46)
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #8
  %442 = load ptr, ptr %47, align 8, !tbaa !9
  %443 = load i32, ptr %8, align 4, !tbaa !5
  %444 = load i32, ptr %7, align 4, !tbaa !5
  %445 = mul i32 %443, %444
  %446 = call float @liquid_sumsqf(ptr noundef %442, i32 noundef %445)
  store float %446, ptr %48, align 4, !tbaa !11
  %447 = load float, ptr %26, align 4, !tbaa !11
  %448 = load float, ptr %48, align 4, !tbaa !11
  %449 = fmul float %447, %448
  %450 = call float @sqrtf(float noundef %449) #8
  %451 = fadd float %450, 0x3EB0C6F7A0000000
  %452 = load float, ptr %46, align 4, !tbaa !11
  %453 = fdiv float %452, %451
  store float %453, ptr %46, align 4, !tbaa !11
  %454 = load ptr, ptr %37, align 8, !tbaa !9
  %455 = load float, ptr %46, align 4, !tbaa !11
  %456 = fpext float %455 to double
  %457 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %454, ptr noundef @.str.12, double noundef %456) #8
  %458 = load float, ptr %39, align 4, !tbaa !11
  %459 = fpext float %458 to double
  %460 = load float, ptr %41, align 4, !tbaa !11
  %461 = fpext float %460 to double
  %462 = load float, ptr %43, align 4, !tbaa !11
  %463 = fpext float %462 to double
  %464 = load float, ptr %45, align 4, !tbaa !11
  %465 = fpext float %464 to double
  %466 = load float, ptr %46, align 4, !tbaa !11
  %467 = fpext float %466 to double
  %468 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %459, double noundef %461, double noundef %463, double noundef %465, double noundef %467)
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %469

469:                                              ; preds = %378, %375
  %470 = load ptr, ptr %31, align 8, !tbaa !9
  %471 = load ptr, ptr %28, align 8, !tbaa !9
  %472 = load i32, ptr %14, align 4, !tbaa !5
  %473 = zext i32 %472 to i64
  %474 = getelementptr inbounds { float, float }, ptr %471, i64 %473
  %475 = getelementptr inbounds { float, float }, ptr %474, i32 0, i32 0
  %476 = load float, ptr %475, align 4
  %477 = getelementptr inbounds { float, float }, ptr %474, i32 0, i32 1
  %478 = load float, ptr %477, align 4
  %479 = getelementptr inbounds { float, float }, ptr %49, i32 0, i32 0
  %480 = getelementptr inbounds { float, float }, ptr %49, i32 0, i32 1
  store float %476, ptr %479, align 4
  store float %478, ptr %480, align 4
  %481 = load <2 x float>, ptr %49, align 4
  %482 = call i32 @windowcf_push(ptr noundef %470, <2 x float> noundef %481)
  %483 = load i32, ptr %11, align 4, !tbaa !5
  %484 = add i32 %483, -1
  store i32 %484, ptr %11, align 4, !tbaa !5
  br label %485

485:                                              ; preds = %469
  %486 = load i32, ptr %14, align 4, !tbaa !5
  %487 = add i32 %486, 1
  store i32 %487, ptr %14, align 4, !tbaa !5
  br label %371, !llvm.loop !22

488:                                              ; preds = %371
  br label %489

489:                                              ; preds = %488
  %490 = load i32, ptr %13, align 4, !tbaa !5
  %491 = add i32 %490, 1
  store i32 %491, ptr %13, align 4, !tbaa !5
  br label %279, !llvm.loop !23

492:                                              ; preds = %279
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %493

493:                                              ; preds = %509, %492
  %494 = load i32, ptr %13, align 4, !tbaa !5
  %495 = load i32, ptr %7, align 4, !tbaa !5
  %496 = load i32, ptr %8, align 4, !tbaa !5
  %497 = mul i32 %495, %496
  %498 = icmp ult i32 %494, %497
  br i1 %498, label %499, label %512

499:                                              ; preds = %493
  %500 = load ptr, ptr %37, align 8, !tbaa !9
  %501 = load i32, ptr %13, align 4, !tbaa !5
  %502 = add i32 %501, 1
  %503 = load i32, ptr %13, align 4, !tbaa !5
  %504 = zext i32 %503 to i64
  %505 = getelementptr inbounds float, ptr %144, i64 %504
  %506 = load float, ptr %505, align 4, !tbaa !11
  %507 = fpext float %506 to double
  %508 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %500, ptr noundef @.str.14, i32 noundef %502, double noundef %507) #8
  br label %509

509:                                              ; preds = %499
  %510 = load i32, ptr %13, align 4, !tbaa !5
  %511 = add i32 %510, 1
  store i32 %511, ptr %13, align 4, !tbaa !5
  br label %493, !llvm.loop !24

512:                                              ; preds = %493
  %513 = load i32, ptr %35, align 4, !tbaa !5
  %514 = zext i32 %513 to i64
  %515 = alloca float, i64 %514, align 16
  store i64 %514, ptr %50, align 8
  %516 = load ptr, ptr %36, align 8, !tbaa !9
  %517 = call i32 @spgramcf_get_psd(ptr noundef %516, ptr noundef %515)
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %518

518:                                              ; preds = %532, %512
  %519 = load i32, ptr %13, align 4, !tbaa !5
  %520 = load i32, ptr %35, align 4, !tbaa !5
  %521 = icmp ult i32 %519, %520
  br i1 %521, label %522, label %535

522:                                              ; preds = %518
  %523 = load ptr, ptr %37, align 8, !tbaa !9
  %524 = load i32, ptr %13, align 4, !tbaa !5
  %525 = add i32 %524, 1
  %526 = load i32, ptr %13, align 4, !tbaa !5
  %527 = zext i32 %526 to i64
  %528 = getelementptr inbounds float, ptr %515, i64 %527
  %529 = load float, ptr %528, align 4, !tbaa !11
  %530 = fpext float %529 to double
  %531 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %523, ptr noundef @.str.15, i32 noundef %525, double noundef %530) #8
  br label %532

532:                                              ; preds = %522
  %533 = load i32, ptr %13, align 4, !tbaa !5
  %534 = add i32 %533, 1
  store i32 %534, ptr %13, align 4, !tbaa !5
  br label %518, !llvm.loop !25

535:                                              ; preds = %518
  %536 = load ptr, ptr %37, align 8, !tbaa !9
  %537 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %536, ptr noundef @.str.16) #8
  %538 = load ptr, ptr %37, align 8, !tbaa !9
  %539 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %538, ptr noundef @.str.17) #8
  %540 = load ptr, ptr %37, align 8, !tbaa !9
  %541 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %540, ptr noundef @.str.18) #8
  %542 = load ptr, ptr %37, align 8, !tbaa !9
  %543 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %542, ptr noundef @.str.19) #8
  %544 = load ptr, ptr %37, align 8, !tbaa !9
  %545 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %544, ptr noundef @.str.20) #8
  %546 = load ptr, ptr %37, align 8, !tbaa !9
  %547 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %546, ptr noundef @.str.21) #8
  %548 = load ptr, ptr %37, align 8, !tbaa !9
  %549 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %548, ptr noundef @.str.22) #8
  %550 = load ptr, ptr %37, align 8, !tbaa !9
  %551 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %550, ptr noundef @.str.23) #8
  %552 = load ptr, ptr %37, align 8, !tbaa !9
  %553 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %552, ptr noundef @.str.24) #8
  %554 = load ptr, ptr %37, align 8, !tbaa !9
  %555 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %554, ptr noundef @.str.25) #8
  %556 = load ptr, ptr %37, align 8, !tbaa !9
  %557 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %556, ptr noundef @.str.26) #8
  %558 = load ptr, ptr %37, align 8, !tbaa !9
  %559 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %558, ptr noundef @.str.27) #8
  %560 = load ptr, ptr %37, align 8, !tbaa !9
  %561 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %560, ptr noundef @.str.28) #8
  %562 = load ptr, ptr %37, align 8, !tbaa !9
  %563 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %562, ptr noundef @.str.29) #8
  %564 = load ptr, ptr %37, align 8, !tbaa !9
  %565 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %564, ptr noundef @.str.30) #8
  %566 = load ptr, ptr %37, align 8, !tbaa !9
  %567 = load float, ptr %10, align 4, !tbaa !11
  %568 = fsub float %567, 1.000000e+01
  %569 = fpext float %568 to double
  %570 = load float, ptr %10, align 4, !tbaa !11
  %571 = fadd float %570, 3.000000e+01
  %572 = fpext float %571 to double
  %573 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %566, ptr noundef @.str.31, double noundef %569, double noundef %572) #8
  %574 = load ptr, ptr %37, align 8, !tbaa !9
  %575 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %574, ptr noundef @.str.24) #8
  %576 = load ptr, ptr %37, align 8, !tbaa !9
  %577 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %576, ptr noundef @.str.32) #8
  %578 = load ptr, ptr %37, align 8, !tbaa !9
  %579 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %578, ptr noundef @.str.33) #8
  %580 = load ptr, ptr %37, align 8, !tbaa !9
  %581 = call i32 @fclose(ptr noundef %580)
  %582 = call i32 (ptr, ...) @printf(ptr noundef @.str.34)
  %583 = load ptr, ptr %27, align 8, !tbaa !9
  call void @fft_free(ptr noundef %583)
  %584 = load ptr, ptr %28, align 8, !tbaa !9
  call void @fft_free(ptr noundef %584)
  %585 = load ptr, ptr %29, align 8, !tbaa !9
  call void @fft_free(ptr noundef %585)
  %586 = load ptr, ptr %30, align 8, !tbaa !9
  call void @fft_free(ptr noundef %586)
  %587 = load ptr, ptr %33, align 8, !tbaa !9
  %588 = call i32 @fft_destroy_plan(ptr noundef %587)
  %589 = load ptr, ptr %32, align 8, !tbaa !9
  %590 = call i32 @fft_destroy_plan(ptr noundef %589)
  %591 = load ptr, ptr %31, align 8, !tbaa !9
  %592 = call i32 @windowcf_destroy(ptr noundef %591)
  %593 = load ptr, ptr %24, align 8, !tbaa !9
  %594 = call i32 @dotprod_rrrf_destroy(ptr noundef %593)
  %595 = load ptr, ptr %25, align 8, !tbaa !9
  %596 = call i32 @windowf_destroy(ptr noundef %595)
  %597 = load ptr, ptr %36, align 8, !tbaa !9
  %598 = call i32 @spgramcf_destroy(ptr noundef %597)
  %599 = call i32 (ptr, ...) @printf(ptr noundef @.str.35)
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  %600 = load ptr, ptr %19, align 8
  call void @llvm.stackrestore.p0(ptr %600)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %601 = load i32, ptr %3, align 4
  ret i32 %601
}

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

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

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

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

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

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

declare ptr @firinterp_rrrf_create(i32 noundef, ptr noundef, i32 noundef) #4

declare i32 @firinterp_rrrf_execute(ptr noundef, float noundef, ptr noundef) #4

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

declare i32 @firinterp_rrrf_destroy(ptr noundef) #4

declare ptr @dotprod_rrrf_create(ptr noundef, i32 noundef) #4

declare ptr @windowf_create(i32 noundef) #4

declare float @liquid_sumsqf(ptr noundef, i32 noundef) #4

declare ptr @fft_malloc(i32 noundef) #4

declare ptr @windowcf_create(i32 noundef) #4

declare ptr @fft_create_plan(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #4

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

declare float @randnf(...) #4

declare ptr @spgramcf_create_default(i32 noundef) #4

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

declare i32 @fft_execute(ptr noundef) #4

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

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

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

declare float @liquid_sumsqcf(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2

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

; Function Attrs: nounwind
declare float @log10f(float noundef) #2

declare i32 @windowf_push(ptr noundef, float noundef) #4

declare i32 @windowf_read(ptr noundef, ptr noundef) #4

declare i32 @dotprod_rrrf_execute(ptr noundef, ptr noundef, ptr noundef) #4

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

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

declare i32 @fclose(ptr noundef) #4

declare void @fft_free(ptr noundef) #4

declare i32 @fft_destroy_plan(ptr noundef) #4

declare i32 @windowcf_destroy(ptr noundef) #4

declare i32 @dotprod_rrrf_destroy(ptr noundef) #4

declare i32 @windowf_destroy(ptr noundef) #4

declare i32 @spgramcf_destroy(ptr noundef) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { nocallback nofree nosync nounwind willreturn }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}


; 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 [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [7 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 ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca ptr, align 8
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 1024, double noundef 0x3FC99999A0000000, i32 noundef 819, i32 noundef 205)
  %7 = alloca [256 x i8], align 16
  br label %8

8:                                                ; preds = %2, %8
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %8 ]
  %9 = tail call i32 @rand() #10
  %10 = trunc i32 %9 to i8
  %11 = and i8 %10, 1
  %12 = getelementptr inbounds i8, ptr %7, i64 %indvars.iv
  store i8 %11, ptr %12, align 1, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 256
  br i1 %exitcond.not, label %.preheader211.preheader, label %8, !llvm.loop !8

.preheader211.preheader:                          ; preds = %8
  %13 = alloca [8 x float], align 16
  store <4 x float> <float 0.000000e+00, float 2.500000e-01, float 5.000000e-01, float 7.500000e-01>, ptr %13, align 16, !tbaa !10
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  store <4 x float> <float 1.000000e+00, float 7.500000e-01, float 5.000000e-01, float 2.500000e-01>, ptr %14, align 16, !tbaa !10
  %15 = call ptr @firinterp_rrrf_create(i32 noundef 4, ptr noundef nonnull %13, i32 noundef 8) #10
  %16 = alloca [1024 x float], align 16
  br label %17

17:                                               ; preds = %.preheader211.preheader, %17
  %indvars.iv238 = phi i64 [ 0, %.preheader211.preheader ], [ %indvars.iv.next239, %17 ]
  %18 = getelementptr inbounds i8, ptr %7, i64 %indvars.iv238
  %19 = load i8, ptr %18, align 1, !tbaa !5
  %20 = uitofp i8 %19 to float
  %21 = call float @llvm.fmuladd.f32(float %20, float 2.000000e+00, float -1.000000e+00)
  %.idx = shl nsw i64 %indvars.iv238, 4
  %22 = getelementptr inbounds i8, ptr %16, i64 %.idx
  %23 = call i32 @firinterp_rrrf_execute(ptr noundef %15, float noundef %21, ptr noundef nonnull %22) #10
  %indvars.iv.next239 = add nuw nsw i64 %indvars.iv238, 1
  %exitcond241.not = icmp eq i64 %indvars.iv.next239, 256
  br i1 %exitcond241.not, label %24, label %17, !llvm.loop !12

24:                                               ; preds = %17
  %25 = call i32 @firinterp_rrrf_destroy(ptr noundef %15) #10
  %26 = call ptr @dotprod_rrrf_create(ptr noundef nonnull %16, i32 noundef 1024) #10
  %27 = call ptr @windowf_create(i32 noundef 1024) #10
  %28 = call float @liquid_sumsqf(ptr noundef nonnull %16, i32 noundef 1024) #10
  %29 = call ptr @fft_malloc(i32 noundef 8192) #10
  %30 = call ptr @fft_malloc(i32 noundef 8192) #10
  %31 = call ptr @fft_malloc(i32 noundef 8192) #10
  %32 = call ptr @fft_malloc(i32 noundef 8192) #10
  %33 = call ptr @windowcf_create(i32 noundef 1024) #10
  %34 = call ptr @fft_create_plan(i32 noundef 1024, ptr noundef %29, ptr noundef %30, i32 noundef -1, i32 noundef 0) #10
  %35 = call ptr @fft_create_plan(i32 noundef 1024, ptr noundef %31, ptr noundef %32, i32 noundef 1, i32 noundef 0) #10
  br label %36

36:                                               ; preds = %24, %36
  %.4216 = phi i32 [ 0, %24 ], [ %48, %36 ]
  %37 = call float (...) @randnf() #10
  %38 = call float (...) @randnf() #10
  %39 = fmul float %38, 0.000000e+00
  %40 = fadd float %37, %39
  %41 = insertelement <2 x float> poison, float %40, i64 0
  %42 = insertelement <2 x float> %41, float %38, i64 1
  %43 = fmul <2 x float> %42, <float 0x3F50624DE0000000, float 0x3F50624DE0000000>
  %44 = fpext <2 x float> %43 to <2 x double>
  %45 = fmul <2 x double> %44, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %46 = fptrunc <2 x double> %45 to <2 x float>
  %47 = call i32 @windowcf_push(ptr noundef %33, <2 x float> noundef %46) #10
  %48 = add nuw nsw i32 %.4216, 1
  %exitcond242.not = icmp eq i32 %48, 1024
  br i1 %exitcond242.not, label %49, label %36, !llvm.loop !13

49:                                               ; preds = %36
  %50 = call ptr @spgramcf_create_default(i32 noundef 2400) #10
  %51 = call noalias ptr @fopen(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2)
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.3) #10
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.4) #10
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.5, i32 noundef 256) #10
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.6, i32 noundef 4) #10
  br label %56

56:                                               ; preds = %49, %56
  %indvars.iv243 = phi i64 [ 0, %49 ], [ %indvars.iv.next244, %56 ]
  %indvars.iv.next244 = add nuw nsw i64 %indvars.iv243, 1
  %57 = getelementptr inbounds i8, ptr %7, i64 %indvars.iv243
  %58 = load i8, ptr %57, align 1, !tbaa !5
  %59 = zext i8 %58 to i32
  %60 = trunc nuw nsw i64 %indvars.iv.next244 to i32
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.7, i32 noundef %60, i32 noundef %59) #10
  %exitcond246.not = icmp eq i64 %indvars.iv.next244, 256
  br i1 %exitcond246.not, label %62, label %56, !llvm.loop !14

62:                                               ; preds = %56
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.6, i32 noundef 4) #10
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.8) #10
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.9) #10
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.10) #10
  %67 = getelementptr inbounds i8, ptr %32, i64 6552
  %68 = getelementptr inbounds i8, ptr %32, i64 1640
  br label %69

69:                                               ; preds = %62, %146
  %indvars.iv255 = phi i64 [ 0, %62 ], [ %indvars.iv.next256, %146 ]
  %.0226 = phi i32 [ 0, %62 ], [ %145, %146 ]
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(8192) %29, i8 0, i64 8192, i1 false)
  %70 = icmp ult i64 %indvars.iv255, 256
  br i1 %70, label %71, label %74

71:                                               ; preds = %69
  %72 = getelementptr inbounds i8, ptr %7, i64 %indvars.iv255
  %73 = load i8, ptr %72, align 1, !tbaa !5
  %.not209 = icmp eq i8 %73, 0
  br label %77

74:                                               ; preds = %69
  %75 = call i32 @rand() #10
  %76 = and i32 %75, 1
  %.not = icmp eq i32 %76, 0
  br label %77

77:                                               ; preds = %74, %71
  %.not.sink = phi i1 [ %.not, %74 ], [ %.not209, %71 ]
  %78 = select i1 %.not.sink, i64 819, i64 205
  %79 = getelementptr inbounds { float, float }, ptr %29, i64 %78
  store <2 x float> <float 0x3F34B96BE0000000, float 0.000000e+00>, ptr %79, align 4
  %80 = call i32 @fft_execute(ptr noundef %34) #10
  br label %81

81:                                               ; preds = %77, %81
  %indvars.iv247 = phi i64 [ 0, %77 ], [ %indvars.iv.next248, %81 ]
  %82 = call float (...) @randnf() #10
  %83 = call float (...) @randnf() #10
  %84 = fmul float %83, 0.000000e+00
  %85 = fadd float %82, %84
  %86 = getelementptr inbounds { float, float }, ptr %30, i64 %indvars.iv247
  %87 = insertelement <2 x float> poison, float %85, i64 0
  %88 = insertelement <2 x float> %87, float %83, i64 1
  %89 = fmul <2 x float> %88, <float 0x3F50624DE0000000, float 0x3F50624DE0000000>
  %90 = fpext <2 x float> %89 to <2 x double>
  %91 = fmul <2 x double> %90, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %92 = load <2 x float>, ptr %86, align 4
  %93 = fpext <2 x float> %92 to <2 x double>
  %94 = fadd <2 x double> %91, %93
  %95 = fptrunc <2 x double> %94 to <2 x float>
  store <2 x float> %95, ptr %86, align 4
  %indvars.iv.next248 = add nuw nsw i64 %indvars.iv247, 1
  %exitcond250.not = icmp eq i64 %indvars.iv.next248, 1024
  br i1 %exitcond250.not, label %96, label %81, !llvm.loop !15

96:                                               ; preds = %81
  %97 = call i32 @spgramcf_write(ptr noundef %50, ptr noundef nonnull %30, i32 noundef 1024) #10
  br label %98

98:                                               ; preds = %96, %141
  %indvars.iv251 = phi i64 [ 0, %96 ], [ %indvars.iv.next252, %141 ]
  %.1222 = phi i32 [ %.0226, %96 ], [ %145, %141 ]
  %.not210 = icmp eq i32 %.1222, 0
  br i1 %.not210, label %99, label %141

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #10
  %100 = call i32 @windowcf_read(ptr noundef %33, ptr noundef nonnull %3) #10
  %101 = load ptr, ptr %3, align 8, !tbaa !16
  call void @llvm.memmove.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(8192) %31, ptr noundef nonnull align 4 dereferenceable(8192) %101, i64 8192, i1 false)
  %102 = call i32 @fft_execute(ptr noundef %35) #10
  %103 = call float @liquid_sumsqcf(ptr noundef %32, i32 noundef 1024) #10
  %104 = call float @sqrtf(float noundef %103) #10
  %105 = fadd float %104, 0x3EB0C6F7A0000000
  %106 = fdiv float 1.000000e+00, %105
  %107 = load <2 x float>, ptr %67, align 4
  %108 = call float @cabsf(<2 x float> noundef %107) #10
  %109 = load <2 x float>, ptr %68, align 4
  %110 = call float @cabsf(<2 x float> noundef %109) #10
  %111 = insertelement <2 x float> poison, float %110, i64 0
  %112 = insertelement <2 x float> %111, float %108, i64 1
  %113 = insertelement <2 x float> poison, float %106, i64 0
  %114 = shufflevector <2 x float> %113, <2 x float> poison, <2 x i32> zeroinitializer
  %115 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %112, <2 x float> %114, <2 x float> <float 0x3EB0C6F7A0000000, float 0x3EB0C6F7A0000000>)
  %116 = extractelement <2 x float> %115, i64 0
  %117 = extractelement <2 x float> %115, i64 1
  %118 = fdiv float %116, %117
  %119 = call float @log10f(float noundef %118) #10
  %120 = fpext float %119 to double
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.11, double noundef %120) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  store float 0.000000e+00, ptr %4, align 4, !tbaa !10
  %122 = call i32 @windowf_push(ptr noundef %27, float noundef %119) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %123 = call i32 @windowf_read(ptr noundef %27, ptr noundef nonnull %5) #10
  %124 = load ptr, ptr %5, align 8, !tbaa !16
  %125 = call i32 @dotprod_rrrf_execute(ptr noundef %26, ptr noundef %124, ptr noundef nonnull %4) #10
  %126 = load ptr, ptr %5, align 8, !tbaa !16
  %127 = call float @liquid_sumsqf(ptr noundef %126, i32 noundef 1024) #10
  %128 = fmul float %28, %127
  %129 = call float @sqrtf(float noundef %128) #10
  %130 = fadd float %129, 0x3EB0C6F7A0000000
  %131 = load float, ptr %4, align 4, !tbaa !10
  %132 = fdiv float %131, %130
  store float %132, ptr %4, align 4, !tbaa !10
  %133 = fpext float %132 to double
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.12, double noundef %133) #10
  %135 = fpext float %103 to double
  %136 = fpext float %117 to double
  %137 = fpext float %116 to double
  %138 = load float, ptr %4, align 4, !tbaa !10
  %139 = fpext float %138 to double
  %140 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, double noundef %135, double noundef %136, double noundef %137, double noundef %120, double noundef %139)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #10
  br label %141

141:                                              ; preds = %99, %98
  %.2 = phi i32 [ %.1222, %98 ], [ 256, %99 ]
  %142 = getelementptr inbounds { float, float }, ptr %30, i64 %indvars.iv251
  %143 = load <2 x float>, ptr %142, align 4
  %144 = call i32 @windowcf_push(ptr noundef %33, <2 x float> noundef %143) #10
  %145 = add nsw i32 %.2, -1
  %indvars.iv.next252 = add nuw nsw i64 %indvars.iv251, 1
  %exitcond254.not = icmp eq i64 %indvars.iv.next252, 1024
  br i1 %exitcond254.not, label %146, label %98, !llvm.loop !18

146:                                              ; preds = %141
  %indvars.iv.next256 = add nuw nsw i64 %indvars.iv255, 1
  %exitcond258.not = icmp eq i64 %indvars.iv.next256, 456
  br i1 %exitcond258.not, label %.preheader, label %69, !llvm.loop !19

.preheader:                                       ; preds = %146, %.preheader
  %indvars.iv259 = phi i64 [ %indvars.iv.next260, %.preheader ], [ 0, %146 ]
  %indvars.iv.next260 = add nuw nsw i64 %indvars.iv259, 1
  %147 = getelementptr inbounds float, ptr %16, i64 %indvars.iv259
  %148 = load float, ptr %147, align 4, !tbaa !10
  %149 = fpext float %148 to double
  %150 = trunc nuw nsw i64 %indvars.iv.next260 to i32
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.14, i32 noundef %150, double noundef %149) #10
  %exitcond262.not = icmp eq i64 %indvars.iv.next260, 1024
  br i1 %exitcond262.not, label %152, label %.preheader, !llvm.loop !20

152:                                              ; preds = %.preheader
  %153 = alloca [2400 x float], align 16
  %154 = call i32 @spgramcf_get_psd(ptr noundef %50, ptr noundef nonnull %153) #10
  br label %155

155:                                              ; preds = %152, %155
  %indvars.iv263 = phi i64 [ 0, %152 ], [ %indvars.iv.next264, %155 ]
  %indvars.iv.next264 = add nuw nsw i64 %indvars.iv263, 1
  %156 = getelementptr inbounds float, ptr %153, i64 %indvars.iv263
  %157 = load float, ptr %156, align 4, !tbaa !10
  %158 = fpext float %157 to double
  %159 = trunc nuw nsw i64 %indvars.iv.next264 to i32
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.15, i32 noundef %159, double noundef %158) #10
  %exitcond266.not = icmp eq i64 %indvars.iv.next264, 2400
  br i1 %exitcond266.not, label %161, label %155, !llvm.loop !21

161:                                              ; preds = %155
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.16) #10
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.17) #10
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.18) #10
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.19) #10
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.20) #10
  %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.21) #10
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.22) #10
  %169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.23) #10
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.24) #10
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.25) #10
  %172 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.26) #10
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.27) #10
  %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.28) #10
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.29) #10
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.30) #10
  %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.31, double noundef -7.000000e+01, double noundef -3.000000e+01) #10
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.24) #10
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.32) #10
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.33) #10
  %181 = call i32 @fclose(ptr noundef %51)
  %182 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.34)
  call void @fft_free(ptr noundef %29) #10
  call void @fft_free(ptr noundef %30) #10
  call void @fft_free(ptr noundef %31) #10
  call void @fft_free(ptr noundef %32) #10
  %183 = call i32 @fft_destroy_plan(ptr noundef %35) #10
  %184 = call i32 @fft_destroy_plan(ptr noundef %34) #10
  %185 = call i32 @windowcf_destroy(ptr noundef %33) #10
  %186 = call i32 @dotprod_rrrf_destroy(ptr noundef %26) #10
  %187 = call i32 @windowf_destroy(ptr noundef %27) #10
  %188 = call i32 @spgramcf_destroy(ptr noundef %50) #10
  %189 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35)
  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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

declare ptr @firinterp_rrrf_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

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

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

declare i32 @firinterp_rrrf_destroy(ptr noundef) local_unnamed_addr #4

declare ptr @dotprod_rrrf_create(ptr noundef, i32 noundef) local_unnamed_addr #4

declare ptr @windowf_create(i32 noundef) local_unnamed_addr #4

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

declare ptr @fft_malloc(i32 noundef) local_unnamed_addr #4

declare ptr @windowcf_create(i32 noundef) local_unnamed_addr #4

declare ptr @fft_create_plan(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

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

declare ptr @spgramcf_create_default(i32 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 #2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

declare i32 @fft_execute(ptr noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sqrtf(float noundef) local_unnamed_addr #8

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @log10f(float noundef) local_unnamed_addr #8

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

declare i32 @windowf_read(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @dotprod_rrrf_execute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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

declare void @fft_free(ptr noundef) local_unnamed_addr #4

declare i32 @fft_destroy_plan(ptr noundef) local_unnamed_addr #4

declare i32 @windowcf_destroy(ptr noundef) local_unnamed_addr #4

declare i32 @dotprod_rrrf_destroy(ptr noundef) local_unnamed_addr #4

declare i32 @windowf_destroy(ptr noundef) local_unnamed_addr #4

declare i32 @spgramcf_destroy(ptr noundef) local_unnamed_addr #4

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

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

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

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


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass