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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

34:                                               ; preds = %77, %2
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = call i32 @getopt(i32 noundef %35, ptr noundef %36, ptr noundef @.str.7) #9
  store i32 %37, ptr %12, align 4, !tbaa !5
  %38 = icmp ne i32 %37, -1
  br i1 %38, label %39, label %78

39:                                               ; preds = %34
  %40 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %40, label %76 [
    i32 117, label %41
    i32 104, label %41
    i32 116, label %42
    i32 107, label %63
    i32 109, label %66
    i32 98, label %69
    i32 110, label %73
  ]

41:                                               ; preds = %39, %39
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %482

42:                                               ; preds = %39
  %43 = load ptr, ptr @optarg, align 8, !tbaa !9
  %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.8) #10
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %42
  store i32 11, ptr %10, align 4, !tbaa !5
  store i32 12, ptr %11, align 4, !tbaa !5
  br label %52

47:                                               ; preds = %42
  %48 = load ptr, ptr @optarg, align 8, !tbaa !9
  %49 = call i32 @liquid_getopt_str2firfilt(ptr noundef %48)
  store i32 %49, ptr %10, align 4, !tbaa !5
  %50 = load ptr, ptr @optarg, align 8, !tbaa !9
  %51 = call i32 @liquid_getopt_str2firfilt(ptr noundef %50)
  store i32 %51, ptr %11, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %47, %46
  %53 = load i32, ptr %10, align 4, !tbaa !5
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %62

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

62:                                               ; preds = %52
  br label %77

63:                                               ; preds = %39
  %64 = load ptr, ptr @optarg, align 8, !tbaa !9
  %65 = call i32 @atoi(ptr noundef %64) #10
  store i32 %65, ptr %6, align 4, !tbaa !5
  br label %77

66:                                               ; preds = %39
  %67 = load ptr, ptr @optarg, align 8, !tbaa !9
  %68 = call i32 @atoi(ptr noundef %67) #10
  store i32 %68, ptr %7, align 4, !tbaa !5
  br label %77

69:                                               ; preds = %39
  %70 = load ptr, ptr @optarg, align 8, !tbaa !9
  %71 = call double @atof(ptr noundef %70) #10
  %72 = fptrunc double %71 to float
  store float %72, ptr %8, align 4, !tbaa !11
  br label %77

73:                                               ; preds = %39
  %74 = load ptr, ptr @optarg, align 8, !tbaa !9
  %75 = call i32 @atoi(ptr noundef %74) #10
  store i32 %75, ptr %9, align 4, !tbaa !5
  br label %77

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

77:                                               ; preds = %73, %69, %66, %63, %62
  br label %34, !llvm.loop !13

78:                                               ; preds = %34
  %79 = load i32, ptr %6, align 4, !tbaa !5
  %80 = icmp ult i32 %79, 2
  br i1 %80, label %81, label %87

81:                                               ; preds = %78
  %82 = load ptr, ptr @stderr, align 8, !tbaa !9
  %83 = load ptr, ptr %5, align 8, !tbaa !9
  %84 = getelementptr inbounds ptr, ptr %83, i64 0
  %85 = load ptr, ptr %84, align 8, !tbaa !9
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.10, ptr noundef %85) #9
  call void @exit(i32 noundef 1) #11
  unreachable

87:                                               ; preds = %78
  %88 = load i32, ptr %7, align 4, !tbaa !5
  %89 = icmp ult i32 %88, 1
  br i1 %89, label %90, label %96

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

96:                                               ; preds = %87
  %97 = load float, ptr %8, align 4, !tbaa !11
  %98 = fcmp ole float %97, 0.000000e+00
  br i1 %98, label %102, label %99

99:                                               ; preds = %96
  %100 = load float, ptr %8, align 4, !tbaa !11
  %101 = fcmp oge float %100, 1.000000e+00
  br i1 %101, label %102, label %108

102:                                              ; preds = %99, %96
  %103 = load ptr, ptr @stderr, align 8, !tbaa !9
  %104 = load ptr, ptr %5, align 8, !tbaa !9
  %105 = getelementptr inbounds ptr, ptr %104, i64 0
  %106 = load ptr, ptr %105, align 8, !tbaa !9
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.12, ptr noundef %106) #9
  call void @exit(i32 noundef 1) #11
  unreachable

108:                                              ; preds = %99
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %111 = load i32, ptr %9, align 4, !tbaa !5
  %112 = load i32, ptr %6, align 4, !tbaa !5
  %113 = mul i32 %111, %112
  store i32 %113, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %114 = load i32, ptr %6, align 4, !tbaa !5
  %115 = mul i32 2, %114
  %116 = load i32, ptr %7, align 4, !tbaa !5
  %117 = mul i32 %115, %116
  %118 = add i32 %117, 1
  store i32 %118, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  %119 = load i32, ptr %6, align 4, !tbaa !5
  %120 = mul i32 4, %119
  %121 = load i32, ptr %7, align 4, !tbaa !5
  %122 = mul i32 %120, %121
  %123 = add i32 %122, 1
  store i32 %123, ptr %17, align 4, !tbaa !5
  %124 = load i32, ptr %16, align 4, !tbaa !5
  %125 = zext i32 %124 to i64
  %126 = call ptr @llvm.stacksave.p0()
  store ptr %126, ptr %18, align 8
  %127 = alloca float, i64 %125, align 16
  store i64 %125, ptr %19, align 8
  %128 = load i32, ptr %16, align 4, !tbaa !5
  %129 = zext i32 %128 to i64
  %130 = alloca float, i64 %129, align 16
  store i64 %129, ptr %20, align 8
  %131 = load i32, ptr %17, align 4, !tbaa !5
  %132 = zext i32 %131 to i64
  %133 = alloca float, i64 %132, align 16
  store i64 %132, ptr %21, align 8
  %134 = load i32, ptr %10, align 4, !tbaa !5
  %135 = load i32, ptr %6, align 4, !tbaa !5
  %136 = load i32, ptr %7, align 4, !tbaa !5
  %137 = load float, ptr %8, align 4, !tbaa !11
  %138 = call i32 @liquid_firdes_prototype(i32 noundef %134, i32 noundef %135, i32 noundef %136, float noundef %137, float noundef 0.000000e+00, ptr noundef %127)
  %139 = load i32, ptr %11, align 4, !tbaa !5
  %140 = load i32, ptr %6, align 4, !tbaa !5
  %141 = load i32, ptr %7, align 4, !tbaa !5
  %142 = load float, ptr %8, align 4, !tbaa !11
  %143 = call i32 @liquid_firdes_prototype(i32 noundef %139, i32 noundef %140, i32 noundef %141, float noundef %142, float noundef 0.000000e+00, ptr noundef %130)
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %144

