; LLVM IR from jgaeddert/liquid-dsp :: src/fft/src (spgramcf)

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

%struct.spgramcf_s = type { i32, i32, i32, i32, float, float, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i64, i64, i64, i64, float, float }

@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [34 x i8], align 1

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) #0

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @spgramcf_create(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  store i32 %0, ptr %6, align 4, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !5
  %17 = load i32, ptr %6, align 4, !tbaa !5
  %18 = icmp ult i32 %17, 2
  br i1 %18, label %19, label %21

19:                                               ; preds = %4
  %20 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.8, i32 noundef 88, ptr noundef @.str.9, ptr noundef @.str.2)
  store ptr %20, ptr %5, align 8
  br label %291

21:                                               ; preds = %4
  %22 = load i32, ptr %8, align 4, !tbaa !5
  %23 = load i32, ptr %6, align 4, !tbaa !5
  %24 = icmp ugt i32 %22, %23
  br i1 %24, label %25, label %27

25:                                               ; preds = %21
  %26 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.8, i32 noundef 90, ptr noundef @.str.10, ptr noundef @.str.2)
  store ptr %26, ptr %5, align 8
  br label %291

27:                                               ; preds = %21
  %28 = load i32, ptr %8, align 4, !tbaa !5
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %32

30:                                               ; preds = %27
  %31 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.8, i32 noundef 92, ptr noundef @.str.11, ptr noundef @.str.2)
  store ptr %31, ptr %5, align 8
  br label %291

32:                                               ; preds = %27
  %33 = load i32, ptr %7, align 4, !tbaa !5
  %34 = icmp eq i32 %33, 9
  br i1 %34, label %35, label %41

35:                                               ; preds = %32
  %36 = load i32, ptr %8, align 4, !tbaa !5
  %37 = urem i32 %36, 2
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %41

39:                                               ; preds = %35
  %40 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.8, i32 noundef 94, ptr noundef @.str.12, ptr noundef @.str.2)
  store ptr %40, ptr %5, align 8
  br label %291

41:                                               ; preds = %35, %32
  %42 = load i32, ptr %9, align 4, !tbaa !5
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %46

