; LLVM IR from jgaeddert/liquid-dsp :: sandbox (gmskmodem_coherent_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.8 = external hidden unnamed_addr constant [12 x i8], align 1
@optarg = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca { float, float }, align 4
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 8, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 3, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store float 2.500000e-01, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 80, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store float 4.000000e+01, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  br label %27

27:                                               ; preds = %53, %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.8) #8
  store i32 %30, ptr %11, align 4, !tbaa !5
  %31 = icmp ne i32 %30, -1
  br i1 %31, label %32, label %54

32:                                               ; preds = %27
  %33 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %33, label %52 [
    i32 104, label %34
    i32 107, label %35
    i32 109, label %38
    i32 98, label %41
    i32 110, label %45
    i32 115, label %48
  ]

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

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

38:                                               ; preds = %32
  %39 = load ptr, ptr @optarg, align 8, !tbaa !9
  %40 = call i32 @atoi(ptr noundef %39) #9
  store i32 %40, ptr %7, align 4, !tbaa !5
  br label %53

41:                                               ; preds = %32
  %42 = load ptr, ptr @optarg, align 8, !tbaa !9
  %43 = call double @atof(ptr noundef %42) #9
  %44 = fptrunc double %43 to float
  store float %44, ptr %8, align 4, !tbaa !11
  br label %53

45:                                               ; preds = %32
  %46 = load ptr, ptr @optarg, align 8, !tbaa !9
  %47 = call i32 @atoi(ptr noundef %46) #9
  store i32 %47, ptr %9, align 4, !tbaa !5
  br label %53

48:                                               ; preds = %32
  %49 = load ptr, ptr @optarg, align 8, !tbaa !9
  %50 = call double @atof(ptr noundef %49) #9
  %51 = fptrunc double %50 to float
  store float %51, ptr %10, align 4, !tbaa !11
  br label %53

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

53:                                               ; preds = %48, %45, %41, %38, %35
  br label %27, !llvm.loop !13

54:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %55 = load i32, ptr %6, align 4, !tbaa !5
  %56 = load i32, ptr %9, align 4, !tbaa !5
  %57 = mul i32 %55, %56
  store i32 %57, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %58 = load float, ptr %10, align 4, !tbaa !11
  %59 = fneg float %58
  %60 = fdiv float %59, 2.000000e+01
  %61 = call float @powf(float noundef 1.000000e+01, float noundef %60) #8
  store float %61, ptr %15, align 4, !tbaa !11
  %62 = load i32, ptr %9, align 4, !tbaa !5
  %63 = zext i32 %62 to i64
  %64 = call ptr @llvm.stacksave.p0()
  store ptr %64, ptr %16, align 8
  %65 = alloca i32, i64 %63, align 16
  store i64 %63, ptr %17, align 8
  %66 = load i32, ptr %14, align 4, !tbaa !5
  %67 = zext i32 %66 to i64
  %68 = alloca { float, float }, i64 %67, align 16
  store i64 %67, ptr %18, align 8
  %69 = load i32, ptr %14, align 4, !tbaa !5
  %70 = zext i32 %69 to i64
  %71 = alloca { float, float }, i64 %70, align 16
  store i64 %70, ptr %19, align 8
  %72 = load i32, ptr %14, align 4, !tbaa !5
  %73 = zext i32 %72 to i64
  %74 = alloca { float, float }, i64 %73, align 16
  store i64 %73, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = load i32, ptr %7, align 4, !tbaa !5
  %77 = load float, ptr %8, align 4, !tbaa !11
  %78 = call ptr @gmskmod_create(i32 noundef %75, i32 noundef %76, float noundef %77)
  store ptr %78, ptr %21, align 8, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %79

79:                                               ; preds = %89, %54
  %80 = load i32, ptr %13, align 4, !tbaa !5
  %81 = load i32, ptr %9, align 4, !tbaa !5
  %82 = icmp ult i32 %80, %81
  br i1 %82, label %83, label %92

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

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

92:                                               ; preds = %79
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %93

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