144:                                              ; preds = %157, %110
  %145 = load i32, ptr %14, align 4, !tbaa !5
  %146 = load i32, ptr %16, align 4, !tbaa !5
  %147 = icmp ult i32 %145, %146
  br i1 %147, label %148, label %160

148:                                              ; preds = %144
  %149 = load i32, ptr %14, align 4, !tbaa !5
  %150 = add i32 %149, 1
  %151 = load i32, ptr %14, align 4, !tbaa !5
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds float, ptr %127, i64 %152
  %154 = load float, ptr %153, align 4, !tbaa !11
  %155 = fpext float %154 to double
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %150, double noundef %155)
  br label %157

157:                                              ; preds = %148
  %158 = load i32, ptr %14, align 4, !tbaa !5
  %159 = add i32 %158, 1
  store i32 %159, ptr %14, align 4, !tbaa !5
  br label %144, !llvm.loop !15

160:                                              ; preds = %144
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %161

161:                                              ; preds = %174, %160
  %162 = load i32, ptr %14, align 4, !tbaa !5
  %163 = load i32, ptr %16, align 4, !tbaa !5
  %164 = icmp ult i32 %162, %163
  br i1 %164, label %165, label %177

165:                                              ; preds = %161
  %166 = load i32, ptr %14, align 4, !tbaa !5
  %167 = add i32 %166, 1
  %168 = load i32, ptr %14, align 4, !tbaa !5
  %169 = zext i32 %168 to i64
  %170 = getelementptr inbounds float, ptr %130, i64 %169
  %171 = load float, ptr %170, align 4, !tbaa !11
  %172 = fpext float %171 to double
  %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %167, double noundef %172)
  br label %174

174:                                              ; preds = %165
  %175 = load i32, ptr %14, align 4, !tbaa !5
  %176 = add i32 %175, 1
  store i32 %176, ptr %14, align 4, !tbaa !5
  br label %161, !llvm.loop !16

177:                                              ; preds = %161
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %178

178:                                              ; preds = %200, %177
  %179 = load i32, ptr %14, align 4, !tbaa !5
  %180 = load i32, ptr %6, align 4, !tbaa !5
  %181 = mul i32 4, %180
  %182 = load i32, ptr %7, align 4, !tbaa !5
  %183 = mul i32 %181, %182
  %184 = add i32 %183, 1
  %185 = icmp ult i32 %179, %184
  br i1 %185, label %186, label %203

186:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %187 = load i32, ptr %14, align 4, !tbaa !5
  %188 = load i32, ptr %6, align 4, !tbaa !5
  %189 = mul i32 2, %188
  %190 = load i32, ptr %7, align 4, !tbaa !5
  %191 = mul i32 %189, %190
  %192 = sub nsw i32 %187, %191
  store i32 %192, ptr %22, align 4, !tbaa !5
  %193 = load i32, ptr %16, align 4, !tbaa !5
  %194 = load i32, ptr %16, align 4, !tbaa !5
  %195 = load i32, ptr %22, align 4, !tbaa !5
  %196 = call float @liquid_filter_crosscorr(ptr noundef %127, i32 noundef %193, ptr noundef %130, i32 noundef %194, i32 noundef %195)
  %197 = load i32, ptr %14, align 4, !tbaa !5
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds float, ptr %133, i64 %198
  store float %196, ptr %199, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %200

200:                                              ; preds = %186
  %201 = load i32, ptr %14, align 4, !tbaa !5
  %202 = add i32 %201, 1
  store i32 %202, ptr %14, align 4, !tbaa !5
  br label %178, !llvm.loop !17

203:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %204 = load i32, ptr %16, align 4, !tbaa !5
  %205 = load i32, ptr %16, align 4, !tbaa !5
  %206 = call float @liquid_filter_crosscorr(ptr noundef %127, i32 noundef %204, ptr noundef %130, i32 noundef %205, i32 noundef 0)
  store float %206, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  store float 0.000000e+00, ptr %24, align 4, !tbaa !11
  store i32 1, ptr %14, align 4, !tbaa !5
  br label %207

207:                                              ; preds = %225, %203
  %208 = load i32, ptr %14, align 4, !tbaa !5
  %209 = load i32, ptr %7, align 4, !tbaa !5
  %210 = mul i32 2, %209
  %211 = icmp ult i32 %208, %210
  br i1 %211, label %212, label %228

212:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %213 = load i32, ptr %16, align 4, !tbaa !5
  %214 = load i32, ptr %16, align 4, !tbaa !5
  %215 = load i32, ptr %14, align 4, !tbaa !5
  %216 = load i32, ptr %6, align 4, !tbaa !5
  %217 = mul i32 %215, %216
  %218 = call float @liquid_filter_crosscorr(ptr noundef %127, i32 noundef %213, ptr noundef %130, i32 noundef %214, i32 noundef %217)
  %219 = load float, ptr %23, align 4, !tbaa !11
  %220 = fdiv float %218, %219
  store float %220, ptr %25, align 4, !tbaa !11
  %221 = load float, ptr %25, align 4, !tbaa !11
  %222 = load float, ptr %25, align 4, !tbaa !11
  %223 = load float, ptr %24, align 4, !tbaa !11
  %224 = call float @llvm.fmuladd.f32(float %221, float %222, float %223)
  store float %224, ptr %24, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %225

