; LLVM IR from jgaeddert/liquid-dsp :: sandbox (fft_rader_prime_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 [68 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = 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: 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 i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca { float, float }, align 4
  %18 = alloca { float, float }, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca i32, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = 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 17, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  br label %27

27:                                               ; preds = %39, %2
  %28 = load i32, ptr %4, align 4, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !9
  %30 = call i32 @getopt(i32 noundef %28, ptr noundef %29, ptr noundef @.str.4) #9
  store i32 %30, ptr %7, align 4, !tbaa !5
  %31 = icmp ne i32 %30, -1
  br i1 %31, label %32, label %40

32:                                               ; preds = %27
  %33 = load i32, ptr %7, align 4, !tbaa !5
  switch i32 %33, label %38 [
    i32 104, label %34
    i32 110, label %35
  ]

34:                                               ; preds = %32
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %465

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

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

39:                                               ; preds = %35
  br label %27, !llvm.loop !11

40:                                               ; preds = %27
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = icmp ule i32 %41, 2
  br i1 %42, label %47, label %43

43:                                               ; preds = %40
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = call i32 @is_prime(i32 noundef %44)
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %53, label %47

47:                                               ; preds = %43, %40
  %48 = load ptr, ptr @stderr, align 8, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = getelementptr inbounds ptr, ptr %49, i64 0
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.5, ptr noundef %51) #9
  call void @exit(i32 noundef 1) #11
  unreachable

53:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %54 = load i32, ptr %6, align 4, !tbaa !5
  %55 = zext i32 %54 to i64
  %56 = mul i64 %55, 8
  %57 = call noalias ptr @malloc(i64 noundef %56) #12
  store ptr %57, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %58 = load i32, ptr %6, align 4, !tbaa !5
  %59 = zext i32 %58 to i64
  %60 = mul i64 %59, 8
  %61 = call noalias ptr @malloc(i64 noundef %60) #12
  store ptr %61, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %62 = load i32, ptr %6, align 4, !tbaa !5
  %63 = zext i32 %62 to i64
  %64 = mul i64 %63, 8
  %65 = call noalias ptr @malloc(i64 noundef %64) #12
  store ptr %65, ptr %12, align 8, !tbaa !9
  %66 = load ptr, ptr %10, align 8, !tbaa !9
  %67 = icmp eq ptr %66, null
  br i1 %67, label %74, label %68

68:                                               ; preds = %53
  %69 = load ptr, ptr %11, align 8, !tbaa !9
  %70 = icmp eq ptr %69, null
  br i1 %70, label %74, label %71

71:                                               ; preds = %68
  %72 = load ptr, ptr %12, align 8, !tbaa !9
  %73 = icmp eq ptr %72, null
  br i1 %73, label %74, label %80

74:                                               ; preds = %71, %68, %53
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = load ptr, ptr %5, align 8, !tbaa !9
  %77 = getelementptr inbounds ptr, ptr %76, i64 0
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.6, ptr noundef %78) #9
  call void @exit(i32 noundef 1) #11
  unreachable

80:                                               ; preds = %71
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %106, %80
  %82 = load i32, ptr %9, align 4, !tbaa !5
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = icmp ult i32 %82, %83
  br i1 %84, label %85, label %109

85:                                               ; preds = %81
  %86 = load i32, ptr %9, align 4, !tbaa !5
  %87 = uitofp i32 %86 to float
  %88 = load i32, ptr %9, align 4, !tbaa !5
  %89 = uitofp i32 %88 to float
  %90 = fsub float 3.000000e+00, %89
  %91 = fmul float 0.000000e+00, %90
  %92 = fmul float 1.000000e+00, %90
  %93 = fadd float %87, %91
  %94 = load ptr, ptr %10, align 8, !tbaa !9
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds { float, float }, ptr %94, i64 %96
  %98 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 1
  store float %93, ptr %98, align 4
  store float %92, ptr %99, align 4
  %100 = load ptr, ptr %11, align 8, !tbaa !9
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds { float, float }, ptr %100, i64 %102
  %104 = getelementptr inbounds { float, float }, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds { float, float }, ptr %103, i32 0, i32 1
  store float 0.000000e+00, ptr %104, align 4
  store float 0.000000e+00, ptr %105, align 4
  br label %106

106:                                              ; preds = %85
  %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 %81, !llvm.loop !13

