; LLVM IR from jgaeddert/liquid-dsp :: sandbox (gmskmodem_test)

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

@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [25 x i8], align 1

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

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, 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 float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  %28 = alloca ptr, align 8
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca i32, align 4
  %32 = alloca { float, float }, align 4
  %33 = alloca { float, float }, align 4
  %34 = alloca { float, float }, align 4
  %35 = alloca i32, align 4
  %36 = alloca { float, float }, align 4
  %37 = alloca { float, float }, align 4
  %38 = alloca i32, align 4
  %39 = 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) #8
  store i32 4, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 3, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store float 5.000000e-01, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 32, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store float 3.000000e+01, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  br label %40

40:                                               ; preds = %66, %2
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  %43 = call i32 @getopt(i32 noundef %41, ptr noundef %42, ptr noundef @.str.8) #8
  store i32 %43, ptr %11, align 4, !tbaa !5
  %44 = icmp ne i32 %43, -1
  br i1 %44, label %45, label %67

45:                                               ; preds = %40
  %46 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %46, label %65 [
    i32 117, label %47
    i32 104, label %47
    i32 107, label %48
    i32 109, label %51
    i32 110, label %54
    i32 98, label %57
    i32 115, label %61
  ]

47:                                               ; preds = %45, %45
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  br label %536

48:                                               ; preds = %45
  %49 = load ptr, ptr @optarg, align 8, !tbaa !9
  %50 = call i32 @atoi(ptr noundef %49) #9
  store i32 %50, ptr %6, align 4, !tbaa !5
  br label %66

51:                                               ; preds = %45
  %52 = load ptr, ptr @optarg, align 8, !tbaa !9
  %53 = call i32 @atoi(ptr noundef %52) #9
  store i32 %53, ptr %7, align 4, !tbaa !5
  br label %66

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

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

61:                                               ; preds = %45
  %62 = load ptr, ptr @optarg, align 8, !tbaa !9
  %63 = call double @atof(ptr noundef %62) #9
  %64 = fptrunc double %63 to float
  store float %64, ptr %10, align 4, !tbaa !11
  br label %66

65:                                               ; preds = %45
  call void @exit(i32 noundef 1) #10
  unreachable

66:                                               ; preds = %61, %57, %54, %51, %48
  br label %40, !llvm.loop !13

67:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %68 = load float, ptr %8, align 4, !tbaa !11
  %69 = fcmp ole float %68, 0.000000e+00
  br i1 %69, label %73, label %70

70:                                               ; preds = %67
  %71 = load float, ptr %8, align 4, !tbaa !11
  %72 = fcmp oge float %71, 1.000000e+00
  br i1 %72, label %73, label %79

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

79:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %80 = load i32, ptr %9, align 4, !tbaa !5
  %81 = load i32, ptr %7, align 4, !tbaa !5
  %82 = mul i32 2, %81
  %83 = add i32 %80, %82
  store i32 %83, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = load i32, ptr %14, align 4, !tbaa !5
  %86 = mul i32 %84, %85
  store i32 %86, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %87 = load i32, ptr %6, align 4, !tbaa !5
  %88 = mul i32 2, %87
  %89 = load i32, ptr %7, align 4, !tbaa !5
  %90 = mul i32 %88, %89
  %91 = add i32 %90, 1
  store i32 %91, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %92 = load float, ptr %10, align 4, !tbaa !11
  %93 = fneg float %92
  %94 = fdiv float %93, 2.000000e+01
  %95 = call float @powf(float noundef 1.000000e+01, float noundef %94) #8
  store float %95, ptr %17, align 4, !tbaa !11
  %96 = load i32, ptr %14, align 4, !tbaa !5
  %97 = zext i32 %96 to i64
  %98 = call ptr @llvm.stacksave.p0()
  store ptr %98, ptr %18, align 8
  %99 = alloca i8, i64 %97, align 16
  store i64 %97, ptr %19, align 8
  %100 = load i32, ptr %15, align 4, !tbaa !5
  %101 = zext i32 %100 to i64
  %102 = alloca float, i64 %101, align 16
  store i64 %101, ptr %20, align 8
  %103 = load i32, ptr %15, align 4, !tbaa !5
  %104 = zext i32 %103 to i64
  %105 = alloca { float, float }, i64 %104, align 16
  store i64 %104, ptr %21, align 8
  %106 = load i32, ptr %15, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = alloca { float, float }, i64 %107, align 16
  store i64 %107, ptr %22, align 8
  %109 = load i32, ptr %15, align 4, !tbaa !5
  %110 = zext i32 %109 to i64
  %111 = alloca float, i64 %110, align 16
  store i64 %110, ptr %23, align 8
  %112 = load i32, ptr %15, align 4, !tbaa !5
  %113 = zext i32 %112 to i64
  %114 = alloca float, i64 %113, align 16
  store i64 %113, ptr %24, align 8
  %115 = load i32, ptr %14, align 4, !tbaa !5
  %116 = zext i32 %115 to i64
  %117 = alloca i8, i64 %116, align 16
  store i64 %116, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %118 = load i32, ptr %6, align 4, !tbaa !5
  %119 = load i32, ptr %7, align 4, !tbaa !5
  %120 = load float, ptr %8, align 4, !tbaa !11
  %121 = call ptr @firinterp_rrrf_create_prototype(i32 noundef 11, i32 noundef %118, i32 noundef %119, float noundef %120, float noundef 0.000000e+00)
  store ptr %121, ptr %26, align 8, !tbaa !9
  %122 = load i32, ptr %16, align 4, !tbaa !5
  %123 = zext i32 %122 to i64
  %124 = alloca float, i64 %123, align 16
  store i64 %123, ptr %27, align 8
  %125 = load i32, ptr %6, align 4, !tbaa !5
  %126 = load i32, ptr %7, align 4, !tbaa !5
  %127 = load float, ptr %8, align 4, !tbaa !11
  %128 = call i32 @liquid_firdes_gmskrx(i32 noundef %125, i32 noundef %126, float noundef %127, float noundef 0.000000e+00, ptr noundef %124)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %129 = load i32, ptr %16, align 4, !tbaa !5
  %130 = call ptr @firfilt_rrrf_create(ptr noundef %124, i32 noundef %129)
  store ptr %130, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store float 0.000000e+00, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %131 = load i32, ptr %6, align 4, !tbaa !5
  %132 = uitofp i32 %131 to float
  %133 = fdiv float 1.000000e+00, %132
  store float %133, ptr %30, align 4, !tbaa !11
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %134

134:                                              ; preds = %204, %79
  %135 = load i32, ptr %13, align 4, !tbaa !5
  %136 = load i32, ptr %14, align 4, !tbaa !5
  %137 = icmp ult i32 %135, %136
  br i1 %137, label %138, label %207

138:                                              ; preds = %134
  %139 = call i32 @rand() #8
  %140 = srem i32 %139, 2
  %141 = trunc i32 %140 to i8
  %142 = load i32, ptr %13, align 4, !tbaa !5
  %143 = zext i32 %142 to i64
  %144 = getelementptr inbounds i8, ptr %99, i64 %143
  store i8 %141, ptr %144, align 1, !tbaa !15
  %145 = load ptr, ptr %26, align 8, !tbaa !9
  %146 = load i32, ptr %13, align 4, !tbaa !5
  %147 = zext i32 %146 to i64
  %148 = getelementptr inbounds i8, ptr %99, i64 %147
  %149 = load i8, ptr %148, align 1, !tbaa !15
  %150 = zext i8 %149 to i32
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %154

