; LLVM IR from jgaeddert/liquid-dsp :: examples (msresamp_crcf_example)

; 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.7 = external hidden unnamed_addr constant [10 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [7 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 float, align 4
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca { float, float }, align 4
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca i32, align 4
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca { float, float }, align 4
  %37 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store float 0x3FCDA9FBE0000000, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store float 6.000000e+01, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 400, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store float 0x3F916872C0000000, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  br label %38

38:                                               ; preds = %62, %2
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  %41 = call i32 @getopt(i32 noundef %39, ptr noundef %40, ptr noundef @.str.7) #9
  store i32 %41, ptr %10, align 4, !tbaa !5
  %42 = icmp ne i32 %41, -1
  br i1 %42, label %43, label %63

43:                                               ; preds = %38
  %44 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %44, label %61 [
    i32 104, label %45
    i32 114, label %46
    i32 115, label %50
    i32 110, label %54
    i32 102, label %57
  ]

45:                                               ; preds = %43
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %486

46:                                               ; preds = %43
  %47 = load ptr, ptr @optarg, align 8, !tbaa !9
  %48 = call double @atof(ptr noundef %47) #10
  %49 = fptrunc double %48 to float
  store float %49, ptr %6, align 4, !tbaa !11
  br label %62

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

54:                                               ; preds = %43
  %55 = load ptr, ptr @optarg, align 8, !tbaa !9
  %56 = call i32 @atoi(ptr noundef %55) #10
  store i32 %56, ptr %8, align 4, !tbaa !5
  br label %62

57:                                               ; preds = %43
  %58 = load ptr, ptr @optarg, align 8, !tbaa !9
  %59 = call double @atof(ptr noundef %58) #10
  %60 = fptrunc double %59 to float
  store float %60, ptr %9, align 4, !tbaa !11
  br label %62

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

62:                                               ; preds = %57, %54, %50, %46
  br label %38, !llvm.loop !13

63:                                               ; preds = %38
  %64 = load i32, ptr %8, align 4, !tbaa !5
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %72

66:                                               ; preds = %63
  %67 = load ptr, ptr @stderr, align 8, !tbaa !9
  %68 = load ptr, ptr %5, align 8, !tbaa !9
  %69 = getelementptr inbounds ptr, ptr %68, i64 0
  %70 = load ptr, ptr %69, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.8, ptr noundef %70) #9
  call void @exit(i32 noundef 1) #11
  unreachable

72:                                               ; preds = %63
  %73 = load float, ptr %6, align 4, !tbaa !11
  %74 = fcmp ole float %73, 0.000000e+00
  br i1 %74, label %75, label %81

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

81:                                               ; preds = %72
  %82 = load float, ptr %6, align 4, !tbaa !11
  %83 = call float @log2f(float noundef %82) #9
  %84 = call float @llvm.fabs.f32(float %83)
  %85 = fcmp ogt float %84, 1.000000e+01
  br i1 %85, label %86, label %92

86:                                               ; preds = %81
  %87 = load ptr, ptr @stderr, align 8, !tbaa !9
  %88 = load ptr, ptr %5, align 8, !tbaa !9
  %89 = getelementptr inbounds ptr, ptr %88, i64 0
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.10, ptr noundef %90) #9
  call void @exit(i32 noundef 1) #11
  unreachable

92:                                               ; preds = %81
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %95 = load float, ptr %6, align 4, !tbaa !11
  %96 = load float, ptr %7, align 4, !tbaa !11
  %97 = call ptr @msresamp_crcf_create(float noundef %95, float noundef %96)
  store ptr %97, ptr %13, align 8, !tbaa !9
  %98 = load ptr, ptr %13, align 8, !tbaa !9
  %99 = call i32 @msresamp_crcf_print(ptr noundef %98)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  %100 = load ptr, ptr %13, align 8, !tbaa !9
  %101 = call float @msresamp_crcf_get_delay(ptr noundef %100)
  store float %101, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %102 = load i32, ptr %8, align 4, !tbaa !5
  %103 = load float, ptr %14, align 4, !tbaa !11
  %104 = call float @llvm.ceil.f32(float %103)
  %105 = fptosi float %104 to i32
  %106 = add i32 %102, %105
  %107 = add i32 %106, 10
  store i32 %107, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %108 = load i32, ptr %15, align 4, !tbaa !5
  %109 = uitofp i32 %108 to float
  %110 = fmul float 2.000000e+00, %109
  %111 = load float, ptr %6, align 4, !tbaa !11
  %112 = fmul float %110, %111
  %113 = fptoui float %112 to i32
  store i32 %113, ptr %16, align 4, !tbaa !5
  %114 = load i32, ptr %15, align 4, !tbaa !5
  %115 = zext i32 %114 to i64
  %116 = call ptr @llvm.stacksave.p0()
  store ptr %116, ptr %17, align 8
  %117 = alloca { float, float }, i64 %115, align 16
  store i64 %115, ptr %18, align 8
  %118 = load i32, ptr %16, align 4, !tbaa !5
  %119 = zext i32 %118 to i64
  %120 = alloca { float, float }, i64 %119, align 16
  store i64 %119, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store float 0.000000e+00, ptr %20, align 4, !tbaa !11
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %165, %94
  %122 = load i32, ptr %12, align 4, !tbaa !5
  %123 = load i32, ptr %15, align 4, !tbaa !5
  %124 = icmp ult i32 %122, %123
  br i1 %124, label %125, label %168

125:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %126 = load i32, ptr %12, align 4, !tbaa !5
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = icmp ult i32 %126, %127
  br i1 %128, label %129, label %133

129:                                              ; preds = %125
  %130 = load i32, ptr %12, align 4, !tbaa !5
  %131 = load i32, ptr %8, align 4, !tbaa !5
  %132 = call float @liquid_kaiser(i32 noundef %130, i32 noundef %131, float noundef 1.000000e+01)
  br label %134

133:                                              ; preds = %125
  br label %134

