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

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

29:                                               ; preds = %24
  %30 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %30, label %43 [
    i32 104, label %31
    i32 114, label %32
    i32 115, label %36
    i32 110, label %40
  ]

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

32:                                               ; preds = %29
  %33 = load ptr, ptr @optarg, align 8, !tbaa !9
  %34 = call double @atof(ptr noundef %33) #10
  %35 = fptrunc double %34 to float
  store float %35, ptr %6, align 4, !tbaa !11
  br label %44

36:                                               ; preds = %29
  %37 = load ptr, ptr @optarg, align 8, !tbaa !9
  %38 = call double @atof(ptr noundef %37) #10
  %39 = fptrunc double %38 to float
  store float %39, ptr %7, align 4, !tbaa !11
  br label %44

40:                                               ; preds = %29
  %41 = load ptr, ptr @optarg, align 8, !tbaa !9
  %42 = call i32 @atoi(ptr noundef %41) #10
  store i32 %42, ptr %8, align 4, !tbaa !5
  br label %44

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

44:                                               ; preds = %40, %36, %32
  br label %24, !llvm.loop !13

45:                                               ; preds = %24
  %46 = load i32, ptr %8, align 4, !tbaa !5
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %54

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

54:                                               ; preds = %45
  %55 = load float, ptr %6, align 4, !tbaa !11
  %56 = fcmp ole float %55, 0.000000e+00
  br i1 %56, label %57, label %63

57:                                               ; preds = %54
  %58 = load ptr, ptr @stderr, align 8, !tbaa !9
  %59 = load ptr, ptr %5, align 8, !tbaa !9
  %60 = getelementptr inbounds ptr, ptr %59, i64 0
  %61 = load ptr, ptr %60, align 8, !tbaa !9
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef @.str.7, ptr noundef %61) #9
  call void @exit(i32 noundef 1) #11
  unreachable

63:                                               ; preds = %54
  %64 = load float, ptr %6, align 4, !tbaa !11
  %65 = call float @log2f(float noundef %64) #9
  %66 = call float @llvm.fabs.f32(float %65)
  %67 = fcmp ogt float %66, 1.000000e+01
  br i1 %67, label %68, label %74

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

74:                                               ; preds = %63
  br label %75

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  %77 = load i32, ptr %8, align 4, !tbaa !5
  %78 = uitofp i32 %77 to float
  %79 = fmul float 2.000000e+00, %78
  %80 = load float, ptr %6, align 4, !tbaa !11
  %81 = fmul float %79, %80
  %82 = fptoui float %81 to i32
  store i32 %82, ptr %13, align 4, !tbaa !5
  %83 = load i32, ptr %8, align 4, !tbaa !5
  %84 = zext i32 %83 to i64
  %85 = call ptr @llvm.stacksave.p0()
  store ptr %85, ptr %14, align 8
  %86 = alloca { float, float }, i64 %84, align 16
  store i64 %84, ptr %15, align 8
  %87 = load i32, ptr %13, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = alloca { float, float }, i64 %88, align 16
  store i64 %88, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %90 = load i32, ptr %8, align 4, !tbaa !5
  %91 = mul i32 3, %90
  %92 = udiv i32 %91, 4
  store i32 %92, ptr %17, align 4, !tbaa !5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %134, %76
  %94 = load i32, ptr %12, align 4, !tbaa !5
  %95 = load i32, ptr %8, align 4, !tbaa !5
  %96 = icmp ult i32 %94, %95
  br i1 %96, label %97, label %137

97:                                               ; preds = %93
  %98 = load i32, ptr %12, align 4, !tbaa !5
  %99 = load i32, ptr %17, align 4, !tbaa !5
  %100 = icmp ult i32 %98, %99
  br i1 %100, label %101, label %125

