; LLVM IR from jgaeddert/liquid-dsp :: examples (firdecim_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.6 = external hidden unnamed_addr constant [10 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.46 = 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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca { float, float }, align 4
  %20 = alloca { float, float }, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca ptr, align 8
  %24 = 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) #7
  store i32 6, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 8, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store float 6.000000e+01, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 120, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  br label %25

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

30:                                               ; preds = %25
  %31 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %31, label %46 [
    i32 104, label %32
    i32 77, label %33
    i32 109, label %36
    i32 115, label %39
    i32 110, label %43
  ]

32:                                               ; preds = %30
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %346

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

36:                                               ; preds = %30
  %37 = load ptr, ptr @optarg, align 8, !tbaa !9
  %38 = call i32 @atoi(ptr noundef %37) #8
  store i32 %38, ptr %7, align 4, !tbaa !5
  br label %47

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

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

46:                                               ; preds = %30
  call void @usage()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %346

47:                                               ; preds = %43, %39, %36, %33
  br label %25, !llvm.loop !13

48:                                               ; preds = %25
  %49 = load i32, ptr %6, align 4, !tbaa !5
  %50 = icmp ult i32 %49, 2
  br i1 %50, label %51, label %57

51:                                               ; preds = %48
  %52 = load ptr, ptr @stderr, align 8, !tbaa !9
  %53 = load ptr, ptr %5, align 8, !tbaa !9
  %54 = getelementptr inbounds ptr, ptr %53, i64 0
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.7, ptr noundef %55) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %346

57:                                               ; preds = %48
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = icmp ult i32 %58, 1
  br i1 %59, label %60, label %66

60:                                               ; preds = %57
  %61 = load ptr, ptr @stderr, align 8, !tbaa !9
  %62 = load ptr, ptr %5, align 8, !tbaa !9
  %63 = getelementptr inbounds ptr, ptr %62, i64 0
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.8, ptr noundef %64) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %346

66:                                               ; preds = %57
  %67 = load float, ptr %8, align 4, !tbaa !11
  %68 = fpext float %67 to double
  %69 = fcmp ole double %68, 0.000000e+00
  br i1 %69, label %70, label %76

70:                                               ; preds = %66
  %71 = load ptr, ptr @stderr, align 8, !tbaa !9
  %72 = load ptr, ptr %5, align 8, !tbaa !9
  %73 = getelementptr inbounds ptr, ptr %72, i64 0
  %74 = load ptr, ptr %73, align 8, !tbaa !9
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.9, ptr noundef %74) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %346

76:                                               ; preds = %66
  %77 = load i32, ptr %9, align 4, !tbaa !5
  %78 = icmp ult i32 %77, 1
  br i1 %78, label %79, label %85

79:                                               ; preds = %76
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = load ptr, ptr %5, align 8, !tbaa !9
  %82 = getelementptr inbounds ptr, ptr %81, i64 0
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.10, ptr noundef %83) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %346

85:                                               ; preds = %76
  br label %86

86:                                               ; preds = %85
  br label %87

87:                                               ; preds = %86
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = load i32, ptr %9, align 4, !tbaa !5
  %91 = mul i32 %89, %90
  %92 = zext i32 %91 to i64
  %93 = call ptr @llvm.stacksave.p0()
  store ptr %93, ptr %12, align 8
  %94 = alloca { float, float }, i64 %92, align 16
  store i64 %92, ptr %13, align 8
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = zext i32 %95 to i64
  %97 = alloca { float, float }, i64 %96, align 16
  store i64 %96, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %98 = load i32, ptr %6, align 4, !tbaa !5
  %99 = uitofp i32 %98 to double
  %100 = fmul double 9.000000e-01, %99
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = uitofp i32 %101 to double
  %103 = fmul double %100, %102
  %104 = fptoui double %103 to i32
  store i32 %104, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store float 0x3F916872C0000000, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store float 0x3F95810620000000, ptr %18, align 4, !tbaa !11
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %189, %88
  %106 = load i32, ptr %15, align 4, !tbaa !5
  %107 = load i32, ptr %6, align 4, !tbaa !5
  %108 = load i32, ptr %9, align 4, !tbaa !5
  %109 = mul i32 %107, %108
  %110 = icmp ult i32 %106, %109
  br i1 %110, label %111, label %192

