; LLVM IR from jgaeddert/liquid-dsp :: sandbox (fft_mixed_radix_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.4 = external hidden unnamed_addr constant [5 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

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

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @fftmr_cycle(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #5 {
  %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 i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [40 x i32], align 16
  %13 = alloca [40 x i32], align 16
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca { float, float }, align 4
  %20 = alloca { float, float }, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca { float, float }, align 4
  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 30, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  br label %24

24:                                               ; preds = %36, %2
  %25 = load i32, ptr %4, align 4, !tbaa !5
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str.4) #9
  store i32 %27, ptr %7, align 4, !tbaa !5
  %28 = icmp ne i32 %27, -1
  br i1 %28, label %29, label %37

29:                                               ; preds = %24
  %30 = load i32, ptr %7, align 4, !tbaa !5
  switch i32 %30, label %35 [
    i32 104, label %31
    i32 110, label %32
  ]

31:                                               ; preds = %29
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %328

32:                                               ; preds = %29
  %33 = load ptr, ptr @optarg, align 8, !tbaa !9
  %34 = call i32 @atoi(ptr noundef %33) #10
  store i32 %34, ptr %6, align 4, !tbaa !5
  br label %36

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

36:                                               ; preds = %32
  br label %24, !llvm.loop !11

37:                                               ; preds = %24
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %40, label %43

40:                                               ; preds = %37
  %41 = load ptr, ptr @stderr, align 8, !tbaa !9
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.5) #9
  call void @exit(i32 noundef 1) #11
  unreachable

43:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %44 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %44, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 160, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 160, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %80, %43
  store i32 2, ptr %10, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %70, %45
  %47 = load i32, ptr %10, align 4, !tbaa !5
  %48 = load i32, ptr %11, align 4, !tbaa !5
  %49 = icmp ule i32 %47, %48
  br i1 %49, label %50, label %73

50:                                               ; preds = %46
  %51 = load i32, ptr %11, align 4, !tbaa !5
  %52 = load i32, ptr %10, align 4, !tbaa !5
  %53 = urem i32 %51, %52
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %69

55:                                               ; preds = %50
  %56 = load i32, ptr %10, align 4, !tbaa !5
  %57 = load i32, ptr %11, align 4, !tbaa !5
  %58 = udiv i32 %57, %56
  store i32 %58, ptr %11, align 4, !tbaa !5
  %59 = load i32, ptr %10, align 4, !tbaa !5
  %60 = load i32, ptr %14, align 4, !tbaa !5
  %61 = zext i32 %60 to i64
  %62 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %61
  store i32 %59, ptr %62, align 4, !tbaa !5
  %63 = load i32, ptr %11, align 4, !tbaa !5
  %64 = load i32, ptr %14, align 4, !tbaa !5
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds [40 x i32], ptr %13, i64 0, i64 %65
  store i32 %63, ptr %66, align 4, !tbaa !5
  %67 = load i32, ptr %14, align 4, !tbaa !5
  %68 = add i32 %67, 1
  store i32 %68, ptr %14, align 4, !tbaa !5
  br label %73

69:                                               ; preds = %50
  br label %70

70:                                               ; preds = %69
  %71 = load i32, ptr %10, align 4, !tbaa !5
  %72 = add i32 %71, 1
  store i32 %72, ptr %10, align 4, !tbaa !5
  br label %46, !llvm.loop !13

73:                                               ; preds = %55, %46
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %11, align 4, !tbaa !5
  %76 = icmp ugt i32 %75, 1
  br i1 %76, label %77, label %80

77:                                               ; preds = %74
  %78 = load i32, ptr %14, align 4, !tbaa !5
  %79 = icmp ult i32 %78, 40
  br label %80

80:                                               ; preds = %77, %74
  %81 = phi i1 [ false, %74 ], [ %79, %77 ]
  br i1 %81, label %45, label %82, !llvm.loop !14

82:                                               ; preds = %80
  %83 = load i32, ptr %14, align 4, !tbaa !5
  %84 = icmp eq i32 %83, 40
  br i1 %84, label %85, label %89

85:                                               ; preds = %82
  %86 = load ptr, ptr @stderr, align 8, !tbaa !9
  %87 = load i32, ptr %6, align 4, !tbaa !5
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.6, i32 noundef %87, i32 noundef 40) #9
  call void @exit(i32 noundef 1) #11
  unreachable