101:                                              ; preds = %97
  %102 = load float, ptr %9, align 4, !tbaa !11
  %103 = fpext float %102 to double
  %104 = fmul double 0.000000e+00, %103
  %105 = fmul double 0x401921FB54442D18, %103
  %106 = load i32, ptr %12, align 4, !tbaa !5
  %107 = uitofp i32 %106 to double
  %108 = fmul double %104, %107
  %109 = fmul double %105, %107
  %110 = fptrunc double %108 to float
  %111 = fptrunc double %109 to float
  %112 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %113 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  store float %110, ptr %112, align 4
  store float %111, ptr %113, align 4
  %114 = load <2 x float>, ptr %18, align 4
  %115 = call <2 x float> @cexpf(<2 x float> noundef %114) #9
  store <2 x float> %115, ptr %19, align 4
  %116 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %117 = load float, ptr %116, align 4
  %118 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  %119 = load float, ptr %118, align 4
  %120 = load i32, ptr %12, align 4, !tbaa !5
  %121 = load i32, ptr %17, align 4, !tbaa !5
  %122 = call float @liquid_kaiser(i32 noundef %120, i32 noundef %121, float noundef 1.000000e+01)
  %123 = fmul float %117, %122
  %124 = fmul float %119, %122
  br label %126

125:                                              ; preds = %97
  br label %126

126:                                              ; preds = %125, %101
  %127 = phi float [ %123, %101 ], [ 0.000000e+00, %125 ]
  %128 = phi float [ %124, %101 ], [ 0.000000e+00, %125 ]
  %129 = load i32, ptr %12, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds { float, float }, ptr %86, i64 %130
  %132 = getelementptr inbounds { float, float }, ptr %131, i32 0, i32 0
  %133 = getelementptr inbounds { float, float }, ptr %131, i32 0, i32 1
  store float %127, ptr %132, align 8
  store float %128, ptr %133, align 4
  br label %134

134:                                              ; preds = %126
  %135 = load i32, ptr %12, align 4, !tbaa !5
  %136 = add i32 %135, 1
  store i32 %136, ptr %12, align 4, !tbaa !5
  br label %93, !llvm.loop !15

137:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %138 = load float, ptr %6, align 4, !tbaa !11
  %139 = load float, ptr %7, align 4, !tbaa !11
  %140 = call ptr @msresamp_crcf_create(float noundef %138, float noundef %139)
  store ptr %140, ptr %20, align 8, !tbaa !9
  %141 = load ptr, ptr %20, align 8, !tbaa !9
  %142 = call i32 @msresamp_crcf_print(ptr noundef %141)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %143 = load ptr, ptr %20, align 8, !tbaa !9
  %144 = call float @msresamp_crcf_get_delay(ptr noundef %143)
  store float %144, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %145 = load ptr, ptr %20, align 8, !tbaa !9
  %146 = load i32, ptr %8, align 4, !tbaa !5
  %147 = call i32 @msresamp_crcf_execute(ptr noundef %145, ptr noundef %86, i32 noundef %146, ptr noundef %89, ptr noundef %22)
  %148 = load i32, ptr %8, align 4, !tbaa !5
  %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %148)
  %150 = load i32, ptr %22, align 4, !tbaa !5
  %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %150)
  %152 = load float, ptr %21, align 4, !tbaa !11
  %153 = fpext float %152 to double
  %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %153)
  %155 = load ptr, ptr %20, align 8, !tbaa !9
  %156 = call i32 @msresamp_crcf_destroy(ptr noundef %155)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %157 = call noalias ptr @fopen(ptr noundef @.str.12, ptr noundef @.str.13)
  store ptr %157, ptr %23, align 8, !tbaa !9
  %158 = load ptr, ptr %23, align 8, !tbaa !9
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %158, ptr noundef @.str.14, ptr noundef @.str.12) #9
  %160 = load ptr, ptr %23, align 8, !tbaa !9
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %160, ptr noundef @.str.15) #9
  %162 = load ptr, ptr %23, align 8, !tbaa !9
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.16) #9
  %164 = load ptr, ptr %23, align 8, !tbaa !9
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.17) #9
  %166 = load ptr, ptr %23, align 8, !tbaa !9
  %167 = load float, ptr %6, align 4, !tbaa !11
  %168 = fpext float %167 to double
  %169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %166, ptr noundef @.str.18, double noundef %168) #9
  %170 = load ptr, ptr %23, align 8, !tbaa !9
  %171 = load float, ptr %21, align 4, !tbaa !11
  %172 = fpext float %171 to double
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %170, ptr noundef @.str.19, double noundef %172) #9
  %174 = load ptr, ptr %23, align 8, !tbaa !9
  %175 = load i32, ptr %8, align 4, !tbaa !5
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef @.str.20, i32 noundef %175) #9
  %177 = load ptr, ptr %23, align 8, !tbaa !9
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str.21) #9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %204, %137
  %180 = load i32, ptr %12, align 4, !tbaa !5
  %181 = load i32, ptr %8, align 4, !tbaa !5
  %182 = icmp ult i32 %180, %181
  br i1 %182, label %183, label %207