225:                                              ; preds = %212
  %226 = load i32, ptr %14, align 4, !tbaa !5
  %227 = add i32 %226, 1
  store i32 %227, ptr %14, align 4, !tbaa !5
  br label %207, !llvm.loop !18

228:                                              ; preds = %207
  %229 = load float, ptr %24, align 4, !tbaa !11
  %230 = load i32, ptr %7, align 4, !tbaa !5
  %231 = mul i32 2, %230
  %232 = sub i32 %231, 1
  %233 = uitofp i32 %232 to float
  %234 = fdiv float %229, %233
  %235 = call float @sqrtf(float noundef %234) #9
  store float %235, ptr %24, align 4, !tbaa !11
  %236 = load float, ptr %24, align 4, !tbaa !11
  %237 = call float @log10f(float noundef %236) #9
  %238 = fmul float 2.000000e+01, %237
  %239 = fpext float %238 to double
  %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %239)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 2048, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  %241 = load i32, ptr %16, align 4, !tbaa !5
  %242 = load float, ptr %8, align 4, !tbaa !11
  %243 = fadd float 1.000000e+00, %242
  %244 = fmul float 5.000000e-01, %243
  %245 = load i32, ptr %6, align 4, !tbaa !5
  %246 = uitofp i32 %245 to float
  %247 = fdiv float %244, %246
  %248 = load i32, ptr %26, align 4, !tbaa !5
  %249 = call float @liquid_filter_energy(ptr noundef %127, i32 noundef %241, float noundef %247, i32 noundef %248)
  store float %249, ptr %27, align 4, !tbaa !11
  %250 = load float, ptr %27, align 4, !tbaa !11
  %251 = call float @log10f(float noundef %250) #9
  %252 = fmul float 2.000000e+01, %251
  %253 = fpext float %252 to double
  %254 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %253)
  %255 = load i32, ptr %9, align 4, !tbaa !5
  %256 = zext i32 %255 to i64
  %257 = alloca float, i64 %256, align 16
  store i64 %256, ptr %28, align 8
  %258 = load i32, ptr %15, align 4, !tbaa !5
  %259 = zext i32 %258 to i64
  %260 = alloca float, i64 %259, align 16
  store i64 %259, ptr %29, align 8
  %261 = load i32, ptr %9, align 4, !tbaa !5
  %262 = zext i32 %261 to i64
  %263 = alloca float, i64 %262, align 16
  store i64 %262, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %264 = load i32, ptr %6, align 4, !tbaa !5
  %265 = load i32, ptr %16, align 4, !tbaa !5
  %266 = call ptr @firinterp_rrrf_create(i32 noundef %264, ptr noundef %127, i32 noundef %265)
  store ptr %266, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %267 = load i32, ptr %6, align 4, !tbaa !5
  %268 = load i32, ptr %16, align 4, !tbaa !5
  %269 = call ptr @firdecim_rrrf_create(i32 noundef %267, ptr noundef %130, i32 noundef %268)
  store ptr %269, ptr %32, align 8, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %270

270:                                              ; preds = %327, %228
  %271 = load i32, ptr %14, align 4, !tbaa !5
  %272 = load i32, ptr %9, align 4, !tbaa !5
  %273 = icmp ult i32 %271, %272
  br i1 %273, label %274, label %330

274:                                              ; preds = %270
  %275 = call i32 @rand() #9
  %276 = srem i32 %275, 2
  %277 = icmp ne i32 %276, 0
  %278 = zext i1 %277 to i64
  %279 = select i1 %277, float 1.000000e+00, float -1.000000e+00
  %280 = load i32, ptr %14, align 4, !tbaa !5
  %281 = zext i32 %280 to i64
  %282 = getelementptr inbounds float, ptr %257, i64 %281
  store float %279, ptr %282, align 4, !tbaa !11
  %283 = load ptr, ptr %31, align 8, !tbaa !9
  %284 = load i32, ptr %14, align 4, !tbaa !5
  %285 = zext i32 %284 to i64
  %286 = getelementptr inbounds float, ptr %257, i64 %285
  %287 = load float, ptr %286, align 4, !tbaa !11
  %288 = load i32, ptr %14, align 4, !tbaa !5
  %289 = load i32, ptr %6, align 4, !tbaa !5
  %290 = mul i32 %288, %289
  %291 = zext i32 %290 to i64
  %292 = getelementptr inbounds float, ptr %260, i64 %291
  %293 = call i32 @firinterp_rrrf_execute(ptr noundef %283, float noundef %287, ptr noundef %292)
  %294 = load ptr, ptr %32, align 8, !tbaa !9
  %295 = load i32, ptr %14, align 4, !tbaa !5
  %296 = load i32, ptr %6, align 4, !tbaa !5
  %297 = mul i32 %295, %296
  %298 = zext i32 %297 to i64
  %299 = getelementptr inbounds float, ptr %260, i64 %298
  %300 = load i32, ptr %14, align 4, !tbaa !5
  %301 = zext i32 %300 to i64
  %302 = getelementptr inbounds float, ptr %263, i64 %301
  %303 = call i32 @firdecim_rrrf_execute(ptr noundef %294, ptr noundef %299, ptr noundef %302)
  %304 = load i32, ptr %6, align 4, !tbaa !5
  %305 = uitofp i32 %304 to float
  %306 = load i32, ptr %14, align 4, !tbaa !5
  %307 = zext i32 %306 to i64
  %308 = getelementptr inbounds float, ptr %263, i64 %307
  %309 = load float, ptr %308, align 4, !tbaa !11
  %310 = fdiv float %309, %305
  store float %310, ptr %308, align 4, !tbaa !11
  %311 = load i32, ptr %14, align 4, !tbaa !5
  %312 = load i32, ptr %14, align 4, !tbaa !5
  %313 = zext i32 %312 to i64
  %314 = getelementptr inbounds float, ptr %263, i64 %313
  %315 = load float, ptr %314, align 4, !tbaa !11
  %316 = fpext float %315 to double
  %317 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %311, double noundef %316)
  %318 = load i32, ptr %14, align 4, !tbaa !5
  %319 = load i32, ptr %7, align 4, !tbaa !5
  %320 = mul i32 2, %319
  %321 = icmp uge i32 %318, %320
  br i1 %321, label %322, label %324