89:                                               ; preds = %82
  %90 = load i32, ptr %6, align 4, !tbaa !5
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %90)
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %106, %89
  %93 = load i32, ptr %9, align 4, !tbaa !5
  %94 = load i32, ptr %14, align 4, !tbaa !5
  %95 = icmp ult i32 %93, %94
  br i1 %95, label %96, label %109

96:                                               ; preds = %92
  %97 = load i32, ptr %9, align 4, !tbaa !5
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds [40 x i32], ptr %13, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %100, i32 noundef %104)
  br label %106

106:                                              ; preds = %96
  %107 = load i32, ptr %9, align 4, !tbaa !5
  %108 = add i32 %107, 1
  store i32 %108, ptr %9, align 4, !tbaa !5
  br label %92, !llvm.loop !15

109:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = zext i32 %110 to i64
  %112 = mul i64 %111, 8
  %113 = call noalias ptr @malloc(i64 noundef %112) #12
  store ptr %113, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %114 = load i32, ptr %6, align 4, !tbaa !5
  %115 = zext i32 %114 to i64
  %116 = mul i64 %115, 8
  %117 = call noalias ptr @malloc(i64 noundef %116) #12
  store ptr %117, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %118 = load i32, ptr %6, align 4, !tbaa !5
  %119 = zext i32 %118 to i64
  %120 = mul i64 %119, 8
  %121 = call noalias ptr @malloc(i64 noundef %120) #12
  store ptr %121, ptr %17, align 8, !tbaa !9
  %122 = load ptr, ptr %15, align 8, !tbaa !9
  %123 = icmp eq ptr %122, null
  br i1 %123, label %130, label %124

124:                                              ; preds = %109
  %125 = load ptr, ptr %16, align 8, !tbaa !9
  %126 = icmp eq ptr %125, null
  br i1 %126, label %130, label %127

127:                                              ; preds = %124
  %128 = load ptr, ptr %17, align 8, !tbaa !9
  %129 = icmp eq ptr %128, null
  br i1 %129, label %130, label %136

130:                                              ; preds = %127, %124, %109
  %131 = load ptr, ptr @stderr, align 8, !tbaa !9
  %132 = load ptr, ptr %5, align 8, !tbaa !9
  %133 = getelementptr inbounds ptr, ptr %132, i64 0
  %134 = load ptr, ptr %133, align 8, !tbaa !9
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef @.str.9, ptr noundef %134) #9
  call void @exit(i32 noundef 1) #11
  unreachable

136:                                              ; preds = %127
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %137

137:                                              ; preds = %162, %136
  %138 = load i32, ptr %9, align 4, !tbaa !5
  %139 = load i32, ptr %6, align 4, !tbaa !5
  %140 = icmp ult i32 %138, %139
  br i1 %140, label %141, label %165

141:                                              ; preds = %137
  %142 = load i32, ptr %9, align 4, !tbaa !5
  %143 = uitofp i32 %142 to float
  %144 = load i32, ptr %9, align 4, !tbaa !5
  %145 = uitofp i32 %144 to float
  %146 = fsub float 3.000000e+00, %145
  %147 = fmul float 0.000000e+00, %146
  %148 = fmul float 1.000000e+00, %146
  %149 = fadd float %143, %147
  %150 = load ptr, ptr %15, align 8, !tbaa !9
  %151 = load i32, ptr %9, align 4, !tbaa !5
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds { float, float }, ptr %150, i64 %152
  %154 = getelementptr inbounds { float, float }, ptr %153, i32 0, i32 0
  %155 = getelementptr inbounds { float, float }, ptr %153, i32 0, i32 1
  store float %149, ptr %154, align 4
  store float %148, ptr %155, align 4
  %156 = load ptr, ptr %16, align 8, !tbaa !9
  %157 = load i32, ptr %9, align 4, !tbaa !5
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds { float, float }, ptr %156, i64 %158
  %160 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 0
  %161 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 1
  store float 0.000000e+00, ptr %160, align 4
  store float 0.000000e+00, ptr %161, align 4
  br label %162