183:                                              ; preds = %179
  %184 = load ptr, ptr %23, align 8, !tbaa !9
  %185 = load i32, ptr %12, align 4, !tbaa !5
  %186 = add i32 %185, 1
  %187 = load i32, ptr %12, align 4, !tbaa !5
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds { float, float }, ptr %86, i64 %188
  %190 = getelementptr inbounds { float, float }, ptr %189, i32 0, i32 0
  %191 = load float, ptr %190, align 8
  %192 = getelementptr inbounds { float, float }, ptr %189, i32 0, i32 1
  %193 = load float, ptr %192, align 4
  %194 = fpext float %191 to double
  %195 = load i32, ptr %12, align 4, !tbaa !5
  %196 = zext i32 %195 to i64
  %197 = getelementptr inbounds { float, float }, ptr %86, i64 %196
  %198 = getelementptr inbounds { float, float }, ptr %197, i32 0, i32 0
  %199 = load float, ptr %198, align 8
  %200 = getelementptr inbounds { float, float }, ptr %197, i32 0, i32 1
  %201 = load float, ptr %200, align 4
  %202 = fpext float %201 to double
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.22, i32 noundef %186, double noundef %194, double noundef %202) #9
  br label %204

204:                                              ; preds = %183
  %205 = load i32, ptr %12, align 4, !tbaa !5
  %206 = add i32 %205, 1
  store i32 %206, ptr %12, align 4, !tbaa !5
  br label %179, !llvm.loop !16

207:                                              ; preds = %179
  %208 = load ptr, ptr %23, align 8, !tbaa !9
  %209 = load i32, ptr %22, align 4, !tbaa !5
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.23, i32 noundef %209) #9
  %211 = load ptr, ptr %23, align 8, !tbaa !9
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef @.str.24) #9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %213

213:                                              ; preds = %238, %207
  %214 = load i32, ptr %12, align 4, !tbaa !5
  %215 = load i32, ptr %22, align 4, !tbaa !5
  %216 = icmp ult i32 %214, %215
  br i1 %216, label %217, label %241

217:                                              ; preds = %213
  %218 = load ptr, ptr %23, align 8, !tbaa !9
  %219 = load i32, ptr %12, align 4, !tbaa !5
  %220 = add i32 %219, 1
  %221 = load i32, ptr %12, align 4, !tbaa !5
  %222 = zext i32 %221 to i64
  %223 = getelementptr inbounds { float, float }, ptr %89, i64 %222
  %224 = getelementptr inbounds { float, float }, ptr %223, i32 0, i32 0
  %225 = load float, ptr %224, align 8
  %226 = getelementptr inbounds { float, float }, ptr %223, i32 0, i32 1
  %227 = load float, ptr %226, align 4
  %228 = fpext float %225 to double
  %229 = load i32, ptr %12, align 4, !tbaa !5
  %230 = zext i32 %229 to i64
  %231 = getelementptr inbounds { float, float }, ptr %89, i64 %230
  %232 = getelementptr inbounds { float, float }, ptr %231, i32 0, i32 0
  %233 = load float, ptr %232, align 8
  %234 = getelementptr inbounds { float, float }, ptr %231, i32 0, i32 1
  %235 = load float, ptr %234, align 4
  %236 = fpext float %235 to double
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef @.str.25, i32 noundef %220, double noundef %228, double noundef %236) #9
  br label %238

238:                                              ; preds = %217
  %239 = load i32, ptr %12, align 4, !tbaa !5
  %240 = add i32 %239, 1
  store i32 %240, ptr %12, align 4, !tbaa !5
  br label %213, !llvm.loop !17