111:                                              ; preds = %105
  %112 = load float, ptr %17, align 4, !tbaa !11
  %113 = fpext float %112 to double
  %114 = fmul double 0.000000e+00, %113
  %115 = fmul double 0x401921FB54442D18, %113
  %116 = load i32, ptr %15, align 4, !tbaa !5
  %117 = uitofp i32 %116 to double
  %118 = fmul double %114, %117
  %119 = fmul double %115, %117
  %120 = fptrunc double %118 to float
  %121 = fptrunc double %119 to float
  %122 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %123 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  store float %120, ptr %122, align 4
  store float %121, ptr %123, align 4
  %124 = load <2 x float>, ptr %19, align 4
  %125 = call <2 x float> @cexpf(<2 x float> noundef %124) #7
  store <2 x float> %125, ptr %20, align 4
  %126 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %127 = load float, ptr %126, align 4
  %128 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  %129 = load float, ptr %128, align 4
  %130 = fmul float 0x3FE3333340000000, %127
  %131 = fmul float 0x3FE3333340000000, %129
  %132 = load i32, ptr %15, align 4, !tbaa !5
  %133 = zext i32 %132 to i64
  %134 = getelementptr inbounds { float, float }, ptr %94, i64 %133
  %135 = getelementptr inbounds { float, float }, ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds { float, float }, ptr %134, i32 0, i32 1
  store float %130, ptr %135, align 8
  store float %131, ptr %136, align 4
  %137 = load float, ptr %18, align 4, !tbaa !11
  %138 = fpext float %137 to double
  %139 = fmul double 0.000000e+00, %138
  %140 = fmul double 0x401921FB54442D18, %138
  %141 = load i32, ptr %15, align 4, !tbaa !5
  %142 = uitofp i32 %141 to double
  %143 = fmul double %139, %142
  %144 = fmul double %140, %142
  %145 = fptrunc double %143 to float
  %146 = fptrunc double %144 to float
  %147 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %148 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  store float %145, ptr %147, align 4
  store float %146, ptr %148, align 4
  %149 = load <2 x float>, ptr %21, align 4
  %150 = call <2 x float> @cexpf(<2 x float> noundef %149) #7
  store <2 x float> %150, ptr %22, align 4
  %151 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %152 = load float, ptr %151, align 4
  %153 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  %154 = load float, ptr %153, align 4
  %155 = fmul float 0x3FD99999A0000000, %152
  %156 = fmul float 0x3FD99999A0000000, %154
  %157 = load i32, ptr %15, align 4, !tbaa !5
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds { float, float }, ptr %94, i64 %158
  %160 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 0
  %161 = load float, ptr %160, align 8
  %162 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 1
  %163 = load float, ptr %162, align 4
  %164 = fadd float %161, %155
  %165 = fadd float %163, %156
  %166 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 0
  %167 = getelementptr inbounds { float, float }, ptr %159, i32 0, i32 1
  store float %164, ptr %166, align 8
  store float %165, ptr %167, align 4
  %168 = load i32, ptr %15, align 4, !tbaa !5
  %169 = load i32, ptr %16, align 4, !tbaa !5
  %170 = icmp ult i32 %168, %169
  br i1 %170, label %171, label %175

171:                                              ; preds = %111
  %172 = load i32, ptr %15, align 4, !tbaa !5
  %173 = load i32, ptr %16, align 4, !tbaa !5
  %174 = call float @liquid_hamming(i32 noundef %172, i32 noundef %173)
  br label %176

175:                                              ; preds = %111
  br label %176

