; LLVM IR from jgaeddert/liquid-dsp :: sandbox (fskmodem_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.11 = external hidden unnamed_addr constant [18 x i8], align 1
@optarg = external global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [47 x i8], align 1
@stderr = external global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %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 float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca ptr, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca i32, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %41 = alloca { float, float }, align 4
  %42 = alloca { float, float }, align 4
  %43 = alloca i64, align 8
  %44 = alloca i64, align 8
  %45 = alloca ptr, align 8
  %46 = alloca i32, align 4
  %47 = alloca float, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca float, align 4
  %51 = alloca { float, float }, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i64, align 8
  %55 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 3, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 200, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store float 4.000000e+01, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store float 0.000000e+00, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store float 0.000000e+00, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store float 0.000000e+00, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store float 0x3FC99999A0000000, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  br label %56

56:                                               ; preds = %94, %2
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = load ptr, ptr %5, align 8, !tbaa !9
  %59 = call i32 @getopt(i32 noundef %57, ptr noundef %58, ptr noundef @.str.11) #9
  store i32 %59, ptr %14, align 4, !tbaa !5
  %60 = icmp ne i32 %59, -1
  br i1 %60, label %61, label %95

61:                                               ; preds = %56
  %62 = load i32, ptr %14, align 4, !tbaa !5
  switch i32 %62, label %93 [
    i32 104, label %63
    i32 109, label %64
    i32 107, label %67
    i32 98, label %70
    i32 110, label %74
    i32 115, label %77
    i32 70, label %81
    i32 80, label %85
    i32 84, label %89
  ]

63:                                               ; preds = %61
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %681

64:                                               ; preds = %61
  %65 = load ptr, ptr @optarg, align 8, !tbaa !9
  %66 = call i32 @atoi(ptr noundef %65) #10
  store i32 %66, ptr %6, align 4, !tbaa !5
  br label %94

67:                                               ; preds = %61
  %68 = load ptr, ptr @optarg, align 8, !tbaa !9
  %69 = call i32 @atoi(ptr noundef %68) #10
  store i32 %69, ptr %7, align 4, !tbaa !5
  br label %94

70:                                               ; preds = %61
  %71 = load ptr, ptr @optarg, align 8, !tbaa !9
  %72 = call double @atof(ptr noundef %71) #10
  %73 = fptrunc double %72 to float
  store float %73, ptr %13, align 4, !tbaa !11
  br label %94

74:                                               ; preds = %61
  %75 = load ptr, ptr @optarg, align 8, !tbaa !9
  %76 = call i32 @atoi(ptr noundef %75) #10
  store i32 %76, ptr %8, align 4, !tbaa !5
  br label %94

77:                                               ; preds = %61
  %78 = load ptr, ptr @optarg, align 8, !tbaa !9
  %79 = call double @atof(ptr noundef %78) #10
  %80 = fptrunc double %79 to float
  store float %80, ptr %9, align 4, !tbaa !11
  br label %94

81:                                               ; preds = %61
  %82 = load ptr, ptr @optarg, align 8, !tbaa !9
  %83 = call double @atof(ptr noundef %82) #10
  %84 = fptrunc double %83 to float
  store float %84, ptr %10, align 4, !tbaa !11
  br label %94

85:                                               ; preds = %61
  %86 = load ptr, ptr @optarg, align 8, !tbaa !9
  %87 = call double @atof(ptr noundef %86) #10
  %88 = fptrunc double %87 to float
  store float %88, ptr %11, align 4, !tbaa !11
  br label %94

89:                                               ; preds = %61
  %90 = load ptr, ptr @optarg, align 8, !tbaa !9
  %91 = call double @atof(ptr noundef %90) #10
  %92 = fptrunc double %91 to float
  store float %92, ptr %12, align 4, !tbaa !11
  br label %94

93:                                               ; preds = %61
  call void @exit(i32 noundef 1) #11
  unreachable

94:                                               ; preds = %89, %85, %81, %77, %74, %70, %67, %64
  br label %56, !llvm.loop !13

95:                                               ; preds = %56
  %96 = load float, ptr %12, align 4, !tbaa !11
  %97 = fpext float %96 to double
  %98 = load float, ptr %10, align 4, !tbaa !11
  %99 = fpext float %98 to double
  %100 = load float, ptr %11, align 4, !tbaa !11
  %101 = fpext float %100 to double
  %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %97, double noundef %99, double noundef %101)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %103 = load i32, ptr %7, align 4, !tbaa !5
  %104 = icmp eq i32 %103, 0
  br i1 %104, label %105, label %108

105:                                              ; preds = %95
  %106 = load i32, ptr %6, align 4, !tbaa !5
  %107 = shl i32 2, %106
  store i32 %107, ptr %7, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %105, %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %109 = load i32, ptr %7, align 4, !tbaa !5
  %110 = load i32, ptr %8, align 4, !tbaa !5
  %111 = mul i32 %109, %110
  store i32 %111, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %112 = load i32, ptr %6, align 4, !tbaa !5
  %113 = shl i32 1, %112
  store i32 %113, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %114 = load float, ptr %9, align 4, !tbaa !11
  %115 = fneg float %114
  %116 = fdiv float %115, 2.000000e+01
  %117 = call float @powf(float noundef 1.000000e+01, float noundef %116) #9
  store float %117, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %118 = load i32, ptr %19, align 4, !tbaa !5
  %119 = sub i32 %118, 1
  %120 = uitofp i32 %119 to float
  %121 = fmul float 5.000000e-01, %120
  store float %121, ptr %21, align 4, !tbaa !11
  %122 = load i32, ptr %7, align 4, !tbaa !5
  %123 = load i32, ptr %19, align 4, !tbaa !5
  %124 = icmp ult i32 %122, %123
  br i1 %124, label %125, label %129

125:                                              ; preds = %108
  %126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %127 = load i32, ptr %19, align 4, !tbaa !5
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str.13, ptr noundef @.str.14, i32 noundef %127) #9
  call void @exit(i32 noundef 1) #11
  unreachable

129:                                              ; preds = %108
  %130 = load i32, ptr %7, align 4, !tbaa !5
  %131 = icmp ugt i32 %130, 2048
  br i1 %131, label %132, label %135

132:                                              ; preds = %129
  %133 = load ptr, ptr @stderr, align 8, !tbaa !9
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef @.str.15, ptr noundef @.str.14) #9
  call void @exit(i32 noundef 1) #11
  unreachable

135:                                              ; preds = %129
  %136 = load i32, ptr %19, align 4, !tbaa !5
  %137 = icmp ugt i32 %136, 1024
  br i1 %137, label %138, label %142

138:                                              ; preds = %135
  %139 = load ptr, ptr @stderr, align 8, !tbaa !9
  %140 = load i32, ptr %19, align 4, !tbaa !5
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef @.str.16, ptr noundef @.str.14, i32 noundef %140) #9
  call void @exit(i32 noundef 1) #11
  unreachable

142:                                              ; preds = %135
  %143 = load float, ptr %13, align 4, !tbaa !11
  %144 = fcmp ole float %143, 0.000000e+00
  br i1 %144, label %148, label %145

145:                                              ; preds = %142
  %146 = load float, ptr %13, align 4, !tbaa !11
  %147 = fcmp oge float %146, 5.000000e-01
  br i1 %147, label %148, label %151

148:                                              ; preds = %145, %142
  %149 = load ptr, ptr @stderr, align 8, !tbaa !9
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef @.str.17, ptr noundef @.str.14) #9
  call void @exit(i32 noundef 1) #11
  unreachable

151:                                              ; preds = %145
  br label %152

152:                                              ; preds = %151
  br label %153

153:                                              ; preds = %152
  br label %154

154:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %155 = load float, ptr %13, align 4, !tbaa !11
  %156 = load float, ptr %21, align 4, !tbaa !11
  %157 = fdiv float %155, %156
  store float %157, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store float 1.000000e+09, ptr %24, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %158 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %158, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %159 = load i32, ptr %7, align 4, !tbaa !5
  %160 = mul i32 %159, 4
  %161 = icmp ult i32 %160, 16
  br i1 %161, label %162, label %163

162:                                              ; preds = %154
  br label %166

163:                                              ; preds = %154
  %164 = load i32, ptr %7, align 4, !tbaa !5
  %165 = mul i32 %164, 4
  br label %166

166:                                              ; preds = %163, %162
  %167 = phi i32 [ 16, %162 ], [ %165, %163 ]
  store i32 %167, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  %168 = load i32, ptr %25, align 4, !tbaa !5
  store i32 %168, ptr %27, align 4, !tbaa !5
  br label %169

169:                                              ; preds = %213, %166
  %170 = load i32, ptr %27, align 4, !tbaa !5
  %171 = load i32, ptr %26, align 4, !tbaa !5
  %172 = icmp ule i32 %170, %171
  br i1 %172, label %173, label %216

173:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  %174 = load float, ptr %23, align 4, !tbaa !11
  %175 = fmul float 5.000000e-01, %174
  %176 = load i32, ptr %27, align 4, !tbaa !5
  %177 = uitofp i32 %176 to float
  %178 = fmul float %175, %177
  store float %178, ptr %28, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %179 = load float, ptr %28, align 4, !tbaa !11
  %180 = call float @llvm.round.f32(float %179)
  %181 = load float, ptr %28, align 4, !tbaa !11
  %182 = fsub float %180, %181
  %183 = call float @llvm.fabs.f32(float %182)
  store float %183, ptr %29, align 4, !tbaa !11
  %184 = load i32, ptr %27, align 4, !tbaa !5
  %185 = load float, ptr %28, align 4, !tbaa !11
  %186 = fpext float %185 to double
  %187 = load float, ptr %29, align 4, !tbaa !11
  %188 = fpext float %187 to double
  %189 = load float, ptr %29, align 4, !tbaa !11
  %190 = load float, ptr %24, align 4, !tbaa !11
  %191 = fcmp olt float %189, %190
  %192 = zext i1 %191 to i64
  %193 = select i1 %191, ptr @.str.19, ptr @.str.20
  %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %184, double noundef %186, double noundef %188, ptr noundef %193)
  %195 = load i32, ptr %27, align 4, !tbaa !5
  %196 = load i32, ptr %25, align 4, !tbaa !5
  %197 = icmp eq i32 %195, %196
  br i1 %197, label %202, label %198

198:                                              ; preds = %173
  %199 = load float, ptr %29, align 4, !tbaa !11
  %200 = load float, ptr %24, align 4, !tbaa !11
  %201 = fcmp olt float %199, %200
  br i1 %201, label %202, label %205

202:                                              ; preds = %198, %173
  %203 = load i32, ptr %27, align 4, !tbaa !5
  store i32 %203, ptr %22, align 4, !tbaa !5
  %204 = load float, ptr %29, align 4, !tbaa !11
  store float %204, ptr %24, align 4, !tbaa !11
  br label %205

205:                                              ; preds = %202, %198
  %206 = load float, ptr %29, align 4, !tbaa !11
  %207 = fcmp olt float %206, 0x3EB0C6F7A0000000
  br i1 %207, label %208, label %209

208:                                              ; preds = %205
  store i32 5, ptr %15, align 4
  br label %210

209:                                              ; preds = %205
  store i32 0, ptr %15, align 4
  br label %210

210:                                              ; preds = %209, %208
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  %211 = load i32, ptr %15, align 4
  switch i32 %211, label %683 [
    i32 0, label %212
    i32 5, label %216
  ]

212:                                              ; preds = %210
  br label %213

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

216:                                              ; preds = %210, %169
  %217 = load i32, ptr %8, align 4, !tbaa !5
  %218 = zext i32 %217 to i64
  %219 = call ptr @llvm.stacksave.p0()
  store ptr %219, ptr %30, align 8
  %220 = alloca i32, i64 %218, align 16
  store i64 %218, ptr %31, align 8
  %221 = load i32, ptr %18, align 4, !tbaa !5
  %222 = zext i32 %221 to i64
  %223 = alloca { float, float }, i64 %222, align 16
  store i64 %222, ptr %32, align 8
  %224 = load i32, ptr %18, align 4, !tbaa !5
  %225 = zext i32 %224 to i64
  %226 = alloca { float, float }, i64 %225, align 16
  store i64 %225, ptr %33, align 8
  %227 = load i32, ptr %8, align 4, !tbaa !5
  %228 = zext i32 %227 to i64
  %229 = alloca i32, i64 %228, align 16
  store i64 %228, ptr %34, align 8
  %230 = load i32, ptr %19, align 4, !tbaa !5
  %231 = zext i32 %230 to i64
  %232 = alloca i32, i64 %231, align 16
  store i64 %231, ptr %35, align 8
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %233

233:                                              ; preds = %273, %216
  %234 = load i32, ptr %16, align 4, !tbaa !5
  %235 = load i32, ptr %19, align 4, !tbaa !5
  %236 = icmp ult i32 %234, %235
  br i1 %236, label %237, label %276

237:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  %238 = load i32, ptr %16, align 4, !tbaa !5
  %239 = uitofp i32 %238 to float
  %240 = load float, ptr %21, align 4, !tbaa !11
  %241 = fsub float %239, %240
  %242 = load float, ptr %13, align 4, !tbaa !11
  %243 = fmul float %241, %242
  %244 = load float, ptr %21, align 4, !tbaa !11
  %245 = fdiv float %243, %244
  store float %245, ptr %36, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %246 = load float, ptr %36, align 4, !tbaa !11
  %247 = load i32, ptr %22, align 4, !tbaa !5
  %248 = uitofp i32 %247 to float
  %249 = fmul float %246, %248
  store float %249, ptr %37, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %250 = load float, ptr %37, align 4, !tbaa !11
  %251 = fcmp olt float %250, 0.000000e+00
  br i1 %251, label %252, label %258

252:                                              ; preds = %237
  %253 = load float, ptr %37, align 4, !tbaa !11
  %254 = load i32, ptr %22, align 4, !tbaa !5
  %255 = uitofp i32 %254 to float
  %256 = fadd float %253, %255
  %257 = call float @llvm.round.f32(float %256)
  br label %261

258:                                              ; preds = %237
  %259 = load float, ptr %37, align 4, !tbaa !11
  %260 = call float @llvm.round.f32(float %259)
  br label %261

261:                                              ; preds = %258, %252
  %262 = phi float [ %257, %252 ], [ %260, %258 ]
  %263 = fptoui float %262 to i32
  store i32 %263, ptr %38, align 4, !tbaa !5
  %264 = load i32, ptr %38, align 4, !tbaa !5
  %265 = load i32, ptr %16, align 4, !tbaa !5
  %266 = zext i32 %265 to i64
  %267 = getelementptr inbounds i32, ptr %232, i64 %266
  store i32 %264, ptr %267, align 4, !tbaa !5
  %268 = load i32, ptr %16, align 4, !tbaa !5
  %269 = load float, ptr %36, align 4, !tbaa !11
  %270 = fpext float %269 to double
  %271 = load i32, ptr %38, align 4, !tbaa !5
  %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i32 noundef %268, double noundef %270, i32 noundef %271)
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  br label %273

273:                                              ; preds = %261
  %274 = load i32, ptr %16, align 4, !tbaa !5
  %275 = add i32 %274, 1
  store i32 %275, ptr %16, align 4, !tbaa !5
  br label %233, !llvm.loop !16

276:                                              ; preds = %233
  store i32 1, ptr %16, align 4, !tbaa !5
  br label %277

277:                                              ; preds = %296, %276
  %278 = load i32, ptr %16, align 4, !tbaa !5
  %279 = load i32, ptr %19, align 4, !tbaa !5
  %280 = icmp ult i32 %278, %279
  br i1 %280, label %281, label %299

281:                                              ; preds = %277
  %282 = load i32, ptr %16, align 4, !tbaa !5
  %283 = zext i32 %282 to i64
  %284 = getelementptr inbounds i32, ptr %232, i64 %283
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = load i32, ptr %16, align 4, !tbaa !5
  %287 = sub i32 %286, 1
  %288 = zext i32 %287 to i64
  %289 = getelementptr inbounds i32, ptr %232, i64 %288
  %290 = load i32, ptr %289, align 4, !tbaa !5
  %291 = icmp eq i32 %285, %290
  br i1 %291, label %292, label %295

292:                                              ; preds = %281
  %293 = load ptr, ptr @stderr, align 8, !tbaa !9
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.22) #9
  br label %299

295:                                              ; preds = %281
  br label %296

296:                                              ; preds = %295
  %297 = load i32, ptr %16, align 4, !tbaa !5
  %298 = add i32 %297, 1
  store i32 %298, ptr %16, align 4, !tbaa !5
  br label %277, !llvm.loop !17

299:                                              ; preds = %292, %277
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %300

300:                                              ; preds = %370, %299
  %301 = load i32, ptr %16, align 4, !tbaa !5
  %302 = load i32, ptr %8, align 4, !tbaa !5
  %303 = icmp ult i32 %301, %302
  br i1 %303, label %304, label %373

304:                                              ; preds = %300
  %305 = call i32 @rand() #9
  %306 = load i32, ptr %19, align 4, !tbaa !5
  %307 = urem i32 %305, %306
  %308 = load i32, ptr %16, align 4, !tbaa !5
  %309 = zext i32 %308 to i64
  %310 = getelementptr inbounds i32, ptr %220, i64 %309
  store i32 %307, ptr %310, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  %311 = load i32, ptr %16, align 4, !tbaa !5
  %312 = zext i32 %311 to i64
  %313 = getelementptr inbounds i32, ptr %220, i64 %312
  %314 = load i32, ptr %313, align 4, !tbaa !5
  %315 = uitofp i32 %314 to float
  %316 = load float, ptr %21, align 4, !tbaa !11
  %317 = fsub float %315, %316
  %318 = fpext float %317 to double
  %319 = fmul double 0x401921FB54442D18, %318
  %320 = load float, ptr %13, align 4, !tbaa !11
  %321 = fpext float %320 to double
  %322 = fmul double %319, %321
  %323 = load float, ptr %21, align 4, !tbaa !11
  %324 = fpext float %323 to double
  %325 = fdiv double %322, %324
  %326 = fptrunc double %325 to float
  store float %326, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  %327 = call float (...) @randf()
  %328 = fmul float %327, 2.000000e+00
  %329 = fpext float %328 to double
  %330 = fmul double %329, 0x400921FB54442D18
  %331 = fptrunc double %330 to float
  store float %331, ptr %40, align 4, !tbaa !11
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %332

332:                                              ; preds = %366, %304
  %333 = load i32, ptr %17, align 4, !tbaa !5
  %334 = load i32, ptr %7, align 4, !tbaa !5
  %335 = icmp ult i32 %333, %334
  br i1 %335, label %336, label %369