322:                                              ; preds = %274
  %323 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
  br label %326

324:                                              ; preds = %274
  %325 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
  br label %326

326:                                              ; preds = %324, %322
  br label %327

327:                                              ; preds = %326
  %328 = load i32, ptr %14, align 4, !tbaa !5
  %329 = add i32 %328, 1
  store i32 %329, ptr %14, align 4, !tbaa !5
  br label %270, !llvm.loop !19

330:                                              ; preds = %270
  %331 = load ptr, ptr %31, align 8, !tbaa !9
  %332 = call i32 @firinterp_rrrf_destroy(ptr noundef %331)
  %333 = load ptr, ptr %32, align 8, !tbaa !9
  %334 = call i32 @firdecim_rrrf_destroy(ptr noundef %333)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %335 = call noalias ptr @fopen(ptr noundef @.str.20, ptr noundef @.str.21)
  store ptr %335, ptr %33, align 8, !tbaa !9
  %336 = load ptr, ptr %33, align 8, !tbaa !9
  %337 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %336, ptr noundef @.str.22, ptr noundef @.str.20) #9
  %338 = load ptr, ptr %33, align 8, !tbaa !9
  %339 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %338, ptr noundef @.str.23) #9
  %340 = load ptr, ptr %33, align 8, !tbaa !9
  %341 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %340, ptr noundef @.str.24) #9
  %342 = load ptr, ptr %33, align 8, !tbaa !9
  %343 = load i32, ptr %6, align 4, !tbaa !5
  %344 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %342, ptr noundef @.str.25, i32 noundef %343) #9
  %345 = load ptr, ptr %33, align 8, !tbaa !9
  %346 = load i32, ptr %7, align 4, !tbaa !5
  %347 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %345, ptr noundef @.str.26, i32 noundef %346) #9
  %348 = load ptr, ptr %33, align 8, !tbaa !9
  %349 = load float, ptr %8, align 4, !tbaa !11
  %350 = fpext float %349 to double
  %351 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %348, ptr noundef @.str.27, double noundef %350) #9
  %352 = load ptr, ptr %33, align 8, !tbaa !9
  %353 = load i32, ptr %9, align 4, !tbaa !5
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %352, ptr noundef @.str.28, i32 noundef %353) #9
  %355 = load ptr, ptr %33, align 8, !tbaa !9
  %356 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %355, ptr noundef @.str.29) #9
  %357 = load ptr, ptr %33, align 8, !tbaa !9
  %358 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %357, ptr noundef @.str.30) #9
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %359

359:                                              ; preds = %373, %330
  %360 = load i32, ptr %14, align 4, !tbaa !5
  %361 = load i32, ptr %15, align 4, !tbaa !5
  %362 = icmp ult i32 %360, %361
  br i1 %362, label %363, label %376

363:                                              ; preds = %359
  %364 = load ptr, ptr %33, align 8, !tbaa !9
  %365 = load i32, ptr %14, align 4, !tbaa !5
  %366 = add i32 %365, 1
  %367 = load i32, ptr %14, align 4, !tbaa !5
  %368 = zext i32 %367 to i64
  %369 = getelementptr inbounds float, ptr %260, i64 %368
  %370 = load float, ptr %369, align 4, !tbaa !11
  %371 = fpext float %370 to double
  %372 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %364, ptr noundef @.str.31, i32 noundef %366, double noundef %371) #9
  br label %373

373:                                              ; preds = %363
  %374 = load i32, ptr %14, align 4, !tbaa !5
  %375 = add i32 %374, 1
  store i32 %375, ptr %14, align 4, !tbaa !5
  br label %359, !llvm.loop !20

376:                                              ; preds = %359
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %377

377:                                              ; preds = %391, %376
  %378 = load i32, ptr %14, align 4, !tbaa !5
  %379 = load i32, ptr %16, align 4, !tbaa !5
  %380 = icmp ult i32 %378, %379
  br i1 %380, label %381, label %394

381:                                              ; preds = %377
  %382 = load ptr, ptr %33, align 8, !tbaa !9
  %383 = load i32, ptr %14, align 4, !tbaa !5
  %384 = add i32 %383, 1
  %385 = load i32, ptr %14, align 4, !tbaa !5
  %386 = zext i32 %385 to i64
  %387 = getelementptr inbounds float, ptr %127, i64 %386
  %388 = load float, ptr %387, align 4, !tbaa !11
  %389 = fpext float %388 to double
  %390 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %382, ptr noundef @.str.32, i32 noundef %384, double noundef %389) #9
  br label %391

391:                                              ; preds = %381
  %392 = load i32, ptr %14, align 4, !tbaa !5
  %393 = add i32 %392, 1
  store i32 %393, ptr %14, align 4, !tbaa !5
  br label %377, !llvm.loop !21

394:                                              ; preds = %377
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %395

395:                                              ; preds = %409, %394
  %396 = load i32, ptr %14, align 4, !tbaa !5
  %397 = load i32, ptr %16, align 4, !tbaa !5
  %398 = icmp ult i32 %396, %397
  br i1 %398, label %399, label %412

399:                                              ; preds = %395
  %400 = load ptr, ptr %33, align 8, !tbaa !9
  %401 = load i32, ptr %14, align 4, !tbaa !5
  %402 = add i32 %401, 1
  %403 = load i32, ptr %14, align 4, !tbaa !5
  %404 = zext i32 %403 to i64
  %405 = getelementptr inbounds float, ptr %130, i64 %404
  %406 = load float, ptr %405, align 4, !tbaa !11
  %407 = fpext float %406 to double
  %408 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %400, ptr noundef @.str.33, i32 noundef %402, double noundef %407) #9
  br label %409

409:                                              ; preds = %399
  %410 = load i32, ptr %14, align 4, !tbaa !5
  %411 = add i32 %410, 1
  store i32 %411, ptr %14, align 4, !tbaa !5
  br label %395, !llvm.loop !22

412:                                              ; preds = %395
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %413