176:                                              ; preds = %175, %171
  %177 = phi float [ %174, %171 ], [ 0.000000e+00, %175 ]
  %178 = load i32, ptr %15, align 4, !tbaa !5
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds { float, float }, ptr %94, i64 %179
  %181 = getelementptr inbounds { float, float }, ptr %180, i32 0, i32 0
  %182 = load float, ptr %181, align 8
  %183 = getelementptr inbounds { float, float }, ptr %180, i32 0, i32 1
  %184 = load float, ptr %183, align 4
  %185 = fmul float %182, %177
  %186 = fmul float %184, %177
  %187 = getelementptr inbounds { float, float }, ptr %180, i32 0, i32 0
  %188 = getelementptr inbounds { float, float }, ptr %180, i32 0, i32 1
  store float %185, ptr %187, align 8
  store float %186, ptr %188, align 4
  br label %189

189:                                              ; preds = %176
  %190 = load i32, ptr %15, align 4, !tbaa !5
  %191 = add i32 %190, 1
  store i32 %191, ptr %15, align 4, !tbaa !5
  br label %105, !llvm.loop !15

192:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %193 = load i32, ptr %6, align 4, !tbaa !5
  %194 = load i32, ptr %7, align 4, !tbaa !5
  %195 = load float, ptr %8, align 4, !tbaa !11
  %196 = call ptr @firdecim_crcf_create_kaiser(i32 noundef %193, i32 noundef %194, float noundef %195)
  store ptr %196, ptr %23, align 8, !tbaa !9
  %197 = load ptr, ptr %23, align 8, !tbaa !9
  %198 = load i32, ptr %6, align 4, !tbaa !5
  %199 = uitofp i32 %198 to float
  %200 = fdiv float 1.000000e+00, %199
  %201 = call i32 @firdecim_crcf_set_scale(ptr noundef %197, float noundef %200)
  %202 = load ptr, ptr %23, align 8, !tbaa !9
  %203 = load i32, ptr %9, align 4, !tbaa !5
  %204 = call i32 @firdecim_crcf_execute_block(ptr noundef %202, ptr noundef %94, i32 noundef %203, ptr noundef %97)
  %205 = load ptr, ptr %23, align 8, !tbaa !9
  %206 = call i32 @firdecim_crcf_destroy(ptr noundef %205)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %207 = call noalias ptr @fopen(ptr noundef @.str.11, ptr noundef @.str.12)
  store ptr %207, ptr %24, align 8, !tbaa !9
  %208 = load ptr, ptr %24, align 8, !tbaa !9
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.13, ptr noundef @.str.11) #7
  %210 = load ptr, ptr %24, align 8, !tbaa !9
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %210, ptr noundef @.str.14) #7
  %212 = load ptr, ptr %24, align 8, !tbaa !9
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %212, ptr noundef @.str.15) #7
  %214 = load ptr, ptr %24, align 8, !tbaa !9
  %215 = load i32, ptr %6, align 4, !tbaa !5
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef @.str.16, i32 noundef %215) #7
  %217 = load ptr, ptr %24, align 8, !tbaa !9
  %218 = load i32, ptr %7, align 4, !tbaa !5
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %217, ptr noundef @.str.17, i32 noundef %218) #7
  %220 = load ptr, ptr %24, align 8, !tbaa !9
  %221 = load i32, ptr %9, align 4, !tbaa !5
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %220, ptr noundef @.str.18, i32 noundef %221) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %223

223:                                              ; preds = %250, %192
  %224 = load i32, ptr %15, align 4, !tbaa !5
  %225 = load i32, ptr %6, align 4, !tbaa !5
  %226 = load i32, ptr %9, align 4, !tbaa !5
  %227 = mul i32 %225, %226
  %228 = icmp ult i32 %224, %227
  br i1 %228, label %229, label %253