336:                                              ; preds = %332
  %337 = load float, ptr %40, align 4, !tbaa !11
  %338 = fmul float 0.000000e+00, %337
  %339 = fmul float 1.000000e+00, %337
  %340 = load i32, ptr %17, align 4, !tbaa !5
  %341 = uitofp i32 %340 to float
  %342 = fmul float 0.000000e+00, %341
  %343 = fmul float 1.000000e+00, %341
  %344 = load float, ptr %39, align 4, !tbaa !11
  %345 = fmul float %342, %344
  %346 = fmul float %343, %344
  %347 = fadd float %338, %345
  %348 = fadd float %339, %346
  %349 = getelementptr inbounds { float, float }, ptr %41, i32 0, i32 0
  %350 = getelementptr inbounds { float, float }, ptr %41, i32 0, i32 1
  store float %347, ptr %349, align 4
  store float %348, ptr %350, align 4
  %351 = load <2 x float>, ptr %41, align 4
  %352 = call <2 x float> @cexpf(<2 x float> noundef %351) #9
  store <2 x float> %352, ptr %42, align 4
  %353 = getelementptr inbounds { float, float }, ptr %42, i32 0, i32 0
  %354 = load float, ptr %353, align 4
  %355 = getelementptr inbounds { float, float }, ptr %42, i32 0, i32 1
  %356 = load float, ptr %355, align 4
  %357 = load i32, ptr %16, align 4, !tbaa !5
  %358 = load i32, ptr %7, align 4, !tbaa !5
  %359 = mul i32 %357, %358
  %360 = load i32, ptr %17, align 4, !tbaa !5
  %361 = add i32 %359, %360
  %362 = zext i32 %361 to i64
  %363 = getelementptr inbounds { float, float }, ptr %223, i64 %362
  %364 = getelementptr inbounds { float, float }, ptr %363, i32 0, i32 0
  %365 = getelementptr inbounds { float, float }, ptr %363, i32 0, i32 1
  store float %354, ptr %364, align 8
  store float %356, ptr %365, align 4
  br label %366

366:                                              ; preds = %336
  %367 = load i32, ptr %17, align 4, !tbaa !5
  %368 = add i32 %367, 1
  store i32 %368, ptr %17, align 4, !tbaa !5
  br label %332, !llvm.loop !18

369:                                              ; preds = %332
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  br label %370

370:                                              ; preds = %369
  %371 = load i32, ptr %16, align 4, !tbaa !5
  %372 = add i32 %371, 1
  store i32 %372, ptr %16, align 4, !tbaa !5
  br label %300, !llvm.loop !19

373:                                              ; preds = %300
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %374

374:                                              ; preds = %409, %373
  %375 = load i32, ptr %16, align 4, !tbaa !5
  %376 = load i32, ptr %18, align 4, !tbaa !5
  %377 = icmp ult i32 %375, %376
  br i1 %377, label %378, label %412

378:                                              ; preds = %374
  %379 = load i32, ptr %16, align 4, !tbaa !5
  %380 = zext i32 %379 to i64
  %381 = getelementptr inbounds { float, float }, ptr %223, i64 %380
  %382 = getelementptr inbounds { float, float }, ptr %381, i32 0, i32 0
  %383 = load float, ptr %382, align 8
  %384 = getelementptr inbounds { float, float }, ptr %381, i32 0, i32 1
  %385 = load float, ptr %384, align 4
  %386 = fpext float %383 to double
  %387 = fpext float %385 to double
  %388 = load float, ptr %20, align 4, !tbaa !11
  %389 = call float (...) @randnf()
  %390 = call float (...) @randnf()
  %391 = fmul float 0.000000e+00, %390
  %392 = fmul float 1.000000e+00, %390
  %393 = fadd float %389, %391
  %394 = fmul float %388, %393
  %395 = fmul float %388, %392
  %396 = fpext float %394 to double
  %397 = fpext float %395 to double
  %398 = fmul double %396, 0x3FE6A09E667F3BCD
  %399 = fmul double %397, 0x3FE6A09E667F3BCD
  %400 = fadd double %386, %398
  %401 = fadd double %387, %399
  %402 = fptrunc double %400 to float
  %403 = fptrunc double %401 to float
  %404 = load i32, ptr %16, align 4, !tbaa !5
  %405 = zext i32 %404 to i64
  %406 = getelementptr inbounds { float, float }, ptr %226, i64 %405
  %407 = getelementptr inbounds { float, float }, ptr %406, i32 0, i32 0
  %408 = getelementptr inbounds { float, float }, ptr %406, i32 0, i32 1
  store float %402, ptr %407, align 8
  store float %403, ptr %408, align 4
  br label %409

409:                                              ; preds = %378
  %410 = load i32, ptr %16, align 4, !tbaa !5
  %411 = add i32 %410, 1
  store i32 %411, ptr %16, align 4, !tbaa !5
  br label %374, !llvm.loop !20

412:                                              ; preds = %374
  %413 = load i32, ptr %22, align 4, !tbaa !5
  %414 = zext i32 %413 to i64
  %415 = alloca { float, float }, i64 %414, align 16
  store i64 %414, ptr %43, align 8
  %416 = load i32, ptr %22, align 4, !tbaa !5
  %417 = zext i32 %416 to i64
  %418 = alloca { float, float }, i64 %417, align 16
  store i64 %417, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %419 = load i32, ptr %22, align 4, !tbaa !5
  %420 = call ptr @fft_create_plan(i32 noundef %419, ptr noundef %415, ptr noundef %418, i32 noundef 1, i32 noundef 0)
  store ptr %420, ptr %45, align 8, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %421

421:                                              ; preds = %431, %412
  %422 = load i32, ptr %16, align 4, !tbaa !5
  %423 = load i32, ptr %22, align 4, !tbaa !5
  %424 = icmp ult i32 %422, %423
  br i1 %424, label %425, label %434

425:                                              ; preds = %421
  %426 = load i32, ptr %16, align 4, !tbaa !5
  %427 = zext i32 %426 to i64
  %428 = getelementptr inbounds { float, float }, ptr %415, i64 %427
  %429 = getelementptr inbounds { float, float }, ptr %428, i32 0, i32 0
  %430 = getelementptr inbounds { float, float }, ptr %428, i32 0, i32 1
  store float 0.000000e+00, ptr %429, align 8
  store float 0.000000e+00, ptr %430, align 4
  br label %431

431:                                              ; preds = %425
  %432 = load i32, ptr %16, align 4, !tbaa !5
  %433 = add i32 %432, 1
  store i32 %433, ptr %16, align 4, !tbaa !5
  br label %421, !llvm.loop !21

434:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  store i32 0, ptr %46, align 4, !tbaa !5
  store i32 0, ptr %17, align 4, !tbaa !5
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %435

435:                                              ; preds = %498, %434
  %436 = load i32, ptr %16, align 4, !tbaa !5
  %437 = load i32, ptr %18, align 4, !tbaa !5
  %438 = icmp ult i32 %436, %437
  br i1 %438, label %439, label %501

439:                                              ; preds = %435
  %440 = load i32, ptr %16, align 4, !tbaa !5
  %441 = zext i32 %440 to i64
  %442 = getelementptr inbounds { float, float }, ptr %226, i64 %441
  %443 = getelementptr inbounds { float, float }, ptr %442, i32 0, i32 0
  %444 = load float, ptr %443, align 8
  %445 = getelementptr inbounds { float, float }, ptr %442, i32 0, i32 1
  %446 = load float, ptr %445, align 4
  %447 = load i32, ptr %46, align 4, !tbaa !5
  %448 = add i32 %447, 1
  store i32 %448, ptr %46, align 4, !tbaa !5
  %449 = zext i32 %447 to i64
  %450 = getelementptr inbounds { float, float }, ptr %415, i64 %449
  %451 = getelementptr inbounds { float, float }, ptr %450, i32 0, i32 0
  %452 = getelementptr inbounds { float, float }, ptr %450, i32 0, i32 1
  store float %444, ptr %451, align 8
  store float %446, ptr %452, align 4
  %453 = load i32, ptr %46, align 4, !tbaa !5
  %454 = load i32, ptr %7, align 4, !tbaa !5
  %455 = icmp eq i32 %453, %454
  br i1 %455, label %456, label %497

456:                                              ; preds = %439
  store i32 0, ptr %46, align 4, !tbaa !5
  %457 = load ptr, ptr %45, align 8, !tbaa !9
  %458 = call i32 @fft_execute(ptr noundef %457)
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  store float 0.000000e+00, ptr %47, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #9
  store i32 0, ptr %49, align 4, !tbaa !5
  store i32 0, ptr %48, align 4, !tbaa !5
  br label %459

459:                                              ; preds = %488, %456
  %460 = load i32, ptr %48, align 4, !tbaa !5
  %461 = load i32, ptr %19, align 4, !tbaa !5
  %462 = icmp ult i32 %460, %461
  br i1 %462, label %463, label %491