97:                                               ; preds = %93
  %98 = load ptr, ptr %21, align 8, !tbaa !9
  %99 = load i32, ptr %13, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds i32, ptr %65, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = load i32, ptr %6, align 4, !tbaa !5
  %104 = load i32, ptr %13, align 4, !tbaa !5
  %105 = mul i32 %103, %104
  %106 = zext i32 %105 to i64
  %107 = getelementptr inbounds { float, float }, ptr %68, i64 %106
  %108 = call i32 @gmskmod_modulate(ptr noundef %98, i32 noundef %102, ptr noundef %107)
  br label %109

109:                                              ; preds = %97
  %110 = load i32, ptr %13, align 4, !tbaa !5
  %111 = add i32 %110, 1
  store i32 %111, ptr %13, align 4, !tbaa !5
  br label %93, !llvm.loop !16

112:                                              ; preds = %93
  %113 = load ptr, ptr %21, align 8, !tbaa !9
  %114 = call i32 @gmskmod_destroy(ptr noundef %113)
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %115

115:                                              ; preds = %150, %112
  %116 = load i32, ptr %13, align 4, !tbaa !5
  %117 = load i32, ptr %14, align 4, !tbaa !5
  %118 = icmp ult i32 %116, %117
  br i1 %118, label %119, label %153

119:                                              ; preds = %115
  %120 = load i32, ptr %13, align 4, !tbaa !5
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds { float, float }, ptr %68, i64 %121
  %123 = getelementptr inbounds { float, float }, ptr %122, i32 0, i32 0
  %124 = load float, ptr %123, align 8
  %125 = getelementptr inbounds { float, float }, ptr %122, i32 0, i32 1
  %126 = load float, ptr %125, align 4
  %127 = fpext float %124 to double
  %128 = fpext float %126 to double
  %129 = load float, ptr %15, align 4, !tbaa !11
  %130 = call float (...) @randnf()
  %131 = call float (...) @randnf()
  %132 = fmul float 0.000000e+00, %131
  %133 = fmul float 1.000000e+00, %131
  %134 = fadd float %130, %132
  %135 = fmul float %129, %134
  %136 = fmul float %129, %133
  %137 = fpext float %135 to double
  %138 = fpext float %136 to double
  %139 = fmul double %137, 0x3FE6A09E667F3BCD
  %140 = fmul double %138, 0x3FE6A09E667F3BCD
  %141 = fadd double %127, %139
  %142 = fadd double %128, %140
  %143 = fptrunc double %141 to float
  %144 = fptrunc double %142 to float
  %145 = load i32, ptr %13, align 4, !tbaa !5
  %146 = zext i32 %145 to i64
  %147 = getelementptr inbounds { float, float }, ptr %71, i64 %146
  %148 = getelementptr inbounds { float, float }, ptr %147, i32 0, i32 0
  %149 = getelementptr inbounds { float, float }, ptr %147, i32 0, i32 1
  store float %143, ptr %148, align 8
  store float %144, ptr %149, align 4
  br label %150

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

153:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %154 = load i32, ptr %6, align 4, !tbaa !5
  %155 = load i32, ptr %7, align 4, !tbaa !5
  %156 = call ptr @firfilt_crcf_create_rnyquist(i32 noundef 12, i32 noundef %154, i32 noundef %155, float noundef 0x3FE99999A0000000, float noundef 0.000000e+00)
  store ptr %156, ptr %22, align 8, !tbaa !9
  %157 = load ptr, ptr %22, align 8, !tbaa !9
  %158 = load i32, ptr %6, align 4, !tbaa !5
  %159 = uitofp i32 %158 to float
  %160 = fdiv float 1.500000e+00, %159
  %161 = call i32 @firfilt_crcf_set_scale(ptr noundef %157, float noundef %160)
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %162

162:                                              ; preds = %184, %153
  %163 = load i32, ptr %13, align 4, !tbaa !5
  %164 = load i32, ptr %14, align 4, !tbaa !5
  %165 = icmp ult i32 %163, %164
  br i1 %165, label %166, label %187