229:                                              ; preds = %223
  %230 = load ptr, ptr %24, align 8, !tbaa !9
  %231 = load i32, ptr %15, align 4, !tbaa !5
  %232 = add i32 %231, 1
  %233 = load i32, ptr %15, align 4, !tbaa !5
  %234 = zext i32 %233 to i64
  %235 = getelementptr inbounds { float, float }, ptr %94, i64 %234
  %236 = getelementptr inbounds { float, float }, ptr %235, i32 0, i32 0
  %237 = load float, ptr %236, align 8
  %238 = getelementptr inbounds { float, float }, ptr %235, i32 0, i32 1
  %239 = load float, ptr %238, align 4
  %240 = fpext float %237 to double
  %241 = load i32, ptr %15, align 4, !tbaa !5
  %242 = zext i32 %241 to i64
  %243 = getelementptr inbounds { float, float }, ptr %94, i64 %242
  %244 = getelementptr inbounds { float, float }, ptr %243, i32 0, i32 0
  %245 = load float, ptr %244, align 8
  %246 = getelementptr inbounds { float, float }, ptr %243, i32 0, i32 1
  %247 = load float, ptr %246, align 4
  %248 = fpext float %247 to double
  %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %230, ptr noundef @.str.19, i32 noundef %232, double noundef %240, double noundef %248) #7
  br label %250

250:                                              ; preds = %229
  %251 = load i32, ptr %15, align 4, !tbaa !5
  %252 = add i32 %251, 1
  store i32 %252, ptr %15, align 4, !tbaa !5
  br label %223, !llvm.loop !16

253:                                              ; preds = %223
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %254

254:                                              ; preds = %279, %253
  %255 = load i32, ptr %15, align 4, !tbaa !5
  %256 = load i32, ptr %9, align 4, !tbaa !5
  %257 = icmp ult i32 %255, %256
  br i1 %257, label %258, label %282

258:                                              ; preds = %254
  %259 = load ptr, ptr %24, align 8, !tbaa !9
  %260 = load i32, ptr %15, align 4, !tbaa !5
  %261 = add i32 %260, 1
  %262 = load i32, ptr %15, align 4, !tbaa !5
  %263 = zext i32 %262 to i64
  %264 = getelementptr inbounds { float, float }, ptr %97, i64 %263
  %265 = getelementptr inbounds { float, float }, ptr %264, i32 0, i32 0
  %266 = load float, ptr %265, align 8
  %267 = getelementptr inbounds { float, float }, ptr %264, i32 0, i32 1
  %268 = load float, ptr %267, align 4
  %269 = fpext float %266 to double
  %270 = load i32, ptr %15, align 4, !tbaa !5
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds { float, float }, ptr %97, i64 %271
  %273 = getelementptr inbounds { float, float }, ptr %272, i32 0, i32 0
  %274 = load float, ptr %273, align 8
  %275 = getelementptr inbounds { float, float }, ptr %272, i32 0, i32 1
  %276 = load float, ptr %275, align 4
  %277 = fpext float %276 to double
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %259, ptr noundef @.str.20, i32 noundef %261, double noundef %269, double noundef %277) #7
  br label %279

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