463:                                              ; preds = %459
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #9
  %464 = load i32, ptr %48, align 4, !tbaa !5
  %465 = zext i32 %464 to i64
  %466 = getelementptr inbounds i32, ptr %232, i64 %465
  %467 = load i32, ptr %466, align 4, !tbaa !5
  %468 = zext i32 %467 to i64
  %469 = getelementptr inbounds { float, float }, ptr %418, i64 %468
  %470 = getelementptr inbounds { float, float }, ptr %469, i32 0, i32 0
  %471 = load float, ptr %470, align 8
  %472 = getelementptr inbounds { float, float }, ptr %469, i32 0, i32 1
  %473 = load float, ptr %472, align 4
  %474 = getelementptr inbounds { float, float }, ptr %51, i32 0, i32 0
  %475 = getelementptr inbounds { float, float }, ptr %51, i32 0, i32 1
  store float %471, ptr %474, align 4
  store float %473, ptr %475, align 4
  %476 = load <2 x float>, ptr %51, align 4
  %477 = call float @cabsf(<2 x float> noundef %476) #9
  store float %477, ptr %50, align 4, !tbaa !11
  %478 = load i32, ptr %48, align 4, !tbaa !5
  %479 = icmp eq i32 %478, 0
  br i1 %479, label %484, label %480

480:                                              ; preds = %463
  %481 = load float, ptr %50, align 4, !tbaa !11
  %482 = load float, ptr %47, align 4, !tbaa !11
  %483 = fcmp ogt float %481, %482
  br i1 %483, label %484, label %487

484:                                              ; preds = %480, %463
  %485 = load i32, ptr %48, align 4, !tbaa !5
  store i32 %485, ptr %49, align 4, !tbaa !5
  %486 = load float, ptr %50, align 4, !tbaa !11
  store float %486, ptr %47, align 4, !tbaa !11
  br label %487

487:                                              ; preds = %484, %480
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  br label %488

488:                                              ; preds = %487
  %489 = load i32, ptr %48, align 4, !tbaa !5
  %490 = add i32 %489, 1
  store i32 %490, ptr %48, align 4, !tbaa !5
  br label %459, !llvm.loop !22

491:                                              ; preds = %459
  %492 = load i32, ptr %49, align 4, !tbaa !5
  %493 = load i32, ptr %17, align 4, !tbaa !5
  %494 = add i32 %493, 1
  store i32 %494, ptr %17, align 4, !tbaa !5
  %495 = zext i32 %493 to i64
  %496 = getelementptr inbounds i32, ptr %229, i64 %495
  store i32 %492, ptr %496, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  br label %497

497:                                              ; preds = %491, %439
  br label %498

498:                                              ; preds = %497
  %499 = load i32, ptr %16, align 4, !tbaa !5
  %500 = add i32 %499, 1
  store i32 %500, ptr %16, align 4, !tbaa !5
  br label %435, !llvm.loop !23

501:                                              ; preds = %435
  %502 = load ptr, ptr %45, align 8, !tbaa !9
  %503 = call i32 @fft_destroy_plan(ptr noundef %502)
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #9
  store i32 0, ptr %52, align 4, !tbaa !5
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %504

504:                                              ; preds = %522, %501
  %505 = load i32, ptr %16, align 4, !tbaa !5
  %506 = load i32, ptr %8, align 4, !tbaa !5
  %507 = icmp ult i32 %505, %506
  br i1 %507, label %508, label %525

508:                                              ; preds = %504
  %509 = load i32, ptr %16, align 4, !tbaa !5
  %510 = zext i32 %509 to i64
  %511 = getelementptr inbounds i32, ptr %220, i64 %510
  %512 = load i32, ptr %511, align 4, !tbaa !5
  %513 = load i32, ptr %16, align 4, !tbaa !5
  %514 = zext i32 %513 to i64
  %515 = getelementptr inbounds i32, ptr %229, i64 %514
  %516 = load i32, ptr %515, align 4, !tbaa !5
  %517 = icmp eq i32 %512, %516
  %518 = zext i1 %517 to i64
  %519 = select i1 %517, i32 0, i32 1
  %520 = load i32, ptr %52, align 4, !tbaa !5
  %521 = add i32 %520, %519
  store i32 %521, ptr %52, align 4, !tbaa !5
  br label %522

522:                                              ; preds = %508
  %523 = load i32, ptr %16, align 4, !tbaa !5
  %524 = add i32 %523, 1
  store i32 %524, ptr %16, align 4, !tbaa !5
  br label %504, !llvm.loop !24

525:                                              ; preds = %504
  %526 = load i32, ptr %52, align 4, !tbaa !5
  %527 = load i32, ptr %8, align 4, !tbaa !5
  %528 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %526, i32 noundef %527)
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #9
  store i32 1200, ptr %53, align 4, !tbaa !5
  %529 = load i32, ptr %53, align 4, !tbaa !5
  %530 = zext i32 %529 to i64
  %531 = alloca float, i64 %530, align 16
  store i64 %530, ptr %54, align 8
  %532 = load i32, ptr %53, align 4, !tbaa !5
  %533 = load i32, ptr %18, align 4, !tbaa !5
  %534 = call i32 @spgramcf_estimate_psd(i32 noundef %532, ptr noundef %226, i32 noundef %533, ptr noundef %531)
  %535 = load i32, ptr %8, align 4, !tbaa !5
  %536 = icmp ugt i32 %535, 10
  br i1 %536, label %537, label %538

537:                                              ; preds = %525
  store i32 10, ptr %8, align 4, !tbaa !5
  br label %538

538:                                              ; preds = %537, %525
  %539 = load i32, ptr %7, align 4, !tbaa !5
  %540 = load i32, ptr %8, align 4, !tbaa !5
  %541 = mul i32 %539, %540
  store i32 %541, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #9
  %542 = call noalias ptr @fopen(ptr noundef @.str.24, ptr noundef @.str.25)
  store ptr %542, ptr %55, align 8, !tbaa !9
  %543 = load ptr, ptr %55, align 8, !tbaa !9
  %544 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %543, ptr noundef @.str.26, ptr noundef @.str.24) #9
  %545 = load ptr, ptr %55, align 8, !tbaa !9
  %546 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %545, ptr noundef @.str.27) #9
  %547 = load ptr, ptr %55, align 8, !tbaa !9
  %548 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %547, ptr noundef @.str.28) #9
  %549 = load ptr, ptr %55, align 8, !tbaa !9
  %550 = load i32, ptr %7, align 4, !tbaa !5
  %551 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %549, ptr noundef @.str.29, i32 noundef %550) #9
  %552 = load ptr, ptr %55, align 8, !tbaa !9
  %553 = load i32, ptr %19, align 4, !tbaa !5
  %554 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %552, ptr noundef @.str.30, i32 noundef %553) #9
  %555 = load ptr, ptr %55, align 8, !tbaa !9
  %556 = load i32, ptr %8, align 4, !tbaa !5
  %557 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %555, ptr noundef @.str.31, i32 noundef %556) #9
  %558 = load ptr, ptr %55, align 8, !tbaa !9
  %559 = load i32, ptr %18, align 4, !tbaa !5
  %560 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %558, ptr noundef @.str.32, i32 noundef %559) #9
  %561 = load ptr, ptr %55, align 8, !tbaa !9
  %562 = load i32, ptr %53, align 4, !tbaa !5
  %563 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %561, ptr noundef @.str.33, i32 noundef %562) #9
  %564 = load ptr, ptr %55, align 8, !tbaa !9
  %565 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %564, ptr noundef @.str.34) #9
  %566 = load ptr, ptr %55, align 8, !tbaa !9
  %567 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %566, ptr noundef @.str.35) #9
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %568

568:                                              ; preds = %613, %538
  %569 = load i32, ptr %16, align 4, !tbaa !5
  %570 = load i32, ptr %18, align 4, !tbaa !5
  %571 = icmp ult i32 %569, %570
  br i1 %571, label %572, label %616

572:                                              ; preds = %568
  %573 = load ptr, ptr %55, align 8, !tbaa !9
  %574 = load i32, ptr %16, align 4, !tbaa !5
  %575 = add i32 %574, 1
  %576 = load i32, ptr %16, align 4, !tbaa !5
  %577 = zext i32 %576 to i64
  %578 = getelementptr inbounds { float, float }, ptr %223, i64 %577
  %579 = getelementptr inbounds { float, float }, ptr %578, i32 0, i32 0
  %580 = load float, ptr %579, align 8
  %581 = getelementptr inbounds { float, float }, ptr %578, i32 0, i32 1
  %582 = load float, ptr %581, align 4
  %583 = fpext float %580 to double
  %584 = load i32, ptr %16, align 4, !tbaa !5
  %585 = zext i32 %584 to i64
  %586 = getelementptr inbounds { float, float }, ptr %223, i64 %585
  %587 = getelementptr inbounds { float, float }, ptr %586, i32 0, i32 0
  %588 = load float, ptr %587, align 8
  %589 = getelementptr inbounds { float, float }, ptr %586, i32 0, i32 1
  %590 = load float, ptr %589, align 4
  %591 = fpext float %590 to double
  %592 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %573, ptr noundef @.str.36, i32 noundef %575, double noundef %583, double noundef %591) #9
  %593 = load ptr, ptr %55, align 8, !tbaa !9
  %594 = load i32, ptr %16, align 4, !tbaa !5
  %595 = add i32 %594, 1
  %596 = load i32, ptr %16, align 4, !tbaa !5
  %597 = zext i32 %596 to i64
  %598 = getelementptr inbounds { float, float }, ptr %226, i64 %597
  %599 = getelementptr inbounds { float, float }, ptr %598, i32 0, i32 0
  %600 = load float, ptr %599, align 8
  %601 = getelementptr inbounds { float, float }, ptr %598, i32 0, i32 1
  %602 = load float, ptr %601, align 4
  %603 = fpext float %600 to double
  %604 = load i32, ptr %16, align 4, !tbaa !5
  %605 = zext i32 %604 to i64
  %606 = getelementptr inbounds { float, float }, ptr %226, i64 %605
  %607 = getelementptr inbounds { float, float }, ptr %606, i32 0, i32 0
  %608 = load float, ptr %607, align 8
  %609 = getelementptr inbounds { float, float }, ptr %606, i32 0, i32 1
  %610 = load float, ptr %609, align 4
  %611 = fpext float %610 to double
  %612 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %593, ptr noundef @.str.37, i32 noundef %595, double noundef %603, double noundef %611) #9
  br label %613