413:                                              ; preds = %427, %412
  %414 = load i32, ptr %14, align 4, !tbaa !5
  %415 = load i32, ptr %17, align 4, !tbaa !5
  %416 = icmp ult i32 %414, %415
  br i1 %416, label %417, label %430

417:                                              ; preds = %413
  %418 = load ptr, ptr %33, align 8, !tbaa !9
  %419 = load i32, ptr %14, align 4, !tbaa !5
  %420 = add i32 %419, 1
  %421 = load i32, ptr %14, align 4, !tbaa !5
  %422 = zext i32 %421 to i64
  %423 = getelementptr inbounds float, ptr %133, i64 %422
  %424 = load float, ptr %423, align 4, !tbaa !11
  %425 = fpext float %424 to double
  %426 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %418, ptr noundef @.str.34, i32 noundef %420, double noundef %425) #9
  br label %427

427:                                              ; preds = %417
  %428 = load i32, ptr %14, align 4, !tbaa !5
  %429 = add i32 %428, 1
  store i32 %429, ptr %14, align 4, !tbaa !5
  br label %413, !llvm.loop !23

430:                                              ; preds = %413
  %431 = load ptr, ptr %33, align 8, !tbaa !9
  %432 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %431, ptr noundef @.str.35) #9
  %433 = load ptr, ptr %33, align 8, !tbaa !9
  %434 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %433, ptr noundef @.str.36) #9
  %435 = load ptr, ptr %33, align 8, !tbaa !9
  %436 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %435, ptr noundef @.str.37) #9
  %437 = load ptr, ptr %33, align 8, !tbaa !9
  %438 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %437, ptr noundef @.str.38) #9
  %439 = load ptr, ptr %33, align 8, !tbaa !9
  %440 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %439, ptr noundef @.str.39) #9
  %441 = load ptr, ptr %33, align 8, !tbaa !9
  %442 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %441, ptr noundef @.str.40) #9
  %443 = load ptr, ptr %33, align 8, !tbaa !9
  %444 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %443, ptr noundef @.str.41) #9
  %445 = load ptr, ptr %33, align 8, !tbaa !9
  %446 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %445, ptr noundef @.str.42) #9
  %447 = load ptr, ptr %33, align 8, !tbaa !9
  %448 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %447, ptr noundef @.str.43) #9
  %449 = load ptr, ptr %33, align 8, !tbaa !9
  %450 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %449, ptr noundef @.str.44) #9
  %451 = load ptr, ptr %33, align 8, !tbaa !9
  %452 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %451, ptr noundef @.str.45) #9
  %453 = load ptr, ptr %33, align 8, !tbaa !9
  %454 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %453, ptr noundef @.str.46) #9
  %455 = load ptr, ptr %33, align 8, !tbaa !9
  %456 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %455, ptr noundef @.str.47) #9
  %457 = load ptr, ptr %33, align 8, !tbaa !9
  %458 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %457, ptr noundef @.str.48) #9
  %459 = load ptr, ptr %33, align 8, !tbaa !9
  %460 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %459, ptr noundef @.str.40) #9
  %461 = load ptr, ptr %33, align 8, !tbaa !9
  %462 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %461, ptr noundef @.str.49) #9
  %463 = load ptr, ptr %33, align 8, !tbaa !9
  %464 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %463, ptr noundef @.str.50) #9
  %465 = load ptr, ptr %33, align 8, !tbaa !9
  %466 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %465, ptr noundef @.str.51) #9
  %467 = load ptr, ptr %33, align 8, !tbaa !9
  %468 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef @.str.52) #9
  %469 = load ptr, ptr %33, align 8, !tbaa !9
  %470 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %469, ptr noundef @.str.53) #9
  %471 = load ptr, ptr %33, align 8, !tbaa !9
  %472 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %471, ptr noundef @.str.54) #9
  %473 = load ptr, ptr %33, align 8, !tbaa !9
  %474 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %473, ptr noundef @.str.55) #9
  %475 = load ptr, ptr %33, align 8, !tbaa !9
  %476 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %475, ptr noundef @.str.48) #9
  %477 = load ptr, ptr %33, align 8, !tbaa !9
  %478 = call i32 @fclose(ptr noundef %477)
  %479 = call i32 (ptr, ...) @printf(ptr noundef @.str.56, ptr noundef @.str.20)
  %480 = call i32 (ptr, ...) @printf(ptr noundef @.str.57)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  %481 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %481)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %482

482:                                              ; preds = %430, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %483 = load i32, ptr %3, align 4
  ret i32 %483
}

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

declare i32 @liquid_getopt_str2firfilt(ptr noundef) #1

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #3

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

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

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

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

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

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

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

declare i32 @firinterp_rrrf_destroy(ptr noundef) #1

declare i32 @firdecim_rrrf_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
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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nounwind willreturn memory(read) "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 = { 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 #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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}


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