44:                                               ; preds = %41
  %45 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.8, i32 noundef 96, ptr noundef @.str.13, ptr noundef @.str.2)
  store ptr %45, ptr %5, align 8
  br label %291

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %47 = call noalias ptr @malloc(i64 noundef 128) #7
  store ptr %47, ptr %10, align 8, !tbaa !9
  %48 = load i32, ptr %6, align 4, !tbaa !5
  %49 = load ptr, ptr %10, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.spgramcf_s, ptr %49, i32 0, i32 0
  store i32 %48, ptr %50, align 8, !tbaa !11
  %51 = load i32, ptr %7, align 4, !tbaa !5
  %52 = load ptr, ptr %10, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.spgramcf_s, ptr %52, i32 0, i32 1
  store i32 %51, ptr %53, align 4, !tbaa !15
  %54 = load i32, ptr %8, align 4, !tbaa !5
  %55 = load ptr, ptr %10, align 8, !tbaa !9
  %56 = getelementptr inbounds %struct.spgramcf_s, ptr %55, i32 0, i32 2
  store i32 %54, ptr %56, align 8, !tbaa !16
  %57 = load i32, ptr %9, align 4, !tbaa !5
  %58 = load ptr, ptr %10, align 8, !tbaa !9
  %59 = getelementptr inbounds %struct.spgramcf_s, ptr %58, i32 0, i32 3
  store i32 %57, ptr %59, align 4, !tbaa !17
  %60 = load ptr, ptr %10, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.spgramcf_s, ptr %60, i32 0, i32 18
  store float 0.000000e+00, ptr %61, align 8, !tbaa !18
  %62 = load ptr, ptr %10, align 8, !tbaa !9
  %63 = getelementptr inbounds %struct.spgramcf_s, ptr %62, i32 0, i32 19
  store float -1.000000e+00, ptr %63, align 4, !tbaa !19
  %64 = load ptr, ptr %10, align 8, !tbaa !9
  %65 = call i32 @spgramcf_set_alpha(ptr noundef %64, float noundef -1.000000e+00)
  %66 = load ptr, ptr %10, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.spgramcf_s, ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !11
  %69 = zext i32 %68 to i64
  %70 = mul i64 %69, 8
  %71 = call noalias ptr @malloc(i64 noundef %70) #7
  %72 = load ptr, ptr %10, align 8, !tbaa !9
  %73 = getelementptr inbounds %struct.spgramcf_s, ptr %72, i32 0, i32 8
  store ptr %71, ptr %73, align 8, !tbaa !20
  %74 = load ptr, ptr %10, align 8, !tbaa !9
  %75 = getelementptr inbounds %struct.spgramcf_s, ptr %74, i32 0, i32 0
  %76 = load i32, ptr %75, align 8, !tbaa !11
  %77 = zext i32 %76 to i64
  %78 = mul i64 %77, 8
  %79 = call noalias ptr @malloc(i64 noundef %78) #7
  %80 = load ptr, ptr %10, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct.spgramcf_s, ptr %80, i32 0, i32 9
  store ptr %79, ptr %81, align 8, !tbaa !21
  %82 = load ptr, ptr %10, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.spgramcf_s, ptr %82, i32 0, i32 0
  %84 = load i32, ptr %83, align 8, !tbaa !11
  %85 = zext i32 %84 to i64
  %86 = mul i64 %85, 4
  %87 = call noalias ptr @malloc(i64 noundef %86) #7
  %88 = load ptr, ptr %10, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct.spgramcf_s, ptr %88, i32 0, i32 12
  store ptr %87, ptr %89, align 8, !tbaa !22
  %90 = load ptr, ptr %10, align 8, !tbaa !9
  %91 = getelementptr inbounds %struct.spgramcf_s, ptr %90, i32 0, i32 0
  %92 = load i32, ptr %91, align 8, !tbaa !11
  %93 = load ptr, ptr %10, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.spgramcf_s, ptr %93, i32 0, i32 8
  %95 = load ptr, ptr %94, align 8, !tbaa !20
  %96 = load ptr, ptr %10, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.spgramcf_s, ptr %96, i32 0, i32 9
  %98 = load ptr, ptr %97, align 8, !tbaa !21
  %99 = call ptr @fft_create_plan(i32 noundef %92, ptr noundef %95, ptr noundef %98, i32 noundef 1, i32 noundef 0)
  %100 = load ptr, ptr %10, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct.spgramcf_s, ptr %100, i32 0, i32 11
  store ptr %99, ptr %101, align 8, !tbaa !23
  %102 = load ptr, ptr %10, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.spgramcf_s, ptr %102, i32 0, i32 2
  %104 = load i32, ptr %103, align 8, !tbaa !16
  %105 = call ptr @windowcf_create(i32 noundef %104)
  %106 = load ptr, ptr %10, align 8, !tbaa !9
  %107 = getelementptr inbounds %struct.spgramcf_s, ptr %106, i32 0, i32 7
  store ptr %105, ptr %107, align 8, !tbaa !24
  %108 = load ptr, ptr %10, align 8, !tbaa !9
  %109 = getelementptr inbounds %struct.spgramcf_s, ptr %108, i32 0, i32 2
  %110 = load i32, ptr %109, align 8, !tbaa !16
  %111 = zext i32 %110 to i64
  %112 = mul i64 %111, 4
  %113 = call noalias ptr @malloc(i64 noundef %112) #7
  %114 = load ptr, ptr %10, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.spgramcf_s, ptr %114, i32 0, i32 10
  store ptr %113, ptr %115, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %116 = load ptr, ptr %10, align 8, !tbaa !9
  %117 = getelementptr inbounds %struct.spgramcf_s, ptr %116, i32 0, i32 2
  %118 = load i32, ptr %117, align 8, !tbaa !16
  store i32 %118, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store float 1.000000e+01, ptr %13, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store float 3.000000e+00, ptr %14, align 4, !tbaa !26
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %119

119:                                              ; preds = %227, %46
  %120 = load i32, ptr %11, align 4, !tbaa !5
  %121 = load i32, ptr %12, align 4, !tbaa !5
  %122 = icmp ult i32 %120, %121
  br i1 %122, label %123, label %230

123:                                              ; preds = %119
  %124 = load ptr, ptr %10, align 8, !tbaa !9
  %125 = getelementptr inbounds %struct.spgramcf_s, ptr %124, i32 0, i32 1
  %126 = load i32, ptr %125, align 4, !tbaa !15
  switch i32 %126, label %222 [
    i32 1, label %127
    i32 2, label %137
    i32 3, label %147
    i32 4, label %157
    i32 5, label %167
    i32 6, label %178
    i32 7, label %188
    i32 8, label %199
    i32 9, label %211
  ]

127:                                              ; preds = %123
  %128 = load i32, ptr %11, align 4, !tbaa !5
  %129 = load i32, ptr %12, align 4, !tbaa !5
  %130 = call float @liquid_hamming(i32 noundef %128, i32 noundef %129)
  %131 = load ptr, ptr %10, align 8, !tbaa !9
  %132 = getelementptr inbounds %struct.spgramcf_s, ptr %131, i32 0, i32 10
  %133 = load ptr, ptr %132, align 8, !tbaa !25
  %134 = load i32, ptr %11, align 4, !tbaa !5
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds float, ptr %133, i64 %135
  store float %130, ptr %136, align 4, !tbaa !26
  br label %226

