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

21:                                               ; preds = %36, %2
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = load ptr, ptr %5, align 8, !tbaa !9
  %24 = call i32 @getopt(i32 noundef %22, ptr noundef %23, ptr noundef @.str.4) #9
  store i32 %24, ptr %8, align 4, !tbaa !5
  %25 = icmp ne i32 %24, -1
  br i1 %25, label %26, label %37

26:                                               ; preds = %21
  %27 = load i32, ptr %8, align 4, !tbaa !5
  switch i32 %27, label %35 [
    i32 117, label %28
    i32 104, label %28
    i32 77, label %29
    i32 110, label %32
  ]

28:                                               ; preds = %26, %26
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %324

29:                                               ; preds = %26
  %30 = load ptr, ptr @optarg, align 8, !tbaa !9
  %31 = call i32 @atoi(ptr noundef %30) #10
  store i32 %31, ptr %6, align 4, !tbaa !5
  br label %36

32:                                               ; preds = %26
  %33 = load ptr, ptr @optarg, align 8, !tbaa !9
  %34 = call i32 @atoi(ptr noundef %33) #10
  store i32 %34, ptr %7, align 4, !tbaa !5
  br label %36

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

36:                                               ; preds = %32, %29
  br label %21, !llvm.loop !11

37:                                               ; preds = %21
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = icmp ult i32 %38, 2
  br i1 %39, label %40, label %46

40:                                               ; preds = %37
  %41 = load ptr, ptr @stderr, align 8, !tbaa !9
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  %43 = getelementptr inbounds ptr, ptr %42, i64 0
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.5, ptr noundef %44) #9
  call void @exit(i32 noundef 1) #11
  unreachable

46:                                               ; preds = %37
  %47 = load i32, ptr %7, align 4, !tbaa !5
  %48 = icmp ult i32 %47, 1
  br i1 %48, label %49, label %55

49:                                               ; preds = %46
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = load ptr, ptr %5, align 8, !tbaa !9
  %52 = getelementptr inbounds ptr, ptr %51, i64 0
  %53 = load ptr, ptr %52, align 8, !tbaa !9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.6, ptr noundef %53) #9
  call void @usage()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %324

55:                                               ; preds = %46
  br label %56

56:                                               ; preds = %55
  %57 = load i32, ptr %7, align 4, !tbaa !5
  %58 = load i32, ptr %6, align 4, !tbaa !5
  %59 = urem i32 %57, %58
  %60 = load i32, ptr %7, align 4, !tbaa !5
  %61 = add i32 %60, %59
  store i32 %61, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 8, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %62 = load i32, ptr %6, align 4, !tbaa !5
  %63 = load i32, ptr %10, align 4, !tbaa !5
  %64 = call ptr @iirdecim_crcf_create_default(i32 noundef %62, i32 noundef %63)
  store ptr %64, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %65 = load ptr, ptr %11, align 8, !tbaa !9
  %66 = call float @iirdecim_crcf_groupdelay(ptr noundef %65, float noundef 0.000000e+00)
  store float %66, ptr %12, align 4, !tbaa !13
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = zext i32 %67 to i64
  %69 = call ptr @llvm.stacksave.p0()
  store ptr %69, ptr %13, align 8
  %70 = alloca { float, float }, i64 %68, align 16
  store i64 %68, ptr %14, align 8
  %71 = load i32, ptr %7, align 4, !tbaa !5
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = udiv i32 %71, %72
  %74 = zext i32 %73 to i64
  %75 = alloca { float, float }, i64 %74, align 16
  store i64 %74, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %76 = load i32, ptr %7, align 4, !tbaa !5
  %77 = uitofp i32 %76 to float
  %78 = load float, ptr %12, align 4, !tbaa !13
  %79 = fmul float 4.000000e+00, %78
  %80 = fcmp ogt float %77, %79
  br i1 %80, label %81, label %86

81:                                               ; preds = %56
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = uitofp i32 %82 to float
  %84 = load float, ptr %12, align 4, !tbaa !13
  %85 = call float @llvm.fmuladd.f32(float -4.000000e+00, float %84, float %83)
  br label %89

86:                                               ; preds = %56
  %87 = load i32, ptr %7, align 4, !tbaa !5
  %88 = uitofp i32 %87 to float
  br label %89