134:                                              ; preds = %133, %129
  %135 = phi float [ %132, %129 ], [ 0.000000e+00, %133 ]
  store float %135, ptr %21, align 4, !tbaa !11
  %136 = load float, ptr %9, align 4, !tbaa !11
  %137 = fpext float %136 to double
  %138 = fmul double 0.000000e+00, %137
  %139 = fmul double 0x401921FB54442D18, %137
  %140 = load i32, ptr %12, align 4, !tbaa !5
  %141 = uitofp i32 %140 to double
  %142 = fmul double %138, %141
  %143 = fmul double %139, %141
  %144 = fptrunc double %142 to float
  %145 = fptrunc double %143 to float
  %146 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %147 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  store float %144, ptr %146, align 4
  store float %145, ptr %147, align 4
  %148 = load <2 x float>, ptr %22, align 4
  %149 = call <2 x float> @cexpf(<2 x float> noundef %148) #9
  store <2 x float> %149, ptr %23, align 4
  %150 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %151 = load float, ptr %150, align 4
  %152 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %153 = load float, ptr %152, align 4
  %154 = load float, ptr %21, align 4, !tbaa !11
  %155 = fmul float %151, %154
  %156 = fmul float %153, %154
  %157 = load i32, ptr %12, align 4, !tbaa !5
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds { float, float }, ptr %117, i64 %158
  %160 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 0
  %161 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 1
  store float %155, ptr %160, align 8
  store float %156, ptr %161, align 4
  %162 = load float, ptr %21, align 4, !tbaa !11
  %163 = load float, ptr %20, align 4, !tbaa !11
  %164 = fadd float %163, %162
  store float %164, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %165

165:                                              ; preds = %134
  %166 = load i32, ptr %12, align 4, !tbaa !5
  %167 = add i32 %166, 1
  store i32 %167, ptr %12, align 4, !tbaa !5
  br label %121, !llvm.loop !15

168:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %169 = load ptr, ptr %13, align 8, !tbaa !9
  %170 = load i32, ptr %15, align 4, !tbaa !5
  %171 = call i32 @msresamp_crcf_execute(ptr noundef %169, ptr noundef %117, i32 noundef %170, ptr noundef %120, ptr noundef %24)
  %172 = load ptr, ptr %13, align 8, !tbaa !9
  %173 = call i32 @msresamp_crcf_destroy(ptr noundef %172)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %174 = load i32, ptr %24, align 4, !tbaa !5
  %175 = uitofp i32 %174 to float
  %176 = load i32, ptr %15, align 4, !tbaa !5
  %177 = uitofp i32 %176 to float
  %178 = fdiv float %175, %177
  store float %178, ptr %25, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  %179 = load float, ptr %9, align 4, !tbaa !11
  %180 = load float, ptr %6, align 4, !tbaa !11
  %181 = fdiv float %179, %180
  store float %181, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  %182 = load i32, ptr %24, align 4, !tbaa !5
  %183 = call i32 @liquid_nextpow2(i32 noundef %182)
  %184 = shl i32 1, %183
  store i32 %184, ptr %27, align 4, !tbaa !5
  %185 = load i32, ptr %27, align 4, !tbaa !5
  %186 = zext i32 %185 to i64
  %187 = alloca { float, float }, i64 %186, align 16
  store i64 %186, ptr %28, align 8
  %188 = load i32, ptr %27, align 4, !tbaa !5
  %189 = zext i32 %188 to i64
  %190 = alloca { float, float }, i64 %189, align 16
  store i64 %189, ptr %29, align 8
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %191

191:                                              ; preds = %216, %168
  %192 = load i32, ptr %12, align 4, !tbaa !5
  %193 = load i32, ptr %27, align 4, !tbaa !5
  %194 = icmp ult i32 %192, %193
  br i1 %194, label %195, label %219

195:                                              ; preds = %191
  %196 = load i32, ptr %12, align 4, !tbaa !5
  %197 = load i32, ptr %24, align 4, !tbaa !5
  %198 = icmp ult i32 %196, %197
  br i1 %198, label %199, label %207

199:                                              ; preds = %195
  %200 = load i32, ptr %12, align 4, !tbaa !5
  %201 = zext i32 %200 to i64
  %202 = getelementptr inbounds { float, float }, ptr %120, i64 %201
  %203 = getelementptr inbounds { float, float }, ptr %202, i32 0, i32 0
  %204 = load float, ptr %203, align 8
  %205 = getelementptr inbounds { float, float }, ptr %202, i32 0, i32 1
  %206 = load float, ptr %205, align 4
  br label %208

207:                                              ; preds = %195
  br label %208

208:                                              ; preds = %207, %199
  %209 = phi float [ %204, %199 ], [ 0.000000e+00, %207 ]
  %210 = phi float [ %206, %199 ], [ 0.000000e+00, %207 ]
  %211 = load i32, ptr %12, align 4, !tbaa !5
  %212 = zext i32 %211 to i64
  %213 = getelementptr inbounds { float, float }, ptr %187, i64 %212
  %214 = getelementptr inbounds { float, float }, ptr %213, i32 0, i32 0
  %215 = getelementptr inbounds { float, float }, ptr %213, i32 0, i32 1
  store float %209, ptr %214, align 8
  store float %210, ptr %215, align 4
  br label %216

216:                                              ; preds = %208
  %217 = load i32, ptr %12, align 4, !tbaa !5
  %218 = add i32 %217, 1
  store i32 %218, ptr %12, align 4, !tbaa !5
  br label %191, !llvm.loop !16

219:                                              ; preds = %191
  %220 = load i32, ptr %27, align 4, !tbaa !5
  %221 = call i32 @fft_run(i32 noundef %220, ptr noundef %187, ptr noundef %190, i32 noundef 1, i32 noundef 0)
  %222 = load i32, ptr %27, align 4, !tbaa !5
  %223 = call i32 @fft_shift(ptr noundef %190, i32 noundef %222)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  store float 0.000000e+00, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  store float 0.000000e+00, ptr %31, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  store float -1.000000e+09, ptr %32, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  store float 0x3FB1EB8520000000, ptr %33, align 4, !tbaa !11
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %224

224:                                              ; preds = %280, %219
  %225 = load i32, ptr %12, align 4, !tbaa !5
  %226 = load i32, ptr %27, align 4, !tbaa !5
  %227 = icmp ult i32 %225, %226
  br i1 %227, label %228, label %283

228:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %229 = load i32, ptr %12, align 4, !tbaa !5
  %230 = uitofp i32 %229 to float
  %231 = load i32, ptr %27, align 4, !tbaa !5
  %232 = uitofp i32 %231 to float
  %233 = fdiv float %230, %232
  %234 = fsub float %233, 5.000000e-01
  store float %234, ptr %34, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  %235 = load i32, ptr %12, align 4, !tbaa !5
  %236 = zext i32 %235 to i64
  %237 = getelementptr inbounds { float, float }, ptr %190, i64 %236
  %238 = getelementptr inbounds { float, float }, ptr %237, i32 0, i32 0
  %239 = load float, ptr %238, align 8
  %240 = getelementptr inbounds { float, float }, ptr %237, i32 0, i32 1
  %241 = load float, ptr %240, align 4
  %242 = load float, ptr %6, align 4, !tbaa !11
  %243 = load float, ptr %20, align 4, !tbaa !11
  %244 = fmul float %242, %243
  %245 = fdiv float %239, %244
  %246 = fdiv float %241, %244
  %247 = getelementptr inbounds { float, float }, ptr %36, i32 0, i32 0
  %248 = getelementptr inbounds { float, float }, ptr %36, i32 0, i32 1
  store float %245, ptr %247, align 4
  store float %246, ptr %248, align 4
  %249 = load <2 x float>, ptr %36, align 4
  %250 = call float @cabsf(<2 x float> noundef %249) #9
  %251 = call float @log10f(float noundef %250) #9
  %252 = fmul float 2.000000e+01, %251
  store float %252, ptr %35, align 4, !tbaa !11
  %253 = load float, ptr %35, align 4, !tbaa !11
  %254 = load float, ptr %30, align 4, !tbaa !11
  %255 = fcmp ogt float %253, %254
  br i1 %255, label %259, label %256

256:                                              ; preds = %228
  %257 = load i32, ptr %12, align 4, !tbaa !5
  %258 = icmp eq i32 %257, 0
  br i1 %258, label %259, label %262

259:                                              ; preds = %256, %228
  %260 = load float, ptr %35, align 4, !tbaa !11
  store float %260, ptr %30, align 4, !tbaa !11
  %261 = load float, ptr %34, align 4, !tbaa !11
  store float %261, ptr %31, align 4, !tbaa !11
  br label %262

262:                                              ; preds = %259, %256
  %263 = load float, ptr %34, align 4, !tbaa !11
  %264 = load float, ptr %26, align 4, !tbaa !11
  %265 = fsub float %263, %264
  %266 = call float @llvm.fabs.f32(float %265)
  %267 = load float, ptr %33, align 4, !tbaa !11
  %268 = fcmp ogt float %266, %267
  br i1 %268, label %269, label %279

269:                                              ; preds = %262
  %270 = load float, ptr %35, align 4, !tbaa !11
  %271 = load float, ptr %32, align 4, !tbaa !11
  %272 = fcmp ogt float %270, %271
  br i1 %272, label %273, label %275

273:                                              ; preds = %269
  %274 = load float, ptr %35, align 4, !tbaa !11
  br label %277

275:                                              ; preds = %269
  %276 = load float, ptr %32, align 4, !tbaa !11
  br label %277

277:                                              ; preds = %275, %273
  %278 = phi float [ %274, %273 ], [ %276, %275 ]
  store float %278, ptr %32, align 4, !tbaa !11
  br label %279

279:                                              ; preds = %277, %262
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %280

280:                                              ; preds = %279
  %281 = load i32, ptr %12, align 4, !tbaa !5
  %282 = add i32 %281, 1
  store i32 %282, ptr %12, align 4, !tbaa !5
  br label %224, !llvm.loop !17

283:                                              ; preds = %224
  %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %285 = load float, ptr %14, align 4, !tbaa !11
  %286 = fpext float %285 to double
  %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %286)
  %288 = load float, ptr %6, align 4, !tbaa !11
  %289 = fpext float %288 to double
  %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %289)
  %291 = load float, ptr %25, align 4, !tbaa !11
  %292 = fpext float %291 to double
  %293 = load i32, ptr %24, align 4, !tbaa !5
  %294 = load i32, ptr %15, align 4, !tbaa !5
  %295 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %292, i32 noundef %293, i32 noundef %294)
  %296 = load float, ptr %30, align 4, !tbaa !11
  %297 = fpext float %296 to double
  %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %297)
  %299 = load float, ptr %31, align 4, !tbaa !11
  %300 = fpext float %299 to double
  %301 = load float, ptr %26, align 4, !tbaa !11
  %302 = fpext float %301 to double
  %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %300, double noundef %302)
  %304 = load float, ptr %32, align 4, !tbaa !11
  %305 = fpext float %304 to double
  %306 = load float, ptr %7, align 4, !tbaa !11
  %307 = fneg float %306
  %308 = fpext float %307 to double
  %309 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, double noundef %305, double noundef %308)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %310 = call noalias ptr @fopen(ptr noundef @.str.18, ptr noundef @.str.19)
  store ptr %310, ptr %37, align 8, !tbaa !9
  %311 = load ptr, ptr %37, align 8, !tbaa !9
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %311, ptr noundef @.str.20, ptr noundef @.str.18) #9
  %313 = load ptr, ptr %37, align 8, !tbaa !9
  %314 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef @.str.21) #9
  %315 = load ptr, ptr %37, align 8, !tbaa !9
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.22) #9
  %317 = load ptr, ptr %37, align 8, !tbaa !9
  %318 = load float, ptr %14, align 4, !tbaa !11
  %319 = fpext float %318 to double
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.23, double noundef %319) #9
  %321 = load ptr, ptr %37, align 8, !tbaa !9
  %322 = load float, ptr %6, align 4, !tbaa !11
  %323 = fpext float %322 to double
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.24, double noundef %323) #9
  %325 = load ptr, ptr %37, align 8, !tbaa !9
  %326 = load i32, ptr %15, align 4, !tbaa !5
  %327 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.25, i32 noundef %326) #9
  %328 = load ptr, ptr %37, align 8, !tbaa !9
  %329 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %328, ptr noundef @.str.26) #9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %330