137:                                              ; preds = %123
  %138 = load i32, ptr %11, align 4, !tbaa !5
  %139 = load i32, ptr %12, align 4, !tbaa !5
  %140 = call float @liquid_hann(i32 noundef %138, i32 noundef %139)
  %141 = load ptr, ptr %10, align 8, !tbaa !9
  %142 = getelementptr inbounds %struct.spgramcf_s, ptr %141, i32 0, i32 10
  %143 = load ptr, ptr %142, align 8, !tbaa !25
  %144 = load i32, ptr %11, align 4, !tbaa !5
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds float, ptr %143, i64 %145
  store float %140, ptr %146, align 4, !tbaa !26
  br label %226

147:                                              ; preds = %123
  %148 = load i32, ptr %11, align 4, !tbaa !5
  %149 = load i32, ptr %12, align 4, !tbaa !5
  %150 = call float @liquid_blackmanharris(i32 noundef %148, i32 noundef %149)
  %151 = load ptr, ptr %10, align 8, !tbaa !9
  %152 = getelementptr inbounds %struct.spgramcf_s, ptr %151, i32 0, i32 10
  %153 = load ptr, ptr %152, align 8, !tbaa !25
  %154 = load i32, ptr %11, align 4, !tbaa !5
  %155 = zext i32 %154 to i64
  %156 = getelementptr inbounds float, ptr %153, i64 %155
  store float %150, ptr %156, align 4, !tbaa !26
  br label %226

157:                                              ; preds = %123
  %158 = load i32, ptr %11, align 4, !tbaa !5
  %159 = load i32, ptr %12, align 4, !tbaa !5
  %160 = call float @liquid_blackmanharris7(i32 noundef %158, i32 noundef %159)
  %161 = load ptr, ptr %10, align 8, !tbaa !9
  %162 = getelementptr inbounds %struct.spgramcf_s, ptr %161, i32 0, i32 10
  %163 = load ptr, ptr %162, align 8, !tbaa !25
  %164 = load i32, ptr %11, align 4, !tbaa !5
  %165 = zext i32 %164 to i64
  %166 = getelementptr inbounds float, ptr %163, i64 %165
  store float %160, ptr %166, align 4, !tbaa !26
  br label %226

167:                                              ; preds = %123
  %168 = load i32, ptr %11, align 4, !tbaa !5
  %169 = load i32, ptr %12, align 4, !tbaa !5
  %170 = load float, ptr %13, align 4, !tbaa !26
  %171 = call float @liquid_kaiser(i32 noundef %168, i32 noundef %169, float noundef %170)
  %172 = load ptr, ptr %10, align 8, !tbaa !9
  %173 = getelementptr inbounds %struct.spgramcf_s, ptr %172, i32 0, i32 10
  %174 = load ptr, ptr %173, align 8, !tbaa !25
  %175 = load i32, ptr %11, align 4, !tbaa !5
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds float, ptr %174, i64 %176
  store float %171, ptr %177, align 4, !tbaa !26
  br label %226

178:                                              ; preds = %123
  %179 = load i32, ptr %11, align 4, !tbaa !5
  %180 = load i32, ptr %12, align 4, !tbaa !5
  %181 = call float @liquid_flattop(i32 noundef %179, i32 noundef %180)
  %182 = load ptr, ptr %10, align 8, !tbaa !9
  %183 = getelementptr inbounds %struct.spgramcf_s, ptr %182, i32 0, i32 10
  %184 = load ptr, ptr %183, align 8, !tbaa !25
  %185 = load i32, ptr %11, align 4, !tbaa !5
  %186 = zext i32 %185 to i64
  %187 = getelementptr inbounds float, ptr %184, i64 %186
  store float %181, ptr %187, align 4, !tbaa !26
  br label %226

188:                                              ; preds = %123
  %189 = load i32, ptr %11, align 4, !tbaa !5
  %190 = load i32, ptr %12, align 4, !tbaa !5
  %191 = load i32, ptr %12, align 4, !tbaa !5
  %192 = call float @liquid_triangular(i32 noundef %189, i32 noundef %190, i32 noundef %191)
  %193 = load ptr, ptr %10, align 8, !tbaa !9
  %194 = getelementptr inbounds %struct.spgramcf_s, ptr %193, i32 0, i32 10
  %195 = load ptr, ptr %194, align 8, !tbaa !25
  %196 = load i32, ptr %11, align 4, !tbaa !5
  %197 = zext i32 %196 to i64
  %198 = getelementptr inbounds float, ptr %195, i64 %197
  store float %192, ptr %198, align 4, !tbaa !26
  br label %226