241:                                              ; preds = %213
  %242 = load ptr, ptr %23, align 8, !tbaa !9
  %243 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %242, ptr noundef @.str.26) #9
  %244 = load ptr, ptr %23, align 8, !tbaa !9
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef @.str.27) #9
  %246 = load ptr, ptr %23, align 8, !tbaa !9
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str.28) #9
  %248 = load ptr, ptr %23, align 8, !tbaa !9
  %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %248, ptr noundef @.str.29) #9
  %250 = load ptr, ptr %23, align 8, !tbaa !9
  %251 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %250, ptr noundef @.str.30) #9
  %252 = load ptr, ptr %23, align 8, !tbaa !9
  %253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef @.str.31) #9
  %254 = load ptr, ptr %23, align 8, !tbaa !9
  %255 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %254, ptr noundef @.str.32) #9
  %256 = load ptr, ptr %23, align 8, !tbaa !9
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %256, ptr noundef @.str.33) #9
  %258 = load ptr, ptr %23, align 8, !tbaa !9
  %259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef @.str.34) #9
  %260 = load ptr, ptr %23, align 8, !tbaa !9
  %261 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %260, ptr noundef @.str.35) #9
  %262 = load ptr, ptr %23, align 8, !tbaa !9
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %262, ptr noundef @.str.36) #9
  %264 = load ptr, ptr %23, align 8, !tbaa !9
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %264, ptr noundef @.str.37) #9
  %266 = load ptr, ptr %23, align 8, !tbaa !9
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %266, ptr noundef @.str.38) #9
  %268 = load ptr, ptr %23, align 8, !tbaa !9
  %269 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %268, ptr noundef @.str.39) #9
  %270 = load ptr, ptr %23, align 8, !tbaa !9
  %271 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %270, ptr noundef @.str.40) #9
  %272 = load ptr, ptr %23, align 8, !tbaa !9
  %273 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %272, ptr noundef @.str.41) #9
  %274 = load ptr, ptr %23, align 8, !tbaa !9
  %275 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %274, ptr noundef @.str.42) #9
  %276 = load ptr, ptr %23, align 8, !tbaa !9
  %277 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %276, ptr noundef @.str.43) #9
  %278 = load ptr, ptr %23, align 8, !tbaa !9
  %279 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef @.str.44) #9
  %280 = load ptr, ptr %23, align 8, !tbaa !9
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %280, ptr noundef @.str.45) #9
  %282 = load ptr, ptr %23, align 8, !tbaa !9
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %282, ptr noundef @.str.26) #9
  %284 = load ptr, ptr %23, align 8, !tbaa !9
  %285 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef @.str.46) #9
  %286 = load ptr, ptr %23, align 8, !tbaa !9
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef @.str.47) #9
  %288 = load ptr, ptr %23, align 8, !tbaa !9
  %289 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %288, ptr noundef @.str.48) #9
  %290 = load ptr, ptr %23, align 8, !tbaa !9
  %291 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %290, ptr noundef @.str.36) #9
  %292 = load ptr, ptr %23, align 8, !tbaa !9
  %293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %292, ptr noundef @.str.49) #9
  %294 = load ptr, ptr %23, align 8, !tbaa !9
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %294, ptr noundef @.str.50) #9
  %296 = load ptr, ptr %23, align 8, !tbaa !9
  %297 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %296, ptr noundef @.str.51) #9
  %298 = load ptr, ptr %23, align 8, !tbaa !9
  %299 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %298, ptr noundef @.str.52) #9
  %300 = load ptr, ptr %23, align 8, !tbaa !9
  %301 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %300, ptr noundef @.str.53) #9
  %302 = load ptr, ptr %23, align 8, !tbaa !9
  %303 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %302, ptr noundef @.str.54) #9
  %304 = load ptr, ptr %23, align 8, !tbaa !9
  %305 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %304, ptr noundef @.str.55) #9
  %306 = load ptr, ptr %23, align 8, !tbaa !9
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %306, ptr noundef @.str.56) #9
  %308 = load ptr, ptr %23, align 8, !tbaa !9
  %309 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %308, ptr noundef @.str.57) #9
  %310 = load ptr, ptr %23, align 8, !tbaa !9
  %311 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %310, ptr noundef @.str.58) #9
  %312 = load ptr, ptr %23, align 8, !tbaa !9
  %313 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %312, ptr noundef @.str.52) #9
  %314 = load ptr, ptr %23, align 8, !tbaa !9
  %315 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %314, ptr noundef @.str.53) #9
  %316 = load ptr, ptr %23, align 8, !tbaa !9
  %317 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %316, ptr noundef @.str.59) #9
  %318 = load ptr, ptr %23, align 8, !tbaa !9
  %319 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %318, ptr noundef @.str.55) #9
  %320 = load ptr, ptr %23, align 8, !tbaa !9
  %321 = call i32 @fclose(ptr noundef %320)
  %322 = call i32 (ptr, ...) @printf(ptr noundef @.str.60, ptr noundef @.str.12)
  %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.61)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  %324 = load ptr, ptr %14, align 8
  call void @llvm.stackrestore.p0(ptr %324)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %325