89:                                               ; preds = %86, %81
  %90 = phi float [ %85, %81 ], [ %88, %86 ]
  %91 = fptoui float %90 to i32
  store i32 %91, ptr %17, align 4, !tbaa !5
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %149, %89
  %93 = load i32, ptr %16, align 4, !tbaa !5
  %94 = load i32, ptr %7, align 4, !tbaa !5
  %95 = icmp ult i32 %93, %94
  br i1 %95, label %96, label %152

96:                                               ; preds = %92
  %97 = load i32, ptr %16, align 4, !tbaa !5
  %98 = uitofp i32 %97 to double
  %99 = load i32, ptr %16, align 4, !tbaa !5
  %100 = uitofp i32 %99 to double
  %101 = fmul double 3.000000e-01, %100
  %102 = load i32, ptr %16, align 4, !tbaa !5
  %103 = uitofp i32 %102 to double
  %104 = fmul double %101, %103
  %105 = load i32, ptr %7, align 4, !tbaa !5
  %106 = uitofp i32 %105 to float
  %107 = fpext float %106 to double
  %108 = fdiv double %104, %107
  %109 = fneg double %108
  %110 = call double @llvm.fmuladd.f64(double 0x3FC8209F5B22BAA6, double %98, double %109)
  %111 = fmul double 0.000000e+00, %110
  %112 = fmul double 1.000000e+00, %110
  %113 = fptrunc double %111 to float
  %114 = fptrunc double %112 to float
  %115 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %116 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  store float %113, ptr %115, align 4
  store float %114, ptr %116, align 4
  %117 = load <2 x float>, ptr %18, align 4
  %118 = call <2 x float> @cexpf(<2 x float> noundef %117) #9
  store <2 x float> %118, ptr %19, align 4
  %119 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %120 = load float, ptr %119, align 4
  %121 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  %122 = load float, ptr %121, align 4
  %123 = load i32, ptr %16, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds { float, float }, ptr %70, i64 %124
  %126 = getelementptr inbounds { float, float }, ptr %125, i32 0, i32 0
  %127 = getelementptr inbounds { float, float }, ptr %125, i32 0, i32 1
  store float %120, ptr %126, align 8
  store float %122, ptr %127, align 4
  %128 = load i32, ptr %16, align 4, !tbaa !5
  %129 = load i32, ptr %17, align 4, !tbaa !5
  %130 = icmp ult i32 %128, %129
  br i1 %130, label %131, label %135

131:                                              ; preds = %96
  %132 = load i32, ptr %16, align 4, !tbaa !5
  %133 = load i32, ptr %17, align 4, !tbaa !5
  %134 = call float @liquid_hamming(i32 noundef %132, i32 noundef %133)
  br label %136

135:                                              ; preds = %96
  br label %136

136:                                              ; preds = %135, %131
  %137 = phi float [ %134, %131 ], [ 0.000000e+00, %135 ]
  %138 = load i32, ptr %16, align 4, !tbaa !5
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds { float, float }, ptr %70, i64 %139
  %141 = getelementptr inbounds { float, float }, ptr %140, i32 0, i32 0
  %142 = load float, ptr %141, align 8
  %143 = getelementptr inbounds { float, float }, ptr %140, i32 0, i32 1
  %144 = load float, ptr %143, align 4
  %145 = fmul float %142, %137
  %146 = fmul float %144, %137
  %147 = getelementptr inbounds { float, float }, ptr %140, i32 0, i32 0
  %148 = getelementptr inbounds { float, float }, ptr %140, i32 0, i32 1
  store float %145, ptr %147, align 8
  store float %146, ptr %148, align 4
  br label %149

149:                                              ; preds = %136
  %150 = load i32, ptr %16, align 4, !tbaa !5
  %151 = add i32 %150, 1
  store i32 %151, ptr %16, align 4, !tbaa !5
  br label %92, !llvm.loop !15

152:                                              ; preds = %92
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %153

153:                                              ; preds = %170, %152
  %154 = load i32, ptr %16, align 4, !tbaa !5
  %155 = load i32, ptr %7, align 4, !tbaa !5
  %156 = load i32, ptr %6, align 4, !tbaa !5
  %157 = udiv i32 %155, %156
  %158 = icmp ult i32 %154, %157
  br i1 %158, label %159, label %173

159:                                              ; preds = %153
  %160 = load ptr, ptr %11, align 8, !tbaa !9
  %161 = load i32, ptr %6, align 4, !tbaa !5
  %162 = load i32, ptr %16, align 4, !tbaa !5
  %163 = mul i32 %161, %162
  %164 = zext i32 %163 to i64
  %165 = getelementptr inbounds { float, float }, ptr %70, i64 %164
  %166 = load i32, ptr %16, align 4, !tbaa !5
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds { float, float }, ptr %75, i64 %167
  %169 = call i32 @iirdecim_crcf_execute(ptr noundef %160, ptr noundef %165, ptr noundef %168)
  br label %170