199:                                              ; preds = %123
  %200 = load i32, ptr %11, align 4, !tbaa !5
  %201 = load i32, ptr %12, align 4, !tbaa !5
  %202 = load i32, ptr %12, align 4, !tbaa !5
  %203 = udiv i32 %202, 3
  %204 = call float @liquid_rcostaper_window(i32 noundef %200, i32 noundef %201, i32 noundef %203)
  %205 = load ptr, ptr %10, align 8, !tbaa !9
  %206 = getelementptr inbounds %struct.spgramcf_s, ptr %205, i32 0, i32 10
  %207 = load ptr, ptr %206, align 8, !tbaa !25
  %208 = load i32, ptr %11, align 4, !tbaa !5
  %209 = zext i32 %208 to i64
  %210 = getelementptr inbounds float, ptr %207, i64 %209
  store float %204, ptr %210, align 4, !tbaa !26
  br label %226

211:                                              ; preds = %123
  %212 = load i32, ptr %11, align 4, !tbaa !5
  %213 = load i32, ptr %12, align 4, !tbaa !5
  %214 = load float, ptr %14, align 4, !tbaa !26
  %215 = call float @liquid_kbd(i32 noundef %212, i32 noundef %213, float noundef %214)
  %216 = load ptr, ptr %10, align 8, !tbaa !9
  %217 = getelementptr inbounds %struct.spgramcf_s, ptr %216, i32 0, i32 10
  %218 = load ptr, ptr %217, align 8, !tbaa !25
  %219 = load i32, ptr %11, align 4, !tbaa !5
  %220 = zext i32 %219 to i64
  %221 = getelementptr inbounds float, ptr %218, i64 %220
  store float %215, ptr %221, align 4, !tbaa !26
  br label %226

222:                                              ; preds = %123
  %223 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.8, i32 noundef 139, ptr noundef @.str.14, ptr noundef @.str.2)
  %224 = load ptr, ptr %10, align 8, !tbaa !9
  %225 = call i32 @spgramcf_destroy(ptr noundef %224)
  store ptr null, ptr %5, align 8
  store i32 1, ptr %15, align 4
  br label %290

226:                                              ; preds = %211, %199, %188, %178, %167, %157, %147, %137, %127
  br label %227

227:                                              ; preds = %226
  %228 = load i32, ptr %11, align 4, !tbaa !5
  %229 = add i32 %228, 1
  store i32 %229, ptr %11, align 4, !tbaa !5
  br label %119, !llvm.loop !27

230:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store float 0.000000e+00, ptr %16, align 4, !tbaa !26
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %231

231:                                              ; preds = %254, %230
  %232 = load i32, ptr %11, align 4, !tbaa !5
  %233 = load ptr, ptr %10, align 8, !tbaa !9
  %234 = getelementptr inbounds %struct.spgramcf_s, ptr %233, i32 0, i32 2
  %235 = load i32, ptr %234, align 8, !tbaa !16
  %236 = icmp ult i32 %232, %235
  br i1 %236, label %237, label %257

237:                                              ; preds = %231
  %238 = load ptr, ptr %10, align 8, !tbaa !9
  %239 = getelementptr inbounds %struct.spgramcf_s, ptr %238, i32 0, i32 10
  %240 = load ptr, ptr %239, align 8, !tbaa !25
  %241 = load i32, ptr %11, align 4, !tbaa !5
  %242 = zext i32 %241 to i64
  %243 = getelementptr inbounds float, ptr %240, i64 %242
  %244 = load float, ptr %243, align 4, !tbaa !26
  %245 = load ptr, ptr %10, align 8, !tbaa !9
  %246 = getelementptr inbounds %struct.spgramcf_s, ptr %245, i32 0, i32 10
  %247 = load ptr, ptr %246, align 8, !tbaa !25
  %248 = load i32, ptr %11, align 4, !tbaa !5
  %249 = zext i32 %248 to i64
  %250 = getelementptr inbounds float, ptr %247, i64 %249
  %251 = load float, ptr %250, align 4, !tbaa !26
  %252 = load float, ptr %16, align 4, !tbaa !26
  %253 = call float @llvm.fmuladd.f32(float %244, float %251, float %252)
  store float %253, ptr %16, align 4, !tbaa !26
  br label %254

254:                                              ; preds = %237
  %255 = load i32, ptr %11, align 4, !tbaa !5
  %256 = add i32 %255, 1
  store i32 %256, ptr %11, align 4, !tbaa !5
  br label %231, !llvm.loop !29

257:                                              ; preds = %231
  %258 = load float, ptr %16, align 4, !tbaa !26
  %259 = call float @sqrtf(float noundef %258) #6
  %260 = fdiv float 1.000000e+00, %259
  store float %260, ptr %16, align 4, !tbaa !26
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %261

261:                                              ; preds = %283, %257
  %262 = load i32, ptr %11, align 4, !tbaa !5
  %263 = load ptr, ptr %10, align 8, !tbaa !9
  %264 = getelementptr inbounds %struct.spgramcf_s, ptr %263, i32 0, i32 2
  %265 = load i32, ptr %264, align 8, !tbaa !16
  %266 = icmp ult i32 %262, %265
  br i1 %266, label %267, label %286