109:                                              ; preds = %81
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = load ptr, ptr %10, align 8, !tbaa !9
  %112 = load ptr, ptr %12, align 8, !tbaa !9
  call void @dft_run(i32 noundef %110, ptr noundef %111, ptr noundef %112, i32 noundef -1, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  %113 = load i32, ptr %6, align 4, !tbaa !5
  %114 = call i32 @primitive_root(i32 noundef %113)
  store i32 %114, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %115 = load i32, ptr %6, align 4, !tbaa !5
  %116 = sub i32 %115, 1
  %117 = zext i32 %116 to i64
  %118 = mul i64 %117, 4
  %119 = call noalias ptr @malloc(i64 noundef %118) #12
  store ptr %119, ptr %14, align 8, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %135, %109
  %121 = load i32, ptr %9, align 4, !tbaa !5
  %122 = load i32, ptr %6, align 4, !tbaa !5
  %123 = sub i32 %122, 1
  %124 = icmp ult i32 %121, %123
  br i1 %124, label %125, label %138

125:                                              ; preds = %120
  %126 = load i32, ptr %13, align 4, !tbaa !5
  %127 = load i32, ptr %9, align 4, !tbaa !5
  %128 = add i32 %127, 1
  %129 = load i32, ptr %6, align 4, !tbaa !5
  %130 = call i32 @modpow(i32 noundef %126, i32 noundef %128, i32 noundef %129)
  %131 = load ptr, ptr %14, align 8, !tbaa !9
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = zext i32 %132 to i64
  %134 = getelementptr inbounds i32, ptr %131, i64 %133
  store i32 %130, ptr %134, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %125
  %136 = load i32, ptr %9, align 4, !tbaa !5
  %137 = add i32 %136, 1
  store i32 %137, ptr %9, align 4, !tbaa !5
  br label %120, !llvm.loop !14

138:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %139 = load i32, ptr %6, align 4, !tbaa !5
  %140 = sub i32 %139, 1
  %141 = zext i32 %140 to i64
  %142 = mul i64 %141, 8
  %143 = call noalias ptr @malloc(i64 noundef %142) #12
  store ptr %143, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %144 = load i32, ptr %6, align 4, !tbaa !5
  %145 = sub i32 %144, 1
  %146 = zext i32 %145 to i64
  %147 = mul i64 %146, 8
  %148 = call noalias ptr @malloc(i64 noundef %147) #12
  store ptr %148, ptr %16, align 8, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %149

149:                                              ; preds = %184, %138
  %150 = load i32, ptr %9, align 4, !tbaa !5
  %151 = load i32, ptr %6, align 4, !tbaa !5
  %152 = sub i32 %151, 1
  %153 = icmp ult i32 %150, %152
  br i1 %153, label %154, label %187

154:                                              ; preds = %149
  %155 = load ptr, ptr %14, align 8, !tbaa !9
  %156 = load i32, ptr %9, align 4, !tbaa !5
  %157 = zext i32 %156 to i64
  %158 = getelementptr inbounds i32, ptr %155, i64 %157
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = uitofp i32 %159 to double
  %161 = fmul double -0.000000e+00, %160
  %162 = fmul double 0xC01921FB54442D18, %160
  %163 = load i32, ptr %6, align 4, !tbaa !5
  %164 = uitofp i32 %163 to float
  %165 = fpext float %164 to double
  %166 = fdiv double %161, %165
  %167 = fdiv double %162, %165
  %168 = fptrunc double %166 to float
  %169 = fptrunc double %167 to float
  %170 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %171 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %168, ptr %170, align 4
  store float %169, ptr %171, align 4
  %172 = load <2 x float>, ptr %17, align 4
  %173 = call <2 x float> @cexpf(<2 x float> noundef %172) #9
  store <2 x float> %173, ptr %18, align 4
  %174 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %175 = load float, ptr %174, align 4
  %176 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  %177 = load float, ptr %176, align 4
  %178 = load ptr, ptr %15, align 8, !tbaa !9
  %179 = load i32, ptr %9, align 4, !tbaa !5
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds { float, float }, ptr %178, i64 %180
  %182 = getelementptr inbounds { float, float }, ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds { float, float }, ptr %181, i32 0, i32 1
  store float %175, ptr %182, align 4
  store float %177, ptr %183, align 4
  br label %184

184:                                              ; preds = %154
  %185 = load i32, ptr %9, align 4, !tbaa !5
  %186 = add i32 %185, 1
  store i32 %186, ptr %9, align 4, !tbaa !5
  br label %149, !llvm.loop !15

187:                                              ; preds = %149
  %188 = load i32, ptr %6, align 4, !tbaa !5
  %189 = sub i32 %188, 1
  %190 = load ptr, ptr %15, align 8, !tbaa !9
  %191 = load ptr, ptr %16, align 8, !tbaa !9
  call void @dft_run(i32 noundef %189, ptr noundef %190, ptr noundef %191, i32 noundef -1, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %192 = load i32, ptr %6, align 4, !tbaa !5
  %193 = sub i32 %192, 1
  %194 = zext i32 %193 to i64
  %195 = mul i64 %194, 8
  %196 = call noalias ptr @malloc(i64 noundef %195) #12
  store ptr %196, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %197 = load i32, ptr %6, align 4, !tbaa !5
  %198 = sub i32 %197, 1
  %199 = zext i32 %198 to i64
  %200 = mul i64 %199, 8
  %201 = call noalias ptr @malloc(i64 noundef %200) #12
  store ptr %201, ptr %20, align 8, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %202

202:                                              ; preds = %231, %187
  %203 = load i32, ptr %9, align 4, !tbaa !5
  %204 = load i32, ptr %6, align 4, !tbaa !5
  %205 = sub i32 %204, 1
  %206 = icmp ult i32 %203, %205
  br i1 %206, label %207, label %234

207:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %208 = load ptr, ptr %14, align 8, !tbaa !9
  %209 = load i32, ptr %6, align 4, !tbaa !5
  %210 = sub i32 %209, 1
  %211 = load i32, ptr %9, align 4, !tbaa !5
  %212 = sub i32 %210, %211
  %213 = sub i32 %212, 1
  %214 = zext i32 %213 to i64
  %215 = getelementptr inbounds i32, ptr %208, i64 %214
  %216 = load i32, ptr %215, align 4, !tbaa !5
  store i32 %216, ptr %21, align 4, !tbaa !5
  %217 = load ptr, ptr %10, align 8, !tbaa !9
  %218 = load i32, ptr %21, align 4, !tbaa !5
  %219 = zext i32 %218 to i64
  %220 = getelementptr inbounds { float, float }, ptr %217, i64 %219
  %221 = getelementptr inbounds { float, float }, ptr %220, i32 0, i32 0
  %222 = load float, ptr %221, align 4
  %223 = getelementptr inbounds { float, float }, ptr %220, i32 0, i32 1
  %224 = load float, ptr %223, align 4
  %225 = load ptr, ptr %19, align 8, !tbaa !9
  %226 = load i32, ptr %9, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds { float, float }, ptr %225, i64 %227
  %229 = getelementptr inbounds { float, float }, ptr %228, i32 0, i32 0
  %230 = getelementptr inbounds { float, float }, ptr %228, i32 0, i32 1
  store float %222, ptr %229, align 4
  store float %224, ptr %230, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %231

231:                                              ; preds = %207
  %232 = load i32, ptr %9, align 4, !tbaa !5
  %233 = add i32 %232, 1
  store i32 %233, ptr %9, align 4, !tbaa !5
  br label %202, !llvm.loop !16

234:                                              ; preds = %202
  %235 = load i32, ptr %6, align 4, !tbaa !5
  %236 = sub i32 %235, 1
  %237 = load ptr, ptr %19, align 8, !tbaa !9
  %238 = load ptr, ptr %20, align 8, !tbaa !9
  call void @dft_run(i32 noundef %236, ptr noundef %237, ptr noundef %238, i32 noundef -1, i32 noundef 0)
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %239

239:                                              ; preds = %281, %234
  %240 = load i32, ptr %9, align 4, !tbaa !5
  %241 = load i32, ptr %6, align 4, !tbaa !5
  %242 = sub i32 %241, 1
  %243 = icmp ult i32 %240, %242
  br i1 %243, label %244, label %284

244:                                              ; preds = %239
  %245 = load ptr, ptr %16, align 8, !tbaa !9
  %246 = load i32, ptr %9, align 4, !tbaa !5
  %247 = zext i32 %246 to i64
  %248 = getelementptr inbounds { float, float }, ptr %245, i64 %247
  %249 = getelementptr inbounds { float, float }, ptr %248, i32 0, i32 0
  %250 = load float, ptr %249, align 4
  %251 = getelementptr inbounds { float, float }, ptr %248, i32 0, i32 1
  %252 = load float, ptr %251, align 4
  %253 = load ptr, ptr %20, 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 = fmul float %258, %250
  %262 = fmul float %260, %252
  %263 = fmul float %258, %252
  %264 = fmul float %260, %250
  %265 = fsub float %261, %262
  %266 = fadd float %263, %264
  %267 = fcmp uno float %265, %265
  br i1 %267, label %268, label %276, !prof !17

268:                                              ; preds = %244
  %269 = fcmp uno float %266, %266
  br i1 %269, label %270, label %276, !prof !17

270:                                              ; preds = %268
  %271 = call <2 x float> @__mulsc3(float noundef %258, float noundef %260, float noundef %250, float noundef %252) #9
  store <2 x float> %271, ptr %22, align 4
  %272 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %273 = load float, ptr %272, align 4
  %274 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  %275 = load float, ptr %274, align 4
  br label %276

276:                                              ; preds = %270, %268, %244
  %277 = phi float [ %265, %244 ], [ %265, %268 ], [ %273, %270 ]
  %278 = phi float [ %266, %244 ], [ %266, %268 ], [ %275, %270 ]
  %279 = getelementptr inbounds { float, float }, ptr %256, i32 0, i32 0
  %280 = getelementptr inbounds { float, float }, ptr %256, i32 0, i32 1
  store float %277, ptr %279, align 4
  store float %278, ptr %280, align 4
  br label %281

281:                                              ; preds = %276
  %282 = load i32, ptr %9, align 4, !tbaa !5
  %283 = add i32 %282, 1
  store i32 %283, ptr %9, align 4, !tbaa !5
  br label %239, !llvm.loop !18

284:                                              ; preds = %239
  %285 = load i32, ptr %6, align 4, !tbaa !5
  %286 = sub i32 %285, 1
  %287 = load ptr, ptr %20, align 8, !tbaa !9
  %288 = load ptr, ptr %19, align 8, !tbaa !9
  call void @dft_run(i32 noundef %286, ptr noundef %287, ptr noundef %288, i32 noundef 1, i32 noundef 0)
  %289 = load ptr, ptr %11, align 8, !tbaa !9
  %290 = getelementptr inbounds { float, float }, ptr %289, i64 0
  %291 = getelementptr inbounds { float, float }, ptr %290, i32 0, i32 0
  %292 = getelementptr inbounds { float, float }, ptr %290, i32 0, i32 1
  store float 0.000000e+00, ptr %291, align 4
  store float 0.000000e+00, ptr %292, align 4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %293

293:                                              ; preds = %316, %284
  %294 = load i32, ptr %9, align 4, !tbaa !5
  %295 = load i32, ptr %6, align 4, !tbaa !5
  %296 = icmp ult i32 %294, %295
  br i1 %296, label %297, label %319

297:                                              ; preds = %293
  %298 = load ptr, ptr %10, align 8, !tbaa !9
  %299 = load i32, ptr %9, align 4, !tbaa !5
  %300 = zext i32 %299 to i64
  %301 = getelementptr inbounds { float, float }, ptr %298, i64 %300
  %302 = getelementptr inbounds { float, float }, ptr %301, i32 0, i32 0
  %303 = load float, ptr %302, align 4
  %304 = getelementptr inbounds { float, float }, ptr %301, i32 0, i32 1
  %305 = load float, ptr %304, align 4
  %306 = load ptr, ptr %11, align 8, !tbaa !9
  %307 = getelementptr inbounds { float, float }, ptr %306, i64 0
  %308 = getelementptr inbounds { float, float }, ptr %307, i32 0, i32 0
  %309 = load float, ptr %308, align 4
  %310 = getelementptr inbounds { float, float }, ptr %307, i32 0, i32 1
  %311 = load float, ptr %310, align 4
  %312 = fadd float %309, %303
  %313 = fadd float %311, %305
  %314 = getelementptr inbounds { float, float }, ptr %307, i32 0, i32 0
  %315 = getelementptr inbounds { float, float }, ptr %307, i32 0, i32 1
  store float %312, ptr %314, align 4
  store float %313, ptr %315, align 4
  br label %316

316:                                              ; preds = %297
  %317 = load i32, ptr %9, align 4, !tbaa !5
  %318 = add i32 %317, 1
  store i32 %318, ptr %9, align 4, !tbaa !5
  br label %293, !llvm.loop !19

319:                                              ; preds = %293
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %320

320:                                              ; preds = %358, %319
  %321 = load i32, ptr %9, align 4, !tbaa !5
  %322 = load i32, ptr %6, align 4, !tbaa !5
  %323 = sub i32 %322, 1
  %324 = icmp ult i32 %321, %323
  br i1 %324, label %325, label %361

325:                                              ; preds = %320
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %326 = load ptr, ptr %14, align 8, !tbaa !9
  %327 = load i32, ptr %9, align 4, !tbaa !5
  %328 = zext i32 %327 to i64
  %329 = getelementptr inbounds i32, ptr %326, i64 %328
  %330 = load i32, ptr %329, align 4, !tbaa !5
  store i32 %330, ptr %23, align 4, !tbaa !5
  %331 = load ptr, ptr %19, align 8, !tbaa !9
  %332 = load i32, ptr %9, align 4, !tbaa !5
  %333 = zext i32 %332 to i64
  %334 = getelementptr inbounds { float, float }, ptr %331, i64 %333
  %335 = getelementptr inbounds { float, float }, ptr %334, i32 0, i32 0
  %336 = load float, ptr %335, align 4
  %337 = getelementptr inbounds { float, float }, ptr %334, i32 0, i32 1
  %338 = load float, ptr %337, align 4
  %339 = load i32, ptr %6, align 4, !tbaa !5
  %340 = sub i32 %339, 1
  %341 = uitofp i32 %340 to float
  %342 = fdiv float %336, %341
  %343 = fdiv float %338, %341
  %344 = load ptr, ptr %10, align 8, !tbaa !9
  %345 = getelementptr inbounds { float, float }, ptr %344, i64 0
  %346 = getelementptr inbounds { float, float }, ptr %345, i32 0, i32 0
  %347 = load float, ptr %346, align 4
  %348 = getelementptr inbounds { float, float }, ptr %345, i32 0, i32 1
  %349 = load float, ptr %348, align 4
  %350 = fadd float %342, %347
  %351 = fadd float %343, %349
  %352 = load ptr, ptr %11, align 8, !tbaa !9
  %353 = load i32, ptr %23, align 4, !tbaa !5
  %354 = zext i32 %353 to i64
  %355 = getelementptr inbounds { float, float }, ptr %352, i64 %354
  %356 = getelementptr inbounds { float, float }, ptr %355, i32 0, i32 0
  %357 = getelementptr inbounds { float, float }, ptr %355, i32 0, i32 1
  store float %350, ptr %356, align 4
  store float %351, ptr %357, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %358

358:                                              ; preds = %325
  %359 = load i32, ptr %9, align 4, !tbaa !5
  %360 = add i32 %359, 1
  store i32 %360, ptr %9, align 4, !tbaa !5
  br label %320, !llvm.loop !20

361:                                              ; preds = %320
  %362 = load ptr, ptr %15, align 8, !tbaa !9
  call void @free(ptr noundef %362) #9
  %363 = load ptr, ptr %16, align 8, !tbaa !9
  call void @free(ptr noundef %363) #9
  %364 = load ptr, ptr %19, align 8, !tbaa !9
  call void @free(ptr noundef %364) #9
  %365 = load ptr, ptr %20, align 8, !tbaa !9
  call void @free(ptr noundef %365) #9
  %366 = load ptr, ptr %14, align 8, !tbaa !9
  call void @free(ptr noundef %366) #9
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %367

367:                                              ; preds = %410, %361
  %368 = load i32, ptr %9, align 4, !tbaa !5
  %369 = load i32, ptr %6, align 4, !tbaa !5
  %370 = icmp ult i32 %368, %369
  br i1 %370, label %371, label %413

371:                                              ; preds = %367
  %372 = load i32, ptr %9, align 4, !tbaa !5
  %373 = load ptr, ptr %11, align 8, !tbaa !9
  %374 = load i32, ptr %9, align 4, !tbaa !5
  %375 = zext i32 %374 to i64
  %376 = getelementptr inbounds { float, float }, ptr %373, i64 %375
  %377 = getelementptr inbounds { float, float }, ptr %376, i32 0, i32 0
  %378 = load float, ptr %377, align 4
  %379 = getelementptr inbounds { float, float }, ptr %376, i32 0, i32 1
  %380 = load float, ptr %379, align 4
  %381 = fpext float %378 to double
  %382 = load ptr, ptr %11, align 8, !tbaa !9
  %383 = load i32, ptr %9, align 4, !tbaa !5
  %384 = zext i32 %383 to i64
  %385 = getelementptr inbounds { float, float }, ptr %382, i64 %384
  %386 = getelementptr inbounds { float, float }, ptr %385, i32 0, i32 0
  %387 = load float, ptr %386, align 4
  %388 = getelementptr inbounds { float, float }, ptr %385, i32 0, i32 1
  %389 = load float, ptr %388, align 4
  %390 = fpext float %389 to double
  %391 = load ptr, ptr %12, align 8, !tbaa !9
  %392 = load i32, ptr %9, align 4, !tbaa !5
  %393 = zext i32 %392 to i64
  %394 = getelementptr inbounds { float, float }, ptr %391, i64 %393
  %395 = getelementptr inbounds { float, float }, ptr %394, i32 0, i32 0
  %396 = load float, ptr %395, align 4
  %397 = getelementptr inbounds { float, float }, ptr %394, i32 0, i32 1
  %398 = load float, ptr %397, align 4
  %399 = fpext float %396 to double
  %400 = load ptr, ptr %12, align 8, !tbaa !9
  %401 = load i32, ptr %9, align 4, !tbaa !5
  %402 = zext i32 %401 to i64
  %403 = getelementptr inbounds { float, float }, ptr %400, i64 %402
  %404 = getelementptr inbounds { float, float }, ptr %403, i32 0, i32 0
  %405 = load float, ptr %404, align 4
  %406 = getelementptr inbounds { float, float }, ptr %403, i32 0, i32 1
  %407 = load float, ptr %406, align 4
  %408 = fpext float %407 to double
  %409 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %372, double noundef %381, double noundef %390, double noundef %399, double noundef %408)
  br label %410

410:                                              ; preds = %371
  %411 = load i32, ptr %9, align 4, !tbaa !5
  %412 = add i32 %411, 1
  store i32 %412, ptr %9, align 4, !tbaa !5
  br label %367, !llvm.loop !21

413:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store float 0.000000e+00, ptr %24, align 4, !tbaa !22
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %414

414:                                              ; preds = %445, %413
  %415 = load i32, ptr %9, align 4, !tbaa !5
  %416 = load i32, ptr %6, align 4, !tbaa !5
  %417 = icmp ult i32 %415, %416
  br i1 %417, label %418, label %448

418:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %419 = load ptr, ptr %11, align 8, !tbaa !9
  %420 = load i32, ptr %9, align 4, !tbaa !5
  %421 = zext i32 %420 to i64
  %422 = getelementptr inbounds { float, float }, ptr %419, i64 %421
  %423 = getelementptr inbounds { float, float }, ptr %422, i32 0, i32 0
  %424 = load float, ptr %423, align 4
  %425 = getelementptr inbounds { float, float }, ptr %422, i32 0, i32 1
  %426 = load float, ptr %425, align 4
  %427 = load ptr, ptr %12, align 8, !tbaa !9
  %428 = load i32, ptr %9, align 4, !tbaa !5
  %429 = zext i32 %428 to i64
  %430 = getelementptr inbounds { float, float }, ptr %427, i64 %429
  %431 = getelementptr inbounds { float, float }, ptr %430, i32 0, i32 0
  %432 = load float, ptr %431, align 4
  %433 = getelementptr inbounds { float, float }, ptr %430, i32 0, i32 1
  %434 = load float, ptr %433, align 4
  %435 = fsub float %424, %432
  %436 = fsub float %426, %434
  %437 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %438 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  store float %435, ptr %437, align 4
  store float %436, ptr %438, align 4
  %439 = load <2 x float>, ptr %26, align 4
  %440 = call float @cabsf(<2 x float> noundef %439) #9
  store float %440, ptr %25, align 4, !tbaa !22
  %441 = load float, ptr %25, align 4, !tbaa !22
  %442 = load float, ptr %25, align 4, !tbaa !22
  %443 = load float, ptr %24, align 4, !tbaa !22
  %444 = call float @llvm.fmuladd.f32(float %441, float %442, float %443)
  store float %444, ptr %24, align 4, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %445

445:                                              ; preds = %418
  %446 = load i32, ptr %9, align 4, !tbaa !5
  %447 = add i32 %446, 1
  store i32 %447, ptr %9, align 4, !tbaa !5
  br label %414, !llvm.loop !24

448:                                              ; preds = %414
  %449 = load float, ptr %24, align 4, !tbaa !22
  %450 = load i32, ptr %6, align 4, !tbaa !5
  %451 = uitofp i32 %450 to float
  %452 = fdiv float %449, %451
  %453 = call float @sqrtf(float noundef %452) #9
  store float %453, ptr %24, align 4, !tbaa !22
  %454 = load float, ptr %24, align 4, !tbaa !22
  %455 = fpext float %454 to double
  %456 = load float, ptr %24, align 4, !tbaa !22
  %457 = fpext float %456 to double
  %458 = fcmp olt double %457, 1.000000e-03
  %459 = zext i1 %458 to i64
  %460 = select i1 %458, ptr @.str.9, ptr @.str.10
  %461 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %455, ptr noundef %460)
  %462 = load ptr, ptr %10, align 8, !tbaa !9
  call void @free(ptr noundef %462) #9
  %463 = load ptr, ptr %11, align 8, !tbaa !9
  call void @free(ptr noundef %463) #9
  %464 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %464) #9
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #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 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %465