152:                                              ; preds = %138
  %153 = load float, ptr %30, align 4, !tbaa !11
  br label %157

154:                                              ; preds = %138
  %155 = load float, ptr %30, align 4, !tbaa !11
  %156 = fneg float %155
  br label %157

157:                                              ; preds = %154, %152
  %158 = phi float [ %153, %152 ], [ %156, %154 ]
  %159 = load i32, ptr %6, align 4, !tbaa !5
  %160 = load i32, ptr %13, align 4, !tbaa !5
  %161 = mul i32 %159, %160
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds float, ptr %102, i64 %162
  %164 = call i32 @firinterp_rrrf_execute(ptr noundef %145, float noundef %158, ptr noundef %163)
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %165

165:                                              ; preds = %200, %157
  %166 = load i32, ptr %31, align 4, !tbaa !5
  %167 = load i32, ptr %6, align 4, !tbaa !5
  %168 = icmp ult i32 %166, %167
  br i1 %168, label %169, label %203

169:                                              ; preds = %165
  %170 = load i32, ptr %13, align 4, !tbaa !5
  %171 = load i32, ptr %6, align 4, !tbaa !5
  %172 = mul i32 %170, %171
  %173 = load i32, ptr %31, align 4, !tbaa !5
  %174 = add i32 %172, %173
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds float, ptr %102, i64 %175
  %177 = load float, ptr %176, align 4, !tbaa !11
  %178 = load float, ptr %29, align 4, !tbaa !11
  %179 = fadd float %178, %177
  store float %179, ptr %29, align 4, !tbaa !11
  %180 = load float, ptr %29, align 4, !tbaa !11
  %181 = fmul float 0.000000e+00, %180
  %182 = fmul float 1.000000e+00, %180
  %183 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 0
  %184 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 1
  store float %181, ptr %183, align 4
  store float %182, ptr %184, align 4
  %185 = load <2 x float>, ptr %32, align 4
  %186 = call <2 x float> @cexpf(<2 x float> noundef %185) #8
  store <2 x float> %186, ptr %33, align 4
  %187 = getelementptr inbounds { float, float }, ptr %33, i32 0, i32 0
  %188 = load float, ptr %187, align 4
  %189 = getelementptr inbounds { float, float }, ptr %33, i32 0, i32 1
  %190 = load float, ptr %189, align 4
  %191 = load i32, ptr %13, align 4, !tbaa !5
  %192 = load i32, ptr %6, align 4, !tbaa !5
  %193 = mul i32 %191, %192
  %194 = load i32, ptr %31, align 4, !tbaa !5
  %195 = add i32 %193, %194
  %196 = zext i32 %195 to i64
  %197 = getelementptr inbounds { float, float }, ptr %105, i64 %196
  %198 = getelementptr inbounds { float, float }, ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds { float, float }, ptr %197, i32 0, i32 1
  store float %188, ptr %198, align 8
  store float %190, ptr %199, align 4
  br label %200

200:                                              ; preds = %169
  %201 = load i32, ptr %31, align 4, !tbaa !5
  %202 = add i32 %201, 1
  store i32 %202, ptr %31, align 4, !tbaa !5
  br label %165, !llvm.loop !16

203:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %204

204:                                              ; preds = %203
  %205 = load i32, ptr %13, align 4, !tbaa !5
  %206 = add i32 %205, 1
  store i32 %206, ptr %13, align 4, !tbaa !5
  br label %134, !llvm.loop !17

207:                                              ; preds = %134
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %208

208:                                              ; preds = %243, %207
  %209 = load i32, ptr %13, align 4, !tbaa !5
  %210 = load i32, ptr %15, align 4, !tbaa !5
  %211 = icmp ult i32 %209, %210
  br i1 %211, label %212, label %246

212:                                              ; preds = %208
  %213 = load i32, ptr %13, align 4, !tbaa !5
  %214 = zext i32 %213 to i64
  %215 = getelementptr inbounds { float, float }, ptr %105, 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 %217 to double
  %221 = fpext float %219 to double
  %222 = load float, ptr %17, align 4, !tbaa !11
  %223 = call float (...) @randnf()
  %224 = call float (...) @randnf()
  %225 = fmul float 0.000000e+00, %224
  %226 = fmul float 1.000000e+00, %224
  %227 = fadd float %223, %225
  %228 = fmul float %222, %227
  %229 = fmul float %222, %226
  %230 = fpext float %228 to double
  %231 = fpext float %229 to double
  %232 = fmul double %230, 0x3FE6A09E667F3BCD
  %233 = fmul double %231, 0x3FE6A09E667F3BCD
  %234 = fadd double %220, %232
  %235 = fadd double %221, %233
  %236 = fptrunc double %234 to float
  %237 = fptrunc double %235 to float
  %238 = load i32, ptr %13, align 4, !tbaa !5
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds { float, float }, ptr %108, i64 %239
  %241 = getelementptr inbounds { float, float }, ptr %240, i32 0, i32 0
  %242 = getelementptr inbounds { float, float }, ptr %240, i32 0, i32 1
  store float %236, ptr %241, align 8
  store float %237, ptr %242, align 4
  br label %243

243:                                              ; preds = %212
  %244 = load i32, ptr %13, align 4, !tbaa !5
  %245 = add i32 %244, 1
  store i32 %245, ptr %13, align 4, !tbaa !5
  br label %208, !llvm.loop !18

246:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %247 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 0
  %248 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 1
  store float 0.000000e+00, ptr %247, align 4
  store float 0.000000e+00, ptr %248, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 0, ptr %35, align 4, !tbaa !5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %249

249:                                              ; preds = %359, %246
  %250 = load i32, ptr %13, align 4, !tbaa !5
  %251 = load i32, ptr %15, align 4, !tbaa !5
  %252 = icmp ult i32 %250, %251
  br i1 %252, label %253, label %362

253:                                              ; preds = %249
  %254 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 0
  %255 = load float, ptr %254, align 4
  %256 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 1
  %257 = load float, ptr %256, align 4
  %258 = fneg float %257
  %259 = load i32, ptr %13, align 4, !tbaa !5
  %260 = zext i32 %259 to i64
  %261 = getelementptr inbounds { float, float }, ptr %108, i64 %260
  %262 = getelementptr inbounds { float, float }, ptr %261, i32 0, i32 0
  %263 = load float, ptr %262, align 8
  %264 = getelementptr inbounds { float, float }, ptr %261, i32 0, i32 1
  %265 = load float, ptr %264, align 4
  %266 = fmul float %255, %263
  %267 = fmul float %258, %265
  %268 = fmul float %255, %265
  %269 = fmul float %258, %263
  %270 = fsub float %266, %267
  %271 = fadd float %268, %269
  %272 = fcmp uno float %270, %270
  br i1 %272, label %273, label %281, !prof !19

273:                                              ; preds = %253
  %274 = fcmp uno float %271, %271
  br i1 %274, label %275, label %281, !prof !19