325:                                              ; preds = %241, %31
  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
  %326 = load i32, ptr %3, align 4
  ret i32 %326
}

; 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

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

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

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

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

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 noalias ptr @fopen(ptr noundef, ptr noundef) #1

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) #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}


; 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.5 = external hidden unnamed_addr constant [8 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.61 = 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 = %15, %2
  %.0105.ph = phi i32 [ %17, %15 ], [ 400, %2 ]
  %.0103.ph = phi float [ %.0103.ph147, %15 ], [ 8.000000e+01, %2 ]
  %.0102.ph = phi float [ %.0102, %15 ], [ 0x3FF3333340000000, %2 ]
  br label %.outer146

.outer146:                                        ; preds = %.outer, %11
  %.0103.ph147 = phi float [ %.0103.ph, %.outer ], [ %14, %11 ]
  %.0102.ph148 = phi float [ %.0102.ph, %.outer ], [ %.0102, %11 ]
  br label %4

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

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

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 %.outer146, !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 %.outer, !llvm.loop !9

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

19:                                               ; preds = %4
  %20 = icmp eq i32 %.0105.ph, 0
  br i1 %20, label %21, label %25

21:                                               ; preds = %19
  %22 = load ptr, ptr @stderr, align 8, !tbaa !5
  %23 = load ptr, ptr %1, align 8, !tbaa !5
  %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.6, ptr noundef %23) #14
  tail call void @exit(i32 noundef 1) #13
  unreachable

25:                                               ; preds = %19
  %26 = fcmp ugt float %.0102, 0.000000e+00
  br i1 %26, label %31, label %27

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

31:                                               ; preds = %25
  %32 = tail call float @log2f(float noundef %.0102) #11
  %33 = tail call float @llvm.fabs.f32(float %32)
  %34 = fcmp ogt float %33, 1.000000e+01
  br i1 %34, label %35, label %39

35:                                               ; preds = %31
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = load ptr, ptr %1, align 8, !tbaa !5
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.8, ptr noundef %37) #14
  tail call void @exit(i32 noundef 1) #13
  unreachable

39:                                               ; preds = %31
  %40 = uitofp i32 %.0105.ph to float
  %41 = fmul float %40, 2.000000e+00
  %42 = fmul float %41, %.0102
  %43 = fptoui float %42 to i32
  %44 = zext i32 %.0105.ph to i64
  %45 = tail call ptr @llvm.stacksave.p0()
  %46 = alloca { float, float }, i64 %44, align 16
  %47 = zext i32 %43 to i64
  %48 = alloca { float, float }, i64 %47, align 16
  %49 = mul i32 %.0105.ph, 3
  %50 = lshr i32 %49, 2
  %51 = zext nneg i32 %50 to i64
  br label %52

52:                                               ; preds = %39, %64
  %indvars.iv = phi i64 [ 0, %39 ], [ %indvars.iv.next, %64 ]
  %53 = icmp ult i64 %indvars.iv, %51
  br i1 %53, label %54, label %64

54:                                               ; preds = %52
  %55 = trunc nuw i64 %indvars.iv to i32
  %56 = uitofp nneg i32 %55 to double
  %57 = fmul double %56, 0x40041B2F7BA3BCBE
  %58 = fptrunc double %57 to float
  %.sroa.058.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %58, i64 1
  %59 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.058.4.vec.insert) #11
  %60 = tail call float @liquid_kaiser(i32 noundef %55, i32 noundef %50, float noundef 1.000000e+01) #11
  %61 = insertelement <2 x float> poison, float %60, i64 0
  %62 = shufflevector <2 x float> %61, <2 x float> poison, <2 x i32> zeroinitializer
  %63 = fmul <2 x float> %59, %62
  br label %64

64:                                               ; preds = %52, %54
  %65 = phi <2 x float> [ %63, %54 ], [ zeroinitializer, %52 ]
  %66 = getelementptr inbounds { float, float }, ptr %46, i64 %indvars.iv
  store <2 x float> %65, ptr %66, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %44
  br i1 %exitcond.not, label %67, label %52, !llvm.loop !11