330:                                              ; preds = %355, %283
  %331 = load i32, ptr %12, align 4, !tbaa !5
  %332 = load i32, ptr %15, align 4, !tbaa !5
  %333 = icmp ult i32 %331, %332
  br i1 %333, label %334, label %358

334:                                              ; preds = %330
  %335 = load ptr, ptr %37, align 8, !tbaa !9
  %336 = load i32, ptr %12, align 4, !tbaa !5
  %337 = add i32 %336, 1
  %338 = load i32, ptr %12, align 4, !tbaa !5
  %339 = zext i32 %338 to i64
  %340 = getelementptr inbounds { float, float }, ptr %117, i64 %339
  %341 = getelementptr inbounds { float, float }, ptr %340, i32 0, i32 0
  %342 = load float, ptr %341, align 8
  %343 = getelementptr inbounds { float, float }, ptr %340, i32 0, i32 1
  %344 = load float, ptr %343, align 4
  %345 = fpext float %342 to double
  %346 = load i32, ptr %12, align 4, !tbaa !5
  %347 = zext i32 %346 to i64
  %348 = getelementptr inbounds { float, float }, ptr %117, i64 %347
  %349 = getelementptr inbounds { float, float }, ptr %348, i32 0, i32 0
  %350 = load float, ptr %349, align 8
  %351 = getelementptr inbounds { float, float }, ptr %348, i32 0, i32 1
  %352 = load float, ptr %351, align 4
  %353 = fpext float %352 to double
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.27, i32 noundef %337, double noundef %345, double noundef %353) #9
  br label %355

355:                                              ; preds = %334
  %356 = load i32, ptr %12, align 4, !tbaa !5
  %357 = add i32 %356, 1
  store i32 %357, ptr %12, align 4, !tbaa !5
  br label %330, !llvm.loop !18

358:                                              ; preds = %330
  %359 = load ptr, ptr %37, align 8, !tbaa !9
  %360 = load i32, ptr %24, align 4, !tbaa !5
  %361 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %359, ptr noundef @.str.28, i32 noundef %360) #9
  %362 = load ptr, ptr %37, align 8, !tbaa !9
  %363 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %362, ptr noundef @.str.29) #9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %364

364:                                              ; preds = %389, %358
  %365 = load i32, ptr %12, align 4, !tbaa !5
  %366 = load i32, ptr %24, align 4, !tbaa !5
  %367 = icmp ult i32 %365, %366
  br i1 %367, label %368, label %392

368:                                              ; preds = %364
  %369 = load ptr, ptr %37, align 8, !tbaa !9
  %370 = load i32, ptr %12, align 4, !tbaa !5
  %371 = add i32 %370, 1
  %372 = load i32, ptr %12, align 4, !tbaa !5
  %373 = zext i32 %372 to i64
  %374 = getelementptr inbounds { float, float }, ptr %120, i64 %373
  %375 = getelementptr inbounds { float, float }, ptr %374, i32 0, i32 0
  %376 = load float, ptr %375, align 8
  %377 = getelementptr inbounds { float, float }, ptr %374, i32 0, i32 1
  %378 = load float, ptr %377, align 4
  %379 = fpext float %376 to double
  %380 = load i32, ptr %12, align 4, !tbaa !5
  %381 = zext i32 %380 to i64
  %382 = getelementptr inbounds { float, float }, ptr %120, i64 %381
  %383 = getelementptr inbounds { float, float }, ptr %382, i32 0, i32 0
  %384 = load float, ptr %383, align 8
  %385 = getelementptr inbounds { float, float }, ptr %382, i32 0, i32 1
  %386 = load float, ptr %385, align 4
  %387 = fpext float %386 to double
  %388 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %369, ptr noundef @.str.30, i32 noundef %371, double noundef %379, double noundef %387) #9
  br label %389

389:                                              ; preds = %368
  %390 = load i32, ptr %12, align 4, !tbaa !5
  %391 = add i32 %390, 1
  store i32 %391, ptr %12, align 4, !tbaa !5
  br label %364, !llvm.loop !19