166:                                              ; preds = %162
  %167 = load ptr, ptr %22, align 8, !tbaa !9
  %168 = load i32, ptr %13, align 4, !tbaa !5
  %169 = zext i32 %168 to i64
  %170 = getelementptr inbounds { float, float }, ptr %71, i64 %169
  %171 = getelementptr inbounds { float, float }, ptr %170, i32 0, i32 0
  %172 = load float, ptr %171, align 8
  %173 = getelementptr inbounds { float, float }, ptr %170, i32 0, i32 1
  %174 = load float, ptr %173, align 4
  %175 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %176 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  store float %172, ptr %175, align 4
  store float %174, ptr %176, align 4
  %177 = load <2 x float>, ptr %23, align 4
  %178 = call i32 @firfilt_crcf_push(ptr noundef %167, <2 x float> noundef %177)
  %179 = load ptr, ptr %22, align 8, !tbaa !9
  %180 = load i32, ptr %13, align 4, !tbaa !5
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds { float, float }, ptr %74, i64 %181
  %183 = call i32 @firfilt_crcf_execute(ptr noundef %179, ptr noundef %182)
  br label %184

184:                                              ; preds = %166
  %185 = load i32, ptr %13, align 4, !tbaa !5
  %186 = add i32 %185, 1
  store i32 %186, ptr %13, align 4, !tbaa !5
  br label %162, !llvm.loop !18

187:                                              ; preds = %162
  %188 = load ptr, ptr %22, align 8, !tbaa !9
  %189 = call i32 @firfilt_crcf_destroy(ptr noundef %188)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 1024, ptr %24, align 4, !tbaa !5
  %190 = load i32, ptr %24, align 4, !tbaa !5
  %191 = zext i32 %190 to i64
  %192 = alloca float, i64 %191, align 16
  store i64 %191, ptr %25, align 8
  %193 = load i32, ptr %24, align 4, !tbaa !5
  %194 = load i32, ptr %14, align 4, !tbaa !5
  %195 = call i32 @spgramcf_estimate_psd(i32 noundef %193, ptr noundef %68, i32 noundef %194, ptr noundef %192)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %196 = call noalias ptr @fopen(ptr noundef @.str.9, ptr noundef @.str.10)
  store ptr %196, ptr %26, align 8, !tbaa !9
  %197 = load ptr, ptr %26, align 8, !tbaa !9
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.11, ptr noundef @.str.9) #8
  %199 = load ptr, ptr %26, align 8, !tbaa !9
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef @.str.12) #8
  %201 = load ptr, ptr %26, align 8, !tbaa !9
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.13) #8
  %203 = load ptr, ptr %26, align 8, !tbaa !9
  %204 = load i32, ptr %6, align 4, !tbaa !5
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef @.str.14, i32 noundef %204) #8
  %206 = load ptr, ptr %26, align 8, !tbaa !9
  %207 = load i32, ptr %7, align 4, !tbaa !5
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %206, ptr noundef @.str.15, i32 noundef %207) #8
  %209 = load ptr, ptr %26, align 8, !tbaa !9
  %210 = load float, ptr %8, align 4, !tbaa !11
  %211 = fpext float %210 to double
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str.16, double noundef %211) #8
  %213 = load ptr, ptr %26, align 8, !tbaa !9
  %214 = load i32, ptr %9, align 4, !tbaa !5
  %215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %213, ptr noundef @.str.17, i32 noundef %214) #8
  %216 = load ptr, ptr %26, align 8, !tbaa !9
  %217 = load i32, ptr %14, align 4, !tbaa !5
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %216, ptr noundef @.str.18, i32 noundef %217) #8
  %219 = load ptr, ptr %26, align 8, !tbaa !9
  %220 = load i32, ptr %24, align 4, !tbaa !5
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef @.str.19, i32 noundef %220) #8
  %222 = load ptr, ptr %26, align 8, !tbaa !9
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %222, ptr noundef @.str.20) #8
  %224 = load ptr, ptr %26, align 8, !tbaa !9
  %225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef @.str.21) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %226