465:                                              ; preds = %448, %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %466 = load i32, ptr %3, align 4
  ret i32 %466
}

; 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: noreturn nounwind
declare void @exit(i32 noundef) #6

; Function Attrs: nounwind uwtable
declare dso_local i32 @is_prime(i32 noundef) #0

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @primitive_root(i32 noundef) #0

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

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

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

declare <2 x float> @__mulsc3(float, float, float, float)

; Function Attrs: nounwind
declare void @free(ptr 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 = { 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 = { 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 #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 = !{!"branch_weights", i32 1, i32 1048575}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = !{!23, !23, i64 0}
!23 = !{!"float", !7, i64 0}
!24 = distinct !{!24, !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 [68 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = 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: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  br label %3

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

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

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

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

10:                                               ; preds = %3
  %11 = icmp ult i32 %.0134, 3
  br i1 %11, label %14, label %12

12:                                               ; preds = %10
  %13 = tail call i32 @is_prime(i32 noundef %.0134)
  %.not140 = icmp eq i32 %13, 0
  br i1 %.not140, label %14, label %18

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

18:                                               ; preds = %12
  %19 = zext i32 %.0134 to i64
  %20 = shl nuw nsw i64 %19, 3
  %21 = tail call noalias ptr @malloc(i64 noundef %20) #16
  %22 = tail call noalias ptr @malloc(i64 noundef %20) #16
  %23 = tail call noalias ptr @malloc(i64 noundef %20) #16
  %24 = icmp eq ptr %21, null
  %25 = icmp eq ptr %22, null
  %or.cond = or i1 %24, %25
  %26 = icmp eq ptr %23, null
  %or.cond3 = or i1 %or.cond, %26
  br i1 %or.cond3, label %33, label %.preheader142.preheader

.preheader142.preheader:                          ; preds = %18
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %22, i8 0, i64 %20, i1 false)
  %min.iters.check = icmp eq i32 %.0134, 3
  br i1 %min.iters.check, label %.preheader142.preheader227, label %vector.ph

.preheader142.preheader227:                       ; preds = %middle.block, %.preheader142.preheader
  %indvars.iv.ph = phi i64 [ 0, %.preheader142.preheader ], [ %n.vec, %middle.block ]
  br label %.preheader142

vector.ph:                                        ; preds = %.preheader142.preheader
  %n.vec = and i64 %19, 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 ]
  %27 = uitofp <4 x i32> %vec.ind to <4 x float>
  %28 = fsub <4 x float> <float 3.000000e+00, float 3.000000e+00, float 3.000000e+00, float 3.000000e+00>, %27
  %29 = fmul <4 x float> %28, zeroinitializer
  %30 = fadd <4 x float> %29, %27
  %31 = getelementptr inbounds { float, float }, ptr %21, i64 %index
  %interleaved.vec = shufflevector <4 x float> %30, <4 x float> %28, <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 %31, 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>
  %32 = icmp eq i64 %index.next, %n.vec
  br i1 %32, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %19
  br i1 %cmp.n, label %.loopexit, label %.preheader142.preheader227

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

.preheader142:                                    ; preds = %.preheader142.preheader227, %.preheader142
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader142 ], [ %indvars.iv.ph, %.preheader142.preheader227 ]
  %37 = trunc nuw i64 %indvars.iv to i32
  %38 = uitofp i32 %37 to float
  %39 = fsub float 3.000000e+00, %38
  %40 = fmul float %39, 0.000000e+00
  %41 = fadd float %40, %38
  %42 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv
  %43 = getelementptr inbounds i8, ptr %42, i64 4
  store float %41, ptr %42, align 4
  store float %39, ptr %43, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %19
  br i1 %exitcond.not, label %.loopexit, label %.preheader142, !llvm.loop !14

.loopexit:                                        ; preds = %.preheader142, %middle.block
  tail call void @dft_run(i32 noundef %.0134, ptr noundef nonnull %21, ptr noundef %23, i32 noundef -1, i32 noundef 0)
  %44 = tail call i32 @primitive_root(i32 noundef %.0134)
  %45 = add i32 %.0134, -1
  %46 = zext i32 %45 to i64
  %47 = shl nuw nsw i64 %46, 2
  %48 = tail call noalias ptr @malloc(i64 noundef %47) #16
  %.not = icmp eq i32 %45, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.loopexit, %.lr.ph
  %indvars.iv177 = phi i64 [ %indvars.iv.next178, %.lr.ph ], [ 0, %.loopexit ]
  %indvars.iv.next178 = add nuw nsw i64 %indvars.iv177, 1
  %49 = trunc nuw i64 %indvars.iv.next178 to i32
  %50 = tail call i32 @modpow(i32 noundef %44, i32 noundef %49, i32 noundef %.0134)
  %51 = getelementptr inbounds i32, ptr %48, i64 %indvars.iv177
  store i32 %50, ptr %51, align 4, !tbaa !15
  %exitcond181.not = icmp eq i64 %indvars.iv.next178, %46
  br i1 %exitcond181.not, label %._crit_edge, label %.lr.ph, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph, %.loopexit
  %52 = shl nuw nsw i64 %46, 3
  %53 = tail call noalias ptr @malloc(i64 noundef %52) #16
  %54 = tail call noalias ptr @malloc(i64 noundef %52) #16
  br i1 %.not, label %._crit_edge150, label %.lr.ph149

.lr.ph149:                                        ; preds = %._crit_edge
  %55 = uitofp i32 %.0134 to float
  %56 = fpext float %55 to double
  %57 = fdiv float -0.000000e+00, %55
  %.sroa.022.0.vec.insert = insertelement <2 x float> poison, float %57, i64 0
  br label %58

58:                                               ; preds = %.lr.ph149, %58
  %indvars.iv182 = phi i64 [ 0, %.lr.ph149 ], [ %indvars.iv.next183, %58 ]
  %59 = getelementptr inbounds i32, ptr %48, i64 %indvars.iv182
  %60 = load i32, ptr %59, align 4, !tbaa !15
  %61 = uitofp i32 %60 to double
  %62 = fmul double %61, 0xC01921FB54442D18
  %63 = fdiv double %62, %56
  %64 = fptrunc double %63 to float
  %.sroa.022.4.vec.insert = insertelement <2 x float> %.sroa.022.0.vec.insert, float %64, i64 1
  %65 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.022.4.vec.insert) #12
  %66 = getelementptr inbounds { float, float }, ptr %53, i64 %indvars.iv182
  store <2 x float> %65, ptr %66, align 4
  %indvars.iv.next183 = add nuw nsw i64 %indvars.iv182, 1
  %exitcond186.not = icmp eq i64 %indvars.iv.next183, %46
  br i1 %exitcond186.not, label %._crit_edge150, label %58, !llvm.loop !18

._crit_edge150:                                   ; preds = %58, %._crit_edge
  tail call void @dft_run(i32 noundef %45, ptr noundef %53, ptr noundef %54, i32 noundef -1, i32 noundef 0)
  %67 = tail call noalias ptr @malloc(i64 noundef %52) #16
  %68 = tail call noalias ptr @malloc(i64 noundef %52) #16
  br i1 %.not, label %._crit_edge154.thread, label %.lr.ph153.preheader

.lr.ph153.preheader:                              ; preds = %._crit_edge150
  %xtraiter = and i64 %46, 1
  %69 = icmp eq i32 %45, 1
  br i1 %69, label %._crit_edge154.unr-lcssa, label %.lr.ph153.preheader.new

.lr.ph153.preheader.new:                          ; preds = %.lr.ph153.preheader
  %unroll_iter = and i64 %46, 4294967294
  br label %.lr.ph153

._crit_edge154.thread:                            ; preds = %._crit_edge150
  tail call void @dft_run(i32 noundef %45, ptr noundef %67, ptr noundef %68, i32 noundef -1, i32 noundef 0)
  br label %._crit_edge158

.lr.ph153:                                        ; preds = %.lr.ph153, %.lr.ph153.preheader.new
  %indvars.iv187 = phi i64 [ 0, %.lr.ph153.preheader.new ], [ %indvars.iv.next188.1, %.lr.ph153 ]
  %niter = phi i64 [ 0, %.lr.ph153.preheader.new ], [ %niter.next.1, %.lr.ph153 ]
  %70 = trunc nuw i64 %indvars.iv187 to i32
  %71 = xor i32 %70, -1
  %72 = add i32 %45, %71
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds i32, ptr %48, i64 %73
  %75 = load i32, ptr %74, align 4, !tbaa !15
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds { float, float }, ptr %21, i64 %76
  %78 = getelementptr inbounds { float, float }, ptr %67, i64 %indvars.iv187
  %79 = load <2 x float>, ptr %77, align 4
  store <2 x float> %79, ptr %78, align 4
  %indvars.iv.next188 = or disjoint i64 %indvars.iv187, 1
  %80 = trunc nuw i64 %indvars.iv.next188 to i32
  %81 = xor i32 %80, -1
  %82 = add i32 %45, %81
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds i32, ptr %48, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !15
  %86 = zext i32 %85 to i64
  %87 = getelementptr inbounds { float, float }, ptr %21, i64 %86
  %88 = getelementptr inbounds { float, float }, ptr %67, i64 %indvars.iv.next188
  %89 = load <2 x float>, ptr %87, align 4
  store <2 x float> %89, ptr %88, align 4
  %indvars.iv.next188.1 = add nuw nsw i64 %indvars.iv187, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge154.unr-lcssa, label %.lr.ph153, !llvm.loop !19

._crit_edge154.unr-lcssa:                         ; preds = %.lr.ph153, %.lr.ph153.preheader
  %indvars.iv187.unr = phi i64 [ 0, %.lr.ph153.preheader ], [ %indvars.iv.next188.1, %.lr.ph153 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge154, label %.lr.ph153.epil

.lr.ph153.epil:                                   ; preds = %._crit_edge154.unr-lcssa
  %90 = trunc nuw i64 %indvars.iv187.unr to i32
  %91 = xor i32 %90, -1
  %92 = add i32 %45, %91
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds i32, ptr %48, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !15
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds { float, float }, ptr %21, i64 %96
  %98 = getelementptr inbounds { float, float }, ptr %67, i64 %indvars.iv187.unr
  %99 = load <2 x float>, ptr %97, align 4
  store <2 x float> %99, ptr %98, align 4
  br label %._crit_edge154

._crit_edge154:                                   ; preds = %._crit_edge154.unr-lcssa, %.lr.ph153.epil
  tail call void @dft_run(i32 noundef %45, ptr noundef nonnull %67, ptr noundef %68, i32 noundef -1, i32 noundef 0)
  br i1 %.not, label %._crit_edge158, label %.lr.ph157

.lr.ph157:                                        ; preds = %._crit_edge154, %121
  %indvars.iv192 = phi i64 [ %indvars.iv.next193, %121 ], [ 0, %._crit_edge154 ]
  %100 = getelementptr inbounds { float, float }, ptr %54, i64 %indvars.iv192
  %101 = getelementptr inbounds { float, float }, ptr %68, i64 %indvars.iv192
  %102 = getelementptr inbounds i8, ptr %101, i64 4
  %103 = load <2 x float>, ptr %100, align 4
  %104 = load <2 x float>, ptr %101, align 4
  %105 = fmul <2 x float> %103, %104
  %106 = shufflevector <2 x float> %103, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %107 = fmul <2 x float> %106, %104
  %shift = shufflevector <2 x float> %105, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %108 = fsub <2 x float> %105, %shift
  %109 = extractelement <2 x float> %108, i64 0
  %shift225 = shufflevector <2 x float> %107, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %110 = fadd <2 x float> %107, %shift225
  %111 = extractelement <2 x float> %110, i64 0
  %112 = fcmp uno float %109, 0.000000e+00
  br i1 %112, label %113, label %121, !prof !20

113:                                              ; preds = %.lr.ph157
  %114 = fcmp uno float %111, 0.000000e+00
  br i1 %114, label %115, label %121, !prof !20

115:                                              ; preds = %113
  %116 = extractelement <2 x float> %103, i64 0
  %117 = extractelement <2 x float> %103, i64 1
  %118 = extractelement <2 x float> %104, i64 0
  %119 = extractelement <2 x float> %104, i64 1
  %120 = tail call <2 x float> @__mulsc3(float noundef %118, float noundef %119, float noundef %116, float noundef %117) #12
  %.sroa.010.0.vec.extract = extractelement <2 x float> %120, i64 0
  %.sroa.010.4.vec.extract = extractelement <2 x float> %120, i64 1
  br label %121

121:                                              ; preds = %115, %113, %.lr.ph157
  %122 = phi float [ %109, %.lr.ph157 ], [ %109, %113 ], [ %.sroa.010.0.vec.extract, %115 ]
  %123 = phi float [ %111, %.lr.ph157 ], [ %111, %113 ], [ %.sroa.010.4.vec.extract, %115 ]
  store float %122, ptr %101, align 4
  store float %123, ptr %102, align 4
  %indvars.iv.next193 = add nuw nsw i64 %indvars.iv192, 1
  %exitcond196.not = icmp eq i64 %indvars.iv.next193, %46
  br i1 %exitcond196.not, label %._crit_edge158, label %.lr.ph157, !llvm.loop !21

._crit_edge158:                                   ; preds = %121, %._crit_edge154.thread, %._crit_edge154
  tail call void @dft_run(i32 noundef %45, ptr noundef %68, ptr noundef %67, i32 noundef 1, i32 noundef 0)
  %umax = tail call i32 @llvm.umax.i32(i32 %.0134, i32 1)
  %wide.trip.count200 = zext i32 %umax to i64
  %xtraiter230 = and i64 %wide.trip.count200, 7
  %124 = icmp ult i32 %.0134, 8
  br i1 %124, label %.preheader141.unr-lcssa, label %._crit_edge158.new

._crit_edge158.new:                               ; preds = %._crit_edge158
  %unroll_iter233 = and i64 %wide.trip.count200, 4294967288
  br label %134

.preheader141.unr-lcssa:                          ; preds = %134, %._crit_edge158
  %.lcssa226.ph = phi <2 x float> [ poison, %._crit_edge158 ], [ %159, %134 ]
  %indvars.iv197.unr = phi i64 [ 0, %._crit_edge158 ], [ %indvars.iv.next198.7, %134 ]
  %.unr = phi <2 x float> [ zeroinitializer, %._crit_edge158 ], [ %159, %134 ]
  %lcmp.mod231.not = icmp eq i64 %xtraiter230, 0
  br i1 %lcmp.mod231.not, label %.preheader141, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader141.unr-lcssa, %.epil.preheader
  %indvars.iv197.epil = phi i64 [ %indvars.iv.next198.epil, %.epil.preheader ], [ %indvars.iv197.unr, %.preheader141.unr-lcssa ]
  %125 = phi <2 x float> [ %128, %.epil.preheader ], [ %.unr, %.preheader141.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader141.unr-lcssa ]
  %126 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv197.epil
  %127 = load <2 x float>, ptr %126, align 4
  %128 = fadd <2 x float> %127, %125
  %indvars.iv.next198.epil = add nuw nsw i64 %indvars.iv197.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter230
  br i1 %epil.iter.cmp.not, label %.preheader141, label %.epil.preheader, !llvm.loop !22

.preheader141:                                    ; preds = %.epil.preheader, %.preheader141.unr-lcssa
  %.lcssa226 = phi <2 x float> [ %.lcssa226.ph, %.preheader141.unr-lcssa ], [ %128, %.epil.preheader ]
  store <2 x float> %.lcssa226, ptr %22, align 4
  br i1 %.not, label %._crit_edge164, label %.lr.ph163

.lr.ph163:                                        ; preds = %.preheader141
  %129 = uitofp i32 %45 to float
  %130 = load <2 x float>, ptr %21, align 4
  %131 = insertelement <2 x float> poison, float %129, i64 0
  %132 = shufflevector <2 x float> %131, <2 x float> poison, <2 x i32> zeroinitializer
  %xtraiter236 = and i64 %46, 1
  %133 = icmp eq i32 %45, 1
  br i1 %133, label %._crit_edge164.loopexit.unr-lcssa, label %.lr.ph163.new

.lr.ph163.new:                                    ; preds = %.lr.ph163
  %unroll_iter239 = and i64 %46, 4294967294
  br label %160

134:                                              ; preds = %134, %._crit_edge158.new
  %indvars.iv197 = phi i64 [ 0, %._crit_edge158.new ], [ %indvars.iv.next198.7, %134 ]
  %135 = phi <2 x float> [ zeroinitializer, %._crit_edge158.new ], [ %159, %134 ]
  %niter234 = phi i64 [ 0, %._crit_edge158.new ], [ %niter234.next.7, %134 ]
  %136 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv197
  %137 = load <2 x float>, ptr %136, align 4
  %138 = fadd <2 x float> %137, %135
  %indvars.iv.next198 = or disjoint i64 %indvars.iv197, 1
  %139 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv.next198
  %140 = load <2 x float>, ptr %139, align 4
  %141 = fadd <2 x float> %140, %138
  %indvars.iv.next198.1 = or disjoint i64 %indvars.iv197, 2
  %142 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv.next198.1
  %143 = load <2 x float>, ptr %142, align 4
  %144 = fadd <2 x float> %143, %141
  %indvars.iv.next198.2 = or disjoint i64 %indvars.iv197, 3
  %145 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv.next198.2
  %146 = load <2 x float>, ptr %145, align 4
  %147 = fadd <2 x float> %146, %144
  %indvars.iv.next198.3 = or disjoint i64 %indvars.iv197, 4
  %148 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv.next198.3
  %149 = load <2 x float>, ptr %148, align 4
  %150 = fadd <2 x float> %149, %147
  %indvars.iv.next198.4 = or disjoint i64 %indvars.iv197, 5
  %151 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv.next198.4
  %152 = load <2 x float>, ptr %151, align 4
  %153 = fadd <2 x float> %152, %150
  %indvars.iv.next198.5 = or disjoint i64 %indvars.iv197, 6
  %154 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv.next198.5
  %155 = load <2 x float>, ptr %154, align 4
  %156 = fadd <2 x float> %155, %153
  %indvars.iv.next198.6 = or disjoint i64 %indvars.iv197, 7
  %157 = getelementptr inbounds { float, float }, ptr %21, i64 %indvars.iv.next198.6
  %158 = load <2 x float>, ptr %157, align 4
  %159 = fadd <2 x float> %158, %156
  %indvars.iv.next198.7 = add nuw nsw i64 %indvars.iv197, 8
  %niter234.next.7 = add i64 %niter234, 8
  %niter234.ncmp.7 = icmp eq i64 %niter234.next.7, %unroll_iter233
  br i1 %niter234.ncmp.7, label %.preheader141.unr-lcssa, label %134, !llvm.loop !24

160:                                              ; preds = %160, %.lr.ph163.new
  %indvars.iv202 = phi i64 [ 0, %.lr.ph163.new ], [ %indvars.iv.next203.1, %160 ]
  %niter240 = phi i64 [ 0, %.lr.ph163.new ], [ %niter240.next.1, %160 ]
  %161 = getelementptr inbounds i32, ptr %48, i64 %indvars.iv202
  %162 = load i32, ptr %161, align 4, !tbaa !15
  %163 = getelementptr inbounds { float, float }, ptr %67, i64 %indvars.iv202
  %164 = zext i32 %162 to i64
  %165 = getelementptr inbounds { float, float }, ptr %22, i64 %164
  %166 = load <2 x float>, ptr %163, align 4
  %167 = fdiv <2 x float> %166, %132
  %168 = fadd <2 x float> %167, %130
  store <2 x float> %168, ptr %165, align 4
  %indvars.iv.next203 = or disjoint i64 %indvars.iv202, 1
  %169 = getelementptr inbounds i32, ptr %48, i64 %indvars.iv.next203
  %170 = load i32, ptr %169, align 4, !tbaa !15
  %171 = getelementptr inbounds { float, float }, ptr %67, i64 %indvars.iv.next203
  %172 = zext i32 %170 to i64
  %173 = getelementptr inbounds { float, float }, ptr %22, i64 %172
  %174 = load <2 x float>, ptr %171, align 4
  %175 = fdiv <2 x float> %174, %132
  %176 = fadd <2 x float> %175, %130
  store <2 x float> %176, ptr %173, align 4
  %indvars.iv.next203.1 = add nuw nsw i64 %indvars.iv202, 2
  %niter240.next.1 = add i64 %niter240, 2
  %niter240.ncmp.1 = icmp eq i64 %niter240.next.1, %unroll_iter239
  br i1 %niter240.ncmp.1, label %._crit_edge164.loopexit.unr-lcssa, label %160, !llvm.loop !25

._crit_edge164.loopexit.unr-lcssa:                ; preds = %160, %.lr.ph163
  %indvars.iv202.unr = phi i64 [ 0, %.lr.ph163 ], [ %indvars.iv.next203.1, %160 ]
  %lcmp.mod238.not = icmp eq i64 %xtraiter236, 0
  br i1 %lcmp.mod238.not, label %._crit_edge164, label %._crit_edge164.loopexit.epilog-lcssa

._crit_edge164.loopexit.epilog-lcssa:             ; preds = %._crit_edge164.loopexit.unr-lcssa
  %177 = getelementptr inbounds i32, ptr %48, i64 %indvars.iv202.unr
  %178 = load i32, ptr %177, align 4, !tbaa !15
  %179 = getelementptr inbounds { float, float }, ptr %67, i64 %indvars.iv202.unr
  %180 = zext i32 %178 to i64
  %181 = getelementptr inbounds { float, float }, ptr %22, i64 %180
  %182 = load <2 x float>, ptr %179, align 4
  %183 = fdiv <2 x float> %182, %132
  %184 = fadd <2 x float> %183, %130
  store <2 x float> %184, ptr %181, align 4
  br label %._crit_edge164

._crit_edge164:                                   ; preds = %._crit_edge164.loopexit.epilog-lcssa, %._crit_edge164.loopexit.unr-lcssa, %.preheader141
  tail call void @free(ptr noundef %53) #12
  tail call void @free(ptr noundef %54) #12
  tail call void @free(ptr noundef %67) #12
  tail call void @free(ptr noundef %68) #12
  tail call void @free(ptr noundef %48) #12
  br label %185

185:                                              ; preds = %._crit_edge164, %185
  %indvars.iv207 = phi i64 [ 0, %._crit_edge164 ], [ %indvars.iv.next208, %185 ]
  %186 = getelementptr inbounds { float, float }, ptr %22, i64 %indvars.iv207
  %187 = load float, ptr %186, align 4
  %188 = getelementptr inbounds i8, ptr %186, i64 4
  %189 = fpext float %187 to double
  %190 = load float, ptr %188, align 4
  %191 = fpext float %190 to double
  %192 = getelementptr inbounds { float, float }, ptr %23, i64 %indvars.iv207
  %193 = load float, ptr %192, align 4
  %194 = getelementptr inbounds i8, ptr %192, i64 4
  %195 = fpext float %193 to double
  %196 = load float, ptr %194, align 4
  %197 = fpext float %196 to double
  %198 = trunc nuw i64 %indvars.iv207 to i32
  %199 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %198, double noundef %189, double noundef %191, double noundef %195, double noundef %197)
  %indvars.iv.next208 = add nuw nsw i64 %indvars.iv207, 1
  %exitcond211.not = icmp eq i64 %indvars.iv.next208, %wide.trip.count200
  br i1 %exitcond211.not, label %.preheader, label %185, !llvm.loop !26

.preheader:                                       ; preds = %185, %.preheader
  %indvars.iv212 = phi i64 [ %indvars.iv.next213, %.preheader ], [ 0, %185 ]
  %.0133167 = phi float [ %206, %.preheader ], [ 0.000000e+00, %185 ]
  %200 = getelementptr inbounds { float, float }, ptr %22, i64 %indvars.iv212
  %201 = getelementptr inbounds { float, float }, ptr %23, i64 %indvars.iv212
  %202 = load <2 x float>, ptr %200, align 4
  %203 = load <2 x float>, ptr %201, align 4
  %204 = fsub <2 x float> %202, %203
  %205 = tail call float @cabsf(<2 x float> noundef %204) #12
  %206 = tail call float @llvm.fmuladd.f32(float %205, float %205, float %.0133167)
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %exitcond216.not = icmp eq i64 %indvars.iv.next213, %wide.trip.count200
  br i1 %exitcond216.not, label %207, label %.preheader, !llvm.loop !27

207:                                              ; preds = %.preheader
  %208 = uitofp i32 %.0134 to float
  %209 = fdiv float %206, %208
  %210 = tail call float @sqrtf(float noundef %209) #12
  %211 = fpext float %210 to double
  %212 = fcmp olt double %211, 1.000000e-03
  %213 = select i1 %212, ptr @.str.9, ptr @.str.10
  %214 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %211, ptr noundef nonnull %213)
  tail call void @free(ptr noundef %21) #12
  tail call void @free(ptr noundef nonnull %22) #12
  tail call void @free(ptr noundef nonnull %23) #12
  br label %215

215:                                              ; preds = %207, %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: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @is_prime(i32 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @primitive_root(i32 noundef) local_unnamed_addr #0

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

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

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

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

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

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

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

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

; 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 = { 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 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 #7 = { 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 #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 #10 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #12 = { nounwind }
attributes #13 = { nounwind willreturn memory(read) }
attributes #14 = { noreturn nounwind }
attributes #15 = { cold nounwind }
attributes #16 = { 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 = distinct !{!11, !10, !12, !13}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !10, !13, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = !{!"branch_weights", i32 1, i32 1048575}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}


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