613:                                              ; preds = %572
  %614 = load i32, ptr %16, align 4, !tbaa !5
  %615 = add i32 %614, 1
  store i32 %615, ptr %16, align 4, !tbaa !5
  br label %568, !llvm.loop !25

616:                                              ; preds = %568
  %617 = load ptr, ptr %55, align 8, !tbaa !9
  %618 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %617, ptr noundef @.str.38) #9
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %619

619:                                              ; preds = %633, %616
  %620 = load i32, ptr %16, align 4, !tbaa !5
  %621 = load i32, ptr %53, align 4, !tbaa !5
  %622 = icmp ult i32 %620, %621
  br i1 %622, label %623, label %636

623:                                              ; preds = %619
  %624 = load ptr, ptr %55, align 8, !tbaa !9
  %625 = load i32, ptr %16, align 4, !tbaa !5
  %626 = add i32 %625, 1
  %627 = load i32, ptr %16, align 4, !tbaa !5
  %628 = zext i32 %627 to i64
  %629 = getelementptr inbounds float, ptr %531, i64 %628
  %630 = load float, ptr %629, align 4, !tbaa !11
  %631 = fpext float %630 to double
  %632 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %624, ptr noundef @.str.39, i32 noundef %626, double noundef %631) #9
  br label %633

633:                                              ; preds = %623
  %634 = load i32, ptr %16, align 4, !tbaa !5
  %635 = add i32 %634, 1
  store i32 %635, ptr %16, align 4, !tbaa !5
  br label %619, !llvm.loop !26

636:                                              ; preds = %619
  %637 = load ptr, ptr %55, align 8, !tbaa !9
  %638 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %637, ptr noundef @.str.40) #9
  %639 = load ptr, ptr %55, align 8, !tbaa !9
  %640 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %639, ptr noundef @.str.41) #9
  %641 = load ptr, ptr %55, align 8, !tbaa !9
  %642 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %641, ptr noundef @.str.42) #9
  %643 = load ptr, ptr %55, align 8, !tbaa !9
  %644 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %643, ptr noundef @.str.43) #9
  %645 = load ptr, ptr %55, align 8, !tbaa !9
  %646 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %645, ptr noundef @.str.44) #9
  %647 = load ptr, ptr %55, align 8, !tbaa !9
  %648 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %647, ptr noundef @.str.45) #9
  %649 = load ptr, ptr %55, align 8, !tbaa !9
  %650 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %649, ptr noundef @.str.46) #9
  %651 = load ptr, ptr %55, align 8, !tbaa !9
  %652 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %651, ptr noundef @.str.47) #9
  %653 = load ptr, ptr %55, align 8, !tbaa !9
  %654 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %653, ptr noundef @.str.48) #9
  %655 = load ptr, ptr %55, align 8, !tbaa !9
  %656 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %655, ptr noundef @.str.49) #9
  %657 = load ptr, ptr %55, align 8, !tbaa !9
  %658 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %657, ptr noundef @.str.50) #9
  %659 = load ptr, ptr %55, align 8, !tbaa !9
  %660 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %659, ptr noundef @.str.51) #9
  %661 = load ptr, ptr %55, align 8, !tbaa !9
  %662 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %661, ptr noundef @.str.52) #9
  %663 = load ptr, ptr %55, align 8, !tbaa !9
  %664 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %663, ptr noundef @.str.53) #9
  %665 = load ptr, ptr %55, align 8, !tbaa !9
  %666 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %665, ptr noundef @.str.54) #9
  %667 = load ptr, ptr %55, align 8, !tbaa !9
  %668 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %667, ptr noundef @.str.55) #9
  %669 = load ptr, ptr %55, align 8, !tbaa !9
  %670 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %669, ptr noundef @.str.56) #9
  %671 = load ptr, ptr %55, align 8, !tbaa !9
  %672 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %671, ptr noundef @.str.57) #9
  %673 = load ptr, ptr %55, align 8, !tbaa !9
  %674 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %673, ptr noundef @.str.58) #9
  %675 = load ptr, ptr %55, align 8, !tbaa !9
  %676 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %675, ptr noundef @.str.52) #9
  %677 = load ptr, ptr %55, align 8, !tbaa !9
  %678 = call i32 @fclose(ptr noundef %677)
  %679 = call i32 (ptr, ...) @printf(ptr noundef @.str.59, ptr noundef @.str.24)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  %680 = load ptr, ptr %30, align 8
  call void @llvm.stackrestore.p0(ptr %680)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %681

681:                                              ; preds = %636, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %682 = load i32, ptr %3, align 4
  ret i32 %682

683:                                              ; preds = %210
  unreachable
}

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

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #5

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #5

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

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

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

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

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

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

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

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

declare float @randf(...) #1

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

declare float @randnf(...) #1

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

declare i32 @fft_execute(ptr noundef) #1

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

declare i32 @fft_destroy_plan(ptr noundef) #1

declare i32 @spgramcf_estimate_psd(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

declare i32 @fclose(ptr noundef) #1

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.12 = external hidden unnamed_addr constant [47 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  br label %3

3:                                                ; preds = %.backedge, %2
  %.0221 = phi float [ 0x3FC99999A0000000, %2 ], [ %.0221.be, %.backedge ]
  %.0219 = phi float [ 0.000000e+00, %2 ], [ %.0219.be, %.backedge ]
  %.0217 = phi float [ 0.000000e+00, %2 ], [ %.0217.be, %.backedge ]
  %.0215 = phi float [ 0.000000e+00, %2 ], [ %.0215.be, %.backedge ]
  %.0213 = phi float [ 4.000000e+01, %2 ], [ %.0213.be, %.backedge ]
  %.0204 = phi i32 [ 200, %2 ], [ %.0204.be, %.backedge ]
  %.0201 = phi i32 [ 0, %2 ], [ %.0201.be, %.backedge ]
  %.0200 = phi i32 [ 3, %2 ], [ %.0200.be, %.backedge ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.11) #12
  switch i32 %4, label %35 [
    i32 -1, label %36
    i32 104, label %5
    i32 109, label %6
    i32 107, label %9
    i32 98, label %12
    i32 110, label %16
    i32 115, label %19
    i32 70, label %23
    i32 80, label %27
    i32 84, label %31
  ]

5:                                                ; preds = %3
  tail call void @usage()
  br label %287

6:                                                ; preds = %3
  %7 = load ptr, ptr @optarg, align 8, !tbaa !5
  %8 = tail call i32 @atoi(ptr nocapture noundef %7) #13
  br label %.backedge

9:                                                ; preds = %3
  %10 = load ptr, ptr @optarg, align 8, !tbaa !5
  %11 = tail call i32 @atoi(ptr nocapture noundef %10) #13
  br label %.backedge

12:                                               ; preds = %3
  %13 = load ptr, ptr @optarg, align 8, !tbaa !5
  %14 = tail call double @atof(ptr noundef %13) #13
  %15 = fptrunc double %14 to float
  br label %.backedge

16:                                               ; preds = %3
  %17 = load ptr, ptr @optarg, align 8, !tbaa !5
  %18 = tail call i32 @atoi(ptr nocapture noundef %17) #13
  br label %.backedge

19:                                               ; preds = %3
  %20 = load ptr, ptr @optarg, align 8, !tbaa !5
  %21 = tail call double @atof(ptr noundef %20) #13
  %22 = fptrunc double %21 to float
  br label %.backedge

23:                                               ; preds = %3
  %24 = load ptr, ptr @optarg, align 8, !tbaa !5
  %25 = tail call double @atof(ptr noundef %24) #13
  %26 = fptrunc double %25 to float
  br label %.backedge

27:                                               ; preds = %3
  %28 = load ptr, ptr @optarg, align 8, !tbaa !5
  %29 = tail call double @atof(ptr noundef %28) #13
  %30 = fptrunc double %29 to float
  br label %.backedge

31:                                               ; preds = %3
  %32 = load ptr, ptr @optarg, align 8, !tbaa !5
  %33 = tail call double @atof(ptr noundef %32) #13
  %34 = fptrunc double %33 to float
  br label %.backedge

.backedge:                                        ; preds = %31, %27, %23, %19, %16, %12, %9, %6
  %.0221.be = phi float [ %.0221, %31 ], [ %.0221, %27 ], [ %.0221, %23 ], [ %.0221, %19 ], [ %.0221, %16 ], [ %15, %12 ], [ %.0221, %9 ], [ %.0221, %6 ]
  %.0219.be = phi float [ %34, %31 ], [ %.0219, %27 ], [ %.0219, %23 ], [ %.0219, %19 ], [ %.0219, %16 ], [ %.0219, %12 ], [ %.0219, %9 ], [ %.0219, %6 ]
  %.0217.be = phi float [ %.0217, %31 ], [ %30, %27 ], [ %.0217, %23 ], [ %.0217, %19 ], [ %.0217, %16 ], [ %.0217, %12 ], [ %.0217, %9 ], [ %.0217, %6 ]
  %.0215.be = phi float [ %.0215, %31 ], [ %.0215, %27 ], [ %26, %23 ], [ %.0215, %19 ], [ %.0215, %16 ], [ %.0215, %12 ], [ %.0215, %9 ], [ %.0215, %6 ]
  %.0213.be = phi float [ %.0213, %31 ], [ %.0213, %27 ], [ %.0213, %23 ], [ %22, %19 ], [ %.0213, %16 ], [ %.0213, %12 ], [ %.0213, %9 ], [ %.0213, %6 ]
  %.0204.be = phi i32 [ %.0204, %31 ], [ %.0204, %27 ], [ %.0204, %23 ], [ %.0204, %19 ], [ %18, %16 ], [ %.0204, %12 ], [ %.0204, %9 ], [ %.0204, %6 ]
  %.0201.be = phi i32 [ %.0201, %31 ], [ %.0201, %27 ], [ %.0201, %23 ], [ %.0201, %19 ], [ %.0201, %16 ], [ %.0201, %12 ], [ %11, %9 ], [ %.0201, %6 ]
  %.0200.be = phi i32 [ %.0200, %31 ], [ %.0200, %27 ], [ %.0200, %23 ], [ %.0200, %19 ], [ %.0200, %16 ], [ %.0200, %12 ], [ %.0200, %9 ], [ %8, %6 ]
  br label %3, !llvm.loop !9

35:                                               ; preds = %3
  tail call void @exit(i32 noundef 1) #14
  unreachable

36:                                               ; preds = %3
  %37 = fpext float %.0219 to double
  %38 = fpext float %.0215 to double
  %39 = fpext float %.0217 to double
  %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, double noundef %37, double noundef %38, double noundef %39)
  %41 = icmp eq i32 %.0201, 0
  %42 = shl i32 2, %.0200
  %spec.select = select i1 %41, i32 %42, i32 %.0201
  %43 = mul i32 %spec.select, %.0204
  %44 = shl nuw i32 1, %.0200
  %45 = fdiv float %.0213, -2.000000e+01
  %46 = tail call float @powf(float noundef 1.000000e+01, float noundef %45) #12
  %47 = add i32 %44, -1
  %48 = uitofp i32 %47 to float
  %49 = fmul float %48, 5.000000e-01
  %50 = icmp ult i32 %spec.select, %44
  br i1 %50, label %51, label %54

51:                                               ; preds = %36
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, i32 noundef %44) #15
  tail call void @exit(i32 noundef 1) #14
  unreachable