275:                                              ; preds = %273
  %276 = call <2 x float> @__mulsc3(float noundef %255, float noundef %258, float noundef %263, float noundef %265) #8
  store <2 x float> %276, ptr %36, align 4
  %277 = getelementptr inbounds { float, float }, ptr %36, i32 0, i32 0
  %278 = load float, ptr %277, align 4
  %279 = getelementptr inbounds { float, float }, ptr %36, i32 0, i32 1
  %280 = load float, ptr %279, align 4
  br label %281

281:                                              ; preds = %275, %273, %253
  %282 = phi float [ %270, %253 ], [ %270, %273 ], [ %278, %275 ]
  %283 = phi float [ %271, %253 ], [ %271, %273 ], [ %280, %275 ]
  %284 = getelementptr inbounds { float, float }, ptr %37, i32 0, i32 0
  %285 = getelementptr inbounds { float, float }, ptr %37, i32 0, i32 1
  store float %282, ptr %284, align 4
  store float %283, ptr %285, align 4
  %286 = load <2 x float>, ptr %37, align 4
  %287 = call float @cargf(<2 x float> noundef %286) #8
  %288 = load i32, ptr %13, align 4, !tbaa !5
  %289 = zext i32 %288 to i64
  %290 = getelementptr inbounds float, ptr %111, i64 %289
  store float %287, ptr %290, align 4, !tbaa !11
  %291 = load i32, ptr %13, align 4, !tbaa !5
  %292 = zext i32 %291 to i64
  %293 = getelementptr inbounds { float, float }, ptr %108, i64 %292
  %294 = getelementptr inbounds { float, float }, ptr %293, i32 0, i32 0
  %295 = load float, ptr %294, align 8
  %296 = getelementptr inbounds { float, float }, ptr %293, i32 0, i32 1
  %297 = load float, ptr %296, align 4
  %298 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 0
  %299 = getelementptr inbounds { float, float }, ptr %34, i32 0, i32 1
  store float %295, ptr %298, align 4
  store float %297, ptr %299, align 4
  %300 = load ptr, ptr %28, align 8, !tbaa !9
  %301 = load i32, ptr %13, align 4, !tbaa !5
  %302 = zext i32 %301 to i64
  %303 = getelementptr inbounds float, ptr %111, i64 %302
  %304 = load float, ptr %303, align 4, !tbaa !11
  %305 = call i32 @firfilt_rrrf_push(ptr noundef %300, float noundef %304)
  %306 = load ptr, ptr %28, align 8, !tbaa !9
  %307 = load i32, ptr %13, align 4, !tbaa !5
  %308 = zext i32 %307 to i64
  %309 = getelementptr inbounds float, ptr %114, i64 %308
  %310 = call i32 @firfilt_rrrf_execute(ptr noundef %306, ptr noundef %309)
  %311 = load i32, ptr %13, align 4, !tbaa !5
  %312 = load i32, ptr %6, align 4, !tbaa !5
  %313 = urem i32 %311, %312
  %314 = icmp eq i32 %313, 0
  br i1 %314, label %315, label %358

315:                                              ; preds = %281
  %316 = load i32, ptr %13, align 4, !tbaa !5
  %317 = zext i32 %316 to i64
  %318 = getelementptr inbounds float, ptr %114, i64 %317
  %319 = load float, ptr %318, align 4, !tbaa !11
  %320 = fcmp ogt float %319, 0.000000e+00
  %321 = zext i1 %320 to i64
  %322 = select i1 %320, i32 1, i32 0
  %323 = trunc i32 %322 to i8
  %324 = load i32, ptr %35, align 4, !tbaa !5
  %325 = zext i32 %324 to i64
  %326 = getelementptr inbounds i8, ptr %117, i64 %325
  store i8 %323, ptr %326, align 1, !tbaa !15
  %327 = load i32, ptr %35, align 4, !tbaa !5
  %328 = load i32, ptr %13, align 4, !tbaa !5
  %329 = zext i32 %328 to i64
  %330 = getelementptr inbounds float, ptr %114, i64 %329
  %331 = load float, ptr %330, align 4, !tbaa !11
  %332 = fpext float %331 to double
  %333 = load i32, ptr %35, align 4, !tbaa !5
  %334 = zext i32 %333 to i64
  %335 = getelementptr inbounds i8, ptr %117, i64 %334
  %336 = load i8, ptr %335, align 1, !tbaa !15
  %337 = zext i8 %336 to i32
  %338 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %327, double noundef %332, i32 noundef %337)
  %339 = load i32, ptr %35, align 4, !tbaa !5
  %340 = load i32, ptr %7, align 4, !tbaa !5
  %341 = mul i32 2, %340
  %342 = icmp uge i32 %339, %341
  br i1 %342, label %343, label %353

343:                                              ; preds = %315
  %344 = load i32, ptr %35, align 4, !tbaa !5
  %345 = load i32, ptr %7, align 4, !tbaa !5
  %346 = mul i32 2, %345
  %347 = sub i32 %344, %346
  %348 = zext i32 %347 to i64
  %349 = getelementptr inbounds i8, ptr %99, i64 %348
  %350 = load i8, ptr %349, align 1, !tbaa !15
  %351 = zext i8 %350 to i32
  %352 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %351)
  br label %355

353:                                              ; preds = %315
  %354 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  br label %355

355:                                              ; preds = %353, %343
  %356 = load i32, ptr %35, align 4, !tbaa !5
  %357 = add i32 %356, 1
  store i32 %357, ptr %35, align 4, !tbaa !5
  br label %358

358:                                              ; preds = %355, %281
  br label %359

359:                                              ; preds = %358
  %360 = load i32, ptr %13, align 4, !tbaa !5
  %361 = add i32 %360, 1
  store i32 %361, ptr %13, align 4, !tbaa !5
  br label %249, !llvm.loop !20

362:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  store i32 0, ptr %38, align 4, !tbaa !5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %363

363:                                              ; preds = %386, %362
  %364 = load i32, ptr %13, align 4, !tbaa !5
  %365 = load i32, ptr %9, align 4, !tbaa !5
  %366 = icmp ult i32 %364, %365
  br i1 %366, label %367, label %389

367:                                              ; preds = %363
  %368 = load i32, ptr %13, align 4, !tbaa !5
  %369 = zext i32 %368 to i64
  %370 = getelementptr inbounds i8, ptr %99, i64 %369
  %371 = load i8, ptr %370, align 1, !tbaa !15
  %372 = zext i8 %371 to i32
  %373 = load i32, ptr %13, align 4, !tbaa !5
  %374 = load i32, ptr %7, align 4, !tbaa !5
  %375 = mul i32 2, %374
  %376 = add i32 %373, %375
  %377 = zext i32 %376 to i64
  %378 = getelementptr inbounds i8, ptr %117, i64 %377
  %379 = load i8, ptr %378, align 1, !tbaa !15
  %380 = zext i8 %379 to i32
  %381 = icmp eq i32 %372, %380
  %382 = zext i1 %381 to i64
  %383 = select i1 %381, i32 0, i32 1
  %384 = load i32, ptr %38, align 4, !tbaa !5
  %385 = add i32 %384, %383
  store i32 %385, ptr %38, align 4, !tbaa !5
  br label %386

386:                                              ; preds = %367
  %387 = load i32, ptr %13, align 4, !tbaa !5
  %388 = add i32 %387, 1
  store i32 %388, ptr %13, align 4, !tbaa !5
  br label %363, !llvm.loop !21