392:                                              ; preds = %364
  %393 = load ptr, ptr %37, align 8, !tbaa !9
  %394 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %393, ptr noundef @.str.31) #9
  %395 = load ptr, ptr %37, align 8, !tbaa !9
  %396 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %395, ptr noundef @.str.32) #9
  %397 = load ptr, ptr %37, align 8, !tbaa !9
  %398 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %397, ptr noundef @.str.33) #9
  %399 = load ptr, ptr %37, align 8, !tbaa !9
  %400 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %399, ptr noundef @.str.34) #9
  %401 = load ptr, ptr %37, align 8, !tbaa !9
  %402 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %401, ptr noundef @.str.35) #9
  %403 = load ptr, ptr %37, align 8, !tbaa !9
  %404 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %403, ptr noundef @.str.36) #9
  %405 = load ptr, ptr %37, align 8, !tbaa !9
  %406 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %405, ptr noundef @.str.37) #9
  %407 = load ptr, ptr %37, align 8, !tbaa !9
  %408 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %407, ptr noundef @.str.38) #9
  %409 = load ptr, ptr %37, align 8, !tbaa !9
  %410 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %409, ptr noundef @.str.39) #9
  %411 = load ptr, ptr %37, align 8, !tbaa !9
  %412 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %411, ptr noundef @.str.40) #9
  %413 = load ptr, ptr %37, align 8, !tbaa !9
  %414 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %413, ptr noundef @.str.41) #9
  %415 = load ptr, ptr %37, align 8, !tbaa !9
  %416 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %415, ptr noundef @.str.42) #9
  %417 = load ptr, ptr %37, align 8, !tbaa !9
  %418 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %417, ptr noundef @.str.43) #9
  %419 = load ptr, ptr %37, align 8, !tbaa !9
  %420 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %419, ptr noundef @.str.44) #9
  %421 = load ptr, ptr %37, align 8, !tbaa !9
  %422 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %421, ptr noundef @.str.45) #9
  %423 = load ptr, ptr %37, align 8, !tbaa !9
  %424 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %423, ptr noundef @.str.46) #9
  %425 = load ptr, ptr %37, align 8, !tbaa !9
  %426 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %425, ptr noundef @.str.47) #9
  %427 = load ptr, ptr %37, align 8, !tbaa !9
  %428 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %427, ptr noundef @.str.48) #9
  %429 = load ptr, ptr %37, align 8, !tbaa !9
  %430 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %429, ptr noundef @.str.41) #9
  %431 = load ptr, ptr %37, align 8, !tbaa !9
  %432 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %431, ptr noundef @.str.42) #9
  %433 = load ptr, ptr %37, align 8, !tbaa !9
  %434 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %433, ptr noundef @.str.43) #9
  %435 = load ptr, ptr %37, align 8, !tbaa !9
  %436 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %435, ptr noundef @.str.44) #9
  %437 = load ptr, ptr %37, align 8, !tbaa !9
  %438 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %437, ptr noundef @.str.49) #9
  %439 = load ptr, ptr %37, align 8, !tbaa !9
  %440 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %439, ptr noundef @.str.50) #9
  %441 = load ptr, ptr %37, align 8, !tbaa !9
  %442 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %441, ptr noundef @.str.51) #9
  %443 = load ptr, ptr %37, align 8, !tbaa !9
  %444 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %443, ptr noundef @.str.52) #9
  %445 = load ptr, ptr %37, align 8, !tbaa !9
  %446 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %445, ptr noundef @.str.53) #9
  %447 = load ptr, ptr %37, align 8, !tbaa !9
  %448 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %447, ptr noundef @.str.54) #9
  %449 = load ptr, ptr %37, align 8, !tbaa !9
  %450 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %449, ptr noundef @.str.55) #9
  %451 = load ptr, ptr %37, align 8, !tbaa !9
  %452 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %451, ptr noundef @.str.56) #9
  %453 = load ptr, ptr %37, align 8, !tbaa !9
  %454 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %453, ptr noundef @.str.57) #9
  %455 = load ptr, ptr %37, align 8, !tbaa !9
  %456 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %455, ptr noundef @.str.58) #9
  %457 = load ptr, ptr %37, align 8, !tbaa !9
  %458 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %457, ptr noundef @.str.59) #9
  %459 = load ptr, ptr %37, align 8, !tbaa !9
  %460 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %459, ptr noundef @.str.37) #9
  %461 = load ptr, ptr %37, align 8, !tbaa !9
  %462 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %461, ptr noundef @.str.60) #9
  %463 = load ptr, ptr %37, align 8, !tbaa !9
  %464 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %463, ptr noundef @.str.61) #9
  %465 = load ptr, ptr %37, align 8, !tbaa !9
  %466 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %465, ptr noundef @.str.62) #9
  %467 = load ptr, ptr %37, align 8, !tbaa !9
  %468 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef @.str.63) #9
  %469 = load ptr, ptr %37, align 8, !tbaa !9
  %470 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %469, ptr noundef @.str.64) #9
  %471 = load ptr, ptr %37, align 8, !tbaa !9
  %472 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %471, ptr noundef @.str.65) #9
  %473 = load ptr, ptr %37, align 8, !tbaa !9
  %474 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %473, ptr noundef @.str.66) #9
  %475 = load ptr, ptr %37, align 8, !tbaa !9
  %476 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %475, ptr noundef @.str.67) #9
  %477 = load ptr, ptr %37, align 8, !tbaa !9
  %478 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %477, ptr noundef @.str.68) #9
  %479 = load ptr, ptr %37, align 8, !tbaa !9
  %480 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %479, ptr noundef @.str.69) #9
  %481 = load ptr, ptr %37, align 8, !tbaa !9
  %482 = call i32 @fclose(ptr noundef %481)
  %483 = call i32 (ptr, ...) @printf(ptr noundef @.str.70, ptr noundef @.str.18)
  %484 = call i32 (ptr, ...) @printf(ptr noundef @.str.71)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  %485 = load ptr, ptr %17, align 8
  call void @llvm.stackrestore.p0(ptr %485)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %486

486:                                              ; preds = %392, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %487 = load i32, ptr %3, align 4
  ret i32 %487
}

; 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 double @atof(ptr noundef nonnull) #5

; 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
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

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

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

declare ptr @msresamp_crcf_create(float noundef, float noundef) #1

declare i32 @msresamp_crcf_print(ptr noundef) #1

declare float @msresamp_crcf_get_delay(ptr noundef) #1

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

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

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