267:                                              ; preds = %261
  %268 = load float, ptr %16, align 4, !tbaa !26
  %269 = load ptr, ptr %10, align 8, !tbaa !9
  %270 = getelementptr inbounds %struct.spgramcf_s, ptr %269, i32 0, i32 10
  %271 = load ptr, ptr %270, align 8, !tbaa !25
  %272 = load i32, ptr %11, align 4, !tbaa !5
  %273 = zext i32 %272 to i64
  %274 = getelementptr inbounds float, ptr %271, i64 %273
  %275 = load float, ptr %274, align 4, !tbaa !26
  %276 = fmul float %268, %275
  %277 = load ptr, ptr %10, align 8, !tbaa !9
  %278 = getelementptr inbounds %struct.spgramcf_s, ptr %277, i32 0, i32 10
  %279 = load ptr, ptr %278, align 8, !tbaa !25
  %280 = load i32, ptr %11, align 4, !tbaa !5
  %281 = zext i32 %280 to i64
  %282 = getelementptr inbounds float, ptr %279, i64 %281
  store float %276, ptr %282, align 4, !tbaa !26
  br label %283

283:                                              ; preds = %267
  %284 = load i32, ptr %11, align 4, !tbaa !5
  %285 = add i32 %284, 1
  store i32 %285, ptr %11, align 4, !tbaa !5
  br label %261, !llvm.loop !30

286:                                              ; preds = %261
  %287 = load ptr, ptr %10, align 8, !tbaa !9
  %288 = call i32 @spgramcf_reset(ptr noundef %287)
  %289 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %289, ptr %5, align 8
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %290

290:                                              ; preds = %286, %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %291

291:                                              ; preds = %290, %44, %39, %30, %25, %19
  %292 = load ptr, ptr %5, align 8
  ret ptr %292
}

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @spgramcf_destroy(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @spgramcf_reset(ptr noundef) #3

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @spgramcf_set_alpha(ptr noundef, float noundef) #3

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

declare ptr @windowcf_create(i32 noundef) #0

declare float @liquid_hamming(i32 noundef, i32 noundef) #0

declare float @liquid_hann(i32 noundef, i32 noundef) #0

declare float @liquid_blackmanharris(i32 noundef, i32 noundef) #0

declare float @liquid_blackmanharris7(i32 noundef, i32 noundef) #0

declare float @liquid_kaiser(i32 noundef, i32 noundef, float noundef) #0

declare float @liquid_flattop(i32 noundef, i32 noundef) #0

declare float @liquid_triangular(i32 noundef, i32 noundef, i32 noundef) #0

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

declare float @liquid_kbd(i32 noundef, i32 noundef, float noundef) #0

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { nounwind allocsize(0) }

!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, !6, i64 0}
!12 = !{!"spgramcf_s", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !13, i64 16, !13, i64 20, !6, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !6, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !13, i64 120, !13, i64 124}
!13 = !{!"float", !7, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!12, !6, i64 4}
!16 = !{!12, !6, i64 8}
!17 = !{!12, !6, i64 12}
!18 = !{!12, !13, i64 120}
!19 = !{!12, !13, i64 124}
!20 = !{!12, !10, i64 40}
!21 = !{!12, !10, i64 48}
!22 = !{!12, !10, i64 72}
!23 = !{!12, !10, i64 64}
!24 = !{!12, !10, i64 32}
!25 = !{!12, !10, i64 56}
!26 = !{!13, !13, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}
!30 = distinct !{!30, !28}


; 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.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [34 x i8], align 1

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local ptr @spgramcf_create(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 {
  %5 = icmp ult i32 %0, 2
  br i1 %5, label %6, label %8

6:                                                ; preds = %4
  %7 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.8, i32 noundef 88, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2) #5
  br label %118

8:                                                ; preds = %4
  %9 = icmp ugt i32 %2, %0
  br i1 %9, label %10, label %12

10:                                               ; preds = %8
  %11 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.8, i32 noundef 90, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2) #5
  br label %118

12:                                               ; preds = %8
  %13 = icmp eq i32 %2, 0
  br i1 %13, label %14, label %16

14:                                               ; preds = %12
  %15 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.8, i32 noundef 92, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2) #5
  br label %118

16:                                               ; preds = %12
  %17 = icmp ne i32 %1, 9
  %18 = and i32 %2, 1
  %.not = icmp eq i32 %18, 0
  %or.cond = or i1 %17, %.not
  br i1 %or.cond, label %21, label %19

19:                                               ; preds = %16
  %20 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.8, i32 noundef 94, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2) #5
  br label %118