389:                                              ; preds = %363
  %390 = load i32, ptr %38, align 4, !tbaa !5
  %391 = load i32, ptr %9, align 4, !tbaa !5
  %392 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %390, i32 noundef %391)
  %393 = load ptr, ptr %26, align 8, !tbaa !9
  %394 = call i32 @firinterp_rrrf_destroy(ptr noundef %393)
  %395 = load ptr, ptr %28, align 8, !tbaa !9
  %396 = call i32 @firfilt_rrrf_destroy(ptr noundef %395)
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %397 = call noalias ptr @fopen(ptr noundef @.str.14, ptr noundef @.str.15)
  store ptr %397, ptr %39, align 8, !tbaa !9
  %398 = load ptr, ptr %39, align 8, !tbaa !9
  %399 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %398, ptr noundef @.str.16, ptr noundef @.str.14) #8
  %400 = load ptr, ptr %39, align 8, !tbaa !9
  %401 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %400, ptr noundef @.str.17) #8
  %402 = load ptr, ptr %39, align 8, !tbaa !9
  %403 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %402, ptr noundef @.str.18) #8
  %404 = load ptr, ptr %39, align 8, !tbaa !9
  %405 = load i32, ptr %6, align 4, !tbaa !5
  %406 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %404, ptr noundef @.str.19, i32 noundef %405) #8
  %407 = load ptr, ptr %39, align 8, !tbaa !9
  %408 = load i32, ptr %7, align 4, !tbaa !5
  %409 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %407, ptr noundef @.str.20, i32 noundef %408) #8
  %410 = load ptr, ptr %39, align 8, !tbaa !9
  %411 = load float, ptr %8, align 4, !tbaa !11
  %412 = fpext float %411 to double
  %413 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %410, ptr noundef @.str.21, double noundef %412) #8
  %414 = load ptr, ptr %39, align 8, !tbaa !9
  %415 = load i32, ptr %14, align 4, !tbaa !5
  %416 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %414, ptr noundef @.str.22, i32 noundef %415) #8
  %417 = load ptr, ptr %39, align 8, !tbaa !9
  %418 = load i32, ptr %15, align 4, !tbaa !5
  %419 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %417, ptr noundef @.str.23, i32 noundef %418) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %420

420:                                              ; preds = %434, %389
  %421 = load i32, ptr %13, align 4, !tbaa !5
  %422 = load i32, ptr %16, align 4, !tbaa !5
  %423 = icmp ult i32 %421, %422
  br i1 %423, label %424, label %437

424:                                              ; preds = %420
  %425 = load ptr, ptr %39, align 8, !tbaa !9
  %426 = load i32, ptr %13, align 4, !tbaa !5
  %427 = add i32 %426, 1
  %428 = load i32, ptr %13, align 4, !tbaa !5
  %429 = zext i32 %428 to i64
  %430 = getelementptr inbounds float, ptr %124, i64 %429
  %431 = load float, ptr %430, align 4, !tbaa !11
  %432 = fpext float %431 to double
  %433 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %425, ptr noundef @.str.24, i32 noundef %427, double noundef %432) #8
  br label %434

434:                                              ; preds = %424
  %435 = load i32, ptr %13, align 4, !tbaa !5
  %436 = add i32 %435, 1
  store i32 %436, ptr %13, align 4, !tbaa !5
  br label %420, !llvm.loop !22

437:                                              ; preds = %420
  %438 = load ptr, ptr %39, align 8, !tbaa !9
  %439 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %438, ptr noundef @.str.25) #8
  %440 = load ptr, ptr %39, align 8, !tbaa !9
  %441 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %440, ptr noundef @.str.26) #8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %442

442:                                              ; preds = %514, %437
  %443 = load i32, ptr %13, align 4, !tbaa !5
  %444 = load i32, ptr %15, align 4, !tbaa !5
  %445 = icmp ult i32 %443, %444
  br i1 %445, label %446, label %517

446:                                              ; preds = %442
  %447 = load ptr, ptr %39, align 8, !tbaa !9
  %448 = load i32, ptr %13, align 4, !tbaa !5
  %449 = add i32 %448, 1
  %450 = load i32, ptr %13, align 4, !tbaa !5
  %451 = zext i32 %450 to i64
  %452 = getelementptr inbounds { float, float }, ptr %105, i64 %451
  %453 = getelementptr inbounds { float, float }, ptr %452, i32 0, i32 0
  %454 = load float, ptr %453, align 8
  %455 = getelementptr inbounds { float, float }, ptr %452, i32 0, i32 1
  %456 = load float, ptr %455, align 4
  %457 = fpext float %454 to double
  %458 = load i32, ptr %13, align 4, !tbaa !5
  %459 = zext i32 %458 to i64
  %460 = getelementptr inbounds { float, float }, ptr %105, i64 %459
  %461 = getelementptr inbounds { float, float }, ptr %460, i32 0, i32 0
  %462 = load float, ptr %461, align 8
  %463 = getelementptr inbounds { float, float }, ptr %460, i32 0, i32 1
  %464 = load float, ptr %463, align 4
  %465 = fpext float %464 to double
  %466 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %447, ptr noundef @.str.27, i32 noundef %449, double noundef %457, double noundef %465) #8
  %467 = load ptr, ptr %39, align 8, !tbaa !9
  %468 = load i32, ptr %13, align 4, !tbaa !5
  %469 = add i32 %468, 1
  %470 = load i32, ptr %13, align 4, !tbaa !5
  %471 = zext i32 %470 to i64
  %472 = getelementptr inbounds { float, float }, ptr %108, i64 %471
  %473 = getelementptr inbounds { float, float }, ptr %472, i32 0, i32 0
  %474 = load float, ptr %473, align 8
  %475 = getelementptr inbounds { float, float }, ptr %472, i32 0, i32 1
  %476 = load float, ptr %475, align 4
  %477 = fpext float %474 to double
  %478 = load i32, ptr %13, align 4, !tbaa !5
  %479 = zext i32 %478 to i64
  %480 = getelementptr inbounds { float, float }, ptr %108, i64 %479
  %481 = getelementptr inbounds { float, float }, ptr %480, i32 0, i32 0
  %482 = load float, ptr %481, align 8
  %483 = getelementptr inbounds { float, float }, ptr %480, i32 0, i32 1
  %484 = load float, ptr %483, align 4
  %485 = fpext float %484 to double
  %486 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef @.str.28, i32 noundef %469, double noundef %477, double noundef %485) #8
  %487 = load ptr, ptr %39, align 8, !tbaa !9
  %488 = load i32, ptr %13, align 4, !tbaa !5
  %489 = add i32 %488, 1
  %490 = load i32, ptr %13, align 4, !tbaa !5
  %491 = zext i32 %490 to i64
  %492 = getelementptr inbounds float, ptr %102, i64 %491
  %493 = load float, ptr %492, align 4, !tbaa !11
  %494 = fpext float %493 to double
  %495 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %487, ptr noundef @.str.29, i32 noundef %489, double noundef %494) #8
  %496 = load ptr, ptr %39, align 8, !tbaa !9
  %497 = load i32, ptr %13, align 4, !tbaa !5
  %498 = add i32 %497, 1
  %499 = load i32, ptr %13, align 4, !tbaa !5
  %500 = zext i32 %499 to i64
  %501 = getelementptr inbounds float, ptr %111, i64 %500
  %502 = load float, ptr %501, align 4, !tbaa !11
  %503 = fpext float %502 to double
  %504 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %496, ptr noundef @.str.30, i32 noundef %498, double noundef %503) #8
  %505 = load ptr, ptr %39, align 8, !tbaa !9
  %506 = load i32, ptr %13, align 4, !tbaa !5
  %507 = add i32 %506, 1
  %508 = load i32, ptr %13, align 4, !tbaa !5
  %509 = zext i32 %508 to i64
  %510 = getelementptr inbounds float, ptr %114, i64 %509
  %511 = load float, ptr %510, align 4, !tbaa !11
  %512 = fpext float %511 to double
  %513 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %505, ptr noundef @.str.31, i32 noundef %507, double noundef %512) #8
  br label %514