67:                                               ; preds = %64
  %68 = tail call ptr @msresamp_crcf_create(float noundef %.0102, float noundef %.0103.ph147) #11
  %69 = tail call i32 @msresamp_crcf_print(ptr noundef %68) #11
  %70 = tail call float @msresamp_crcf_get_delay(ptr noundef %68) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #11
  %71 = call i32 @msresamp_crcf_execute(ptr noundef %68, ptr noundef nonnull %46, i32 noundef %.0105.ph, ptr noundef nonnull %48, ptr noundef nonnull %3) #11
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %.0105.ph)
  %73 = load i32, ptr %3, align 4, !tbaa !12
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i32 noundef %73)
  %75 = fpext float %70 to double
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, double noundef %75)
  %77 = call i32 @msresamp_crcf_destroy(ptr noundef %68) #11
  %78 = call noalias ptr @fopen(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13)
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.12) #11
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.15) #11
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.16) #11
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.17) #11
  %83 = fpext float %.0102 to double
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.18, double noundef %83) #11
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.19, double noundef %75) #11
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.20, i32 noundef %.0105.ph) #11
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.21) #11
  br label %88

88:                                               ; preds = %67, %88
  %indvars.iv126 = phi i64 [ 0, %67 ], [ %indvars.iv.next127, %88 ]
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %89 = getelementptr inbounds { float, float }, ptr %46, i64 %indvars.iv126
  %90 = load float, ptr %89, align 8
  %91 = getelementptr inbounds i8, ptr %89, i64 4
  %92 = fpext float %90 to double
  %93 = load float, ptr %91, align 4
  %94 = fpext float %93 to double
  %95 = trunc nuw i64 %indvars.iv.next127 to i32
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.22, i32 noundef %95, double noundef %92, double noundef %94) #11
  %exitcond130.not = icmp eq i64 %indvars.iv.next127, %44
  br i1 %exitcond130.not, label %97, label %88, !llvm.loop !14

97:                                               ; preds = %88
  %98 = load i32, ptr %3, align 4, !tbaa !12
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.23, i32 noundef %98) #11
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.24) #11
  %101 = load i32, ptr %3, align 4, !tbaa !12
  %.not = icmp eq i32 %101, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %97, %.lr.ph
  %indvars.iv131 = phi i64 [ %indvars.iv.next132, %.lr.ph ], [ 0, %97 ]
  %indvars.iv.next132 = add nuw nsw i64 %indvars.iv131, 1
  %102 = getelementptr inbounds { float, float }, ptr %48, i64 %indvars.iv131
  %103 = load float, ptr %102, align 8
  %104 = getelementptr inbounds i8, ptr %102, i64 4
  %105 = fpext float %103 to double
  %106 = load float, ptr %104, align 4
  %107 = fpext float %106 to double
  %108 = trunc nuw i64 %indvars.iv.next132 to i32
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.25, i32 noundef %108, double noundef %105, double noundef %107) #11
  %110 = load i32, ptr %3, align 4, !tbaa !12
  %111 = zext i32 %110 to i64
  %112 = icmp ult i64 %indvars.iv.next132, %111
  br i1 %112, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph, %97
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.26) #11
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.27) #11
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.28) #11
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.29) #11
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.30) #11
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.31) #11
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.32) #11
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.33) #11
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.34) #11
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.35) #11
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.36) #11
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.37) #11
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.38) #11
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.39) #11
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.40) #11
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.41) #11
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.42) #11
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.43) #11
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.44) #11
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.45) #11
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.26) #11
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.46) #11
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.47) #11
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.48) #11
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.36) #11
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.49) #11
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.50) #11
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.51) #11
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.52) #11
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.53) #11
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.54) #11
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.55) #11
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.56) #11
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.57) #11
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.58) #11
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.52) #11
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.53) #11
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.59) #11
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.55) #11
  %152 = call i32 @fclose(ptr noundef %78)
  %153 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.60, ptr noundef nonnull @.str.12)
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.61)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  call void @llvm.stackrestore.p0(ptr %45)
  br label %155

155:                                              ; preds = %._crit_edge, %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

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

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

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

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

declare i32 @msresamp_crcf_print(ptr noundef) local_unnamed_addr #10

declare float @msresamp_crcf_get_delay(ptr noundef) local_unnamed_addr #10

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

declare i32 @msresamp_crcf_destroy(ptr noundef) local_unnamed_addr #10

; 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 memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #10 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { 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}


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