226:                                              ; preds = %291, %187
  %227 = load i32, ptr %13, align 4, !tbaa !5
  %228 = load i32, ptr %14, align 4, !tbaa !5
  %229 = icmp ult i32 %227, %228
  br i1 %229, label %230, label %294

230:                                              ; preds = %226
  %231 = load ptr, ptr %26, align 8, !tbaa !9
  %232 = load i32, ptr %13, align 4, !tbaa !5
  %233 = add i32 %232, 1
  %234 = load i32, ptr %13, align 4, !tbaa !5
  %235 = zext i32 %234 to i64
  %236 = getelementptr inbounds { float, float }, ptr %68, i64 %235
  %237 = getelementptr inbounds { float, float }, ptr %236, i32 0, i32 0
  %238 = load float, ptr %237, align 8
  %239 = getelementptr inbounds { float, float }, ptr %236, i32 0, i32 1
  %240 = load float, ptr %239, align 4
  %241 = fpext float %238 to double
  %242 = load i32, ptr %13, align 4, !tbaa !5
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds { float, float }, ptr %68, i64 %243
  %245 = getelementptr inbounds { float, float }, ptr %244, i32 0, i32 0
  %246 = load float, ptr %245, align 8
  %247 = getelementptr inbounds { float, float }, ptr %244, i32 0, i32 1
  %248 = load float, ptr %247, align 4
  %249 = fpext float %248 to double
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef @.str.22, i32 noundef %233, double noundef %241, double noundef %249) #8
  %251 = load ptr, ptr %26, align 8, !tbaa !9
  %252 = load i32, ptr %13, align 4, !tbaa !5
  %253 = add i32 %252, 1
  %254 = load i32, ptr %13, align 4, !tbaa !5
  %255 = zext i32 %254 to i64
  %256 = getelementptr inbounds { float, float }, ptr %71, i64 %255
  %257 = getelementptr inbounds { float, float }, ptr %256, i32 0, i32 0
  %258 = load float, ptr %257, align 8
  %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 i32, ptr %13, align 4, !tbaa !5
  %263 = zext i32 %262 to i64
  %264 = getelementptr inbounds { float, float }, ptr %71, i64 %263
  %265 = getelementptr inbounds { float, float }, ptr %264, i32 0, i32 0
  %266 = load float, ptr %265, align 8
  %267 = getelementptr inbounds { float, float }, ptr %264, i32 0, i32 1
  %268 = load float, ptr %267, align 4
  %269 = fpext float %268 to double
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.23, i32 noundef %253, double noundef %261, double noundef %269) #8
  %271 = load ptr, ptr %26, align 8, !tbaa !9
  %272 = load i32, ptr %13, align 4, !tbaa !5
  %273 = add i32 %272, 1
  %274 = load i32, ptr %13, align 4, !tbaa !5
  %275 = zext i32 %274 to i64
  %276 = getelementptr inbounds { float, float }, ptr %74, i64 %275
  %277 = getelementptr inbounds { float, float }, ptr %276, i32 0, i32 0
  %278 = load float, ptr %277, align 8
  %279 = getelementptr inbounds { float, float }, ptr %276, i32 0, i32 1
  %280 = load float, ptr %279, align 4
  %281 = fpext float %278 to double
  %282 = load i32, ptr %13, align 4, !tbaa !5
  %283 = zext i32 %282 to i64
  %284 = getelementptr inbounds { float, float }, ptr %74, i64 %283
  %285 = getelementptr inbounds { float, float }, ptr %284, i32 0, i32 0
  %286 = load float, ptr %285, align 8
  %287 = getelementptr inbounds { float, float }, ptr %284, i32 0, i32 1
  %288 = load float, ptr %287, align 4
  %289 = fpext float %288 to double
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str.24, i32 noundef %273, double noundef %281, double noundef %289) #8
  br label %291