; 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 i32 @msresamp_crcf_execute(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

declare i32 @msresamp_crcf_destroy(ptr noundef) #1

declare i32 @liquid_nextpow2(i32 noundef) #1

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

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

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

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

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

declare i32 @fclose(ptr noundef) #1

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

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

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

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


; 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.7 = external hidden unnamed_addr constant [10 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [7 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 {
  %3 = alloca i32, align 4
  br label %.outer

.outer:                                           ; preds = %18, %2
  %.0164.ph = phi float [ %21, %18 ], [ 0x3F916872C0000000, %2 ]
  %.0156.ph = phi i32 [ %.0156.ph251, %18 ], [ 400, %2 ]
  %.0154.ph = phi float [ %.0154.ph255, %18 ], [ 6.000000e+01, %2 ]
  %.0153.ph = phi float [ %.0153, %18 ], [ 0x3FCDA9FBE0000000, %2 ]
  br label %.outer250

.outer250:                                        ; preds = %.outer, %15
  %.0156.ph251 = phi i32 [ %.0156.ph, %.outer ], [ %17, %15 ]
  %.0154.ph252 = phi float [ %.0154.ph, %.outer ], [ %.0154.ph255, %15 ]
  %.0153.ph253 = phi float [ %.0153.ph, %.outer ], [ %.0153, %15 ]
  br label %.outer254

.outer254:                                        ; preds = %.outer250, %11
  %.0154.ph255 = phi float [ %.0154.ph252, %.outer250 ], [ %14, %11 ]
  %.0153.ph256 = phi float [ %.0153.ph253, %.outer250 ], [ %.0153, %11 ]
  br label %4

4:                                                ; preds = %.outer254, %7
  %.0153 = phi float [ %10, %7 ], [ %.0153.ph256, %.outer254 ]
  %5 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.7) #11
  switch i32 %5, label %22 [
    i32 -1, label %23
    i32 104, label %6
    i32 114, label %7
    i32 115, label %11
    i32 110, label %15
    i32 102, label %18
  ]

6:                                                ; preds = %4
  tail call void @usage()
  br label %246

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

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

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

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

22:                                               ; preds = %4
  tail call void @exit(i32 noundef 1) #13
  unreachable

23:                                               ; preds = %4
  %24 = icmp eq i32 %.0156.ph251, 0
  br i1 %24, label %25, label %29

25:                                               ; preds = %23
  %26 = load ptr, ptr @stderr, align 8, !tbaa !5
  %27 = load ptr, ptr %1, align 8, !tbaa !5
  %28 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str.8, ptr noundef %27) #14
  tail call void @exit(i32 noundef 1) #13
  unreachable

29:                                               ; preds = %23
  %30 = fcmp ugt float %.0153, 0.000000e+00
  br i1 %30, label %35, label %31

31:                                               ; preds = %29
  %32 = load ptr, ptr @stderr, align 8, !tbaa !5
  %33 = load ptr, ptr %1, align 8, !tbaa !5
  %34 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.9, ptr noundef %33) #14
  tail call void @exit(i32 noundef 1) #13
  unreachable

35:                                               ; preds = %29
  %36 = tail call float @log2f(float noundef %.0153) #11
  %37 = tail call float @llvm.fabs.f32(float %36)
  %38 = fcmp ogt float %37, 1.000000e+01
  br i1 %38, label %39, label %43

39:                                               ; preds = %35
  %40 = load ptr, ptr @stderr, align 8, !tbaa !5
  %41 = load ptr, ptr %1, align 8, !tbaa !5
  %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef nonnull @.str.10, ptr noundef %41) #14
  tail call void @exit(i32 noundef 1) #13
  unreachable

43:                                               ; preds = %35
  %44 = tail call ptr @msresamp_crcf_create(float noundef %.0153, float noundef %.0154.ph255) #11
  %45 = tail call i32 @msresamp_crcf_print(ptr noundef %44) #11
  %46 = tail call float @msresamp_crcf_get_delay(ptr noundef %44) #11
  %47 = tail call float @llvm.ceil.f32(float %46)
  %48 = fptosi float %47 to i32
  %49 = add i32 %.0156.ph251, 10
  %50 = add i32 %49, %48
  %51 = uitofp i32 %50 to float
  %52 = fmul float %51, 2.000000e+00
  %53 = fmul float %.0153, %52
  %54 = fptoui float %53 to i32
  %55 = zext i32 %50 to i64
  %56 = tail call ptr @llvm.stacksave.p0()
  %57 = alloca { float, float }, i64 %55, align 16
  %58 = zext i32 %54 to i64
  %59 = alloca { float, float }, i64 %58, align 16
  %.not = icmp eq i32 %50, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %43
  %60 = fpext float %.0164.ph to double
  %61 = insertelement <2 x double> poison, double %60, i64 0
  %62 = shufflevector <2 x double> %61, <2 x double> poison, <2 x i32> zeroinitializer
  %63 = fmul <2 x double> %62, <double 0.000000e+00, double 0x401921FB54442D18>
  %64 = zext i32 %.0156.ph251 to i64
  br label %65

65:                                               ; preds = %.lr.ph, %._crit_edge224
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %._crit_edge224 ]
  %.0168179 = phi float [ 0.000000e+00, %.lr.ph ], [ %81, %._crit_edge224 ]
  %66 = icmp ult i64 %indvars.iv, %64
  %67 = trunc nuw i64 %indvars.iv to i32
  br i1 %66, label %68, label %._crit_edge224

68:                                               ; preds = %65
  %69 = tail call float @liquid_kaiser(i32 noundef %67, i32 noundef %.0156.ph251, float noundef 1.000000e+01) #11
  br label %._crit_edge224

._crit_edge224:                                   ; preds = %65, %68
  %70 = phi float [ %69, %68 ], [ 0.000000e+00, %65 ]
  %71 = uitofp i32 %67 to double
  %72 = insertelement <2 x double> poison, double %71, i64 0
  %73 = shufflevector <2 x double> %72, <2 x double> poison, <2 x i32> zeroinitializer
  %74 = fmul <2 x double> %63, %73
  %75 = fptrunc <2 x double> %74 to <2 x float>
  %76 = tail call <2 x float> @cexpf(<2 x float> noundef %75) #11
  %77 = getelementptr inbounds { float, float }, ptr %57, i64 %indvars.iv
  %78 = insertelement <2 x float> poison, float %70, i64 0
  %79 = shufflevector <2 x float> %78, <2 x float> poison, <2 x i32> zeroinitializer
  %80 = fmul <2 x float> %79, %76
  store <2 x float> %80, ptr %77, align 8
  %81 = fadd float %.0168179, %70
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %55
  br i1 %exitcond.not, label %._crit_edge, label %65, !llvm.loop !11