54:                                               ; preds = %36
  %55 = icmp ugt i32 %spec.select, 2048
  br i1 %55, label %56, label %59

56:                                               ; preds = %54
  %57 = load ptr, ptr @stderr, align 8, !tbaa !5
  %58 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.14) #15
  tail call void @exit(i32 noundef 1) #14
  unreachable

59:                                               ; preds = %54
  %60 = icmp ugt i32 %.0200, 10
  br i1 %60, label %61, label %64

61:                                               ; preds = %59
  %62 = load ptr, ptr @stderr, align 8, !tbaa !5
  %63 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.14, i32 noundef %44) #15
  tail call void @exit(i32 noundef 1) #14
  unreachable

64:                                               ; preds = %59
  %65 = fcmp ole float %.0221, 0.000000e+00
  %66 = fcmp oge float %.0221, 5.000000e-01
  %or.cond = or i1 %65, %66
  br i1 %or.cond, label %67, label %70

67:                                               ; preds = %64
  %68 = load ptr, ptr @stderr, align 8, !tbaa !5
  %69 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.14) #15
  tail call void @exit(i32 noundef 1) #14
  unreachable

70:                                               ; preds = %64
  %71 = fdiv float %.0221, %49
  %72 = shl nuw nsw i32 %spec.select, 2
  %73 = tail call i32 @llvm.umax.i32(i32 %72, i32 16)
  %74 = fmul float %71, 5.000000e-01
  %.not242262 = icmp ugt i32 %spec.select, %73
  br i1 %.not242262, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %70
  %75 = uitofp nneg i32 %spec.select to float
  %76 = fmul float %74, %75
  %77 = tail call float @llvm.round.f32(float %76)
  %78 = fsub float %77, %76
  %79 = tail call float @llvm.fabs.f32(float %78)
  %80 = fpext float %76 to double
  %81 = fpext float %79 to double
  %82 = fcmp olt float %79, 1.000000e+09
  %83 = select i1 %82, ptr @.str.19, ptr @.str.20
  %84 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef %spec.select, double noundef %80, double noundef %81, ptr noundef nonnull %83)
  %85 = fcmp olt float %79, 0x3EB0C6F7A0000000
  %exitcond.peel.not = icmp eq i32 %spec.select, %73
  %or.cond400 = or i1 %85, %exitcond.peel.not
  br i1 %or.cond400, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.0230265 = phi i32 [ %.1231, %.lr.ph ], [ %spec.select, %.lr.ph.preheader ]
  %.0233264 = phi float [ %.1234, %.lr.ph ], [ %79, %.lr.ph.preheader ]
  %.0235263.in = phi i32 [ %.0235263, %.lr.ph ], [ %spec.select, %.lr.ph.preheader ]
  %.0235263 = add i32 %.0235263.in, 1
  %86 = uitofp nneg i32 %.0235263 to float
  %87 = fmul float %74, %86
  %88 = tail call float @llvm.round.f32(float %87)
  %89 = fsub float %88, %87
  %90 = tail call float @llvm.fabs.f32(float %89)
  %91 = fpext float %87 to double
  %92 = fpext float %90 to double
  %93 = fcmp olt float %90, %.0233264
  %94 = select i1 %93, ptr @.str.19, ptr @.str.20
  %95 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef %.0235263, double noundef %91, double noundef %92, ptr noundef nonnull %94)
  %96 = icmp eq i32 %.0235263, %spec.select
  %brmerge = or i1 %96, %93
  %.1231 = select i1 %brmerge, i32 %.0235263, i32 %.0230265
  %97 = fcmp olt float %90, 0x3EB0C6F7A0000000
  %.1234 = select i1 %brmerge, float %90, float %.0233264
  %exitcond.not = icmp eq i32 %.0235263, %73
  %or.cond401 = or i1 %97, %exitcond.not
  br i1 %or.cond401, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph.preheader, %70
  %.2232 = phi i32 [ 0, %70 ], [ %spec.select, %.lr.ph.preheader ], [ %.1231, %.lr.ph ]
  %98 = zext i32 %.0204 to i64
  %99 = tail call ptr @llvm.stacksave.p0()
  %100 = alloca i32, i64 %98, align 16
  %101 = zext i32 %43 to i64
  %102 = alloca { float, float }, i64 %101, align 16
  %103 = alloca { float, float }, i64 %101, align 16
  %104 = alloca i32, i64 %98, align 16
  %105 = zext nneg i32 %44 to i64
  %106 = alloca i32, i64 %105, align 16
  %107 = uitofp i32 %.2232 to float
  br label %108

.preheader245:                                    ; preds = %108
  %.not = icmp eq i32 %.0200, 0
  br i1 %.not, label %.loopexit, label %.lr.ph270.preheader

.lr.ph270.preheader:                              ; preds = %.preheader245
  %umax332 = tail call i32 @llvm.umax.i32(i32 %44, i32 2)
  %wide.trip.count333 = zext nneg i32 %umax332 to i64
  %.pre = load i32, ptr %106, align 16, !tbaa !13
  br label %.lr.ph270

108:                                              ; preds = %._crit_edge, %108
  %indvars.iv = phi i64 [ 0, %._crit_edge ], [ %indvars.iv.next, %108 ]
  %109 = trunc nuw nsw i64 %indvars.iv to i32
  %110 = uitofp nneg i32 %109 to float
  %111 = fsub float %110, %49
  %112 = fmul float %.0221, %111
  %113 = fdiv float %112, %49
  %114 = fmul float %113, %107
  %115 = fcmp olt float %114, 0.000000e+00
  %116 = fadd float %114, %107
  %.sink = select i1 %115, float %116, float %114
  %117 = tail call float @llvm.round.f32(float %.sink)
  %118 = fptoui float %117 to i32
  %119 = getelementptr inbounds i32, ptr %106, i64 %indvars.iv
  store i32 %118, ptr %119, align 4, !tbaa !13
  %120 = fpext float %113 to double
  %121 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, i32 noundef %109, double noundef %120, i32 noundef %118)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond328.not = icmp eq i64 %indvars.iv.next, %105
  br i1 %exitcond328.not, label %.preheader245, label %108, !llvm.loop !15

122:                                              ; preds = %.lr.ph270
  %indvars.iv.next330 = add nuw nsw i64 %indvars.iv329, 1
  %exitcond334.not = icmp eq i64 %indvars.iv.next330, %wide.trip.count333
  br i1 %exitcond334.not, label %.loopexit, label %.lr.ph270, !llvm.loop !16

.lr.ph270:                                        ; preds = %.lr.ph270.preheader, %122
  %123 = phi i32 [ %.pre, %.lr.ph270.preheader ], [ %125, %122 ]
  %indvars.iv329 = phi i64 [ 1, %.lr.ph270.preheader ], [ %indvars.iv.next330, %122 ]
  %124 = getelementptr inbounds i32, ptr %106, i64 %indvars.iv329
  %125 = load i32, ptr %124, align 4, !tbaa !13
  %126 = icmp eq i32 %125, %123
  br i1 %126, label %127, label %122

127:                                              ; preds = %.lr.ph270
  %128 = load ptr, ptr @stderr, align 8, !tbaa !5
  %129 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.22) #15
  br label %.loopexit