514:                                              ; preds = %446
  %515 = load i32, ptr %13, align 4, !tbaa !5
  %516 = add i32 %515, 1
  store i32 %516, ptr %13, align 4, !tbaa !5
  br label %442, !llvm.loop !23

517:                                              ; preds = %442
  %518 = load ptr, ptr %39, align 8, !tbaa !9
  %519 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %518, ptr noundef @.str.32) #8
  %520 = load ptr, ptr %39, align 8, !tbaa !9
  %521 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %520, ptr noundef @.str.33) #8
  %522 = load ptr, ptr %39, align 8, !tbaa !9
  %523 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %522, ptr noundef @.str.34) #8
  %524 = load ptr, ptr %39, align 8, !tbaa !9
  %525 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %524, ptr noundef @.str.35) #8
  %526 = load ptr, ptr %39, align 8, !tbaa !9
  %527 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %526, ptr noundef @.str.36) #8
  %528 = load ptr, ptr %39, align 8, !tbaa !9
  %529 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %528, ptr noundef @.str.37) #8
  %530 = load ptr, ptr %39, align 8, !tbaa !9
  %531 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %530, ptr noundef @.str.38) #8
  %532 = load ptr, ptr %39, align 8, !tbaa !9
  %533 = call i32 @fclose(ptr noundef %532)
  %534 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef @.str.14)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  %535 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %535)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %536

536:                                              ; preds = %517, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %537 = load i32, ptr %3, align 4
  ret i32 %537
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare float @randnf(...) #1

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

declare <2 x float> @__mulsc3(float, float, float, float)

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

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

declare i32 @firinterp_rrrf_destroy(ptr noundef) #1

declare i32 @firfilt_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 = { 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 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { 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 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = !{!"branch_weights", i32 1, i32 1048575}
!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.8 = external hidden unnamed_addr constant [13 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

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

.outer303:                                        ; preds = %19, %2
  %.0159.ph = phi float [ %22, %19 ], [ 3.000000e+01, %2 ]
  %.0157.ph = phi i32 [ %.0157.ph305, %19 ], [ 32, %2 ]
  %.0153.ph = phi float [ %.0153.ph310, %19 ], [ 5.000000e-01, %2 ]
  %.0150.ph = phi i32 [ %.0150.ph314, %19 ], [ 3, %2 ]
  %.0147.ph = phi i32 [ %.0147, %19 ], [ 4, %2 ]
  br label %.outer304

.outer304:                                        ; preds = %.outer303, %12
  %.0157.ph305 = phi i32 [ %.0157.ph, %.outer303 ], [ %14, %12 ]
  %.0153.ph306 = phi float [ %.0153.ph, %.outer303 ], [ %.0153.ph310, %12 ]
  %.0150.ph307 = phi i32 [ %.0150.ph, %.outer303 ], [ %.0150.ph314, %12 ]
  %.0147.ph308 = phi i32 [ %.0147.ph, %.outer303 ], [ %.0147, %12 ]
  br label %.outer309

.outer309:                                        ; preds = %.outer304, %15
  %.0153.ph310 = phi float [ %.0153.ph306, %.outer304 ], [ %18, %15 ]
  %.0150.ph311 = phi i32 [ %.0150.ph307, %.outer304 ], [ %.0150.ph314, %15 ]
  %.0147.ph312 = phi i32 [ %.0147.ph308, %.outer304 ], [ %.0147, %15 ]
  br label %.outer313

.outer313:                                        ; preds = %.outer309, %9
  %.0150.ph314 = phi i32 [ %.0150.ph311, %.outer309 ], [ %11, %9 ]
  %.0147.ph315 = phi i32 [ %.0147.ph312, %.outer309 ], [ %.0147, %9 ]
  br label %3

3:                                                ; preds = %.outer313, %6
  %.0147 = phi i32 [ %8, %6 ], [ %.0147.ph315, %.outer313 ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.8) #10
  switch i32 %4, label %23 [
    i32 -1, label %24
    i32 117, label %5
    i32 104, label %5
    i32 107, label %6
    i32 109, label %9
    i32 110, label %12
    i32 98, label %15
    i32 115, label %19
  ]

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

6:                                                ; preds = %3
  %7 = load ptr, ptr @optarg, align 8, !tbaa !5
  %8 = tail call i32 @atoi(ptr nocapture noundef %7) #11
  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) #11
  br label %.outer313, !llvm.loop !9

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

15:                                               ; preds = %3
  %16 = load ptr, ptr @optarg, align 8, !tbaa !5
  %17 = tail call double @atof(ptr noundef %16) #11
  %18 = fptrunc double %17 to float
  br label %.outer309, !llvm.loop !9

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

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

24:                                               ; preds = %3
  %25 = fcmp ole float %.0153.ph310, 0.000000e+00
  %26 = fcmp oge float %.0153.ph310, 1.000000e+00
  %or.cond = or i1 %25, %26
  br i1 %or.cond, label %27, label %31

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

31:                                               ; preds = %24
  %32 = shl i32 %.0150.ph314, 1
  %33 = add i32 %32, %.0157.ph305
  %34 = mul i32 %33, %.0147
  %35 = shl i32 %.0147, 1
  %36 = mul i32 %35, %.0150.ph314
  %37 = or disjoint i32 %36, 1
  %38 = fdiv float %.0159.ph, -2.000000e+01
  %39 = tail call float @powf(float noundef 1.000000e+01, float noundef %38) #10
  %40 = zext i32 %33 to i64
  %41 = tail call ptr @llvm.stacksave.p0()
  %42 = alloca i8, i64 %40, align 16
  %43 = zext i32 %34 to i64
  %44 = alloca float, i64 %43, align 16
  %45 = alloca { float, float }, i64 %43, align 16
  %46 = alloca { float, float }, i64 %43, align 16
  %47 = alloca float, i64 %43, align 16
  %48 = alloca float, i64 %43, align 16
  %49 = alloca i8, i64 %40, align 16
  %50 = tail call ptr @firinterp_rrrf_create_prototype(i32 noundef 11, i32 noundef %.0147, i32 noundef %.0150.ph314, float noundef %.0153.ph310, float noundef 0.000000e+00) #10
  %51 = zext i32 %37 to i64
  %52 = alloca float, i64 %51, align 16
  %53 = call i32 @liquid_firdes_gmskrx(i32 noundef %.0147, i32 noundef %.0150.ph314, float noundef %.0153.ph310, float noundef 0.000000e+00, ptr noundef nonnull %52) #10
  %54 = call ptr @firfilt_rrrf_create(ptr noundef nonnull %52, i32 noundef %37) #10
  %55 = uitofp i32 %.0147 to float
  %56 = fdiv float 1.000000e+00, %55
  %.not = icmp eq i32 %33, 0
  br i1 %.not, label %.preheader, label %.lr.ph186

.lr.ph186:                                        ; preds = %31
  %57 = fneg float %56
  %.not204 = icmp eq i32 %.0147, 0
  %wide.trip.count = zext i32 %.0147 to i64
  br label %.outer

.preheader170:                                    ; preds = %._crit_edge
  %.not205 = icmp eq i32 %34, 0
  br i1 %.not205, label %.preheader, label %.lr.ph188.preheader

.lr.ph188.preheader:                              ; preds = %.preheader170
  %58 = insertelement <2 x float> poison, float %39, i64 0
  %59 = shufflevector <2 x float> %58, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph188

60:                                               ; preds = %.outer, %._crit_edge.thread
  %indvars.iv221 = phi i64 [ %indvars.iv.next222254, %._crit_edge.thread ], [ %indvars.iv221.ph, %.outer ]
  %61 = call i32 @rand() #10
  %62 = srem i32 %61, 2
  %63 = trunc nsw i32 %62 to i8
  %64 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv221
  store i8 %63, ptr %64, align 1, !tbaa !11
  %65 = and i32 %62, 255
  %.not168 = icmp eq i32 %65, 0
  %66 = select i1 %.not168, float %57, float %56
  %67 = trunc nuw i64 %indvars.iv221 to i32
  %68 = mul i32 %.0147, %67
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %44, i64 %69
  %71 = call i32 @firinterp_rrrf_execute(ptr noundef %50, float noundef %66, ptr noundef nonnull %70) #10
  br i1 %.not204, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %60, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %60 ]
  %.1156181 = phi float [ %77, %.lr.ph ], [ %.0155184.ph, %60 ]
  %72 = trunc nuw i64 %indvars.iv to i32
  %73 = add i32 %68, %72
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %44, i64 %74
  %76 = load float, ptr %75, align 4, !tbaa !12
  %77 = fadd float %.1156181, %76
  %78 = fmul float %77, 0.000000e+00
  %.sroa.036.0.vec.insert = insertelement <2 x float> poison, float %78, i64 0
  %.sroa.036.4.vec.insert = insertelement <2 x float> %.sroa.036.0.vec.insert, float %77, i64 1
  %79 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.036.4.vec.insert) #10
  %80 = getelementptr inbounds { float, float }, ptr %45, i64 %74
  store <2 x float> %79, ptr %80, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !14