291:                                              ; preds = %230
  %292 = load i32, ptr %13, align 4, !tbaa !5
  %293 = add i32 %292, 1
  store i32 %293, ptr %13, align 4, !tbaa !5
  br label %226, !llvm.loop !19

294:                                              ; preds = %226
  %295 = load ptr, ptr %26, align 8, !tbaa !9
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str.25) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %297

297:                                              ; preds = %311, %294
  %298 = load i32, ptr %13, align 4, !tbaa !5
  %299 = load i32, ptr %24, align 4, !tbaa !5
  %300 = icmp ult i32 %298, %299
  br i1 %300, label %301, label %314

301:                                              ; preds = %297
  %302 = load ptr, ptr %26, align 8, !tbaa !9
  %303 = load i32, ptr %13, align 4, !tbaa !5
  %304 = add i32 %303, 1
  %305 = load i32, ptr %13, align 4, !tbaa !5
  %306 = zext i32 %305 to i64
  %307 = getelementptr inbounds float, ptr %192, i64 %306
  %308 = load float, ptr %307, align 4, !tbaa !11
  %309 = fpext float %308 to double
  %310 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %302, ptr noundef @.str.26, i32 noundef %304, double noundef %309) #8
  br label %311

311:                                              ; preds = %301
  %312 = load i32, ptr %13, align 4, !tbaa !5
  %313 = add i32 %312, 1
  store i32 %313, ptr %13, align 4, !tbaa !5
  br label %297, !llvm.loop !20

314:                                              ; preds = %297
  %315 = load ptr, ptr %26, align 8, !tbaa !9
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.27) #8
  %317 = load ptr, ptr %26, align 8, !tbaa !9
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.28) #8
  %319 = load ptr, ptr %26, align 8, !tbaa !9
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %319, ptr noundef @.str.29) #8
  %321 = load ptr, ptr %26, align 8, !tbaa !9
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.30) #8
  %323 = load ptr, ptr %26, align 8, !tbaa !9
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %323, ptr noundef @.str.31) #8
  %325 = load ptr, ptr %26, align 8, !tbaa !9
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.32) #8
  %327 = load ptr, ptr %26, align 8, !tbaa !9
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef @.str.33) #8
  %329 = load ptr, ptr %26, align 8, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.34) #8
  %331 = load ptr, ptr %26, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str.35) #8
  %333 = load ptr, ptr %26, align 8, !tbaa !9
  %334 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %333, ptr noundef @.str.36) #8
  %335 = load ptr, ptr %26, align 8, !tbaa !9
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.37) #8
  %337 = load ptr, ptr %26, align 8, !tbaa !9
  %338 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.38) #8
  %339 = load ptr, ptr %26, align 8, !tbaa !9
  %340 = call i32 @fclose(ptr noundef %339)
  %341 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef @.str.9)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  %342 = load ptr, ptr %16, align 8
  call void @llvm.stackrestore.p0(ptr %342)
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %343

343:                                              ; preds = %314, %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %344 = load i32, ptr %3, align 4
  ret i32 %344
}

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

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

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

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

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

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

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

declare ptr @gmskmod_create(i32 noundef, i32 noundef, float noundef) #1

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

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

declare i32 @gmskmod_destroy(ptr noundef) #1

declare float @randnf(...) #1

declare ptr @firfilt_crcf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) #1

declare i32 @firfilt_crcf_set_scale(ptr noundef, float noundef) #1

declare i32 @firfilt_crcf_push(ptr noundef, <2 x float> noundef) #1

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

declare i32 @firfilt_crcf_destroy(ptr noundef) #1

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

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

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

declare i32 @fclose(ptr noundef) #1

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

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

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

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

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