._crit_edge:                                      ; preds = %._crit_edge224, %43
  %.0168.lcssa = phi float [ 0.000000e+00, %43 ], [ %81, %._crit_edge224 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #11
  %82 = call i32 @msresamp_crcf_execute(ptr noundef %44, ptr noundef nonnull %57, i32 noundef %50, ptr noundef nonnull %59, ptr noundef nonnull %3) #11
  %83 = call i32 @msresamp_crcf_destroy(ptr noundef %44) #11
  %84 = load i32, ptr %3, align 4, !tbaa !12
  %85 = uitofp i32 %84 to float
  %86 = fdiv float %85, %51
  %87 = call i32 @liquid_nextpow2(i32 noundef %84) #11
  %88 = shl nuw i32 1, %87
  %89 = zext i32 %88 to i64
  %90 = alloca { float, float }, i64 %89, align 16
  %91 = alloca { float, float }, i64 %89, align 16
  %92 = load i32, ptr %3, align 4, !tbaa !12
  %93 = zext i32 %92 to i64
  %xtraiter = and i64 %89, 1
  %94 = icmp eq i32 %87, 0
  br i1 %94, label %.peel.begin.unr-lcssa, label %._crit_edge.new

._crit_edge.new:                                  ; preds = %._crit_edge
  %unroll_iter = and i64 %89, 4294967294
  br label %95

95:                                               ; preds = %107, %._crit_edge.new
  %indvars.iv205 = phi i64 [ 0, %._crit_edge.new ], [ %indvars.iv.next206.1, %107 ]
  %niter = phi i64 [ 0, %._crit_edge.new ], [ %niter.next.1, %107 ]
  %96 = icmp ult i64 %indvars.iv205, %93
  br i1 %96, label %97, label %100

97:                                               ; preds = %95
  %98 = getelementptr inbounds { float, float }, ptr %59, i64 %indvars.iv205
  %99 = load <2 x float>, ptr %98, align 16
  br label %100

100:                                              ; preds = %95, %97
  %101 = phi <2 x float> [ %99, %97 ], [ zeroinitializer, %95 ]
  %102 = getelementptr inbounds { float, float }, ptr %90, i64 %indvars.iv205
  store <2 x float> %101, ptr %102, align 16
  %indvars.iv.next206 = or disjoint i64 %indvars.iv205, 1
  %103 = icmp ult i64 %indvars.iv.next206, %93
  br i1 %103, label %104, label %107

104:                                              ; preds = %100
  %105 = getelementptr inbounds { float, float }, ptr %59, i64 %indvars.iv.next206
  %106 = load <2 x float>, ptr %105, align 8
  br label %107

107:                                              ; preds = %104, %100
  %108 = phi <2 x float> [ %106, %104 ], [ zeroinitializer, %100 ]
  %109 = getelementptr inbounds { float, float }, ptr %90, i64 %indvars.iv.next206
  store <2 x float> %108, ptr %109, align 8
  %indvars.iv.next206.1 = add nuw nsw i64 %indvars.iv205, 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 %.peel.begin.unr-lcssa, label %95, !llvm.loop !14

.peel.begin.unr-lcssa:                            ; preds = %107, %._crit_edge
  %indvars.iv205.unr = phi i64 [ 0, %._crit_edge ], [ %indvars.iv.next206.1, %107 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.peel.begin, label %.epil.preheader

.epil.preheader:                                  ; preds = %.peel.begin.unr-lcssa
  %110 = icmp ult i64 %indvars.iv205.unr, %93
  br i1 %110, label %111, label %.peel.begin.epilog-lcssa

111:                                              ; preds = %.epil.preheader
  %112 = getelementptr inbounds { float, float }, ptr %59, i64 %indvars.iv205.unr
  %113 = load <2 x float>, ptr %112, align 8
  br label %.peel.begin.epilog-lcssa

.peel.begin.epilog-lcssa:                         ; preds = %111, %.epil.preheader
  %114 = phi <2 x float> [ %113, %111 ], [ zeroinitializer, %.epil.preheader ]
  %115 = getelementptr inbounds { float, float }, ptr %90, i64 %indvars.iv205.unr
  store <2 x float> %114, ptr %115, align 8
  br label %.peel.begin

.peel.begin:                                      ; preds = %.peel.begin.unr-lcssa, %.peel.begin.epilog-lcssa
  %116 = fdiv float %.0164.ph, %.0153
  %117 = call i32 @fft_run(i32 noundef %88, ptr noundef nonnull %90, ptr noundef nonnull %91, i32 noundef 1, i32 noundef 0) #11
  %118 = call i32 @fft_shift(ptr noundef nonnull %91, i32 noundef %88) #11
  %119 = uitofp i32 %88 to float
  %120 = fmul float %.0153, %.0168.lcssa
  %121 = fdiv float 0.000000e+00, %119
  %122 = fadd float %121, -5.000000e-01
  %123 = load <2 x float>, ptr %91, align 16
  %124 = insertelement <2 x float> poison, float %120, i64 0
  %125 = shufflevector <2 x float> %124, <2 x float> poison, <2 x i32> zeroinitializer
  %126 = fdiv <2 x float> %123, %125
  %127 = call float @cabsf(<2 x float> noundef %126) #11
  %128 = call float @log10f(float noundef %127) #11
  %129 = fmul float %128, 2.000000e+01
  %130 = fsub float %122, %116
  %131 = call float @llvm.fabs.f32(float %130)
  %132 = fcmp ogt float %131, 0x3FB1EB8520000000
  %133 = fcmp ogt float %129, -1.000000e+09
  %134 = select i1 %132, i1 %133, i1 false
  %.1159.peel = select i1 %134, float %129, float -1.000000e+09
  %exitcond214.peel.not = icmp eq i32 %87, 0
  br i1 %exitcond214.peel.not, label %.loopexit, label %.peel.next

.peel.next:                                       ; preds = %.peel.begin, %.peel.next
  %indvars.iv210 = phi i64 [ %indvars.iv.next211, %.peel.next ], [ 1, %.peel.begin ]
  %.0158185 = phi float [ %.1159, %.peel.next ], [ %.1159.peel, %.peel.begin ]
  %.0160184 = phi float [ %.1161, %.peel.next ], [ %122, %.peel.begin ]
  %.0162183 = phi float [ %.1163, %.peel.next ], [ %129, %.peel.begin ]
  %135 = trunc nuw i64 %indvars.iv210 to i32
  %136 = uitofp i32 %135 to float
  %137 = fdiv float %136, %119
  %138 = fadd float %137, -5.000000e-01
  %139 = getelementptr inbounds { float, float }, ptr %91, i64 %indvars.iv210
  %140 = load <2 x float>, ptr %139, align 8
  %141 = fdiv <2 x float> %140, %125
  %142 = call float @cabsf(<2 x float> noundef %141) #11
  %143 = call float @log10f(float noundef %142) #11
  %144 = fmul float %143, 2.000000e+01
  %145 = fcmp ogt float %144, %.0162183
  %.1163 = select i1 %145, float %144, float %.0162183
  %.1161 = select i1 %145, float %138, float %.0160184
  %146 = fsub float %138, %116
  %147 = call float @llvm.fabs.f32(float %146)
  %148 = fcmp ogt float %147, 0x3FB1EB8520000000
  %149 = fcmp ogt float %144, %.0158185
  %150 = select i1 %148, i1 %149, i1 false
  %.1159 = select i1 %150, float %144, float %.0158185
  %indvars.iv.next211 = add nuw nsw i64 %indvars.iv210, 1
  %exitcond214.not = icmp eq i64 %indvars.iv.next211, %89
  br i1 %exitcond214.not, label %.loopexit, label %.peel.next, !llvm.loop !15

.loopexit:                                        ; preds = %.peel.next, %.peel.begin
  %.1163.lcssa = phi float [ %129, %.peel.begin ], [ %.1163, %.peel.next ]
  %.1161.lcssa = phi float [ %122, %.peel.begin ], [ %.1161, %.peel.next ]
  %.1159.lcssa = phi float [ %.1159.peel, %.peel.begin ], [ %.1159, %.peel.next ]
  %151 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %152 = fpext float %46 to double
  %153 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, double noundef %152)
  %154 = fpext float %.0153 to double
  %155 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, double noundef %154)
  %156 = fpext float %86 to double
  %157 = load i32, ptr %3, align 4, !tbaa !12
  %158 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, double noundef %156, i32 noundef %157, i32 noundef %50)
  %159 = fpext float %.1163.lcssa to double
  %160 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %159)
  %161 = fpext float %.1161.lcssa to double
  %162 = fpext float %116 to double
  %163 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef %161, double noundef %162)
  %164 = fpext float %.1159.lcssa to double
  %165 = fneg float %.0154.ph255
  %166 = fpext float %165 to double
  %167 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, double noundef %164, double noundef %166)
  %168 = call noalias ptr @fopen(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19)
  %169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.18) #11
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.21) #11
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.22) #11
  %172 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.23, double noundef %152) #11
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.24, double noundef %154) #11
  %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.25, i32 noundef %50) #11
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.26) #11
  br i1 %.not, label %._crit_edge189, label %.lr.ph188