170:                                              ; preds = %159
  %171 = load i32, ptr %16, align 4, !tbaa !5
  %172 = add i32 %171, 1
  store i32 %172, ptr %16, align 4, !tbaa !5
  br label %153, !llvm.loop !16

173:                                              ; preds = %153
  %174 = load ptr, ptr %11, align 8, !tbaa !9
  %175 = call i32 @iirdecim_crcf_destroy(ptr noundef %174)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %176 = call noalias ptr @fopen(ptr noundef @.str.7, ptr noundef @.str.8)
  store ptr %176, ptr %20, align 8, !tbaa !9
  %177 = load ptr, ptr %20, align 8, !tbaa !9
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str.9, ptr noundef @.str.7) #9
  %179 = load ptr, ptr %20, align 8, !tbaa !9
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.10) #9
  %181 = load ptr, ptr %20, align 8, !tbaa !9
  %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %181, ptr noundef @.str.11) #9
  %183 = load ptr, ptr %20, align 8, !tbaa !9
  %184 = load i32, ptr %6, align 4, !tbaa !5
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %183, ptr noundef @.str.12, i32 noundef %184) #9
  %186 = load ptr, ptr %20, align 8, !tbaa !9
  %187 = load float, ptr %12, align 4, !tbaa !13
  %188 = fpext float %187 to double
  %189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef @.str.13, double noundef %188) #9
  %190 = load ptr, ptr %20, align 8, !tbaa !9
  %191 = load i32, ptr %7, align 4, !tbaa !5
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %190, ptr noundef @.str.14, i32 noundef %191) #9
  %193 = load ptr, ptr %20, align 8, !tbaa !9
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.15) #9
  %195 = load ptr, ptr %20, align 8, !tbaa !9
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.16) #9
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %197

197:                                              ; preds = %222, %173
  %198 = load i32, ptr %16, align 4, !tbaa !5
  %199 = load i32, ptr %7, align 4, !tbaa !5
  %200 = icmp ult i32 %198, %199
  br i1 %200, label %201, label %225

201:                                              ; preds = %197
  %202 = load ptr, ptr %20, align 8, !tbaa !9
  %203 = load i32, ptr %16, align 4, !tbaa !5
  %204 = add i32 %203, 1
  %205 = load i32, ptr %16, align 4, !tbaa !5
  %206 = zext i32 %205 to i64
  %207 = getelementptr inbounds { float, float }, ptr %70, i64 %206
  %208 = getelementptr inbounds { float, float }, ptr %207, i32 0, i32 0
  %209 = load float, ptr %208, align 8
  %210 = getelementptr inbounds { float, float }, ptr %207, i32 0, i32 1
  %211 = load float, ptr %210, align 4
  %212 = fpext float %209 to double
  %213 = load i32, ptr %16, align 4, !tbaa !5
  %214 = zext i32 %213 to i64
  %215 = getelementptr inbounds { float, float }, ptr %70, i64 %214
  %216 = getelementptr inbounds { float, float }, ptr %215, i32 0, i32 0
  %217 = load float, ptr %216, align 8
  %218 = getelementptr inbounds { float, float }, ptr %215, i32 0, i32 1
  %219 = load float, ptr %218, align 4
  %220 = fpext float %219 to double
  %221 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %202, ptr noundef @.str.17, i32 noundef %204, double noundef %212, double noundef %220) #9
  br label %222

222:                                              ; preds = %201
  %223 = load i32, ptr %16, align 4, !tbaa !5
  %224 = add i32 %223, 1
  store i32 %224, ptr %16, align 4, !tbaa !5
  br label %197, !llvm.loop !17

225:                                              ; preds = %197
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %226

226:                                              ; preds = %253, %225
  %227 = load i32, ptr %16, align 4, !tbaa !5
  %228 = load i32, ptr %7, align 4, !tbaa !5
  %229 = load i32, ptr %6, align 4, !tbaa !5
  %230 = udiv i32 %228, %229
  %231 = icmp ult i32 %227, %230
  br i1 %231, label %232, label %256