@.str.7 = external hidden unnamed_addr constant [13 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [5 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

.thread.outer:                                    ; preds = %.thread.outer.backedge, %2
  %.0170.ph = phi i32 [ 9, %2 ], [ %.0170.ph.be, %.thread.outer.backedge ]
  %.0168.ph = phi i32 [ 9, %2 ], [ %.0168.ph.be, %.thread.outer.backedge ]
  %.0166.ph = phi i32 [ 16, %2 ], [ %.0166.ph322, %.thread.outer.backedge ]
  %.0164.ph = phi float [ 0x3FE6666660000000, %2 ], [ %.0164.ph327, %.thread.outer.backedge ]
  %.0162.ph = phi i32 [ 3, %2 ], [ %.0162.ph331, %.thread.outer.backedge ]
  %.0161.ph = phi i32 [ 2, %2 ], [ %.0161, %.thread.outer.backedge ]
  br label %.thread.outer321

.thread.outer321:                                 ; preds = %.thread.outer, %29
  %.0166.ph322 = phi i32 [ %.0166.ph, %.thread.outer ], [ %31, %29 ]
  %.0164.ph323 = phi float [ %.0164.ph, %.thread.outer ], [ %.0164.ph327, %29 ]
  %.0162.ph324 = phi i32 [ %.0162.ph, %.thread.outer ], [ %.0162.ph331, %29 ]
  %.0161.ph325 = phi i32 [ %.0161.ph, %.thread.outer ], [ %.0161, %29 ]
  br label %.thread.outer326

.thread.outer326:                                 ; preds = %.thread.outer321, %25
  %.0164.ph327 = phi float [ %.0164.ph323, %.thread.outer321 ], [ %28, %25 ]
  %.0162.ph328 = phi i32 [ %.0162.ph324, %.thread.outer321 ], [ %.0162.ph331, %25 ]
  %.0161.ph329 = phi i32 [ %.0161.ph325, %.thread.outer321 ], [ %.0161, %25 ]
  br label %.thread.outer330

.thread.outer330:                                 ; preds = %.thread.outer326, %22
  %.0162.ph331 = phi i32 [ %.0162.ph328, %.thread.outer326 ], [ %24, %22 ]
  %.0161.ph332 = phi i32 [ %.0161.ph329, %.thread.outer326 ], [ %.0161, %22 ]
  br label %.thread

.thread:                                          ; preds = %.thread.outer330, %19
  %.0161 = phi i32 [ %21, %19 ], [ %.0161.ph332, %.thread.outer330 ]
  %3 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.7) #10
  switch i32 %3, label %32 [
    i32 -1, label %33
    i32 117, label %4
    i32 104, label %4
    i32 116, label %5
    i32 107, label %19
    i32 109, label %22
    i32 98, label %25
    i32 110, label %29
  ]

4:                                                ; preds = %.thread, %.thread
  tail call void @usage()
  br label %192

5:                                                ; preds = %.thread
  %6 = load ptr, ptr @optarg, align 8, !tbaa !5
  %7 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.8) #11
  %8 = icmp eq i32 %7, 0
  br i1 %8, label %.thread.outer.backedge, label %9

9:                                                ; preds = %5
  %10 = tail call i32 @liquid_getopt_str2firfilt(ptr noundef %6) #10
  %11 = load ptr, ptr @optarg, align 8, !tbaa !5
  %12 = tail call i32 @liquid_getopt_str2firfilt(ptr noundef %11) #10
  %13 = icmp eq i32 %10, 0
  br i1 %13, label %14, label %.thread.outer.backedge

.thread.outer.backedge:                           ; preds = %9, %5
  %.0170.ph.be = phi i32 [ 12, %5 ], [ %12, %9 ]
  %.0168.ph.be = phi i32 [ 11, %5 ], [ %10, %9 ]
  br label %.thread.outer, !llvm.loop !9

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

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

22:                                               ; preds = %.thread
  %23 = load ptr, ptr @optarg, align 8, !tbaa !5
  %24 = tail call i32 @atoi(ptr nocapture noundef %23) #11
  br label %.thread.outer330, !llvm.loop !9

25:                                               ; preds = %.thread
  %26 = load ptr, ptr @optarg, align 8, !tbaa !5
  %27 = tail call double @atof(ptr noundef %26) #11
  %28 = fptrunc double %27 to float
  br label %.thread.outer326, !llvm.loop !9

29:                                               ; preds = %.thread
  %30 = load ptr, ptr @optarg, align 8, !tbaa !5
  %31 = tail call i32 @atoi(ptr nocapture noundef %30) #11
  br label %.thread.outer321, !llvm.loop !9

32:                                               ; preds = %.thread
  tail call void @exit(i32 noundef 1) #13
  unreachable

33:                                               ; preds = %.thread
  %34 = icmp ult i32 %.0161, 2
  br i1 %34, label %35, label %39

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

39:                                               ; preds = %33
  %40 = icmp eq i32 %.0162.ph331, 0
  br i1 %40, label %41, label %45

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

45:                                               ; preds = %39
  %46 = fcmp ole float %.0164.ph327, 0.000000e+00
  %47 = fcmp oge float %.0164.ph327, 1.000000e+00
  %or.cond = or i1 %46, %47
  br i1 %or.cond, label %48, label %52

48:                                               ; preds = %45
  %49 = load ptr, ptr @stderr, align 8, !tbaa !5
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef nonnull @.str.12, ptr noundef %50) #12
  tail call void @exit(i32 noundef 1) #13
  unreachable

52:                                               ; preds = %45
  %53 = shl i32 %.0161, 1
  %54 = mul i32 %53, %.0162.ph331
  %55 = or disjoint i32 %54, 1
  %56 = shl i32 %.0161, 2
  %57 = mul i32 %56, %.0162.ph331
  %58 = or disjoint i32 %57, 1
  %59 = zext i32 %55 to i64
  %60 = tail call ptr @llvm.stacksave.p0()
  %61 = alloca float, i64 %59, align 16
  %62 = alloca float, i64 %59, align 16
  %63 = zext i32 %58 to i64
  %64 = alloca float, i64 %63, align 16
  %65 = call i32 @liquid_firdes_prototype(i32 noundef %.0168.ph, i32 noundef %.0161, i32 noundef %.0162.ph331, float noundef %.0164.ph327, float noundef 0.000000e+00, ptr noundef nonnull %61) #10
  %66 = call i32 @liquid_firdes_prototype(i32 noundef %.0170.ph, i32 noundef %.0161, i32 noundef %.0162.ph331, float noundef %.0164.ph327, float noundef 0.000000e+00, ptr noundef nonnull %62) #10
  %67 = or disjoint i32 %54, 1
  %wide.trip.count = zext i32 %67 to i64
  br label %68

68:                                               ; preds = %52, %68
  %indvars.iv = phi i64 [ 0, %52 ], [ %indvars.iv.next, %68 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %69 = getelementptr inbounds float, ptr %61, i64 %indvars.iv
  %70 = load float, ptr %69, align 4, !tbaa !11
  %71 = fpext float %70 to double
  %72 = trunc nuw i64 %indvars.iv.next to i32
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %72, double noundef %71)
  %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond, label %.preheader193, label %68, !llvm.loop !13