._crit_edge:                                      ; preds = %.lr.ph
  %indvars.iv.next222 = add nuw nsw i64 %indvars.iv221, 1
  %exitcond225.not = icmp eq i64 %indvars.iv.next222, %40
  br i1 %exitcond225.not, label %.preheader170, label %.outer, !llvm.loop !15

.outer:                                           ; preds = %._crit_edge, %.lr.ph186
  %indvars.iv221.ph = phi i64 [ %indvars.iv.next222, %._crit_edge ], [ 0, %.lr.ph186 ]
  %.0155184.ph = phi float [ %77, %._crit_edge ], [ 0.000000e+00, %.lr.ph186 ]
  br label %60

._crit_edge.thread:                               ; preds = %60
  %indvars.iv.next222254 = add nuw nsw i64 %indvars.iv221, 1
  %exitcond225.not255 = icmp eq i64 %indvars.iv.next222254, %40
  br i1 %exitcond225.not255, label %.preheader, label %60, !llvm.loop !15

.preheader169:                                    ; preds = %.lr.ph188
  br i1 %.not205, label %.preheader, label %.lr.ph193

.lr.ph188:                                        ; preds = %.lr.ph188.preheader, %.lr.ph188
  %indvars.iv226 = phi i64 [ %indvars.iv.next227, %.lr.ph188 ], [ 0, %.lr.ph188.preheader ]
  %81 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv226
  %82 = call float (...) @randnf() #10
  %83 = call float (...) @randnf() #10
  %84 = fmul float %83, 0.000000e+00
  %85 = fadd float %82, %84
  %86 = getelementptr inbounds { float, float }, ptr %46, i64 %indvars.iv226
  %87 = load <2 x float>, ptr %81, align 8
  %88 = fpext <2 x float> %87 to <2 x double>
  %89 = insertelement <2 x float> poison, float %85, i64 0
  %90 = insertelement <2 x float> %89, float %83, i64 1
  %91 = fmul <2 x float> %59, %90
  %92 = fpext <2 x float> %91 to <2 x double>
  %93 = fmul <2 x double> %92, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %94 = fadd <2 x double> %93, %88
  %95 = fptrunc <2 x double> %94 to <2 x float>
  store <2 x float> %95, ptr %86, align 8
  %indvars.iv.next227 = add nuw nsw i64 %indvars.iv226, 1
  %exitcond230.not = icmp eq i64 %indvars.iv.next227, %43
  br i1 %exitcond230.not, label %.preheader169, label %.lr.ph188, !llvm.loop !16

.preheader:                                       ; preds = %._crit_edge.thread, %176, %.preheader170, %31, %.preheader169
  %.not205252259 = phi i1 [ true, %.preheader169 ], [ true, %31 ], [ true, %.preheader170 ], [ %.not205, %176 ], [ true, %._crit_edge.thread ]
  %.not207 = icmp eq i32 %.0157.ph305, 0
  br i1 %.not207, label %._crit_edge197, label %.lr.ph196.preheader

.lr.ph196.preheader:                              ; preds = %.preheader
  %wide.trip.count239 = zext i32 %.0157.ph305 to i64
  %min.iters.check = icmp ult i32 %.0157.ph305, 8
  br i1 %min.iters.check, label %.lr.ph196.preheader295, label %vector.scevcheck

.lr.ph196.preheader295:                           ; preds = %middle.block, %vector.scevcheck, %.lr.ph196.preheader
  %indvars.iv236.ph = phi i64 [ 0, %vector.scevcheck ], [ 0, %.lr.ph196.preheader ], [ %n.vec, %middle.block ]
  %.0146195.ph = phi i32 [ 0, %vector.scevcheck ], [ 0, %.lr.ph196.preheader ], [ %128, %middle.block ]
  %xtraiter = and i64 %wide.trip.count239, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph196.prol.loopexit, label %.lr.ph196.prol

.lr.ph196.prol:                                   ; preds = %.lr.ph196.preheader295
  %96 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv236.ph
  %97 = load i8, ptr %96, align 8, !tbaa !11
  %98 = trunc nuw i64 %indvars.iv236.ph to i32
  %99 = add i32 %32, %98
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds i8, ptr %49, i64 %100
  %102 = load i8, ptr %101, align 2, !tbaa !11
  %103 = icmp ne i8 %97, %102
  %104 = zext i1 %103 to i32
  %105 = add i32 %.0146195.ph, %104
  %indvars.iv.next237.prol = or disjoint i64 %indvars.iv236.ph, 1
  br label %.lr.ph196.prol.loopexit