282:                                              ; preds = %254
  %283 = load ptr, ptr %24, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.21) #7
  %285 = load ptr, ptr %24, align 8, !tbaa !9
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.22) #7
  %287 = load ptr, ptr %24, align 8, !tbaa !9
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef @.str.23) #7
  %289 = load ptr, ptr %24, align 8, !tbaa !9
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.24) #7
  %291 = load ptr, ptr %24, align 8, !tbaa !9
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef @.str.25) #7
  %293 = load ptr, ptr %24, align 8, !tbaa !9
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.26) #7
  %295 = load ptr, ptr %24, align 8, !tbaa !9
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str.27) #7
  %297 = load ptr, ptr %24, align 8, !tbaa !9
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %297, ptr noundef @.str.28) #7
  %299 = load ptr, ptr %24, align 8, !tbaa !9
  %300 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %299, ptr noundef @.str.29) #7
  %301 = load ptr, ptr %24, align 8, !tbaa !9
  %302 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %301, ptr noundef @.str.30) #7
  %303 = load ptr, ptr %24, align 8, !tbaa !9
  %304 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %303, ptr noundef @.str.31) #7
  %305 = load ptr, ptr %24, align 8, !tbaa !9
  %306 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.32) #7
  %307 = load ptr, ptr %24, align 8, !tbaa !9
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %307, ptr noundef @.str.33) #7
  %309 = load ptr, ptr %24, align 8, !tbaa !9
  %310 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %309, ptr noundef @.str.34) #7
  %311 = load ptr, ptr %24, align 8, !tbaa !9
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %311, ptr noundef @.str.35) #7
  %313 = load ptr, ptr %24, align 8, !tbaa !9
  %314 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef @.str.36) #7
  %315 = load ptr, ptr %24, align 8, !tbaa !9
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.37) #7
  %317 = load ptr, ptr %24, align 8, !tbaa !9
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.31) #7
  %319 = load ptr, ptr %24, align 8, !tbaa !9
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %319, ptr noundef @.str.32) #7
  %321 = load ptr, ptr %24, align 8, !tbaa !9
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.33) #7
  %323 = load ptr, ptr %24, align 8, !tbaa !9
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %323, ptr noundef @.str.38) #7
  %325 = load ptr, ptr %24, align 8, !tbaa !9
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.35) #7
  %327 = load ptr, ptr %24, align 8, !tbaa !9
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef @.str.39) #7
  %329 = load ptr, ptr %24, align 8, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.40) #7
  %331 = load ptr, ptr %24, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str.31) #7
  %333 = load ptr, ptr %24, align 8, !tbaa !9
  %334 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %333, ptr noundef @.str.41) #7
  %335 = load ptr, ptr %24, align 8, !tbaa !9
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.42) #7
  %337 = load ptr, ptr %24, align 8, !tbaa !9
  %338 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.43) #7
  %339 = load ptr, ptr %24, align 8, !tbaa !9
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %339, ptr noundef @.str.44) #7
  %341 = load ptr, ptr %24, align 8, !tbaa !9
  %342 = call i32 @fclose(ptr noundef %341)
  %343 = call i32 (ptr, ...) @printf(ptr noundef @.str.45, ptr noundef @.str.11)
  %344 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  %345 = load ptr, ptr %12, align 8
  call void @llvm.stackrestore.p0(ptr %345)
  br label %346

346:                                              ; preds = %282, %79, %70, %60, %51, %46, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %347 = load i32, ptr %3, align 4
  ret i32 %347
}

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

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

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

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

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

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

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

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

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

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

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

declare i32 @firdecim_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) #6

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 = { nocallback nofree nosync nounwind willreturn }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }

!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.6 = 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.7 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.46 = 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 range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  br label %.outer

.outer:                                           ; preds = %16, %2
  %.0104.ph = phi i32 [ %18, %16 ], [ 120, %2 ]
  %.0102.ph = phi float [ %.0102.ph161, %16 ], [ 6.000000e+01, %2 ]
  %.0100.ph = phi i32 [ %.0100.ph165, %16 ], [ 8, %2 ]
  %.099.ph = phi i32 [ %.099, %16 ], [ 6, %2 ]
  br label %.outer160

.outer160:                                        ; preds = %.outer, %12
  %.0102.ph161 = phi float [ %.0102.ph, %.outer ], [ %15, %12 ]
  %.0100.ph162 = phi i32 [ %.0100.ph, %.outer ], [ %.0100.ph165, %12 ]
  %.099.ph163 = phi i32 [ %.099.ph, %.outer ], [ %.099, %12 ]
  br label %.outer164

.outer164:                                        ; preds = %.outer160, %9
  %.0100.ph165 = phi i32 [ %.0100.ph162, %.outer160 ], [ %11, %9 ]
  %.099.ph166 = phi i32 [ %.099.ph163, %.outer160 ], [ %.099, %9 ]
  br label %3

3:                                                ; preds = %.outer164, %6
  %.099 = phi i32 [ %8, %6 ], [ %.099.ph166, %.outer164 ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.6) #8
  switch i32 %4, label %19 [
    i32 -1, label %20
    i32 104, label %5
    i32 77, label %6
    i32 109, label %9
    i32 115, label %12
    i32 110, label %16
  ]

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

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

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

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

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