.preheader193:                                    ; preds = %68, %.preheader193
  %indvars.iv249 = phi i64 [ %indvars.iv.next250, %.preheader193 ], [ 0, %68 ]
  %indvars.iv.next250 = add nuw nsw i64 %indvars.iv249, 1
  %74 = getelementptr inbounds float, ptr %62, i64 %indvars.iv249
  %75 = load float, ptr %74, align 4, !tbaa !11
  %76 = fpext float %75 to double
  %77 = trunc nuw i64 %indvars.iv.next250 to i32
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef %77, double noundef %76)
  %exitcond253 = icmp eq i64 %indvars.iv.next250, %wide.trip.count
  br i1 %exitcond253, label %.preheader192.preheader, label %.preheader193, !llvm.loop !14

.preheader192.preheader:                          ; preds = %.preheader193
  %79 = or disjoint i32 %57, 1
  %wide.trip.count257 = zext i32 %79 to i64
  br label %.preheader192

.preheader192:                                    ; preds = %.preheader192.preheader, %.preheader192
  %indvars.iv254 = phi i64 [ 0, %.preheader192.preheader ], [ %indvars.iv.next255, %.preheader192 ]
  %80 = trunc nuw i64 %indvars.iv254 to i32
  %81 = sub nsw i32 %80, %54
  %82 = call float @liquid_filter_crosscorr(ptr noundef nonnull %61, i32 noundef %55, ptr noundef nonnull %62, i32 noundef %55, i32 noundef %81) #10
  %83 = getelementptr inbounds float, ptr %64, i64 %indvars.iv254
  store float %82, ptr %83, align 4, !tbaa !11
  %indvars.iv.next255 = add nuw nsw i64 %indvars.iv254, 1
  %exitcond258 = icmp eq i64 %indvars.iv.next255, %wide.trip.count257
  br i1 %exitcond258, label %84, label %.preheader192, !llvm.loop !15

84:                                               ; preds = %.preheader192
  %85 = mul i32 %.0161, %.0166.ph322
  %86 = call float @liquid_filter_crosscorr(ptr noundef nonnull %61, i32 noundef %55, ptr noundef nonnull %62, i32 noundef %55, i32 noundef 0) #10
  %87 = shl i32 %.0162.ph331, 1
  %.not = icmp eq i32 %87, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %84, %.lr.ph
  %.3216 = phi i32 [ %92, %.lr.ph ], [ 1, %84 ]
  %.0176215 = phi float [ %91, %.lr.ph ], [ 0.000000e+00, %84 ]
  %88 = mul i32 %.3216, %.0161
  %89 = call float @liquid_filter_crosscorr(ptr noundef nonnull %61, i32 noundef %55, ptr noundef nonnull %62, i32 noundef %55, i32 noundef %88) #10
  %90 = fdiv float %89, %86
  %91 = call float @llvm.fmuladd.f32(float %90, float %90, float %.0176215)
  %92 = add nuw i32 %.3216, 1
  %exitcond259.not = icmp eq i32 %92, %87
  br i1 %exitcond259.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph, %84
  %.0176.lcssa = phi float [ 0.000000e+00, %84 ], [ %91, %.lr.ph ]
  %93 = add i32 %87, -1
  %94 = uitofp i32 %93 to float
  %95 = fdiv float %.0176.lcssa, %94
  %96 = call float @sqrtf(float noundef %95) #10
  %97 = call float @log10f(float noundef %96) #10
  %98 = fmul float %97, 2.000000e+01
  %99 = fpext float %98 to double
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %99)
  %101 = fadd float %.0164.ph327, 1.000000e+00
  %102 = fmul float %101, 5.000000e-01
  %103 = uitofp i32 %.0161 to float
  %104 = fdiv float %102, %103
  %105 = call float @liquid_filter_energy(ptr noundef nonnull %61, i32 noundef %55, float noundef %104, i32 noundef 2048) #10
  %106 = call float @log10f(float noundef %105) #10
  %107 = fmul float %106, 2.000000e+01
  %108 = fpext float %107 to double
  %109 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef %108)
  %110 = zext i32 %.0166.ph322 to i64
  %111 = zext i32 %85 to i64
  %112 = alloca float, i64 %111, align 16
  %113 = alloca float, i64 %110, align 16
  %114 = call ptr @firinterp_rrrf_create(i32 noundef %.0161, ptr noundef nonnull %61, i32 noundef %55) #10
  %115 = call ptr @firdecim_rrrf_create(i32 noundef %.0161, ptr noundef nonnull %62, i32 noundef %55) #10
  %.not228 = icmp eq i32 %.0166.ph322, 0
  br i1 %.not228, label %._crit_edge221, label %.lr.ph220.preheader

.lr.ph220.preheader:                              ; preds = %._crit_edge
  %116 = zext i32 %87 to i64
  br label %.lr.ph220

.lr.ph220:                                        ; preds = %.lr.ph220.preheader, %.lr.ph220
  %indvars.iv260 = phi i64 [ 0, %.lr.ph220.preheader ], [ %indvars.iv.next261, %.lr.ph220 ]
  %117 = call i32 @rand() #10
  %118 = and i32 %117, 1
  %.not186 = icmp eq i32 %118, 0
  %119 = select i1 %.not186, float -1.000000e+00, float 1.000000e+00
  %120 = trunc nuw i64 %indvars.iv260 to i32
  %121 = mul i32 %.0161, %120
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds float, ptr %112, i64 %122
  %124 = call i32 @firinterp_rrrf_execute(ptr noundef %114, float noundef %119, ptr noundef nonnull %123) #10
  %125 = getelementptr inbounds float, ptr %113, i64 %indvars.iv260
  %126 = call i32 @firdecim_rrrf_execute(ptr noundef %115, ptr noundef nonnull %123, ptr noundef nonnull %125) #10
  %127 = load float, ptr %125, align 4, !tbaa !11
  %128 = fdiv float %127, %103
  store float %128, ptr %125, align 4, !tbaa !11
  %129 = fpext float %128 to double
  %130 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, i32 noundef %120, double noundef %129)
  %.not187 = icmp ult i64 %indvars.iv260, %116
  %.str.19..str.18 = select i1 %.not187, ptr @.str.19, ptr @.str.18
  %131 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.19..str.18)
  %indvars.iv.next261 = add nuw nsw i64 %indvars.iv260, 1
  %exitcond264.not = icmp eq i64 %indvars.iv.next261, %110
  br i1 %exitcond264.not, label %._crit_edge221, label %.lr.ph220, !llvm.loop !17