.lr.ph188:                                        ; preds = %.loopexit, %.lr.ph188
  %indvars.iv216 = phi i64 [ %indvars.iv.next217, %.lr.ph188 ], [ 0, %.loopexit ]
  %indvars.iv.next217 = add nuw nsw i64 %indvars.iv216, 1
  %176 = getelementptr inbounds { float, float }, ptr %57, i64 %indvars.iv216
  %177 = load float, ptr %176, align 8
  %178 = getelementptr inbounds i8, ptr %176, i64 4
  %179 = fpext float %177 to double
  %180 = load float, ptr %178, align 4
  %181 = fpext float %180 to double
  %182 = trunc nuw i64 %indvars.iv.next217 to i32
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.27, i32 noundef %182, double noundef %179, double noundef %181) #11
  %exitcond220.not = icmp eq i64 %indvars.iv.next217, %55
  br i1 %exitcond220.not, label %._crit_edge189, label %.lr.ph188, !llvm.loop !17

._crit_edge189:                                   ; preds = %.lr.ph188, %.loopexit
  %184 = load i32, ptr %3, align 4, !tbaa !12
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.28, i32 noundef %184) #11
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.29) #11
  %187 = load i32, ptr %3, align 4, !tbaa !12
  %.not195 = icmp eq i32 %187, 0
  br i1 %.not195, label %._crit_edge193, label %.lr.ph192

.lr.ph192:                                        ; preds = %._crit_edge189, %.lr.ph192
  %indvars.iv221 = phi i64 [ %indvars.iv.next222, %.lr.ph192 ], [ 0, %._crit_edge189 ]
  %indvars.iv.next222 = add nuw nsw i64 %indvars.iv221, 1
  %188 = getelementptr inbounds { float, float }, ptr %59, i64 %indvars.iv221
  %189 = load float, ptr %188, align 8
  %190 = getelementptr inbounds i8, ptr %188, i64 4
  %191 = fpext float %189 to double
  %192 = load float, ptr %190, align 4
  %193 = fpext float %192 to double
  %194 = trunc nuw i64 %indvars.iv.next222 to i32
  %195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.30, i32 noundef %194, double noundef %191, double noundef %193) #11
  %196 = load i32, ptr %3, align 4, !tbaa !12
  %197 = zext i32 %196 to i64
  %198 = icmp ult i64 %indvars.iv.next222, %197
  br i1 %198, label %.lr.ph192, label %._crit_edge193, !llvm.loop !18

._crit_edge193:                                   ; preds = %.lr.ph192, %._crit_edge189
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.31) #11
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.32) #11
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.33) #11
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.34) #11
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.35) #11
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.36) #11
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.37) #11
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.38) #11
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.39) #11
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.40) #11
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.41) #11
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.42) #11
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.43) #11
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.44) #11
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.45) #11
  %214 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.46) #11
  %215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.47) #11
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.48) #11
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.41) #11
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.42) #11
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.43) #11
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.44) #11
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.49) #11
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.50) #11
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.51) #11
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.52) #11
  %225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.53) #11
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.54) #11
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.55) #11
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.56) #11
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.57) #11
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.58) #11
  %231 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.59) #11
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.37) #11
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.60) #11
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.61) #11
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.62) #11
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.63) #11
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.64) #11
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.65) #11
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.66) #11
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.67) #11
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.68) #11
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %168, ptr noundef nonnull @.str.69) #11
  %243 = call i32 @fclose(ptr noundef %168)
  %244 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.70, ptr noundef nonnull @.str.18)
  %245 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.71)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  call void @llvm.stackrestore.p0(ptr %56)
  br label %246

246:                                              ; preds = %._crit_edge193, %6
  ret i32 0
}

; Function Attrs: mustprogress 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) local_unnamed_addr #4

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

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

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

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

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

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

declare ptr @msresamp_crcf_create(float noundef, float noundef) local_unnamed_addr #9

declare i32 @msresamp_crcf_print(ptr noundef) local_unnamed_addr #9

declare float @msresamp_crcf_get_delay(ptr noundef) local_unnamed_addr #9

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

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

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

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

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

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

declare i32 @msresamp_crcf_destroy(ptr noundef) local_unnamed_addr #9

declare i32 @liquid_nextpow2(i32 noundef) local_unnamed_addr #9

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

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

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

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

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

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

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

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

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

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


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