162:                                              ; preds = %141
  %163 = load i32, ptr %9, align 4, !tbaa !5
  %164 = add i32 %163, 1
  store i32 %164, ptr %9, align 4, !tbaa !5
  br label %137, !llvm.loop !16

165:                                              ; preds = %137
  %166 = load i32, ptr %6, align 4, !tbaa !5
  %167 = load ptr, ptr %15, align 8, !tbaa !9
  %168 = load ptr, ptr %17, align 8, !tbaa !9
  call void @dft_run(i32 noundef %166, ptr noundef %167, ptr noundef %168, i32 noundef -1, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %169 = load i32, ptr %6, align 4, !tbaa !5
  %170 = zext i32 %169 to i64
  %171 = mul i64 %170, 8
  %172 = call noalias ptr @malloc(i64 noundef %171) #12
  store ptr %172, ptr %18, align 8, !tbaa !9
  %173 = load ptr, ptr %15, align 8, !tbaa !9
  %174 = icmp eq ptr %173, null
  br i1 %174, label %181, label %175

175:                                              ; preds = %165
  %176 = load ptr, ptr %16, align 8, !tbaa !9
  %177 = icmp eq ptr %176, null
  br i1 %177, label %181, label %178

178:                                              ; preds = %175
  %179 = load ptr, ptr %17, align 8, !tbaa !9
  %180 = icmp eq ptr %179, null
  br i1 %180, label %181, label %187

181:                                              ; preds = %178, %175, %165
  %182 = load ptr, ptr @stderr, align 8, !tbaa !9
  %183 = load ptr, ptr %5, align 8, !tbaa !9
  %184 = getelementptr inbounds ptr, ptr %183, i64 0
  %185 = load ptr, ptr %184, align 8, !tbaa !9
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %182, ptr noundef @.str.10, ptr noundef %185) #9
  call void @exit(i32 noundef 1) #11
  unreachable

187:                                              ; preds = %178
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %188

188:                                              ; preds = %219, %187
  %189 = load i32, ptr %9, align 4, !tbaa !5
  %190 = load i32, ptr %6, align 4, !tbaa !5
  %191 = icmp ult i32 %189, %190
  br i1 %191, label %192, label %222

192:                                              ; preds = %188
  %193 = load i32, ptr %9, align 4, !tbaa !5
  %194 = uitofp i32 %193 to float
  %195 = fpext float %194 to double
  %196 = fmul double -0.000000e+00, %195
  %197 = fmul double 0xC01921FB54442D18, %195
  %198 = load i32, ptr %6, align 4, !tbaa !5
  %199 = uitofp i32 %198 to float
  %200 = fpext float %199 to double
  %201 = fdiv double %196, %200
  %202 = fdiv double %197, %200
  %203 = fptrunc double %201 to float
  %204 = fptrunc double %202 to float
  %205 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %206 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  store float %203, ptr %205, align 4
  store float %204, ptr %206, align 4
  %207 = load <2 x float>, ptr %19, align 4
  %208 = call <2 x float> @cexpf(<2 x float> noundef %207) #9
  store <2 x float> %208, ptr %20, align 4
  %209 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %210 = load float, ptr %209, align 4
  %211 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  %212 = load float, ptr %211, align 4
  %213 = load ptr, ptr %18, align 8, !tbaa !9
  %214 = load i32, ptr %9, align 4, !tbaa !5
  %215 = zext i32 %214 to i64
  %216 = getelementptr inbounds { float, float }, ptr %213, i64 %215
  %217 = getelementptr inbounds { float, float }, ptr %216, i32 0, i32 0
  %218 = getelementptr inbounds { float, float }, ptr %216, i32 0, i32 1
  store float %210, ptr %217, align 4
  store float %212, ptr %218, align 4
  br label %219