.lr.ph196.prol.loopexit:                          ; preds = %.lr.ph196.prol, %.lr.ph196.preheader295
  %.lcssa.unr = phi i32 [ poison, %.lr.ph196.preheader295 ], [ %105, %.lr.ph196.prol ]
  %indvars.iv236.unr = phi i64 [ %indvars.iv236.ph, %.lr.ph196.preheader295 ], [ %indvars.iv.next237.prol, %.lr.ph196.prol ]
  %.0146195.unr = phi i32 [ %.0146195.ph, %.lr.ph196.preheader295 ], [ %105, %.lr.ph196.prol ]
  %106 = add nsw i64 %wide.trip.count239, -1
  %107 = icmp eq i64 %indvars.iv236.ph, %106
  br i1 %107, label %._crit_edge197, label %.lr.ph196

vector.scevcheck:                                 ; preds = %.lr.ph196.preheader
  %108 = add nsw i64 %wide.trip.count239, -1
  %109 = trunc i64 %108 to i32
  %110 = xor i32 %32, -1
  %111 = icmp ult i32 %110, %109
  %112 = icmp ugt i64 %108, 4294967295
  %113 = or i1 %111, %112
  br i1 %113, label %.lr.ph196.preheader295, label %vector.ph

vector.ph:                                        ; preds = %vector.scevcheck
  %n.vec = and i64 %wide.trip.count239, 4294967288
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %125, %vector.body ]
  %vec.phi291 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %126, %vector.body ]
  %114 = trunc i64 %index to i32
  %115 = getelementptr inbounds i8, ptr %42, i64 %index
  %116 = getelementptr inbounds i8, ptr %115, i64 4
  %wide.load = load <4 x i8>, ptr %115, align 8, !tbaa !11
  %wide.load292 = load <4 x i8>, ptr %116, align 4, !tbaa !11
  %117 = add i32 %32, %114
  %118 = zext i32 %117 to i64
  %119 = getelementptr inbounds i8, ptr %49, i64 %118
  %120 = getelementptr inbounds i8, ptr %119, i64 4
  %wide.load293 = load <4 x i8>, ptr %119, align 2, !tbaa !11
  %wide.load294 = load <4 x i8>, ptr %120, align 2, !tbaa !11
  %121 = icmp ne <4 x i8> %wide.load, %wide.load293
  %122 = icmp ne <4 x i8> %wide.load292, %wide.load294
  %123 = zext <4 x i1> %121 to <4 x i32>
  %124 = zext <4 x i1> %122 to <4 x i32>
  %125 = add <4 x i32> %vec.phi, %123
  %126 = add <4 x i32> %vec.phi291, %124
  %index.next = add nuw i64 %index, 8
  %127 = icmp eq i64 %index.next, %n.vec
  br i1 %127, label %middle.block, label %vector.body, !llvm.loop !17

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %126, %125
  %128 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count239
  br i1 %cmp.n, label %._crit_edge197, label %.lr.ph196.preheader295

.lr.ph193:                                        ; preds = %.preheader169, %176
  %indvars.iv231 = phi i64 [ %indvars.iv.next232, %176 ], [ 0, %.preheader169 ]
  %.0148192 = phi i32 [ %.1149, %176 ], [ 0, %.preheader169 ]
  %.sroa.034.0191 = phi float [ %131, %176 ], [ 0.000000e+00, %.preheader169 ]
  %.sroa.5.0190 = phi float [ %133, %176 ], [ 0.000000e+00, %.preheader169 ]
  %129 = fneg float %.sroa.5.0190
  %130 = getelementptr inbounds { float, float }, ptr %46, i64 %indvars.iv231
  %131 = load float, ptr %130, align 8
  %132 = getelementptr inbounds i8, ptr %130, i64 4
  %133 = load float, ptr %132, align 4
  %134 = fmul float %.sroa.034.0191, %131
  %135 = fmul float %.sroa.034.0191, %133
  %136 = fmul float %.sroa.5.0190, %133
  %137 = fadd float %134, %136
  %138 = fmul float %.sroa.5.0190, %131
  %139 = fsub float %135, %138
  %140 = fcmp uno float %137, 0.000000e+00
  br i1 %140, label %141, label %145, !prof !20

141:                                              ; preds = %.lr.ph193
  %142 = fcmp uno float %139, 0.000000e+00
  br i1 %142, label %143, label %145, !prof !20

143:                                              ; preds = %141
  %144 = call <2 x float> @__mulsc3(float noundef %.sroa.034.0191, float noundef %129, float noundef %131, float noundef %133) #10
  %.sroa.027.0.vec.extract = extractelement <2 x float> %144, i64 0
  %.sroa.027.4.vec.extract = extractelement <2 x float> %144, i64 1
  br label %145

145:                                              ; preds = %143, %141, %.lr.ph193
  %146 = phi float [ %137, %.lr.ph193 ], [ %137, %141 ], [ %.sroa.027.0.vec.extract, %143 ]
  %147 = phi float [ %139, %.lr.ph193 ], [ %139, %141 ], [ %.sroa.027.4.vec.extract, %143 ]
  %.sroa.0.0.vec.insert = insertelement <2 x float> poison, float %146, i64 0
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0.vec.insert, float %147, i64 1
  %148 = call float @cargf(<2 x float> noundef %.sroa.0.4.vec.insert) #10
  %149 = getelementptr inbounds float, ptr %47, i64 %indvars.iv231
  store float %148, ptr %149, align 4, !tbaa !12
  %150 = call i32 @firfilt_rrrf_push(ptr noundef %54, float noundef %148) #10
  %151 = getelementptr inbounds float, ptr %48, i64 %indvars.iv231
  %152 = call i32 @firfilt_rrrf_execute(ptr noundef %54, ptr noundef nonnull %151) #10
  %153 = trunc nuw i64 %indvars.iv231 to i32
  %154 = urem i32 %153, %.0147
  %155 = icmp eq i32 %154, 0
  br i1 %155, label %156, label %176

156:                                              ; preds = %145
  %157 = load float, ptr %151, align 4, !tbaa !12
  %158 = fcmp ogt float %157, 0.000000e+00
  %159 = zext i1 %158 to i8
  %160 = zext i32 %.0148192 to i64
  %161 = getelementptr inbounds i8, ptr %49, i64 %160
  store i8 %159, ptr %161, align 1, !tbaa !11
  %162 = fpext float %157 to double
  %163 = zext i1 %158 to i32
  %164 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i32 noundef %.0148192, double noundef %162, i32 noundef %163)
  %.not167 = icmp ult i32 %.0148192, %32
  br i1 %.not167, label %172, label %165

165:                                              ; preds = %156
  %166 = sub i32 %.0148192, %32
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds i8, ptr %42, i64 %167
  %169 = load i8, ptr %168, align 1, !tbaa !11
  %170 = zext i8 %169 to i32
  %171 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %170)
  br label %174

172:                                              ; preds = %156
  %173 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  br label %174

174:                                              ; preds = %172, %165
  %175 = add i32 %.0148192, 1
  br label %176

176:                                              ; preds = %145, %174
  %.1149 = phi i32 [ %175, %174 ], [ %.0148192, %145 ]
  %indvars.iv.next232 = add nuw nsw i64 %indvars.iv231, 1
  %exitcond235.not = icmp eq i64 %indvars.iv.next232, %43
  br i1 %exitcond235.not, label %.preheader, label %.lr.ph193, !llvm.loop !21