232:                                              ; preds = %226
  %233 = load ptr, ptr %20, align 8, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !5
  %235 = add i32 %234, 1
  %236 = load i32, ptr %16, align 4, !tbaa !5
  %237 = zext i32 %236 to i64
  %238 = getelementptr inbounds { float, float }, ptr %75, i64 %237
  %239 = getelementptr inbounds { float, float }, ptr %238, i32 0, i32 0
  %240 = load float, ptr %239, align 8
  %241 = getelementptr inbounds { float, float }, ptr %238, i32 0, i32 1
  %242 = load float, ptr %241, align 4
  %243 = fpext float %240 to double
  %244 = load i32, ptr %16, align 4, !tbaa !5
  %245 = zext i32 %244 to i64
  %246 = getelementptr inbounds { float, float }, ptr %75, i64 %245
  %247 = getelementptr inbounds { float, float }, ptr %246, i32 0, i32 0
  %248 = load float, ptr %247, align 8
  %249 = getelementptr inbounds { float, float }, ptr %246, i32 0, i32 1
  %250 = load float, ptr %249, align 4
  %251 = fpext float %250 to double
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.18, i32 noundef %235, double noundef %243, double noundef %251) #9
  br label %253

253:                                              ; preds = %232
  %254 = load i32, ptr %16, align 4, !tbaa !5
  %255 = add i32 %254, 1
  store i32 %255, ptr %16, align 4, !tbaa !5
  br label %226, !llvm.loop !18

256:                                              ; preds = %226
  %257 = load ptr, ptr %20, align 8, !tbaa !9
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %257, ptr noundef @.str.19) #9
  %259 = load ptr, ptr %20, align 8, !tbaa !9
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %259, ptr noundef @.str.20) #9
  %261 = load ptr, ptr %20, align 8, !tbaa !9
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.21) #9
  %263 = load ptr, ptr %20, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.22) #9
  %265 = load ptr, ptr %20, align 8, !tbaa !9
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef @.str.23) #9
  %267 = load ptr, ptr %20, align 8, !tbaa !9
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.24) #9
  %269 = load ptr, ptr %20, align 8, !tbaa !9
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.25) #9
  %271 = load ptr, ptr %20, align 8, !tbaa !9
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str.26) #9
  %273 = load ptr, ptr %20, align 8, !tbaa !9
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.27) #9
  %275 = load ptr, ptr %20, align 8, !tbaa !9
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.28) #9
  %277 = load ptr, ptr %20, align 8, !tbaa !9
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %277, ptr noundef @.str.29) #9
  %279 = load ptr, ptr %20, align 8, !tbaa !9
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.30) #9
  %281 = load ptr, ptr %20, align 8, !tbaa !9
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.31) #9
  %283 = load ptr, ptr %20, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.25) #9
  %285 = load ptr, ptr %20, align 8, !tbaa !9
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.26) #9
  %287 = load ptr, ptr %20, align 8, !tbaa !9
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef @.str.27) #9
  %289 = load ptr, ptr %20, align 8, !tbaa !9
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.32) #9
  %291 = load ptr, ptr %20, align 8, !tbaa !9
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef @.str.29) #9
  %293 = load ptr, ptr %20, align 8, !tbaa !9
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.33) #9
  %295 = load ptr, ptr %20, align 8, !tbaa !9
  %296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %295, ptr noundef @.str.34) #9
  %297 = load ptr, ptr %20, align 8, !tbaa !9
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %297, ptr noundef @.str.35) #9
  %299 = load ptr, ptr %20, align 8, !tbaa !9
  %300 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %299, ptr noundef @.str.36) #9
  %301 = load ptr, ptr %20, align 8, !tbaa !9
  %302 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %301, ptr noundef @.str.37) #9
  %303 = load ptr, ptr %20, align 8, !tbaa !9
  %304 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %303, ptr noundef @.str.22) #9
  %305 = load ptr, ptr %20, align 8, !tbaa !9
  %306 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.38) #9
  %307 = load ptr, ptr %20, align 8, !tbaa !9
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %307, ptr noundef @.str.39) #9
  %309 = load ptr, ptr %20, align 8, !tbaa !9
  %310 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %309, ptr noundef @.str.40) #9
  %311 = load ptr, ptr %20, align 8, !tbaa !9
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %311, ptr noundef @.str.41) #9
  %313 = load ptr, ptr %20, align 8, !tbaa !9
  %314 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef @.str.42) #9
  %315 = load ptr, ptr %20, align 8, !tbaa !9
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.43) #9
  %317 = load ptr, ptr %20, align 8, !tbaa !9
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.44) #9
  %319 = load ptr, ptr %20, align 8, !tbaa !9
  %320 = call i32 @fclose(ptr noundef %319)
  %321 = call i32 (ptr, ...) @printf(ptr noundef @.str.45, ptr noundef @.str.7)
  %322 = call i32 (ptr, ...) @printf(ptr noundef @.str.46)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  %323 = load ptr, ptr %13, align 8
  call void @llvm.stackrestore.p0(ptr %323)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %324