; 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.8 = external hidden unnamed_addr constant [12 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

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

.outer:                                           ; preds = %19, %2
  %.0107.ph = phi float [ %22, %19 ], [ 4.000000e+01, %2 ]
  %.0105.ph = phi i32 [ %.0105.ph200, %19 ], [ 80, %2 ]
  %.0103.ph = phi float [ %.0103.ph205, %19 ], [ 2.500000e-01, %2 ]
  %.0101.ph = phi i32 [ %.0101.ph209, %19 ], [ 3, %2 ]
  %.0100.ph = phi i32 [ %.0100, %19 ], [ 8, %2 ]
  br label %.outer199

.outer199:                                        ; preds = %.outer, %16
  %.0105.ph200 = phi i32 [ %.0105.ph, %.outer ], [ %18, %16 ]
  %.0103.ph201 = phi float [ %.0103.ph, %.outer ], [ %.0103.ph205, %16 ]
  %.0101.ph202 = phi i32 [ %.0101.ph, %.outer ], [ %.0101.ph209, %16 ]
  %.0100.ph203 = phi i32 [ %.0100.ph, %.outer ], [ %.0100, %16 ]
  br label %.outer204

.outer204:                                        ; preds = %.outer199, %12
  %.0103.ph205 = phi float [ %.0103.ph201, %.outer199 ], [ %15, %12 ]
  %.0101.ph206 = phi i32 [ %.0101.ph202, %.outer199 ], [ %.0101.ph209, %12 ]
  %.0100.ph207 = phi i32 [ %.0100.ph203, %.outer199 ], [ %.0100, %12 ]
  br label %.outer208

.outer208:                                        ; preds = %.outer204, %9
  %.0101.ph209 = phi i32 [ %.0101.ph206, %.outer204 ], [ %11, %9 ]
  %.0100.ph210 = phi i32 [ %.0100.ph207, %.outer204 ], [ %.0100, %9 ]
  br label %3

3:                                                ; preds = %.outer208, %6
  %.0100 = phi i32 [ %8, %6 ], [ %.0100.ph210, %.outer208 ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.8) #9
  switch i32 %4, label %23 [
    i32 -1, label %24
    i32 104, label %5
    i32 107, label %6
    i32 109, label %9
    i32 98, label %12
    i32 110, label %16
    i32 115, label %19
  ]

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

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

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

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

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

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

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

24:                                               ; preds = %3
  %25 = mul i32 %.0100, %.0105.ph200
  %26 = fdiv float %.0107.ph, -2.000000e+01
  %27 = tail call float @powf(float noundef 1.000000e+01, float noundef %26) #9
  %28 = zext i32 %.0105.ph200 to i64
  %29 = tail call ptr @llvm.stacksave.p0()
  %30 = alloca i32, i64 %28, align 16
  %31 = zext i32 %25 to i64
  %32 = alloca { float, float }, i64 %31, align 16
  %33 = alloca { float, float }, i64 %31, align 16
  %34 = alloca { float, float }, i64 %31, align 16
  %35 = tail call ptr @gmskmod_create(i32 noundef %.0100, i32 noundef %.0101.ph209, float noundef %.0103.ph205) #9
  %.not = icmp eq i32 %.0105.ph200, 0
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph
  br i1 %.not, label %._crit_edge.thread, label %.lr.ph124

.lr.ph:                                           ; preds = %24, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %24 ]
  %36 = tail call i32 @rand() #9
  %37 = srem i32 %36, 2
  %38 = getelementptr inbounds i32, ptr %30, i64 %indvars.iv
  store i32 %37, ptr %38, align 4, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %28
  br i1 %exitcond.not, label %.preheader, label %.lr.ph, !llvm.loop !13

.lr.ph124:                                        ; preds = %.preheader, %.lr.ph124
  %indvars.iv153 = phi i64 [ %indvars.iv.next154, %.lr.ph124 ], [ 0, %.preheader ]
  %39 = getelementptr inbounds i32, ptr %30, i64 %indvars.iv153
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = trunc nuw i64 %indvars.iv153 to i32
  %42 = mul i32 %.0100, %41
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds { float, float }, ptr %32, i64 %43
  %45 = call i32 @gmskmod_modulate(ptr noundef %35, i32 noundef %40, ptr noundef nonnull %44) #9
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %exitcond157.not = icmp eq i64 %indvars.iv.next154, %28
  br i1 %exitcond157.not, label %._crit_edge, label %.lr.ph124, !llvm.loop !14