.loopexit:                                        ; preds = %122, %.preheader245, %127
  %.not304 = icmp eq i32 %.0204, 0
  br i1 %.not304, label %._crit_edge280, label %.lr.ph277

.lr.ph277:                                        ; preds = %.loopexit
  %130 = fpext float %.0221 to double
  %131 = fpext float %49 to double
  %umax338 = tail call i32 @llvm.umax.i32(i32 %spec.select, i32 1)
  %wide.trip.count339 = zext nneg i32 %umax338 to i64
  br label %.lr.ph273

.preheader244:                                    ; preds = %._crit_edge274
  %.not305 = icmp eq i32 %43, 0
  br i1 %.not305, label %._crit_edge280, label %.lr.ph279.preheader

.lr.ph279.preheader:                              ; preds = %.preheader244
  %132 = insertelement <2 x float> poison, float %46, i64 0
  %133 = shufflevector <2 x float> %132, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph279

.lr.ph273:                                        ; preds = %._crit_edge274, %.lr.ph277
  %indvars.iv341 = phi i64 [ 0, %.lr.ph277 ], [ %indvars.iv.next342, %._crit_edge274 ]
  %134 = tail call i32 @rand() #12
  %135 = and i32 %134, %47
  %136 = getelementptr inbounds i32, ptr %100, i64 %indvars.iv341
  store i32 %135, ptr %136, align 4, !tbaa !13
  %137 = uitofp nneg i32 %135 to float
  %138 = fsub float %137, %49
  %139 = fpext float %138 to double
  %140 = fmul double %139, 0x401921FB54442D18
  %141 = fmul double %140, %130
  %142 = fdiv double %141, %131
  %143 = fptrunc double %142 to float
  %144 = tail call float (...) @randf() #12
  %145 = fmul float %144, 2.000000e+00
  %146 = fpext float %145 to double
  %147 = fmul double %146, 0x400921FB54442D18
  %148 = fptrunc double %147 to float
  %149 = fmul float %148, 0.000000e+00
  %150 = fmul float %143, 0.000000e+00
  %151 = fadd float %149, %150
  %.sroa.056.0.vec.insert = insertelement <2 x float> poison, float %151, i64 0
  %152 = trunc nuw i64 %indvars.iv341 to i32
  %153 = mul i32 %spec.select, %152
  br label %154

154:                                              ; preds = %.lr.ph273, %154
  %indvars.iv335 = phi i64 [ 0, %.lr.ph273 ], [ %indvars.iv.next336, %154 ]
  %155 = trunc nuw nsw i64 %indvars.iv335 to i32
  %156 = uitofp nneg i32 %155 to float
  %157 = fmul float %143, %156
  %158 = fadd float %157, %148
  %.sroa.056.4.vec.insert = insertelement <2 x float> %.sroa.056.0.vec.insert, float %158, i64 1
  %159 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.056.4.vec.insert) #12
  %160 = add i32 %153, %155
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds { float, float }, ptr %102, i64 %161
  store <2 x float> %159, ptr %162, align 8
  %indvars.iv.next336 = add nuw nsw i64 %indvars.iv335, 1
  %exitcond340.not = icmp eq i64 %indvars.iv.next336, %wide.trip.count339
  br i1 %exitcond340.not, label %._crit_edge274, label %154, !llvm.loop !17

._crit_edge274:                                   ; preds = %154
  %indvars.iv.next342 = add nuw nsw i64 %indvars.iv341, 1
  %exitcond345.not = icmp eq i64 %indvars.iv.next342, %98
  br i1 %exitcond345.not, label %.preheader244, label %.lr.ph273, !llvm.loop !18

.lr.ph279:                                        ; preds = %.lr.ph279.preheader, %.lr.ph279
  %indvars.iv346 = phi i64 [ %indvars.iv.next347, %.lr.ph279 ], [ 0, %.lr.ph279.preheader ]
  %163 = getelementptr inbounds { float, float }, ptr %102, i64 %indvars.iv346
  %164 = tail call float (...) @randnf() #12
  %165 = tail call float (...) @randnf() #12
  %166 = fmul float %165, 0.000000e+00
  %167 = fadd float %164, %166
  %168 = getelementptr inbounds { float, float }, ptr %103, i64 %indvars.iv346
  %169 = load <2 x float>, ptr %163, align 8
  %170 = fpext <2 x float> %169 to <2 x double>
  %171 = insertelement <2 x float> poison, float %167, i64 0
  %172 = insertelement <2 x float> %171, float %165, i64 1
  %173 = fmul <2 x float> %133, %172
  %174 = fpext <2 x float> %173 to <2 x double>
  %175 = fmul <2 x double> %174, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %176 = fadd <2 x double> %175, %170
  %177 = fptrunc <2 x double> %176 to <2 x float>
  store <2 x float> %177, ptr %168, align 8
  %indvars.iv.next347 = add nuw nsw i64 %indvars.iv346, 1
  %exitcond350.not = icmp eq i64 %indvars.iv.next347, %101
  br i1 %exitcond350.not, label %._crit_edge280, label %.lr.ph279, !llvm.loop !19

._crit_edge280:                                   ; preds = %.lr.ph279, %.loopexit, %.preheader244
  %.not305382 = phi i1 [ true, %.preheader244 ], [ true, %.loopexit ], [ %.not305, %.lr.ph279 ]
  %178 = zext i32 %.2232 to i64
  %179 = alloca { float, float }, i64 %178, align 16
  %180 = alloca { float, float }, i64 %178, align 16
  %181 = call ptr @fft_create_plan(i32 noundef %.2232, ptr noundef nonnull %179, ptr noundef nonnull %180, i32 noundef 1, i32 noundef 0) #12
  %.not306 = icmp eq i32 %.2232, 0
  br i1 %.not306, label %.preheader, label %.lr.ph283.preheader

.lr.ph283.preheader:                              ; preds = %._crit_edge280
  %182 = shl nuw nsw i64 %178, 3
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %179, i8 0, i64 %182, i1 false)
  br label %.preheader

.preheader:                                       ; preds = %.lr.ph283.preheader, %._crit_edge280
  br i1 %.not305382, label %._crit_edge292, label %.lr.ph291.preheader

.lr.ph291.preheader:                              ; preds = %.preheader
  %exitcond358.peel.not = icmp eq i32 %.0200, 0
  br label %.lr.ph291

.lr.ph291:                                        ; preds = %.lr.ph291.preheader, %206
  %indvars.iv361 = phi i64 [ 0, %.lr.ph291.preheader ], [ %indvars.iv.next362, %206 ]
  %.0211289 = phi i32 [ 0, %.lr.ph291.preheader ], [ %.1212, %206 ]
  %.1228287 = phi i32 [ 0, %.lr.ph291.preheader ], [ %.2229, %206 ]
  %183 = getelementptr inbounds { float, float }, ptr %103, i64 %indvars.iv361
  %184 = add i32 %.0211289, 1
  %185 = zext i32 %.0211289 to i64
  %186 = getelementptr inbounds { float, float }, ptr %179, i64 %185
  %187 = load <2 x float>, ptr %183, align 8
  store <2 x float> %187, ptr %186, align 8
  %188 = icmp eq i32 %184, %spec.select
  br i1 %188, label %.peel.begin, label %206

.peel.begin:                                      ; preds = %.lr.ph291
  %189 = call i32 @fft_execute(ptr noundef %181) #12
  %190 = load i32, ptr %106, align 16, !tbaa !13
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds { float, float }, ptr %180, i64 %191
  %193 = load <2 x float>, ptr %192, align 8
  %194 = call float @cabsf(<2 x float> noundef %193) #12
  br i1 %exitcond358.peel.not, label %.loopexit360, label %.peel.next

.peel.next:                                       ; preds = %.peel.begin, %.peel.next
  %indvars.iv354 = phi i64 [ %indvars.iv.next355, %.peel.next ], [ 1, %.peel.begin ]
  %.0206286 = phi i32 [ %.1207, %.peel.next ], [ 0, %.peel.begin ]
  %.0209284 = phi float [ %.1210, %.peel.next ], [ %194, %.peel.begin ]
  %195 = getelementptr inbounds i32, ptr %106, i64 %indvars.iv354
  %196 = load i32, ptr %195, align 4, !tbaa !13
  %197 = zext i32 %196 to i64
  %198 = getelementptr inbounds { float, float }, ptr %180, i64 %197
  %199 = load <2 x float>, ptr %198, align 8
  %200 = call float @cabsf(<2 x float> noundef %199) #12
  %201 = fcmp ogt float %200, %.0209284
  %.1210 = select i1 %201, float %200, float %.0209284
  %202 = trunc nuw nsw i64 %indvars.iv354 to i32
  %.1207 = select i1 %201, i32 %202, i32 %.0206286
  %indvars.iv.next355 = add nuw nsw i64 %indvars.iv354, 1
  %exitcond358.not = icmp eq i64 %indvars.iv.next355, %105
  br i1 %exitcond358.not, label %.loopexit360, label %.peel.next, !llvm.loop !20

.loopexit360:                                     ; preds = %.peel.next, %.peel.begin
  %.1207.lcssa = phi i32 [ 0, %.peel.begin ], [ %.1207, %.peel.next ]
  %203 = add i32 %.1228287, 1
  %204 = zext i32 %.1228287 to i64
  %205 = getelementptr inbounds i32, ptr %104, i64 %204
  store i32 %.1207.lcssa, ptr %205, align 4, !tbaa !13
  br label %206