324:                                              ; preds = %256, %49, %28
  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
  %325 = load i32, ptr %3, align 4
  ret i32 %325
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nosync nounwind willreturn }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 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 [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [24 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 = %9, %2
  %.0105.ph = phi i32 [ %11, %9 ], [ 400, %2 ]
  %.0104.ph = phi i32 [ %.0104, %9 ], [ 4, %2 ]
  br label %3

3:                                                ; preds = %.outer, %6
  %.0104 = phi i32 [ %8, %6 ], [ %.0104.ph, %.outer ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.4) #9
  switch i32 %4, label %12 [
    i32 -1, label %13
    i32 117, label %5
    i32 104, label %5
    i32 77, label %6
    i32 110, label %9
  ]

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

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

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

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

13:                                               ; preds = %3
  %14 = icmp ult i32 %.0104, 2
  br i1 %14, label %15, label %19

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

19:                                               ; preds = %13
  %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) #12
  tail call void @usage()
  br label %136

25:                                               ; preds = %19
  %26 = urem i32 %.0105.ph, %.0104
  %27 = add i32 %26, %.0105.ph
  %28 = tail call ptr @iirdecim_crcf_create_default(i32 noundef %.0104, i32 noundef 8) #9
  %29 = tail call float @iirdecim_crcf_groupdelay(ptr noundef %28, float noundef 0.000000e+00) #9
  %30 = zext i32 %27 to i64
  %31 = tail call ptr @llvm.stacksave.p0()
  %32 = alloca { float, float }, i64 %30, align 16
  %33 = udiv i32 %27, %.0104
  %34 = zext nneg i32 %33 to i64
  %35 = alloca { float, float }, i64 %34, align 16
  %36 = uitofp i32 %27 to float
  %37 = fmul float %29, 4.000000e+00
  %38 = fcmp olt float %37, %36
  %39 = tail call float @llvm.fmuladd.f32(float %29, float -4.000000e+00, float %36)
  %40 = select i1 %38, float %39, float %36
  %41 = fptoui float %40 to i32
  %.not = icmp eq i32 %27, 0
  br i1 %.not, label %.preheader115, label %.lr.ph

.lr.ph:                                           ; preds = %25
  %42 = fpext float %36 to double
  %43 = zext i32 %41 to i64
  br label %44

.preheader115:                                    ; preds = %60, %25
  %.not129 = icmp ugt i32 %.0104, %27
  br i1 %.not129, label %._crit_edge, label %.lr.ph122

44:                                               ; preds = %.lr.ph, %60
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %60 ]
  %45 = trunc nuw i64 %indvars.iv to i32
  %46 = uitofp i32 %45 to double
  %47 = fmul double %46, -3.000000e-01
  %48 = fmul double %47, %46
  %49 = fdiv double %48, %42
  %50 = tail call double @llvm.fmuladd.f64(double %46, double 0x3FC8209F5B22BAA6, double %49)
  %51 = fmul double %50, 0.000000e+00
  %52 = insertelement <2 x double> poison, double %51, i64 0
  %53 = insertelement <2 x double> %52, double %50, i64 1
  %54 = fptrunc <2 x double> %53 to <2 x float>
  %55 = tail call <2 x float> @cexpf(<2 x float> noundef %54) #9
  %56 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv
  %57 = icmp ult i64 %indvars.iv, %43
  br i1 %57, label %58, label %60

58:                                               ; preds = %44
  %59 = tail call float @liquid_hamming(i32 noundef %45, i32 noundef %41) #9
  br label %60

60:                                               ; preds = %44, %58
  %61 = phi float [ %59, %58 ], [ 0.000000e+00, %44 ]
  %62 = insertelement <2 x float> poison, float %61, i64 0
  %63 = shufflevector <2 x float> %62, <2 x float> poison, <2 x i32> zeroinitializer
  %64 = fmul <2 x float> %63, %55
  store <2 x float> %64, ptr %56, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %65 = icmp ult i64 %indvars.iv.next, %30
  br i1 %65, label %44, label %.preheader115, !llvm.loop !11