19:                                               ; preds = %3
  tail call void @usage()
  br label %140

20:                                               ; preds = %3
  %21 = icmp ult i32 %.099, 2
  br i1 %21, label %22, label %26

22:                                               ; preds = %20
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.7, ptr noundef %24) #10
  br label %140

26:                                               ; preds = %20
  %27 = icmp eq i32 %.0100.ph165, 0
  br i1 %27, label %28, label %32

28:                                               ; preds = %26
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = load ptr, ptr %1, align 8, !tbaa !5
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.8, ptr noundef %30) #10
  br label %140

32:                                               ; preds = %26
  %33 = fcmp ugt float %.0102.ph161, 0.000000e+00
  br i1 %33, label %38, label %34

34:                                               ; preds = %32
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = load ptr, ptr %1, align 8, !tbaa !5
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.9, ptr noundef %36) #10
  br label %140

38:                                               ; preds = %32
  %39 = icmp eq i32 %.0104.ph, 0
  br i1 %39, label %40, label %44

40:                                               ; preds = %38
  %41 = load ptr, ptr @stderr, align 8, !tbaa !5
  %42 = load ptr, ptr %1, align 8, !tbaa !5
  %43 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.10, ptr noundef %42) #10
  br label %140

44:                                               ; preds = %38
  %45 = mul i32 %.099, %.0104.ph
  %46 = zext i32 %45 to i64
  %47 = tail call ptr @llvm.stacksave.p0()
  %48 = alloca { float, float }, i64 %46, align 16
  %49 = zext i32 %.0104.ph to i64
  %50 = alloca { float, float }, i64 %49, align 16
  %51 = uitofp i32 %.099 to double
  %52 = fmul double %51, 9.000000e-01
  %53 = uitofp i32 %.0104.ph to double
  %54 = fmul double %52, %53
  %55 = fptoui double %54 to i32
  %.not = icmp eq i32 %45, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %44
  %56 = zext i32 %55 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %72
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %72 ]
  %57 = trunc nuw i64 %indvars.iv to i32
  %58 = uitofp i32 %57 to double
  %59 = fmul double %58, 0x3FBB582C2AE2AB68
  %60 = fptrunc double %59 to float
  %.sroa.044.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %60, i64 1
  %61 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.044.4.vec.insert) #8
  %62 = getelementptr inbounds { float, float }, ptr %48, i64 %indvars.iv
  %63 = fmul double %58, 0x3FC0E3A2BBF98B8F
  %64 = fptrunc double %63 to float
  %.sroa.041.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %64, i64 1
  %65 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.041.4.vec.insert) #8
  %66 = fmul <2 x float> %61, <float 0x3FE3333340000000, float 0x3FE3333340000000>
  %67 = fmul <2 x float> %65, <float 0x3FD99999A0000000, float 0x3FD99999A0000000>
  %68 = fadd <2 x float> %66, %67
  %69 = icmp ult i64 %indvars.iv, %56
  br i1 %69, label %70, label %72

70:                                               ; preds = %.lr.ph
  %71 = tail call float @liquid_hamming(i32 noundef %57, i32 noundef %55) #8
  br label %72

72:                                               ; preds = %.lr.ph, %70
  %73 = phi float [ %71, %70 ], [ 0.000000e+00, %.lr.ph ]
  %74 = insertelement <2 x float> poison, float %73, i64 0
  %75 = shufflevector <2 x float> %74, <2 x float> poison, <2 x i32> zeroinitializer
  %76 = fmul <2 x float> %75, %68
  store <2 x float> %76, ptr %62, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %46
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %72, %44
  %77 = tail call ptr @firdecim_crcf_create_kaiser(i32 noundef %.099, i32 noundef %.0100.ph165, float noundef %.0102.ph161) #8
  %78 = uitofp i32 %.099 to float
  %79 = fdiv float 1.000000e+00, %78
  %80 = tail call i32 @firdecim_crcf_set_scale(ptr noundef %77, float noundef %79) #8
  %81 = call i32 @firdecim_crcf_execute_block(ptr noundef %77, ptr noundef nonnull %48, i32 noundef %.0104.ph, ptr noundef nonnull %50) #8
  %82 = call i32 @firdecim_crcf_destroy(ptr noundef %77) #8
  %83 = call noalias ptr @fopen(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12)
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.11) #8
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.14) #8
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.15) #8
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.16, i32 noundef %.099) #8
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.17, i32 noundef %.0100.ph165) #8
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.18, i32 noundef %.0104.ph) #8
  br i1 %.not, label %.preheader, label %.lr.ph122