21:                                               ; preds = %16
  %22 = icmp eq i32 %3, 0
  br i1 %22, label %23, label %25

23:                                               ; preds = %21
  %24 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.8, i32 noundef 96, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.2) #5
  br label %118

25:                                               ; preds = %21
  %26 = tail call noalias dereferenceable_or_null(128) ptr @malloc(i64 noundef 128) #6
  store i32 %0, ptr %26, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 4
  store i32 %1, ptr %27, align 4, !tbaa !13
  %28 = getelementptr inbounds i8, ptr %26, i64 8
  store i32 %2, ptr %28, align 8, !tbaa !14
  %29 = getelementptr inbounds i8, ptr %26, i64 12
  store i32 %3, ptr %29, align 4, !tbaa !15
  %30 = getelementptr inbounds i8, ptr %26, i64 120
  store <2 x float> <float 0.000000e+00, float -1.000000e+00>, ptr %30, align 8, !tbaa !16
  %31 = tail call i32 @spgramcf_set_alpha(ptr noundef nonnull %26, float noundef -1.000000e+00)
  %32 = load i32, ptr %26, align 8, !tbaa !5
  %33 = zext i32 %32 to i64
  %34 = shl nuw nsw i64 %33, 3
  %35 = tail call noalias ptr @malloc(i64 noundef %34) #6
  %36 = getelementptr inbounds i8, ptr %26, i64 40
  store ptr %35, ptr %36, align 8, !tbaa !17
  %37 = tail call noalias ptr @malloc(i64 noundef %34) #6
  %38 = getelementptr inbounds i8, ptr %26, i64 48
  store ptr %37, ptr %38, align 8, !tbaa !18
  %39 = shl nuw nsw i64 %33, 2
  %40 = tail call noalias ptr @malloc(i64 noundef %39) #6
  %41 = getelementptr inbounds i8, ptr %26, i64 72
  store ptr %40, ptr %41, align 8, !tbaa !19
  %42 = tail call ptr @fft_create_plan(i32 noundef %32, ptr noundef %35, ptr noundef %37, i32 noundef 1, i32 noundef 0) #5
  %43 = getelementptr inbounds i8, ptr %26, i64 64
  store ptr %42, ptr %43, align 8, !tbaa !20
  %44 = load i32, ptr %28, align 8, !tbaa !14
  %45 = tail call ptr @windowcf_create(i32 noundef %44) #5
  %46 = getelementptr inbounds i8, ptr %26, i64 32
  store ptr %45, ptr %46, align 8, !tbaa !21
  %47 = load i32, ptr %28, align 8, !tbaa !14
  %48 = zext i32 %47 to i64
  %49 = shl nuw nsw i64 %48, 2
  %50 = tail call noalias ptr @malloc(i64 noundef %49) #6
  %51 = getelementptr inbounds i8, ptr %26, i64 56
  store ptr %50, ptr %51, align 8, !tbaa !22
  %.not112 = icmp eq i32 %47, 0
  br i1 %.not112, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %25
  %52 = udiv i32 %47, 3
  br label %54

.preheader:                                       ; preds = %86
  %.pre = load i32, ptr %28, align 8, !tbaa !14
  %.not113 = icmp eq i32 %.pre, 0
  br i1 %.not113, label %._crit_edge, label %.lr.ph107

.lr.ph107:                                        ; preds = %.preheader
  %wide.trip.count119 = zext i32 %.pre to i64
  %xtraiter = and i64 %wide.trip.count119, 3
  %53 = icmp ult i32 %.pre, 4
  br i1 %53, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph107.new

.lr.ph107.new:                                    ; preds = %.lr.ph107
  %unroll_iter = and i64 %wide.trip.count119, 4294967292
  br label %89

54:                                               ; preds = %.lr.ph, %86
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %86 ]
  %55 = load i32, ptr %27, align 4, !tbaa !13
  switch i32 %55, label %83 [
    i32 1, label %56
    i32 2, label %59
    i32 3, label %62
    i32 4, label %65
    i32 5, label %68
    i32 6, label %71
    i32 7, label %74
    i32 8, label %77
    i32 9, label %80
  ]

56:                                               ; preds = %54
  %57 = trunc nuw i64 %indvars.iv to i32
  %58 = tail call float @liquid_hamming(i32 noundef %57, i32 noundef %47) #5
  br label %86

59:                                               ; preds = %54
  %60 = trunc nuw i64 %indvars.iv to i32
  %61 = tail call float @liquid_hann(i32 noundef %60, i32 noundef %47) #5
  br label %86

62:                                               ; preds = %54
  %63 = trunc nuw i64 %indvars.iv to i32
  %64 = tail call float @liquid_blackmanharris(i32 noundef %63, i32 noundef %47) #5
  br label %86