._crit_edge221:                                   ; preds = %.lr.ph220, %._crit_edge
  %132 = call i32 @firinterp_rrrf_destroy(ptr noundef %114) #10
  %133 = call i32 @firdecim_rrrf_destroy(ptr noundef %115) #10
  %134 = call noalias ptr @fopen(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21)
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.20) #10
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.23) #10
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.24) #10
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.25, i32 noundef %.0161) #10
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.26, i32 noundef %.0162.ph331) #10
  %140 = fpext float %.0164.ph327 to double
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.27, double noundef %140) #10
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.28, i32 noundef %.0166.ph322) #10
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.29) #10
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.30) #10
  %.not229 = icmp eq i32 %85, 0
  br i1 %.not229, label %.preheader191.preheader, label %.lr.ph224

.lr.ph224:                                        ; preds = %._crit_edge221, %.lr.ph224
  %indvars.iv265 = phi i64 [ %indvars.iv.next266, %.lr.ph224 ], [ 0, %._crit_edge221 ]
  %indvars.iv.next266 = add nuw nsw i64 %indvars.iv265, 1
  %145 = getelementptr inbounds float, ptr %112, i64 %indvars.iv265
  %146 = load float, ptr %145, align 4, !tbaa !11
  %147 = fpext float %146 to double
  %148 = trunc nuw i64 %indvars.iv.next266 to i32
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.31, i32 noundef %148, double noundef %147) #10
  %exitcond269.not = icmp eq i64 %indvars.iv.next266, %111
  br i1 %exitcond269.not, label %.preheader191.preheader, label %.lr.ph224, !llvm.loop !18

.preheader191.preheader:                          ; preds = %.lr.ph224, %._crit_edge221
  br label %.preheader191

.preheader191:                                    ; preds = %.preheader191.preheader, %.preheader191
  %indvars.iv270 = phi i64 [ %indvars.iv.next271, %.preheader191 ], [ 0, %.preheader191.preheader ]
  %indvars.iv.next271 = add nuw nsw i64 %indvars.iv270, 1
  %150 = getelementptr inbounds float, ptr %61, i64 %indvars.iv270
  %151 = load float, ptr %150, align 4, !tbaa !11
  %152 = fpext float %151 to double
  %153 = trunc nuw i64 %indvars.iv.next271 to i32
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.32, i32 noundef %153, double noundef %152) #10
  %exitcond274 = icmp eq i64 %indvars.iv.next271, %wide.trip.count
  br i1 %exitcond274, label %.preheader190, label %.preheader191, !llvm.loop !19

.preheader190:                                    ; preds = %.preheader191, %.preheader190
  %indvars.iv275 = phi i64 [ %indvars.iv.next276, %.preheader190 ], [ 0, %.preheader191 ]
  %indvars.iv.next276 = add nuw nsw i64 %indvars.iv275, 1
  %155 = getelementptr inbounds float, ptr %62, i64 %indvars.iv275
  %156 = load float, ptr %155, align 4, !tbaa !11
  %157 = fpext float %156 to double
  %158 = trunc nuw i64 %indvars.iv.next276 to i32
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.33, i32 noundef %158, double noundef %157) #10
  %exitcond279 = icmp eq i64 %indvars.iv.next276, %wide.trip.count
  br i1 %exitcond279, label %.preheader, label %.preheader190, !llvm.loop !20

.preheader:                                       ; preds = %.preheader190, %.preheader
  %indvars.iv280 = phi i64 [ %indvars.iv.next281, %.preheader ], [ 0, %.preheader190 ]
  %indvars.iv.next281 = add nuw nsw i64 %indvars.iv280, 1
  %160 = getelementptr inbounds float, ptr %64, i64 %indvars.iv280
  %161 = load float, ptr %160, align 4, !tbaa !11
  %162 = fpext float %161 to double
  %163 = trunc nuw i64 %indvars.iv.next281 to i32
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.34, i32 noundef %163, double noundef %162) #10
  %exitcond284 = icmp eq i64 %indvars.iv.next281, %wide.trip.count257
  br i1 %exitcond284, label %165, label %.preheader, !llvm.loop !21

165:                                              ; preds = %.preheader
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.35) #10
  %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.36) #10
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.37) #10
  %169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.38) #10
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.39) #10
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.40) #10
  %172 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.41) #10
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.42) #10
  %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.43) #10
  %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.44) #10
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.45) #10
  %177 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.46) #10
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.47) #10
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.48) #10
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.40) #10
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.49) #10
  %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.50) #10
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.51) #10
  %184 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.52) #10
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.53) #10
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.54) #10
  %187 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.55) #10
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef nonnull @.str.48) #10
  %189 = call i32 @fclose(ptr noundef %134)
  %190 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.56, ptr noundef nonnull @.str.20)
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.57)
  call void @llvm.stackrestore.p0(ptr %60)
  br label %192

192:                                              ; preds = %165, %4
  ret i32 0
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3

declare i32 @liquid_getopt_str2firfilt(ptr noundef) 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: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

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

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

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

declare i32 @liquid_firdes_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #4

declare float @liquid_filter_crosscorr(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

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

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

declare float @liquid_filter_energy(ptr noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #4

declare ptr @firinterp_rrrf_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

declare ptr @firdecim_rrrf_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

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

declare i32 @firinterp_rrrf_execute(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #4

declare i32 @firdecim_rrrf_execute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @firinterp_rrrf_destroy(ptr noundef) local_unnamed_addr #4

declare i32 @firdecim_rrrf_destroy(ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { "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 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { cold nounwind }
attributes #13 = { noreturn nounwind }

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

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


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