.preheader:                                       ; preds = %.lr.ph122, %._crit_edge
  %umax = call i32 @llvm.umax.i32(i32 %.0104.ph, i32 1)
  %wide.trip.count142 = zext i32 %umax to i64
  br label %98

.lr.ph122:                                        ; preds = %._crit_edge, %.lr.ph122
  %indvars.iv134 = phi i64 [ %indvars.iv.next135, %.lr.ph122 ], [ 0, %._crit_edge ]
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %90 = getelementptr inbounds { float, float }, ptr %48, i64 %indvars.iv134
  %91 = load float, ptr %90, align 8
  %92 = getelementptr inbounds i8, ptr %90, i64 4
  %93 = fpext float %91 to double
  %94 = load float, ptr %92, align 4
  %95 = fpext float %94 to double
  %96 = trunc nuw i64 %indvars.iv.next135 to i32
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.19, i32 noundef %96, double noundef %93, double noundef %95) #8
  %exitcond138.not = icmp eq i64 %indvars.iv.next135, %46
  br i1 %exitcond138.not, label %.preheader, label %.lr.ph122, !llvm.loop !12

98:                                               ; preds = %.preheader, %98
  %indvars.iv139 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next140, %98 ]
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %99 = getelementptr inbounds { float, float }, ptr %50, i64 %indvars.iv139
  %100 = load float, ptr %99, align 8
  %101 = getelementptr inbounds i8, ptr %99, i64 4
  %102 = fpext float %100 to double
  %103 = load float, ptr %101, align 4
  %104 = fpext float %103 to double
  %105 = trunc nuw i64 %indvars.iv.next140 to i32
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.20, i32 noundef %105, double noundef %102, double noundef %104) #8
  %exitcond143.not = icmp eq i64 %indvars.iv.next140, %wide.trip.count142
  br i1 %exitcond143.not, label %107, label %98, !llvm.loop !13

107:                                              ; preds = %98
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.21) #8
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.22) #8
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.23) #8
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.24) #8
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.25) #8
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.26) #8
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.27) #8
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.28) #8
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.29) #8
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.30) #8
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.31) #8
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.32) #8
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.33) #8
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.34) #8
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.35) #8
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.36) #8
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.37) #8
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.31) #8
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.32) #8
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.33) #8
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.38) #8
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.35) #8
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.39) #8
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.40) #8
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.31) #8
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.41) #8
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.42) #8
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.43) #8
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.44) #8
  %137 = call i32 @fclose(ptr noundef %83)
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.45, ptr noundef nonnull @.str.11)
  %139 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.46)
  call void @llvm.stackrestore.p0(ptr %47)
  br label %140

140:                                              ; preds = %107, %40, %34, %28, %22, %19, %5
  %.0 = phi i32 [ 1, %19 ], [ 0, %5 ], [ 1, %22 ], [ 1, %28 ], [ 1, %34 ], [ 1, %40 ], [ 0, %107 ]
  ret i32 %.0
}

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

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

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

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

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

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

declare float @liquid_hamming(i32 noundef, i32 noundef) local_unnamed_addr #6

declare ptr @firdecim_crcf_create_kaiser(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #6

declare i32 @firdecim_crcf_set_scale(ptr noundef, float noundef) local_unnamed_addr #6

declare i32 @firdecim_crcf_execute_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

declare i32 @firdecim_crcf_destroy(ptr noundef) local_unnamed_addr #6

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

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

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


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