219:                                              ; preds = %192
  %220 = load i32, ptr %9, align 4, !tbaa !5
  %221 = add i32 %220, 1
  store i32 %221, ptr %9, align 4, !tbaa !5
  br label %188, !llvm.loop !17

222:                                              ; preds = %188
  %223 = load ptr, ptr %15, align 8, !tbaa !9
  %224 = load ptr, ptr %16, align 8, !tbaa !9
  %225 = load ptr, ptr %18, align 8, !tbaa !9
  %226 = load i32, ptr %6, align 4, !tbaa !5
  %227 = getelementptr inbounds [40 x i32], ptr %13, i64 0, i64 0
  %228 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 0
  call void @fftmr_cycle(ptr noundef %223, ptr noundef %224, ptr noundef %225, i32 noundef %226, i32 noundef 0, i32 noundef 1, ptr noundef %227, ptr noundef %228)
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %229

229:                                              ; preds = %272, %222
  %230 = load i32, ptr %9, align 4, !tbaa !5
  %231 = load i32, ptr %6, align 4, !tbaa !5
  %232 = icmp ult i32 %230, %231
  br i1 %232, label %233, label %275

233:                                              ; preds = %229
  %234 = load i32, ptr %9, align 4, !tbaa !5
  %235 = load ptr, ptr %16, align 8, !tbaa !9
  %236 = load i32, ptr %9, align 4, !tbaa !5
  %237 = zext i32 %236 to i64
  %238 = getelementptr inbounds { float, float }, ptr %235, i64 %237
  %239 = getelementptr inbounds { float, float }, ptr %238, i32 0, i32 0
  %240 = load float, ptr %239, align 4
  %241 = getelementptr inbounds { float, float }, ptr %238, i32 0, i32 1
  %242 = load float, ptr %241, align 4
  %243 = fpext float %240 to double
  %244 = load ptr, ptr %16, align 8, !tbaa !9
  %245 = load i32, ptr %9, align 4, !tbaa !5
  %246 = zext i32 %245 to i64
  %247 = getelementptr inbounds { float, float }, ptr %244, i64 %246
  %248 = getelementptr inbounds { float, float }, ptr %247, i32 0, i32 0
  %249 = load float, ptr %248, align 4
  %250 = getelementptr inbounds { float, float }, ptr %247, i32 0, i32 1
  %251 = load float, ptr %250, align 4
  %252 = fpext float %251 to double
  %253 = load ptr, ptr %17, align 8, !tbaa !9
  %254 = load i32, ptr %9, align 4, !tbaa !5
  %255 = zext i32 %254 to i64
  %256 = getelementptr inbounds { float, float }, ptr %253, i64 %255
  %257 = getelementptr inbounds { float, float }, ptr %256, i32 0, i32 0
  %258 = load float, ptr %257, align 4
  %259 = getelementptr inbounds { float, float }, ptr %256, i32 0, i32 1
  %260 = load float, ptr %259, align 4
  %261 = fpext float %258 to double
  %262 = load ptr, ptr %17, align 8, !tbaa !9
  %263 = load i32, ptr %9, align 4, !tbaa !5
  %264 = zext i32 %263 to i64
  %265 = getelementptr inbounds { float, float }, ptr %262, i64 %264
  %266 = getelementptr inbounds { float, float }, ptr %265, i32 0, i32 0
  %267 = load float, ptr %266, align 4
  %268 = getelementptr inbounds { float, float }, ptr %265, i32 0, i32 1
  %269 = load float, ptr %268, align 4
  %270 = fpext float %269 to double
  %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %234, double noundef %243, double noundef %252, double noundef %261, double noundef %270)
  br label %272

272:                                              ; preds = %233
  %273 = load i32, ptr %9, align 4, !tbaa !5
  %274 = add i32 %273, 1
  store i32 %274, ptr %9, align 4, !tbaa !5
  br label %229, !llvm.loop !18

275:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store float 0.000000e+00, ptr %21, align 4, !tbaa !19
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %276

276:                                              ; preds = %307, %275
  %277 = load i32, ptr %9, align 4, !tbaa !5
  %278 = load i32, ptr %6, align 4, !tbaa !5
  %279 = icmp ult i32 %277, %278
  br i1 %279, label %280, label %310

280:                                              ; preds = %276
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %281 = load ptr, ptr %16, align 8, !tbaa !9
  %282 = load i32, ptr %9, align 4, !tbaa !5
  %283 = zext i32 %282 to i64
  %284 = getelementptr inbounds { float, float }, ptr %281, i64 %283
  %285 = getelementptr inbounds { float, float }, ptr %284, i32 0, i32 0
  %286 = load float, ptr %285, align 4
  %287 = getelementptr inbounds { float, float }, ptr %284, i32 0, i32 1
  %288 = load float, ptr %287, align 4
  %289 = load ptr, ptr %17, align 8, !tbaa !9
  %290 = load i32, ptr %9, align 4, !tbaa !5
  %291 = zext i32 %290 to i64
  %292 = getelementptr inbounds { float, float }, ptr %289, i64 %291
  %293 = getelementptr inbounds { float, float }, ptr %292, i32 0, i32 0
  %294 = load float, ptr %293, align 4
  %295 = getelementptr inbounds { float, float }, ptr %292, i32 0, i32 1
  %296 = load float, ptr %295, align 4
  %297 = fsub float %286, %294
  %298 = fsub float %288, %296
  %299 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %300 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  store float %297, ptr %299, align 4
  store float %298, ptr %300, align 4
  %301 = load <2 x float>, ptr %23, align 4
  %302 = call float @cabsf(<2 x float> noundef %301) #9
  store float %302, ptr %22, align 4, !tbaa !19
  %303 = load float, ptr %22, align 4, !tbaa !19
  %304 = load float, ptr %22, align 4, !tbaa !19
  %305 = load float, ptr %21, align 4, !tbaa !19
  %306 = call float @llvm.fmuladd.f32(float %303, float %304, float %305)
  store float %306, ptr %21, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %307

307:                                              ; preds = %280
  %308 = load i32, ptr %9, align 4, !tbaa !5
  %309 = add i32 %308, 1
  store i32 %309, ptr %9, align 4, !tbaa !5
  br label %276, !llvm.loop !21

310:                                              ; preds = %276
  %311 = load float, ptr %21, align 4, !tbaa !19
  %312 = load i32, ptr %6, align 4, !tbaa !5
  %313 = uitofp i32 %312 to float
  %314 = fdiv float %311, %313
  %315 = call float @sqrtf(float noundef %314) #9
  store float %315, ptr %21, align 4, !tbaa !19
  %316 = load float, ptr %21, align 4, !tbaa !19
  %317 = fpext float %316 to double
  %318 = load float, ptr %21, align 4, !tbaa !19
  %319 = fpext float %318 to double
  %320 = fcmp olt double %319, 1.000000e-03
  %321 = zext i1 %320 to i64
  %322 = select i1 %320, ptr @.str.13, ptr @.str.14
  %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %317, ptr noundef %322)
  %324 = load ptr, ptr %15, align 8, !tbaa !9
  call void @free(ptr noundef %324) #9
  %325 = load ptr, ptr %16, align 8, !tbaa !9
  call void @free(ptr noundef %325) #9
  %326 = load ptr, ptr %17, align 8, !tbaa !9
  call void @free(ptr noundef %326) #9
  %327 = load ptr, ptr %18, align 8, !tbaa !9
  call void @free(ptr noundef %327) #9
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 160, 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
  br label %328

328:                                              ; preds = %310, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %329 = load i32, ptr %3, align 4
  ret i32 %329
}