.lr.ph196:                                        ; preds = %.lr.ph196.prol.loopexit, %.lr.ph196
  %indvars.iv236 = phi i64 [ %indvars.iv.next237.1, %.lr.ph196 ], [ %indvars.iv236.unr, %.lr.ph196.prol.loopexit ]
  %.0146195 = phi i32 [ %196, %.lr.ph196 ], [ %.0146195.unr, %.lr.ph196.prol.loopexit ]
  %177 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv236
  %178 = load i8, ptr %177, align 1, !tbaa !11
  %179 = trunc nuw i64 %indvars.iv236 to i32
  %180 = add i32 %32, %179
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds i8, ptr %49, i64 %181
  %183 = load i8, ptr %182, align 1, !tbaa !11
  %184 = icmp ne i8 %178, %183
  %185 = zext i1 %184 to i32
  %186 = add i32 %.0146195, %185
  %indvars.iv.next237 = add nuw nsw i64 %indvars.iv236, 1
  %187 = getelementptr inbounds i8, ptr %42, i64 %indvars.iv.next237
  %188 = load i8, ptr %187, align 1, !tbaa !11
  %189 = trunc nuw i64 %indvars.iv.next237 to i32
  %190 = add i32 %32, %189
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds i8, ptr %49, i64 %191
  %193 = load i8, ptr %192, align 1, !tbaa !11
  %194 = icmp ne i8 %188, %193
  %195 = zext i1 %194 to i32
  %196 = add i32 %186, %195
  %indvars.iv.next237.1 = add nuw nsw i64 %indvars.iv236, 2
  %exitcond240.not.1 = icmp eq i64 %indvars.iv.next237.1, %wide.trip.count239
  br i1 %exitcond240.not.1, label %._crit_edge197, label %.lr.ph196, !llvm.loop !22

._crit_edge197:                                   ; preds = %.lr.ph196.prol.loopexit, %.lr.ph196, %middle.block, %.preheader
  %.0146.lcssa = phi i32 [ 0, %.preheader ], [ %128, %middle.block ], [ %.lcssa.unr, %.lr.ph196.prol.loopexit ], [ %196, %.lr.ph196 ]
  %197 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %.0146.lcssa, i32 noundef %.0157.ph305)
  %198 = call i32 @firinterp_rrrf_destroy(ptr noundef %50) #10
  %199 = call i32 @firfilt_rrrf_destroy(ptr noundef %54) #10
  %200 = call noalias ptr @fopen(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.15)
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.14) #10
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.17) #10
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.18) #10
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.19, i32 noundef %.0147) #10
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.20, i32 noundef %.0150.ph314) #10
  %206 = fpext float %.0153.ph310 to double
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.21, double noundef %206) #10
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.22, i32 noundef %33) #10
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.23, i32 noundef %34) #10
  %210 = or disjoint i32 %36, 1
  %wide.trip.count244 = zext i32 %210 to i64
  br label %211

211:                                              ; preds = %._crit_edge197, %211
  %indvars.iv241 = phi i64 [ 0, %._crit_edge197 ], [ %indvars.iv.next242, %211 ]
  %indvars.iv.next242 = add nuw nsw i64 %indvars.iv241, 1
  %212 = getelementptr inbounds float, ptr %52, i64 %indvars.iv241
  %213 = load float, ptr %212, align 4, !tbaa !12
  %214 = fpext float %213 to double
  %215 = trunc nuw i64 %indvars.iv.next242 to i32
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.24, i32 noundef %215, double noundef %214) #10
  %exitcond245 = icmp eq i64 %indvars.iv.next242, %wide.trip.count244
  br i1 %exitcond245, label %217, label %211, !llvm.loop !23

217:                                              ; preds = %211
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.25) #10
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.26) #10
  br i1 %.not205252259, label %._crit_edge203, label %.lr.ph202

.lr.ph202:                                        ; preds = %217, %.lr.ph202
  %indvars.iv246 = phi i64 [ %indvars.iv.next247, %.lr.ph202 ], [ 0, %217 ]
  %indvars.iv.next247 = add nuw nsw i64 %indvars.iv246, 1
  %220 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv246
  %221 = load float, ptr %220, align 8
  %222 = getelementptr inbounds i8, ptr %220, i64 4
  %223 = fpext float %221 to double
  %224 = load float, ptr %222, align 4
  %225 = fpext float %224 to double
  %226 = trunc nuw i64 %indvars.iv.next247 to i32
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.27, i32 noundef %226, double noundef %223, double noundef %225) #10
  %228 = getelementptr inbounds { float, float }, ptr %46, i64 %indvars.iv246
  %229 = load float, ptr %228, align 8
  %230 = getelementptr inbounds i8, ptr %228, i64 4
  %231 = fpext float %229 to double
  %232 = load float, ptr %230, align 4
  %233 = fpext float %232 to double
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.28, i32 noundef %226, double noundef %231, double noundef %233) #10
  %235 = getelementptr inbounds float, ptr %44, i64 %indvars.iv246
  %236 = load float, ptr %235, align 4, !tbaa !12
  %237 = fpext float %236 to double
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.29, i32 noundef %226, double noundef %237) #10
  %239 = getelementptr inbounds float, ptr %47, i64 %indvars.iv246
  %240 = load float, ptr %239, align 4, !tbaa !12
  %241 = fpext float %240 to double
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.30, i32 noundef %226, double noundef %241) #10
  %243 = getelementptr inbounds float, ptr %48, i64 %indvars.iv246
  %244 = load float, ptr %243, align 4, !tbaa !12
  %245 = fpext float %244 to double
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.31, i32 noundef %226, double noundef %245) #10
  %exitcond250.not = icmp eq i64 %indvars.iv.next247, %43
  br i1 %exitcond250.not, label %._crit_edge203, label %.lr.ph202, !llvm.loop !24

._crit_edge203:                                   ; preds = %.lr.ph202, %217
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.32) #10
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.33) #10
  %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.34) #10
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.35) #10
  %251 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.36) #10
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.37) #10
  %253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.38) #10
  %254 = call i32 @fclose(ptr noundef %200)
  %255 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull @.str.14)
  call void @llvm.stackrestore.p0(ptr %41)
  br label %256

256:                                              ; preds = %._crit_edge203, %5
  ret i32 0
}

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

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

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

; Function Attrs: 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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @powf(float noundef, float noundef) local_unnamed_addr #6

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

declare ptr @firinterp_rrrf_create_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #8

declare i32 @liquid_firdes_gmskrx(i32 noundef, i32 noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #8

declare ptr @firfilt_rrrf_create(ptr noundef, i32 noundef) local_unnamed_addr #8

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

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

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

declare float @randnf(...) local_unnamed_addr #8

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

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

declare i32 @firfilt_rrrf_push(ptr noundef, float noundef) local_unnamed_addr #8

declare i32 @firfilt_rrrf_execute(ptr noundef, ptr noundef) local_unnamed_addr #8

declare i32 @firinterp_rrrf_destroy(ptr noundef) local_unnamed_addr #8

declare i32 @firfilt_rrrf_destroy(ptr noundef) local_unnamed_addr #8

; 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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #9

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #8 = { "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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { noreturn nounwind }
attributes #13 = { 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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10, !18, !19}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = !{!"branch_weights", i32 1, i32 1048575}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10, !18}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}


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