._crit_edge.thread:                               ; preds = %.preheader, %24
  %46 = tail call i32 @gmskmod_destroy(ptr noundef %35) #9
  br label %._crit_edge128

._crit_edge:                                      ; preds = %.lr.ph124
  %47 = call i32 @gmskmod_destroy(ptr noundef %35) #9
  %.not139 = icmp eq i32 %25, 0
  br i1 %.not139, label %._crit_edge128, label %.lr.ph127.preheader

.lr.ph127.preheader:                              ; preds = %._crit_edge
  %48 = insertelement <2 x float> poison, float %27, i64 0
  %49 = shufflevector <2 x float> %48, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph127

.lr.ph127:                                        ; preds = %.lr.ph127.preheader, %.lr.ph127
  %indvars.iv158 = phi i64 [ %indvars.iv.next159, %.lr.ph127 ], [ 0, %.lr.ph127.preheader ]
  %50 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv158
  %51 = getelementptr inbounds { float, float }, ptr %33, i64 %indvars.iv158
  %52 = load <2 x float>, ptr %50, align 8
  %53 = fpext <2 x float> %52 to <2 x double>
  %54 = call float (...) @randnf() #9
  %55 = call float (...) @randnf() #9
  %56 = fmul float %55, 0.000000e+00
  %57 = fadd float %54, %56
  %58 = insertelement <2 x float> poison, float %57, i64 0
  %59 = insertelement <2 x float> %58, float %55, i64 1
  %60 = fmul <2 x float> %49, %59
  %61 = fpext <2 x float> %60 to <2 x double>
  %62 = fmul <2 x double> %61, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %63 = fadd <2 x double> %62, %53
  %64 = fptrunc <2 x double> %63 to <2 x float>
  store <2 x float> %64, ptr %51, align 8
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %exitcond162.not = icmp eq i64 %indvars.iv.next159, %31
  br i1 %exitcond162.not, label %._crit_edge128, label %.lr.ph127, !llvm.loop !15

._crit_edge128:                                   ; preds = %.lr.ph127, %._crit_edge.thread, %._crit_edge
  %.not139178 = phi i1 [ true, %._crit_edge.thread ], [ true, %._crit_edge ], [ %.not139, %.lr.ph127 ]
  %65 = call ptr @firfilt_crcf_create_rnyquist(i32 noundef 12, i32 noundef %.0100, i32 noundef %.0101.ph209, float noundef 0x3FE99999A0000000, float noundef 0.000000e+00) #9
  %66 = uitofp i32 %.0100 to float
  %67 = fdiv float 1.500000e+00, %66
  %68 = call i32 @firfilt_crcf_set_scale(ptr noundef %65, float noundef %67) #9
  br i1 %.not139178, label %._crit_edge132, label %.lr.ph131

.lr.ph131:                                        ; preds = %._crit_edge128, %.lr.ph131
  %indvars.iv163 = phi i64 [ %indvars.iv.next164, %.lr.ph131 ], [ 0, %._crit_edge128 ]
  %69 = getelementptr inbounds { float, float }, ptr %33, i64 %indvars.iv163
  %70 = load <2 x float>, ptr %69, align 8
  %71 = call i32 @firfilt_crcf_push(ptr noundef %65, <2 x float> noundef %70) #9
  %72 = getelementptr inbounds { float, float }, ptr %34, i64 %indvars.iv163
  %73 = call i32 @firfilt_crcf_execute(ptr noundef %65, ptr noundef nonnull %72) #9
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %exitcond167.not = icmp eq i64 %indvars.iv.next164, %31
  br i1 %exitcond167.not, label %._crit_edge132, label %.lr.ph131, !llvm.loop !16