; 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) #6

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @dft_run(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #5

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

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

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

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

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

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

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


; 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.4 = external hidden unnamed_addr constant [5 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

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

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @fftmr_cycle(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca [40 x i32], align 16
  %4 = alloca [40 x i32], align 16
  br label %5

5:                                                ; preds = %8, %2
  %.0104 = phi i32 [ 30, %2 ], [ %10, %8 ]
  %6 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.4) #13
  switch i32 %6, label %11 [
    i32 -1, label %12
    i32 104, label %7
    i32 110, label %8
  ]

7:                                                ; preds = %5
  tail call void @usage()
  br label %112

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

11:                                               ; preds = %5
  tail call void @exit(i32 noundef 1) #15
  unreachable

12:                                               ; preds = %5
  %13 = icmp eq i32 %.0104, 0
  br i1 %13, label %14, label %17

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

17:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %3) #13
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %4) #13
  br label %18

18:                                               ; preds = %.loopexit, %17
  %.0109 = phi i32 [ 0, %17 ], [ %.1110, %.loopexit ]
  %.0107 = phi i32 [ %.0104, %17 ], [ %.1108, %.loopexit ]
  %.not114119 = icmp ult i32 %.0107, 2
  br i1 %.not114119, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %18, %27
  %.0106120 = phi i32 [ %28, %27 ], [ 2, %18 ]
  %19 = urem i32 %.0107, %.0106120
  %20 = udiv i32 %.0107, %.0106120
  %21 = icmp eq i32 %19, 0
  br i1 %21, label %22, label %27

22:                                               ; preds = %.lr.ph
  %23 = zext i32 %.0109 to i64
  %24 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %23
  store i32 %.0106120, ptr %24, align 4, !tbaa !11
  %25 = getelementptr inbounds [40 x i32], ptr %4, i64 0, i64 %23
  store i32 %20, ptr %25, align 4, !tbaa !11
  %26 = add i32 %.0109, 1
  br label %.loopexit

27:                                               ; preds = %.lr.ph
  %28 = add i32 %.0106120, 1
  %.not114 = icmp ugt i32 %28, %.0107
  br i1 %.not114, label %.loopexit, label %.lr.ph, !llvm.loop !13

.loopexit:                                        ; preds = %27, %22
  %.1110 = phi i32 [ %26, %22 ], [ %.0109, %27 ]
  %.1108 = phi i32 [ %20, %22 ], [ %.0107, %27 ]
  %29 = icmp ugt i32 %.1108, 1
  %30 = icmp ult i32 %.1110, 40
  %31 = select i1 %29, i1 %30, i1 false
  br i1 %31, label %18, label %32, !llvm.loop !14

32:                                               ; preds = %.loopexit
  %33 = icmp eq i32 %.1110, 40
  br i1 %33, label %34, label %.thread

34:                                               ; preds = %32
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.6, i32 noundef %.0104, i32 noundef 40) #16
  tail call void @exit(i32 noundef 1) #15
  unreachable

.thread:                                          ; preds = %18, %32
  %.1110155157 = phi i32 [ %.1110, %32 ], [ %.0109, %18 ]
  %37 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %.0104)
  %.not = icmp eq i32 %.1110155157, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph122.preheader

.lr.ph122.preheader:                              ; preds = %.thread
  %wide.trip.count = zext i32 %.1110155157 to i64
  br label %.lr.ph122

.lr.ph122:                                        ; preds = %.lr.ph122.preheader, %.lr.ph122
  %indvars.iv = phi i64 [ 0, %.lr.ph122.preheader ], [ %indvars.iv.next, %.lr.ph122 ]
  %38 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %indvars.iv
  %39 = load i32, ptr %38, align 4, !tbaa !11
  %40 = getelementptr inbounds [40 x i32], ptr %4, i64 0, i64 %indvars.iv
  %41 = load i32, ptr %40, align 4, !tbaa !11
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %39, i32 noundef %41)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph122, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph122, %.thread
  %43 = zext i32 %.0104 to i64
  %44 = shl nuw nsw i64 %43, 3
  %45 = tail call noalias ptr @malloc(i64 noundef %44) #17
  %46 = tail call noalias ptr @malloc(i64 noundef %44) #17
  %47 = tail call noalias ptr @malloc(i64 noundef %44) #17
  %48 = icmp eq ptr %45, null
  %49 = icmp eq ptr %46, null
  %or.cond = or i1 %48, %49
  %50 = icmp eq ptr %47, null
  %or.cond3 = or i1 %or.cond, %50
  br i1 %or.cond3, label %58, label %.preheader115.preheader