65:                                               ; preds = %54
  %66 = trunc nuw i64 %indvars.iv to i32
  %67 = tail call float @liquid_blackmanharris7(i32 noundef %66, i32 noundef %47) #5
  br label %86

68:                                               ; preds = %54
  %69 = trunc nuw i64 %indvars.iv to i32
  %70 = tail call float @liquid_kaiser(i32 noundef %69, i32 noundef %47, float noundef 1.000000e+01) #5
  br label %86

71:                                               ; preds = %54
  %72 = trunc nuw i64 %indvars.iv to i32
  %73 = tail call float @liquid_flattop(i32 noundef %72, i32 noundef %47) #5
  br label %86

74:                                               ; preds = %54
  %75 = trunc nuw i64 %indvars.iv to i32
  %76 = tail call float @liquid_triangular(i32 noundef %75, i32 noundef %47, i32 noundef %47) #5
  br label %86

77:                                               ; preds = %54
  %78 = trunc nuw i64 %indvars.iv to i32
  %79 = tail call float @liquid_rcostaper_window(i32 noundef %78, i32 noundef %47, i32 noundef %52) #5
  br label %86

80:                                               ; preds = %54
  %81 = trunc nuw i64 %indvars.iv to i32
  %82 = tail call float @liquid_kbd(i32 noundef %81, i32 noundef %47, float noundef 3.000000e+00) #5
  br label %86

83:                                               ; preds = %54
  %84 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.8, i32 noundef 139, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2) #5
  %85 = tail call i32 @spgramcf_destroy(ptr noundef nonnull %26)
  br label %118

86:                                               ; preds = %56, %59, %62, %65, %68, %71, %74, %77, %80
  %.sink = phi float [ %58, %56 ], [ %61, %59 ], [ %64, %62 ], [ %67, %65 ], [ %70, %68 ], [ %73, %71 ], [ %76, %74 ], [ %79, %77 ], [ %82, %80 ]
  %87 = load ptr, ptr %51, align 8, !tbaa !22
  %88 = getelementptr inbounds float, ptr %87, i64 %indvars.iv
  store float %.sink, ptr %88, align 4, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %48
  br i1 %exitcond.not, label %.preheader, label %54, !llvm.loop !23

89:                                               ; preds = %89, %.lr.ph107.new
  %indvars.iv116 = phi i64 [ 0, %.lr.ph107.new ], [ %indvars.iv.next117.3, %89 ]
  %.0106 = phi float [ 0.000000e+00, %.lr.ph107.new ], [ %101, %89 ]
  %niter = phi i64 [ 0, %.lr.ph107.new ], [ %niter.next.3, %89 ]
  %90 = getelementptr inbounds float, ptr %87, i64 %indvars.iv116
  %91 = load float, ptr %90, align 4, !tbaa !16
  %92 = tail call float @llvm.fmuladd.f32(float %91, float %91, float %.0106)
  %indvars.iv.next117 = or disjoint i64 %indvars.iv116, 1
  %93 = getelementptr inbounds float, ptr %87, i64 %indvars.iv.next117
  %94 = load float, ptr %93, align 4, !tbaa !16
  %95 = tail call float @llvm.fmuladd.f32(float %94, float %94, float %92)
  %indvars.iv.next117.1 = or disjoint i64 %indvars.iv116, 2
  %96 = getelementptr inbounds float, ptr %87, i64 %indvars.iv.next117.1
  %97 = load float, ptr %96, align 4, !tbaa !16
  %98 = tail call float @llvm.fmuladd.f32(float %97, float %97, float %95)
  %indvars.iv.next117.2 = or disjoint i64 %indvars.iv116, 3
  %99 = getelementptr inbounds float, ptr %87, i64 %indvars.iv.next117.2
  %100 = load float, ptr %99, align 4, !tbaa !16
  %101 = tail call float @llvm.fmuladd.f32(float %100, float %100, float %98)
  %indvars.iv.next117.3 = add nuw nsw i64 %indvars.iv116, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %89, !llvm.loop !25