._crit_edge132:                                   ; preds = %.lr.ph131, %._crit_edge128
  %74 = call i32 @firfilt_crcf_destroy(ptr noundef %65) #9
  %75 = alloca [1024 x float], align 16
  %76 = call i32 @spgramcf_estimate_psd(i32 noundef 1024, ptr noundef nonnull %32, i32 noundef %25, ptr noundef nonnull %75) #9
  %77 = call noalias ptr @fopen(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10)
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.9) #9
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.12) #9
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.13) #9
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.14, i32 noundef %.0100) #9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.15, i32 noundef %.0101.ph209) #9
  %83 = fpext float %.0103.ph205 to double
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.16, double noundef %83) #9
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.17, i32 noundef %.0105.ph200) #9
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.18, i32 noundef %25) #9
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.19, i32 noundef 1024) #9
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.20) #9
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.21) #9
  br i1 %.not139178, label %._crit_edge136, label %.lr.ph135

.lr.ph135:                                        ; preds = %._crit_edge132, %.lr.ph135
  %indvars.iv168 = phi i64 [ %indvars.iv.next169, %.lr.ph135 ], [ 0, %._crit_edge132 ]
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %90 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv168
  %91 = load float, ptr %90, align 8
  %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.iv.next169 to i32
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.22, i32 noundef %96, double noundef %93, double noundef %95) #9
  %98 = getelementptr inbounds { float, float }, ptr %33, i64 %indvars.iv168
  %99 = load float, ptr %98, align 8
  %100 = getelementptr inbounds i8, ptr %98, i64 4
  %101 = fpext float %99 to double
  %102 = load float, ptr %100, align 4
  %103 = fpext float %102 to double
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.23, i32 noundef %96, double noundef %101, double noundef %103) #9
  %105 = getelementptr inbounds { float, float }, ptr %34, i64 %indvars.iv168
  %106 = load float, ptr %105, align 8
  %107 = getelementptr inbounds i8, ptr %105, i64 4
  %108 = fpext float %106 to double
  %109 = load float, ptr %107, align 4
  %110 = fpext float %109 to double
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.24, i32 noundef %96, double noundef %108, double noundef %110) #9
  %exitcond172.not = icmp eq i64 %indvars.iv.next169, %31
  br i1 %exitcond172.not, label %._crit_edge136, label %.lr.ph135, !llvm.loop !17

._crit_edge136:                                   ; preds = %.lr.ph135, %._crit_edge132
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.25) #9
  br label %113

113:                                              ; preds = %._crit_edge136, %113
  %indvars.iv173 = phi i64 [ 0, %._crit_edge136 ], [ %indvars.iv.next174, %113 ]
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %114 = getelementptr inbounds float, ptr %75, i64 %indvars.iv173
  %115 = load float, ptr %114, align 4, !tbaa !18
  %116 = fpext float %115 to double
  %117 = trunc nuw nsw i64 %indvars.iv.next174 to i32
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.26, i32 noundef %117, double noundef %116) #9
  %exitcond176.not = icmp eq i64 %indvars.iv.next174, 1024
  br i1 %exitcond176.not, label %119, label %113, !llvm.loop !20

119:                                              ; preds = %113
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.27) #9
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.28) #9
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.29) #9
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.30) #9
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.31) #9
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.32) #9
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.33) #9
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.34) #9
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.35) #9
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.36) #9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.37) #9
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef nonnull @.str.38) #9
  %132 = call i32 @fclose(ptr noundef %77)
  %133 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull @.str.9)
  call void @llvm.stackrestore.p0(ptr %29)
  br label %134

134:                                              ; preds = %119, %5
  ret i32 0
}

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

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

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

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

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

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

declare ptr @gmskmod_create(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #8

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

declare i32 @gmskmod_modulate(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #8

declare i32 @gmskmod_destroy(ptr noundef) local_unnamed_addr #8

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

declare ptr @firfilt_crcf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #8

declare i32 @firfilt_crcf_set_scale(ptr noundef, float noundef) local_unnamed_addr #8

declare i32 @firfilt_crcf_push(ptr noundef, <2 x float> noundef) local_unnamed_addr #8

declare i32 @firfilt_crcf_execute(ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @firfilt_crcf_destroy(ptr noundef) local_unnamed_addr #8

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

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

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

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

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

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

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

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


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