.preheader115.preheader:                          ; preds = %._crit_edge
  %umax = tail call i64 @llvm.umax.i64(i64 %43, i64 1)
  %51 = shl nuw nsw i64 %umax, 3
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %46, i8 0, i64 %51, i1 false)
  %umax135 = tail call i32 @llvm.umax.i32(i32 %.0104, i32 1)
  %wide.trip.count136 = zext i32 %umax135 to i64
  %min.iters.check = icmp ult i32 %.0104, 4
  br i1 %min.iters.check, label %.preheader115.preheader167, label %vector.ph

.preheader115.preheader167:                       ; preds = %middle.block, %.preheader115.preheader
  %indvars.iv132.ph = phi i64 [ 0, %.preheader115.preheader ], [ %n.vec, %middle.block ]
  br label %.preheader115

vector.ph:                                        ; preds = %.preheader115.preheader
  %n.vec = and i64 %wide.trip.count136, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %52 = uitofp <4 x i32> %vec.ind to <4 x float>
  %53 = fsub <4 x float> <float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00>, %52
  %54 = fmul <4 x float> %53, zeroinitializer
  %55 = fadd <4 x float> %54, %52
  %56 = getelementptr inbounds { float, float }, ptr %45, i64 %index
  %interleaved.vec = shufflevector <4 x float> %55, <4 x float> %53, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
  store <8 x float> %interleaved.vec, ptr %56, align 4
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %57 = icmp eq i64 %index.next, %n.vec
  br i1 %57, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count136
  br i1 %cmp.n, label %.loopexit166, label %.preheader115.preheader167

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

.preheader115:                                    ; preds = %.preheader115.preheader167, %.preheader115
  %indvars.iv132 = phi i64 [ %indvars.iv.next133, %.preheader115 ], [ %indvars.iv132.ph, %.preheader115.preheader167 ]
  %62 = trunc nuw i64 %indvars.iv132 to i32
  %63 = uitofp i32 %62 to float
  %64 = fsub float 3.000000e+00, %63
  %65 = fmul float %64, 0.000000e+00
  %66 = fadd float %65, %63
  %67 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv132
  %68 = getelementptr inbounds i8, ptr %67, i64 4
  store float %66, ptr %67, align 4
  store float %64, ptr %68, align 4
  %indvars.iv.next133 = add nuw nsw i64 %indvars.iv132, 1
  %exitcond137.not = icmp eq i64 %indvars.iv.next133, %wide.trip.count136
  br i1 %exitcond137.not, label %.loopexit166, label %.preheader115, !llvm.loop !19

.loopexit166:                                     ; preds = %.preheader115, %middle.block
  tail call void @dft_run(i32 noundef %.0104, ptr noundef nonnull %45, ptr noundef %47, i32 noundef -1, i32 noundef 0)
  %69 = tail call noalias ptr @malloc(i64 noundef %44) #17
  %70 = uitofp i32 %.0104 to float
  %71 = fpext float %70 to double
  %72 = fdiv float -0.000000e+00, %70
  %.sroa.015.0.vec.insert = insertelement <2 x float> poison, float %72, i64 0
  br label %73