._crit_edge.loopexit.unr-lcssa:                   ; preds = %89, %.lr.ph107
  %.lcssa.ph = phi float [ poison, %.lr.ph107 ], [ %101, %89 ]
  %indvars.iv116.unr = phi i64 [ 0, %.lr.ph107 ], [ %indvars.iv.next117.3, %89 ]
  %.0106.unr = phi float [ 0.000000e+00, %.lr.ph107 ], [ %101, %89 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv116.epil = phi i64 [ %indvars.iv.next117.epil, %.epil.preheader ], [ %indvars.iv116.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.0106.epil = phi float [ %104, %.epil.preheader ], [ %.0106.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %102 = getelementptr inbounds float, ptr %87, i64 %indvars.iv116.epil
  %103 = load float, ptr %102, align 4, !tbaa !16
  %104 = tail call float @llvm.fmuladd.f32(float %103, float %103, float %.0106.epil)
  %indvars.iv.next117.epil = add nuw nsw i64 %indvars.iv116.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !26

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %25, %.preheader
  %.0.lcssa = phi float [ 0.000000e+00, %.preheader ], [ 0.000000e+00, %25 ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %104, %.epil.preheader ]
  %105 = tail call float @sqrtf(float noundef %.0.lcssa) #5
  %106 = fdiv float 1.000000e+00, %105
  %107 = load i32, ptr %28, align 8, !tbaa !14
  %.not114 = icmp eq i32 %107, 0
  br i1 %.not114, label %._crit_edge111, label %.lr.ph110

.lr.ph110:                                        ; preds = %._crit_edge
  %108 = load ptr, ptr %51, align 8, !tbaa !22
  %wide.trip.count124 = zext i32 %107 to i64
  %min.iters.check = icmp ult i32 %107, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph110
  %n.vec = and i64 %wide.trip.count124, 4294967288
  %broadcast.splatinsert = insertelement <4 x float> poison, float %106, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %109 = getelementptr inbounds float, ptr %108, i64 %index
  %110 = getelementptr inbounds i8, ptr %109, i64 16
  %wide.load = load <4 x float>, ptr %109, align 4, !tbaa !16
  %wide.load131 = load <4 x float>, ptr %110, align 4, !tbaa !16
  %111 = fmul <4 x float> %broadcast.splat, %wide.load
  %112 = fmul <4 x float> %broadcast.splat, %wide.load131
  store <4 x float> %111, ptr %109, align 4, !tbaa !16
  store <4 x float> %112, ptr %110, align 4, !tbaa !16
  %index.next = add nuw i64 %index, 8
  %113 = icmp eq i64 %index.next, %n.vec
  br i1 %113, label %middle.block, label %vector.body, !llvm.loop !28

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count124
  br i1 %cmp.n, label %._crit_edge111, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph110
  %indvars.iv121.ph = phi i64 [ 0, %.lr.ph110 ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv121 = phi i64 [ %indvars.iv.next122, %scalar.ph ], [ %indvars.iv121.ph, %scalar.ph.preheader ]
  %114 = getelementptr inbounds float, ptr %108, i64 %indvars.iv121
  %115 = load float, ptr %114, align 4, !tbaa !16
  %116 = fmul float %106, %115
  store float %116, ptr %114, align 4, !tbaa !16
  %indvars.iv.next122 = add nuw nsw i64 %indvars.iv121, 1
  %exitcond125.not = icmp eq i64 %indvars.iv.next122, %wide.trip.count124
  br i1 %exitcond125.not, label %._crit_edge111, label %scalar.ph, !llvm.loop !31

._crit_edge111:                                   ; preds = %scalar.ph, %middle.block, %._crit_edge
  %117 = tail call i32 @spgramcf_reset(ptr noundef nonnull %26)
  br label %118

118:                                              ; preds = %83, %._crit_edge111, %23, %19, %14, %10, %6
  %.1 = phi ptr [ %7, %6 ], [ %11, %10 ], [ %15, %14 ], [ %20, %19 ], [ %24, %23 ], [ null, %83 ], [ %26, %._crit_edge111 ]
  ret ptr %.1
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @spgramcf_destroy(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @spgramcf_reset(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @spgramcf_set_alpha(ptr noundef, float noundef) local_unnamed_addr #2

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

declare ptr @windowcf_create(i32 noundef) local_unnamed_addr #0

declare float @liquid_hamming(i32 noundef, i32 noundef) local_unnamed_addr #0

declare float @liquid_hann(i32 noundef, i32 noundef) local_unnamed_addr #0

declare float @liquid_blackmanharris(i32 noundef, i32 noundef) local_unnamed_addr #0

declare float @liquid_blackmanharris7(i32 noundef, i32 noundef) local_unnamed_addr #0

declare float @liquid_kaiser(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #0

declare float @liquid_flattop(i32 noundef, i32 noundef) local_unnamed_addr #0

declare float @liquid_triangular(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

declare float @liquid_kbd(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #0

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

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

!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, !7, i64 0}
!6 = !{!"spgramcf_s", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !7, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !10, i64 120, !10, i64 124}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!6, !7, i64 4}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 12}
!16 = !{!10, !10, i64 0}
!17 = !{!6, !11, i64 40}
!18 = !{!6, !11, i64 48}
!19 = !{!6, !11, i64 72}
!20 = !{!6, !11, i64 64}
!21 = !{!6, !11, i64 32}
!22 = !{!6, !11, i64 56}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.unroll.disable"}
!28 = distinct !{!28, !24, !29, !30}
!29 = !{!"llvm.loop.isvectorized", i32 1}
!30 = !{!"llvm.loop.unroll.runtime.disable"}
!31 = distinct !{!31, !24, !30, !29}


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