206:                                              ; preds = %.lr.ph291, %.loopexit360
  %.2229 = phi i32 [ %203, %.loopexit360 ], [ %.1228287, %.lr.ph291 ]
  %.1212 = phi i32 [ 0, %.loopexit360 ], [ %184, %.lr.ph291 ]
  %indvars.iv.next362 = add nuw nsw i64 %indvars.iv361, 1
  %exitcond365.not = icmp eq i64 %indvars.iv.next362, %101
  br i1 %exitcond365.not, label %._crit_edge292, label %.lr.ph291, !llvm.loop !21

._crit_edge292:                                   ; preds = %206, %.preheader
  %207 = call i32 @fft_destroy_plan(ptr noundef %181) #12
  br i1 %.not304, label %._crit_edge297, label %.lr.ph296.preheader

.lr.ph296.preheader:                              ; preds = %._crit_edge292
  %min.iters.check = icmp ult i32 %.0204, 8
  br i1 %min.iters.check, label %.lr.ph296.preheader424, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph296.preheader
  %n.vec = and i64 %98, 4294967288
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %216, %vector.body ]
  %vec.phi420 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %217, %vector.body ]
  %208 = getelementptr inbounds i32, ptr %100, i64 %index
  %209 = getelementptr inbounds i8, ptr %208, i64 16
  %wide.load = load <4 x i32>, ptr %208, align 16, !tbaa !13
  %wide.load421 = load <4 x i32>, ptr %209, align 16, !tbaa !13
  %210 = getelementptr inbounds i32, ptr %104, i64 %index
  %211 = getelementptr inbounds i8, ptr %210, i64 16
  %wide.load422 = load <4 x i32>, ptr %210, align 16, !tbaa !13
  %wide.load423 = load <4 x i32>, ptr %211, align 16, !tbaa !13
  %212 = icmp ne <4 x i32> %wide.load, %wide.load422
  %213 = icmp ne <4 x i32> %wide.load421, %wide.load423
  %214 = zext <4 x i1> %212 to <4 x i32>
  %215 = zext <4 x i1> %213 to <4 x i32>
  %216 = add <4 x i32> %vec.phi, %214
  %217 = add <4 x i32> %vec.phi420, %215
  %index.next = add nuw i64 %index, 8
  %218 = icmp eq i64 %index.next, %n.vec
  br i1 %218, label %middle.block, label %vector.body, !llvm.loop !22

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %217, %216
  %219 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %98
  br i1 %cmp.n, label %._crit_edge297, label %.lr.ph296.preheader424

.lr.ph296.preheader424:                           ; preds = %middle.block, %.lr.ph296.preheader
  %indvars.iv366.ph = phi i64 [ 0, %.lr.ph296.preheader ], [ %n.vec, %middle.block ]
  %.0203294.ph = phi i32 [ 0, %.lr.ph296.preheader ], [ %219, %middle.block ]
  br label %.lr.ph296

.lr.ph296:                                        ; preds = %.lr.ph296.preheader424, %.lr.ph296
  %indvars.iv366 = phi i64 [ %indvars.iv.next367, %.lr.ph296 ], [ %indvars.iv366.ph, %.lr.ph296.preheader424 ]
  %.0203294 = phi i32 [ %226, %.lr.ph296 ], [ %.0203294.ph, %.lr.ph296.preheader424 ]
  %220 = getelementptr inbounds i32, ptr %100, i64 %indvars.iv366
  %221 = load i32, ptr %220, align 4, !tbaa !13
  %222 = getelementptr inbounds i32, ptr %104, i64 %indvars.iv366
  %223 = load i32, ptr %222, align 4, !tbaa !13
  %224 = icmp ne i32 %221, %223
  %225 = zext i1 %224 to i32
  %226 = add i32 %.0203294, %225
  %indvars.iv.next367 = add nuw nsw i64 %indvars.iv366, 1
  %exitcond370.not = icmp eq i64 %indvars.iv.next367, %98
  br i1 %exitcond370.not, label %._crit_edge297, label %.lr.ph296, !llvm.loop !25

._crit_edge297:                                   ; preds = %.lr.ph296, %middle.block, %._crit_edge292
  %.0203.lcssa = phi i32 [ 0, %._crit_edge292 ], [ %219, %middle.block ], [ %226, %.lr.ph296 ]
  %227 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, i32 noundef %.0203.lcssa, i32 noundef %.0204)
  %228 = alloca [1200 x float], align 16
  %229 = call i32 @spgramcf_estimate_psd(i32 noundef 1200, ptr noundef nonnull %103, i32 noundef %43, ptr noundef nonnull %228) #12
  %spec.store.select = call i32 @llvm.umin.i32(i32 %.0204, i32 10)
  %230 = mul nuw i32 %spec.select, %spec.store.select
  %231 = call noalias ptr @fopen(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.25)
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.24) #12
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.27) #12
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.28) #12
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.29, i32 noundef %spec.select) #12
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.30, i32 noundef %44) #12
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.31, i32 noundef %spec.store.select) #12
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.32, i32 noundef %230) #12
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.33, i32 noundef 1200) #12
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.34) #12
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.35) #12
  br i1 %.not304, label %._crit_edge302, label %.lr.ph301.preheader

.lr.ph301.preheader:                              ; preds = %._crit_edge297
  %umax374 = call i32 @llvm.umax.i32(i32 %230, i32 1)
  %wide.trip.count375 = zext nneg i32 %umax374 to i64
  br label %.lr.ph301

.lr.ph301:                                        ; preds = %.lr.ph301.preheader, %.lr.ph301
  %indvars.iv371 = phi i64 [ 0, %.lr.ph301.preheader ], [ %indvars.iv.next372, %.lr.ph301 ]
  %indvars.iv.next372 = add nuw nsw i64 %indvars.iv371, 1
  %242 = getelementptr inbounds { float, float }, ptr %102, i64 %indvars.iv371
  %243 = load float, ptr %242, align 8
  %244 = getelementptr inbounds i8, ptr %242, i64 4
  %245 = fpext float %243 to double
  %246 = load float, ptr %244, align 4
  %247 = fpext float %246 to double
  %248 = trunc nuw i64 %indvars.iv.next372 to i32
  %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.36, i32 noundef %248, double noundef %245, double noundef %247) #12
  %250 = getelementptr inbounds { float, float }, ptr %103, i64 %indvars.iv371
  %251 = load float, ptr %250, align 8
  %252 = getelementptr inbounds i8, ptr %250, i64 4
  %253 = fpext float %251 to double
  %254 = load float, ptr %252, align 4
  %255 = fpext float %254 to double
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.37, i32 noundef %248, double noundef %253, double noundef %255) #12
  %exitcond376.not = icmp eq i64 %indvars.iv.next372, %wide.trip.count375
  br i1 %exitcond376.not, label %._crit_edge302, label %.lr.ph301, !llvm.loop !26

._crit_edge302:                                   ; preds = %.lr.ph301, %._crit_edge297
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.38) #12
  br label %258

258:                                              ; preds = %._crit_edge302, %258
  %indvars.iv377 = phi i64 [ 0, %._crit_edge302 ], [ %indvars.iv.next378, %258 ]
  %indvars.iv.next378 = add nuw nsw i64 %indvars.iv377, 1
  %259 = getelementptr inbounds float, ptr %228, i64 %indvars.iv377
  %260 = load float, ptr %259, align 4, !tbaa !27
  %261 = fpext float %260 to double
  %262 = trunc nuw nsw i64 %indvars.iv.next378 to i32
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.39, i32 noundef %262, double noundef %261) #12
  %exitcond380.not = icmp eq i64 %indvars.iv.next378, 1200
  br i1 %exitcond380.not, label %264, label %258, !llvm.loop !29

264:                                              ; preds = %258
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.40) #12
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.41) #12
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.42) #12
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.43) #12
  %269 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.44) #12
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.45) #12
  %271 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.46) #12
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.47) #12
  %273 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.48) #12
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.49) #12
  %275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.50) #12
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.51) #12
  %277 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.52) #12
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.53) #12
  %279 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.54) #12
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.55) #12
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.56) #12
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.57) #12
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.58) #12
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.52) #12
  %285 = call i32 @fclose(ptr noundef %231)
  %286 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.59, ptr noundef nonnull @.str.24)
  call void @llvm.stackrestore.p0(ptr %99)
  br label %287

287:                                              ; preds = %264, %5
  ret i32 0
}

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @powf(float noundef, float noundef) local_unnamed_addr #6

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

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

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

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

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

declare float @randf(...) local_unnamed_addr #9

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

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

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

declare i32 @fft_execute(ptr noundef) local_unnamed_addr #9

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

declare i32 @fft_destroy_plan(ptr noundef) local_unnamed_addr #9

declare i32 @spgramcf_estimate_psd(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #9

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #10

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #10

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #10

attributes #0 = { 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 #1 = { 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 #2 = { 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 #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 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #5 = { noreturn 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 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #9 = { "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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #12 = { nounwind }
attributes #13 = { nounwind willreturn memory(read) }
attributes #14 = { noreturn nounwind }
attributes #15 = { cold 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10, !12}
!12 = !{!"llvm.loop.peeled.count", i32 1}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10, !12}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10, !23, !24}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = distinct !{!25, !10, !24, !23}
!26 = distinct !{!26, !10}
!27 = !{!28, !28, i64 0}
!28 = !{!"float", !7, i64 0}
!29 = distinct !{!29, !10}


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