73:                                               ; preds = %.loopexit166, %73
  %indvars.iv138 = phi i64 [ 0, %.loopexit166 ], [ %indvars.iv.next139, %73 ]
  %74 = trunc nuw i64 %indvars.iv138 to i32
  %75 = uitofp i32 %74 to float
  %76 = fpext float %75 to double
  %77 = fmul double %76, 0xC01921FB54442D18
  %78 = fdiv double %77, %71
  %79 = fptrunc double %78 to float
  %.sroa.015.4.vec.insert = insertelement <2 x float> %.sroa.015.0.vec.insert, float %79, i64 1
  %80 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.015.4.vec.insert) #13
  %81 = getelementptr inbounds { float, float }, ptr %69, i64 %indvars.iv138
  store <2 x float> %80, ptr %81, align 4
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %exitcond142.not = icmp eq i64 %indvars.iv.next139, %wide.trip.count136
  br i1 %exitcond142.not, label %82, label %73, !llvm.loop !20

82:                                               ; preds = %73
  call void @fftmr_cycle(ptr noundef %45, ptr noundef %46, ptr noundef nonnull %69, i32 noundef %.0104, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %4, ptr noundef nonnull %3)
  br label %83

83:                                               ; preds = %82, %83
  %indvars.iv143 = phi i64 [ 0, %82 ], [ %indvars.iv.next144, %83 ]
  %84 = getelementptr inbounds { float, float }, ptr %46, i64 %indvars.iv143
  %85 = load float, ptr %84, align 4
  %86 = getelementptr inbounds i8, ptr %84, i64 4
  %87 = fpext float %85 to double
  %88 = load float, ptr %86, align 4
  %89 = fpext float %88 to double
  %90 = getelementptr inbounds { float, float }, ptr %47, i64 %indvars.iv143
  %91 = load float, ptr %90, align 4
  %92 = getelementptr inbounds i8, ptr %90, i64 4
  %93 = fpext float %91 to double
  %94 = load float, ptr %92, align 4
  %95 = fpext float %94 to double
  %96 = trunc nuw i64 %indvars.iv143 to i32
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %96, double noundef %87, double noundef %89, double noundef %93, double noundef %95)
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %exitcond147.not = icmp eq i64 %indvars.iv.next144, %wide.trip.count136
  br i1 %exitcond147.not, label %.preheader, label %83, !llvm.loop !21

.preheader:                                       ; preds = %83, %.preheader
  %indvars.iv148 = phi i64 [ %indvars.iv.next149, %.preheader ], [ 0, %83 ]
  %.0103127 = phi float [ %104, %.preheader ], [ 0.000000e+00, %83 ]
  %98 = getelementptr inbounds { float, float }, ptr %46, i64 %indvars.iv148
  %99 = getelementptr inbounds { float, float }, ptr %47, i64 %indvars.iv148
  %100 = load <2 x float>, ptr %98, align 4
  %101 = load <2 x float>, ptr %99, align 4
  %102 = fsub <2 x float> %100, %101
  %103 = call float @cabsf(<2 x float> noundef %102) #13
  %104 = call float @llvm.fmuladd.f32(float %103, float %103, float %.0103127)
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %exitcond152.not = icmp eq i64 %indvars.iv.next149, %wide.trip.count136
  br i1 %exitcond152.not, label %105, label %.preheader, !llvm.loop !22

105:                                              ; preds = %.preheader
  %106 = fdiv float %104, %70
  %107 = call float @sqrtf(float noundef %106) #13
  %108 = fpext float %107 to double
  %109 = fcmp olt double %108, 1.000000e-03
  %110 = select i1 %109, ptr @.str.13, ptr @.str.14
  %111 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, double noundef %108, ptr noundef nonnull %110)
  call void @free(ptr noundef %45) #13
  call void @free(ptr noundef nonnull %46) #13
  call void @free(ptr noundef nonnull %47) #13
  call void @free(ptr noundef %69) #13
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %4) #13
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %3) #13
  br label %112

112:                                              ; preds = %105, %7
  ret i32 0
}

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @dft_run(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

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

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

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

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

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

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

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 = { 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 #8 = { 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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { 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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #12 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #13 = { nounwind }
attributes #14 = { nounwind willreturn memory(read) }
attributes #15 = { noreturn nounwind }
attributes #16 = { cold nounwind }
attributes #17 = { nounwind allocsize(0) }

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

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


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