.lr.ph122:                                        ; preds = %.preheader115, %.lr.ph122
  %indvars.iv137 = phi i64 [ %indvars.iv.next138, %.lr.ph122 ], [ 0, %.preheader115 ]
  %66 = trunc nuw nsw i64 %indvars.iv137 to i32
  %67 = mul i32 %.0104, %66
  %68 = zext i32 %67 to i64
  %69 = getelementptr inbounds { float, float }, ptr %32, i64 %68
  %70 = getelementptr inbounds { float, float }, ptr %35, i64 %indvars.iv137
  %71 = call i32 @iirdecim_crcf_execute(ptr noundef %28, ptr noundef nonnull %69, ptr noundef nonnull %70) #9
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %72 = icmp ult i64 %indvars.iv.next138, %34
  br i1 %72, label %.lr.ph122, label %._crit_edge, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph122, %.preheader115
  %73 = call i32 @iirdecim_crcf_destroy(ptr noundef %28) #9
  %74 = call noalias ptr @fopen(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8)
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.7) #9
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.10) #9
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.11) #9
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.12, i32 noundef %.0104) #9
  %79 = fpext float %29 to double
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.13, double noundef %79) #9
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.14, i32 noundef %27) #9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.15) #9
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.16) #9
  br i1 %.not, label %.preheader, label %.lr.ph125

.preheader:                                       ; preds = %.lr.ph125, %._crit_edge
  br i1 %.not129, label %._crit_edge128, label %.lr.ph127

.lr.ph125:                                        ; preds = %._crit_edge, %.lr.ph125
  %indvars.iv140 = phi i64 [ %indvars.iv.next141, %.lr.ph125 ], [ 0, %._crit_edge ]
  %indvars.iv.next141 = add nuw nsw i64 %indvars.iv140, 1
  %84 = getelementptr inbounds { float, float }, ptr %32, i64 %indvars.iv140
  %85 = load float, ptr %84, align 8
  %86 = getelementptr inbounds i8, ptr %84, i64 4
  %87 = fpext float %85 to double
  %88 = load float, ptr %86, align 4
  %89 = fpext float %88 to double
  %90 = trunc nuw i64 %indvars.iv.next141 to i32
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.17, i32 noundef %90, double noundef %87, double noundef %89) #9
  %92 = icmp ult i64 %indvars.iv.next141, %30
  br i1 %92, label %.lr.ph125, label %.preheader, !llvm.loop !13

.lr.ph127:                                        ; preds = %.preheader, %.lr.ph127
  %indvars.iv143 = phi i64 [ %indvars.iv.next144, %.lr.ph127 ], [ 0, %.preheader ]
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %93 = getelementptr inbounds { float, float }, ptr %35, i64 %indvars.iv143
  %94 = load float, ptr %93, align 8
  %95 = getelementptr inbounds i8, ptr %93, i64 4
  %96 = fpext float %94 to double
  %97 = load float, ptr %95, align 4
  %98 = fpext float %97 to double
  %99 = trunc nuw nsw i64 %indvars.iv.next144 to i32
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.18, i32 noundef %99, double noundef %96, double noundef %98) #9
  %101 = icmp ult i64 %indvars.iv.next144, %34
  br i1 %101, label %.lr.ph127, label %._crit_edge128, !llvm.loop !14

._crit_edge128:                                   ; preds = %.lr.ph127, %.preheader
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.19) #9
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.20) #9
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.21) #9
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.22) #9
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.23) #9
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.24) #9
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.25) #9
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.26) #9
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.27) #9
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.28) #9
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.29) #9
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.30) #9
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.31) #9
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.25) #9
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.26) #9
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.27) #9
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.32) #9
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.29) #9
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.33) #9
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.34) #9
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.35) #9
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.36) #9
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.37) #9
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.22) #9
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.38) #9
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.39) #9
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.40) #9
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.41) #9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.42) #9
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.43) #9
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.44) #9
  %133 = call i32 @fclose(ptr noundef %74)
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.45, ptr noundef nonnull @.str.7)
  %135 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.46)
  call void @llvm.stackrestore.p0(ptr %31)
  br label %136

136:                                              ; preds = %._crit_edge128, %21, %5
  %.0 = phi i32 [ 0, %5 ], [ 1, %21 ], [ 0, %._crit_edge128 ]
  ret i32 %.0
}

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

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

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

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

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

declare float @iirdecim_crcf_groupdelay(ptr noundef, float noundef) local_unnamed_addr #6

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

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

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

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

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

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

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

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


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