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

54:                                               ; preds = %96, %2
  %55 = load i32, ptr %4, align 4, !tbaa !5
  %56 = load ptr, ptr %5, align 8, !tbaa !9
  %57 = call i32 @getopt(i32 noundef %55, ptr noundef %56, ptr noundef @.str.12) #9
  store i32 %57, ptr %18, align 4, !tbaa !5
  %58 = icmp ne i32 %57, -1
  br i1 %58, label %59, label %97

59:                                               ; preds = %54
  %60 = load i32, ptr %18, align 4, !tbaa !5
  switch i32 %60, label %95 [
    i32 104, label %61
    i32 110, label %62
    i32 107, label %65
    i32 109, label %68
    i32 98, label %71
    i32 70, label %75
    i32 84, label %79
    i32 83, label %83
    i32 116, label %87
    i32 114, label %91
  ]

61:                                               ; preds = %59
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %586

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

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

68:                                               ; preds = %59
  %69 = load ptr, ptr @optarg, align 8, !tbaa !9
  %70 = call i32 @atoi(ptr noundef %69) #10
  store i32 %70, ptr %8, align 4, !tbaa !5
  br label %96

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

75:                                               ; preds = %59
  %76 = load ptr, ptr @optarg, align 8, !tbaa !9
  %77 = call double @atof(ptr noundef %76) #10
  %78 = fptrunc double %77 to float
  store float %78, ptr %12, align 4, !tbaa !11
  br label %96

79:                                               ; preds = %59
  %80 = load ptr, ptr @optarg, align 8, !tbaa !9
  %81 = call double @atof(ptr noundef %80) #10
  %82 = fptrunc double %81 to float
  store float %82, ptr %11, align 4, !tbaa !11
  br label %96

83:                                               ; preds = %59
  %84 = load ptr, ptr @optarg, align 8, !tbaa !9
  %85 = call double @atof(ptr noundef %84) #10
  %86 = fptrunc double %85 to float
  store float %86, ptr %15, align 4, !tbaa !11
  br label %96

87:                                               ; preds = %59
  %88 = load ptr, ptr @optarg, align 8, !tbaa !9
  %89 = call double @atof(ptr noundef %88) #10
  %90 = fptrunc double %89 to float
  store float %90, ptr %16, align 4, !tbaa !11
  br label %96

91:                                               ; preds = %59
  %92 = load ptr, ptr @optarg, align 8, !tbaa !9
  %93 = call double @atof(ptr noundef %92) #10
  %94 = fptrunc double %93 to float
  store float %94, ptr %17, align 4, !tbaa !11
  br label %96

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

96:                                               ; preds = %91, %87, %83, %79, %75, %71, %68, %65, %62
  br label %54, !llvm.loop !13

97:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %98 = load float, ptr %11, align 4, !tbaa !11
  %99 = fcmp olt float %98, -5.000000e-01
  br i1 %99, label %103, label %100

100:                                              ; preds = %97
  %101 = load float, ptr %11, align 4, !tbaa !11
  %102 = fcmp ogt float %101, 5.000000e-01
  br i1 %102, label %103, label %109

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

109:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  %110 = load float, ptr %14, align 4, !tbaa !11
  %111 = fdiv float %110, 2.000000e+01
  %112 = call float @powf(float noundef 1.000000e+01, float noundef %111) #9
  store float %112, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %113 = load float, ptr %15, align 4, !tbaa !11
  %114 = load float, ptr %14, align 4, !tbaa !11
  %115 = fadd float %113, %114
  %116 = fdiv float %115, 2.000000e+01
  %117 = call float @powf(float noundef 1.000000e+01, float noundef %116) #9
  store float %117, ptr %22, align 4, !tbaa !11
  %118 = load i32, ptr %6, align 4, !tbaa !5
  %119 = zext i32 %118 to i64
  %120 = call ptr @llvm.stacksave.p0()
  store ptr %120, ptr %23, align 8
  %121 = alloca { float, float }, i64 %119, align 16
  store i64 %119, ptr %24, align 8
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %151, %109
  %123 = load i32, ptr %20, align 4, !tbaa !5
  %124 = load i32, ptr %6, align 4, !tbaa !5
  %125 = icmp ult i32 %123, %124
  br i1 %125, label %126, label %154

126:                                              ; preds = %122
  %127 = call i32 @rand() #9
  %128 = srem i32 %127, 2
  %129 = icmp ne i32 %128, 0
  %130 = zext i1 %129 to i64
  %131 = select i1 %129, float 1.000000e+00, float -1.000000e+00
  %132 = fpext float %131 to double
  %133 = fmul double %132, 0x3FE6A09E667F3BCD
  %134 = call i32 @rand() #9
  %135 = srem i32 %134, 2
  %136 = icmp ne i32 %135, 0
  %137 = zext i1 %136 to i64
  %138 = select i1 %136, float 1.000000e+00, float -1.000000e+00
  %139 = fpext float %138 to double
  %140 = fmul double %139, 0x3FE6A09E667F3BCD
  %141 = fmul double %140, 0.000000e+00
  %142 = fmul double %140, 1.000000e+00
  %143 = fadd double %133, %141
  %144 = fptrunc double %143 to float
  %145 = fptrunc double %142 to float
  %146 = load i32, ptr %20, align 4, !tbaa !5
  %147 = zext i32 %146 to i64
  %148 = getelementptr inbounds { float, float }, ptr %121, i64 %147
  %149 = getelementptr inbounds { float, float }, ptr %148, i32 0, i32 0
  %150 = getelementptr inbounds { float, float }, ptr %148, i32 0, i32 1
  store float %144, ptr %149, align 8
  store float %145, ptr %150, align 4
  br label %151

151:                                              ; preds = %126
  %152 = load i32, ptr %20, align 4, !tbaa !5
  %153 = add i32 %152, 1
  store i32 %153, ptr %20, align 4, !tbaa !5
  br label %122, !llvm.loop !15

154:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store float 0.000000e+00, ptr %25, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store float 0.000000e+00, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  store float 0.000000e+00, ptr %27, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  store float 0.000000e+00, ptr %28, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  store float 0.000000e+00, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  store i32 0, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %155 = load i32, ptr %6, align 4, !tbaa !5
  %156 = load i32, ptr %10, align 4, !tbaa !5
  %157 = load i32, ptr %7, align 4, !tbaa !5
  %158 = load i32, ptr %8, align 4, !tbaa !5
  %159 = load float, ptr %9, align 4, !tbaa !11
  %160 = call ptr @qdetector_cccf_create_linear(ptr noundef %121, i32 noundef %155, i32 noundef %156, i32 noundef %157, i32 noundef %158, float noundef %159)
  store ptr %160, ptr %31, align 8, !tbaa !9
  %161 = load ptr, ptr %31, align 8, !tbaa !9
  %162 = load float, ptr %16, align 4, !tbaa !11
  %163 = call i32 @qdetector_cccf_set_threshold(ptr noundef %161, float noundef %162)
  %164 = load ptr, ptr %31, align 8, !tbaa !9
  %165 = load float, ptr %17, align 4, !tbaa !11
  %166 = call i32 @qdetector_cccf_set_range(ptr noundef %164, float noundef %165)
  %167 = load ptr, ptr %31, align 8, !tbaa !9
  %168 = call i32 @qdetector_cccf_print(ptr noundef %167)
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  %169 = load ptr, ptr %31, align 8, !tbaa !9
  %170 = call i32 @qdetector_cccf_get_seq_len(ptr noundef %169)
  store i32 %170, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %171 = load ptr, ptr %31, align 8, !tbaa !9
  %172 = call i32 @qdetector_cccf_get_buf_len(ptr noundef %171)
  store i32 %172, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %173 = load i32, ptr %33, align 4, !tbaa !5
  %174 = mul i32 2, %173
  store i32 %174, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  %175 = load i32, ptr %33, align 4, !tbaa !5
  store i32 %175, ptr %35, align 4, !tbaa !5
  %176 = load i32, ptr %34, align 4, !tbaa !5
  %177 = zext i32 %176 to i64
  %178 = alloca { float, float }, i64 %177, align 16
  store i64 %177, ptr %36, align 8
  %179 = load i32, ptr %35, align 4, !tbaa !5
  %180 = zext i32 %179 to i64
  %181 = alloca { float, float }, i64 %180, align 16
  store i64 %180, ptr %37, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %182 = load ptr, ptr %31, align 8, !tbaa !9
  %183 = call ptr @qdetector_cccf_get_sequence(ptr noundef %182)
  store ptr %183, ptr %38, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 15, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %184 = load i32, ptr %39, align 4, !tbaa !5
  %185 = mul i32 2, %184
  %186 = add i32 %185, 1
  %187 = load float, ptr %11, align 4, !tbaa !11
  %188 = fneg float %187
  %189 = call ptr @firfilt_crcf_create_kaiser(i32 noundef %186, float noundef 0x3FD99999A0000000, float noundef 6.000000e+01, float noundef %188)
  store ptr %189, ptr %40, align 8, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %190

190:                                              ; preds = %302, %154
  %191 = load i32, ptr %20, align 4, !tbaa !5
  %192 = load i32, ptr %34, align 4, !tbaa !5
  %193 = icmp ult i32 %191, %192
  br i1 %193, label %194, label %305

194:                                              ; preds = %190
  %195 = load ptr, ptr %40, align 8, !tbaa !9
  %196 = load i32, ptr %20, align 4, !tbaa !5
  %197 = load i32, ptr %32, align 4, !tbaa !5
  %198 = icmp ult i32 %196, %197
  br i1 %198, label %199, label %208

199:                                              ; preds = %194
  %200 = load ptr, ptr %38, align 8, !tbaa !9
  %201 = load i32, ptr %20, align 4, !tbaa !5
  %202 = zext i32 %201 to i64
  %203 = getelementptr inbounds { float, float }, ptr %200, i64 %202
  %204 = getelementptr inbounds { float, float }, ptr %203, i32 0, i32 0
  %205 = load float, ptr %204, align 4
  %206 = getelementptr inbounds { float, float }, ptr %203, i32 0, i32 1
  %207 = load float, ptr %206, align 4
  br label %209

208:                                              ; preds = %194
  br label %209

209:                                              ; preds = %208, %199
  %210 = phi float [ %205, %199 ], [ 0.000000e+00, %208 ]
  %211 = phi float [ %207, %199 ], [ 0.000000e+00, %208 ]
  %212 = getelementptr inbounds { float, float }, ptr %41, i32 0, i32 0
  %213 = getelementptr inbounds { float, float }, ptr %41, i32 0, i32 1
  store float %210, ptr %212, align 4
  store float %211, ptr %213, align 4
  %214 = load <2 x float>, ptr %41, align 4
  %215 = call i32 @firfilt_crcf_push(ptr noundef %195, <2 x float> noundef %214)
  %216 = load ptr, ptr %40, align 8, !tbaa !9
  %217 = load i32, ptr %20, align 4, !tbaa !5
  %218 = zext i32 %217 to i64
  %219 = getelementptr inbounds { float, float }, ptr %178, i64 %218
  %220 = call i32 @firfilt_crcf_execute(ptr noundef %216, ptr noundef %219)
  %221 = load float, ptr %22, align 4, !tbaa !11
  %222 = load i32, ptr %20, align 4, !tbaa !5
  %223 = zext i32 %222 to i64
  %224 = getelementptr inbounds { float, float }, ptr %178, i64 %223
  %225 = getelementptr inbounds { float, float }, ptr %224, i32 0, i32 0
  %226 = load float, ptr %225, align 8
  %227 = getelementptr inbounds { float, float }, ptr %224, i32 0, i32 1
  %228 = load float, ptr %227, align 4
  %229 = fmul float %226, %221
  %230 = fmul float %228, %221
  %231 = getelementptr inbounds { float, float }, ptr %224, i32 0, i32 0
  %232 = getelementptr inbounds { float, float }, ptr %224, i32 0, i32 1
  store float %229, ptr %231, align 8
  store float %230, ptr %232, align 4
  %233 = load float, ptr %12, align 4, !tbaa !11
  %234 = load i32, ptr %20, align 4, !tbaa !5
  %235 = uitofp i32 %234 to float
  %236 = load float, ptr %13, align 4, !tbaa !11
  %237 = call float @llvm.fmuladd.f32(float %233, float %235, float %236)
  %238 = fmul float 0.000000e+00, %237
  %239 = fmul float 1.000000e+00, %237
  %240 = getelementptr inbounds { float, float }, ptr %42, i32 0, i32 0
  %241 = getelementptr inbounds { float, float }, ptr %42, i32 0, i32 1
  store float %238, ptr %240, align 4
  store float %239, ptr %241, align 4
  %242 = load <2 x float>, ptr %42, align 4
  %243 = call <2 x float> @cexpf(<2 x float> noundef %242) #9
  store <2 x float> %243, ptr %43, align 4
  %244 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 0
  %245 = load float, ptr %244, align 4
  %246 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 1
  %247 = load float, ptr %246, align 4
  %248 = load i32, ptr %20, align 4, !tbaa !5
  %249 = zext i32 %248 to i64
  %250 = getelementptr inbounds { float, float }, ptr %178, i64 %249
  %251 = getelementptr inbounds { float, float }, ptr %250, i32 0, i32 0
  %252 = load float, ptr %251, align 8
  %253 = getelementptr inbounds { float, float }, ptr %250, i32 0, i32 1
  %254 = load float, ptr %253, align 4
  %255 = fmul float %252, %245
  %256 = fmul float %254, %247
  %257 = fmul float %252, %247
  %258 = fmul float %254, %245
  %259 = fsub float %255, %256
  %260 = fadd float %257, %258
  %261 = fcmp uno float %259, %259
  br i1 %261, label %262, label %270, !prof !16

262:                                              ; preds = %209
  %263 = fcmp uno float %260, %260
  br i1 %263, label %264, label %270, !prof !16

264:                                              ; preds = %262
  %265 = call <2 x float> @__mulsc3(float noundef %252, float noundef %254, float noundef %245, float noundef %247) #9
  store <2 x float> %265, ptr %44, align 4
  %266 = getelementptr inbounds { float, float }, ptr %44, i32 0, i32 0
  %267 = load float, ptr %266, align 4
  %268 = getelementptr inbounds { float, float }, ptr %44, i32 0, i32 1
  %269 = load float, ptr %268, align 4
  br label %270

270:                                              ; preds = %264, %262, %209
  %271 = phi float [ %259, %209 ], [ %259, %262 ], [ %267, %264 ]
  %272 = phi float [ %260, %209 ], [ %260, %262 ], [ %269, %264 ]
  %273 = getelementptr inbounds { float, float }, ptr %250, i32 0, i32 0
  %274 = getelementptr inbounds { float, float }, ptr %250, i32 0, i32 1
  store float %271, ptr %273, align 8
  store float %272, ptr %274, align 4
  %275 = load float, ptr %21, align 4, !tbaa !11
  %276 = call float (...) @randnf()
  %277 = call float (...) @randnf()
  %278 = fmul float 0.000000e+00, %277
  %279 = fmul float 1.000000e+00, %277
  %280 = fadd float %276, %278
  %281 = fmul float %275, %280
  %282 = fmul float %275, %279
  %283 = fpext float %281 to double
  %284 = fpext float %282 to double
  %285 = fmul double %283, 0x3FE6A09E667F3BCD
  %286 = fmul double %284, 0x3FE6A09E667F3BCD
  %287 = load i32, ptr %20, align 4, !tbaa !5
  %288 = zext i32 %287 to i64
  %289 = getelementptr inbounds { float, float }, ptr %178, i64 %288
  %290 = getelementptr inbounds { float, float }, ptr %289, i32 0, i32 0
  %291 = load float, ptr %290, align 8
  %292 = getelementptr inbounds { float, float }, ptr %289, i32 0, i32 1
  %293 = load float, ptr %292, align 4
  %294 = fpext float %291 to double
  %295 = fpext float %293 to double
  %296 = fadd double %294, %285
  %297 = fadd double %295, %286
  %298 = fptrunc double %296 to float
  %299 = fptrunc double %297 to float
  %300 = getelementptr inbounds { float, float }, ptr %289, i32 0, i32 0
  %301 = getelementptr inbounds { float, float }, ptr %289, i32 0, i32 1
  store float %298, ptr %300, align 8
  store float %299, ptr %301, align 4
  br label %302

302:                                              ; preds = %270
  %303 = load i32, ptr %20, align 4, !tbaa !5
  %304 = add i32 %303, 1
  store i32 %304, ptr %20, align 4, !tbaa !5
  br label %190, !llvm.loop !17

305:                                              ; preds = %190
  %306 = load ptr, ptr %40, align 8, !tbaa !9
  %307 = call i32 @firfilt_crcf_destroy(ptr noundef %306)
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %308

308:                                              ; preds = %340, %305
  %309 = load i32, ptr %20, align 4, !tbaa !5
  %310 = load i32, ptr %34, align 4, !tbaa !5
  %311 = icmp ult i32 %309, %310
  br i1 %311, label %312, label %343

312:                                              ; preds = %308
  %313 = load ptr, ptr %31, align 8, !tbaa !9
  %314 = load i32, ptr %20, align 4, !tbaa !5
  %315 = zext i32 %314 to i64
  %316 = getelementptr inbounds { float, float }, ptr %178, i64 %315
  %317 = getelementptr inbounds { float, float }, ptr %316, i32 0, i32 0
  %318 = load float, ptr %317, align 8
  %319 = getelementptr inbounds { float, float }, ptr %316, i32 0, i32 1
  %320 = load float, ptr %319, align 4
  %321 = getelementptr inbounds { float, float }, ptr %45, i32 0, i32 0
  %322 = getelementptr inbounds { float, float }, ptr %45, i32 0, i32 1
  store float %318, ptr %321, align 4
  store float %320, ptr %322, align 4
  %323 = load <2 x float>, ptr %45, align 4
  %324 = call ptr @qdetector_cccf_execute(ptr noundef %313, <2 x float> noundef %323)
  store ptr %324, ptr %38, align 8, !tbaa !9
  %325 = load ptr, ptr %38, align 8, !tbaa !9
  %326 = icmp ne ptr %325, null
  br i1 %326, label %327, label %339

327:                                              ; preds = %312
  %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  store i32 1, ptr %30, align 4, !tbaa !5
  %329 = load ptr, ptr %31, align 8, !tbaa !9
  %330 = call float @qdetector_cccf_get_rxy(ptr noundef %329)
  store float %330, ptr %25, align 4, !tbaa !11
  %331 = load ptr, ptr %31, align 8, !tbaa !9
  %332 = call float @qdetector_cccf_get_tau(ptr noundef %331)
  store float %332, ptr %26, align 4, !tbaa !11
  %333 = load ptr, ptr %31, align 8, !tbaa !9
  %334 = call float @qdetector_cccf_get_gamma(ptr noundef %333)
  store float %334, ptr %27, align 4, !tbaa !11
  %335 = load ptr, ptr %31, align 8, !tbaa !9
  %336 = call float @qdetector_cccf_get_dphi(ptr noundef %335)
  store float %336, ptr %28, align 4, !tbaa !11
  %337 = load ptr, ptr %31, align 8, !tbaa !9
  %338 = call float @qdetector_cccf_get_phi(ptr noundef %337)
  store float %338, ptr %29, align 4, !tbaa !11
  br label %343

339:                                              ; preds = %312
  br label %340

340:                                              ; preds = %339
  %341 = load i32, ptr %20, align 4, !tbaa !5
  %342 = add i32 %341, 1
  store i32 %342, ptr %20, align 4, !tbaa !5
  br label %308, !llvm.loop !18

343:                                              ; preds = %327, %308
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  store i32 0, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  store i32 0, ptr %47, align 4, !tbaa !5
  %344 = load i32, ptr %30, align 4, !tbaa !5
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %346, label %421

346:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #9
  %347 = load i32, ptr %10, align 4, !tbaa !5
  %348 = load i32, ptr %7, align 4, !tbaa !5
  %349 = load i32, ptr %8, align 4, !tbaa !5
  %350 = load float, ptr %9, align 4, !tbaa !11
  %351 = load float, ptr %26, align 4, !tbaa !11
  %352 = call ptr @firfilt_crcf_create_rnyquist(i32 noundef %347, i32 noundef %348, i32 noundef %349, float noundef %350, float noundef %351)
  store ptr %352, ptr %48, align 8, !tbaa !9
  %353 = load ptr, ptr %48, align 8, !tbaa !9
  %354 = load i32, ptr %7, align 4, !tbaa !5
  %355 = uitofp i32 %354 to float
  %356 = load float, ptr %27, align 4, !tbaa !11
  %357 = fmul float %355, %356
  %358 = fdiv float 1.000000e+00, %357
  %359 = call i32 @firfilt_crcf_set_scale(ptr noundef %353, float noundef %358)
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #9
  %360 = call ptr @nco_crcf_create(i32 noundef 1)
  store ptr %360, ptr %49, align 8, !tbaa !9
  %361 = load ptr, ptr %49, align 8, !tbaa !9
  %362 = load float, ptr %28, align 4, !tbaa !11
  %363 = call i32 @nco_crcf_set_frequency(ptr noundef %361, float noundef %362)
  %364 = load ptr, ptr %49, align 8, !tbaa !9
  %365 = load float, ptr %29, align 4, !tbaa !11
  %366 = call i32 @nco_crcf_set_phase(ptr noundef %364, float noundef %365)
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %367

367:                                              ; preds = %413, %346
  %368 = load i32, ptr %20, align 4, !tbaa !5
  %369 = load i32, ptr %33, align 4, !tbaa !5
  %370 = icmp ult i32 %368, %369
  br i1 %370, label %371, label %416

371:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #9
  %372 = load ptr, ptr %49, align 8, !tbaa !9
  %373 = load ptr, ptr %38, align 8, !tbaa !9
  %374 = load i32, ptr %20, align 4, !tbaa !5
  %375 = zext i32 %374 to i64
  %376 = getelementptr inbounds { float, float }, ptr %373, i64 %375
  %377 = getelementptr inbounds { float, float }, ptr %376, i32 0, i32 0
  %378 = load float, ptr %377, align 4
  %379 = getelementptr inbounds { float, float }, ptr %376, i32 0, i32 1
  %380 = load float, ptr %379, align 4
  %381 = getelementptr inbounds { float, float }, ptr %51, i32 0, i32 0
  %382 = getelementptr inbounds { float, float }, ptr %51, i32 0, i32 1
  store float %378, ptr %381, align 4
  store float %380, ptr %382, align 4
  %383 = load <2 x float>, ptr %51, align 4
  %384 = call i32 @nco_crcf_mix_down(ptr noundef %372, <2 x float> noundef %383, ptr noundef %50)
  %385 = load ptr, ptr %49, align 8, !tbaa !9
  %386 = call i32 @nco_crcf_step(ptr noundef %385)
  %387 = load ptr, ptr %48, align 8, !tbaa !9
  %388 = getelementptr inbounds { float, float }, ptr %50, i32 0, i32 0
  %389 = load float, ptr %388, align 4
  %390 = getelementptr inbounds { float, float }, ptr %50, i32 0, i32 1
  %391 = load float, ptr %390, align 4
  %392 = getelementptr inbounds { float, float }, ptr %52, i32 0, i32 0
  %393 = getelementptr inbounds { float, float }, ptr %52, i32 0, i32 1
  store float %389, ptr %392, align 4
  store float %391, ptr %393, align 4
  %394 = load <2 x float>, ptr %52, align 4
  %395 = call i32 @firfilt_crcf_push(ptr noundef %387, <2 x float> noundef %394)
  %396 = load i32, ptr %47, align 4, !tbaa !5
  %397 = add i32 %396, 1
  store i32 %397, ptr %47, align 4, !tbaa !5
  %398 = load i32, ptr %47, align 4, !tbaa !5
  %399 = load i32, ptr %7, align 4, !tbaa !5
  %400 = sub i32 %399, 1
  %401 = icmp eq i32 %398, %400
  br i1 %401, label %402, label %409

402:                                              ; preds = %371
  %403 = load ptr, ptr %48, align 8, !tbaa !9
  %404 = load i32, ptr %46, align 4, !tbaa !5
  %405 = add i32 %404, 1
  store i32 %405, ptr %46, align 4, !tbaa !5
  %406 = zext i32 %404 to i64
  %407 = getelementptr inbounds { float, float }, ptr %181, i64 %406
  %408 = call i32 @firfilt_crcf_execute(ptr noundef %403, ptr noundef %407)
  br label %409

409:                                              ; preds = %402, %371
  %410 = load i32, ptr %7, align 4, !tbaa !5
  %411 = load i32, ptr %47, align 4, !tbaa !5
  %412 = urem i32 %411, %410
  store i32 %412, ptr %47, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  br label %413

413:                                              ; preds = %409
  %414 = load i32, ptr %20, align 4, !tbaa !5
  %415 = add i32 %414, 1
  store i32 %415, ptr %20, align 4, !tbaa !5
  br label %367, !llvm.loop !19

416:                                              ; preds = %367
  %417 = load ptr, ptr %49, align 8, !tbaa !9
  %418 = call i32 @nco_crcf_destroy(ptr noundef %417)
  %419 = load ptr, ptr %48, align 8, !tbaa !9
  %420 = call i32 @firfilt_crcf_destroy(ptr noundef %419)
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #9
  br label %421

421:                                              ; preds = %416, %343
  %422 = load ptr, ptr %31, align 8, !tbaa !9
  %423 = call i32 @qdetector_cccf_destroy(ptr noundef %422)
  %424 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %425 = load i32, ptr %30, align 4, !tbaa !5
  %426 = icmp ne i32 %425, 0
  %427 = zext i1 %426 to i64
  %428 = select i1 %426, ptr @.str.17, ptr @.str.18
  %429 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, ptr noundef %428)
  %430 = load i32, ptr %30, align 4, !tbaa !5
  %431 = icmp ne i32 %430, 0
  br i1 %431, label %432, label %474

432:                                              ; preds = %421
  %433 = load float, ptr %25, align 4, !tbaa !11
  %434 = fpext float %433 to double
  %435 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, double noundef %434)
  %436 = load float, ptr %27, align 4, !tbaa !11
  %437 = fpext float %436 to double
  %438 = load float, ptr %22, align 4, !tbaa !11
  %439 = fpext float %438 to double
  %440 = load float, ptr %27, align 4, !tbaa !11
  %441 = load float, ptr %22, align 4, !tbaa !11
  %442 = fsub float %440, %441
  %443 = fpext float %442 to double
  %444 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, double noundef %437, double noundef %439, double noundef %443)
  %445 = load float, ptr %26, align 4, !tbaa !11
  %446 = fpext float %445 to double
  %447 = load float, ptr %11, align 4, !tbaa !11
  %448 = fpext float %447 to double
  %449 = load float, ptr %26, align 4, !tbaa !11
  %450 = load float, ptr %11, align 4, !tbaa !11
  %451 = fsub float %449, %450
  %452 = fpext float %451 to double
  %453 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %446, double noundef %448, double noundef %452)
  %454 = load float, ptr %28, align 4, !tbaa !11
  %455 = fpext float %454 to double
  %456 = load float, ptr %12, align 4, !tbaa !11
  %457 = fpext float %456 to double
  %458 = load float, ptr %28, align 4, !tbaa !11
  %459 = load float, ptr %12, align 4, !tbaa !11
  %460 = fsub float %458, %459
  %461 = fpext float %460 to double
  %462 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, double noundef %455, double noundef %457, double noundef %461)
  %463 = load float, ptr %29, align 4, !tbaa !11
  %464 = fpext float %463 to double
  %465 = load float, ptr %13, align 4, !tbaa !11
  %466 = fpext float %465 to double
  %467 = load float, ptr %29, align 4, !tbaa !11
  %468 = load float, ptr %13, align 4, !tbaa !11
  %469 = fsub float %467, %468
  %470 = fpext float %469 to double
  %471 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, double noundef %464, double noundef %466, double noundef %470)
  %472 = load i32, ptr %46, align 4, !tbaa !5
  %473 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, i32 noundef %472)
  br label %474

474:                                              ; preds = %432, %421
  %475 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #9
  %476 = call noalias ptr @fopen(ptr noundef @.str.25, ptr noundef @.str.26)
  store ptr %476, ptr %53, align 8, !tbaa !9
  %477 = load ptr, ptr %53, align 8, !tbaa !9
  %478 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %477, ptr noundef @.str.27, ptr noundef @.str.25) #9
  %479 = load ptr, ptr %53, align 8, !tbaa !9
  %480 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %479, ptr noundef @.str.28) #9
  %481 = load ptr, ptr %53, align 8, !tbaa !9
  %482 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %481, ptr noundef @.str.29) #9
  %483 = load ptr, ptr %53, align 8, !tbaa !9
  %484 = load i32, ptr %6, align 4, !tbaa !5
  %485 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %483, ptr noundef @.str.30, i32 noundef %484) #9
  %486 = load ptr, ptr %53, align 8, !tbaa !9
  %487 = load i32, ptr %34, align 4, !tbaa !5
  %488 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %486, ptr noundef @.str.31, i32 noundef %487) #9
  %489 = load ptr, ptr %53, align 8, !tbaa !9
  %490 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %489, ptr noundef @.str.32) #9
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %491

491:                                              ; preds = %516, %474
  %492 = load i32, ptr %20, align 4, !tbaa !5
  %493 = load i32, ptr %34, align 4, !tbaa !5
  %494 = icmp ult i32 %492, %493
  br i1 %494, label %495, label %519

495:                                              ; preds = %491
  %496 = load ptr, ptr %53, align 8, !tbaa !9
  %497 = load i32, ptr %20, align 4, !tbaa !5
  %498 = add i32 %497, 1
  %499 = load i32, ptr %20, align 4, !tbaa !5
  %500 = zext i32 %499 to i64
  %501 = getelementptr inbounds { float, float }, ptr %178, i64 %500
  %502 = getelementptr inbounds { float, float }, ptr %501, i32 0, i32 0
  %503 = load float, ptr %502, align 8
  %504 = getelementptr inbounds { float, float }, ptr %501, i32 0, i32 1
  %505 = load float, ptr %504, align 4
  %506 = fpext float %503 to double
  %507 = load i32, ptr %20, align 4, !tbaa !5
  %508 = zext i32 %507 to i64
  %509 = getelementptr inbounds { float, float }, ptr %178, i64 %508
  %510 = getelementptr inbounds { float, float }, ptr %509, i32 0, i32 0
  %511 = load float, ptr %510, align 8
  %512 = getelementptr inbounds { float, float }, ptr %509, i32 0, i32 1
  %513 = load float, ptr %512, align 4
  %514 = fpext float %513 to double
  %515 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %496, ptr noundef @.str.33, i32 noundef %498, double noundef %506, double noundef %514) #9
  br label %516

516:                                              ; preds = %495
  %517 = load i32, ptr %20, align 4, !tbaa !5
  %518 = add i32 %517, 1
  store i32 %518, ptr %20, align 4, !tbaa !5
  br label %491, !llvm.loop !20

519:                                              ; preds = %491
  %520 = load ptr, ptr %53, align 8, !tbaa !9
  %521 = load i32, ptr %46, align 4, !tbaa !5
  %522 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %520, ptr noundef @.str.34, i32 noundef %521) #9
  %523 = load ptr, ptr %53, align 8, !tbaa !9
  %524 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %523, ptr noundef @.str.35) #9
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %525

525:                                              ; preds = %550, %519
  %526 = load i32, ptr %20, align 4, !tbaa !5
  %527 = load i32, ptr %46, align 4, !tbaa !5
  %528 = icmp ult i32 %526, %527
  br i1 %528, label %529, label %553

529:                                              ; preds = %525
  %530 = load ptr, ptr %53, align 8, !tbaa !9
  %531 = load i32, ptr %20, align 4, !tbaa !5
  %532 = add i32 %531, 1
  %533 = load i32, ptr %20, align 4, !tbaa !5
  %534 = zext i32 %533 to i64
  %535 = getelementptr inbounds { float, float }, ptr %181, i64 %534
  %536 = getelementptr inbounds { float, float }, ptr %535, i32 0, i32 0
  %537 = load float, ptr %536, align 8
  %538 = getelementptr inbounds { float, float }, ptr %535, i32 0, i32 1
  %539 = load float, ptr %538, align 4
  %540 = fpext float %537 to double
  %541 = load i32, ptr %20, align 4, !tbaa !5
  %542 = zext i32 %541 to i64
  %543 = getelementptr inbounds { float, float }, ptr %181, i64 %542
  %544 = getelementptr inbounds { float, float }, ptr %543, i32 0, i32 0
  %545 = load float, ptr %544, align 8
  %546 = getelementptr inbounds { float, float }, ptr %543, i32 0, i32 1
  %547 = load float, ptr %546, align 4
  %548 = fpext float %547 to double
  %549 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %530, ptr noundef @.str.36, i32 noundef %532, double noundef %540, double noundef %548) #9
  br label %550

550:                                              ; preds = %529
  %551 = load i32, ptr %20, align 4, !tbaa !5
  %552 = add i32 %551, 1
  store i32 %552, ptr %20, align 4, !tbaa !5
  br label %525, !llvm.loop !21

553:                                              ; preds = %525
  %554 = load ptr, ptr %53, align 8, !tbaa !9
  %555 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %554, ptr noundef @.str.37) #9
  %556 = load ptr, ptr %53, align 8, !tbaa !9
  %557 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %556, ptr noundef @.str.38) #9
  %558 = load ptr, ptr %53, align 8, !tbaa !9
  %559 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %558, ptr noundef @.str.39) #9
  %560 = load ptr, ptr %53, align 8, !tbaa !9
  %561 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %560, ptr noundef @.str.40) #9
  %562 = load ptr, ptr %53, align 8, !tbaa !9
  %563 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %562, ptr noundef @.str.41) #9
  %564 = load ptr, ptr %53, align 8, !tbaa !9
  %565 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %564, ptr noundef @.str.42) #9
  %566 = load ptr, ptr %53, align 8, !tbaa !9
  %567 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %566, ptr noundef @.str.43) #9
  %568 = load ptr, ptr %53, align 8, !tbaa !9
  %569 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %568, ptr noundef @.str.44) #9
  %570 = load ptr, ptr %53, align 8, !tbaa !9
  %571 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %570, ptr noundef @.str.45) #9
  %572 = load ptr, ptr %53, align 8, !tbaa !9
  %573 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %572, ptr noundef @.str.46) #9
  %574 = load ptr, ptr %53, align 8, !tbaa !9
  %575 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %574, ptr noundef @.str.47) #9
  %576 = load ptr, ptr %53, align 8, !tbaa !9
  %577 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %576, ptr noundef @.str.41) #9
  %578 = load ptr, ptr %53, align 8, !tbaa !9
  %579 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %578, ptr noundef @.str.48) #9
  %580 = load ptr, ptr %53, align 8, !tbaa !9
  %581 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %580, ptr noundef @.str.49) #9
  %582 = load ptr, ptr %53, align 8, !tbaa !9
  %583 = call i32 @fclose(ptr noundef %582)
  %584 = call i32 (ptr, ...) @printf(ptr noundef @.str.50, ptr noundef @.str.25)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #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 %25) #9
  %585 = load ptr, ptr %23, align 8
  call void @llvm.stackrestore.p0(ptr %585)
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %586

586:                                              ; preds = %553, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  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
  %587 = load i32, ptr %3, align 4
  ret i32 %587
}

; 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

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

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

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

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

declare i32 @qdetector_cccf_print(ptr noundef) #1

declare i32 @qdetector_cccf_get_seq_len(ptr noundef) #1

declare i32 @qdetector_cccf_get_buf_len(ptr noundef) #1

declare ptr @qdetector_cccf_get_sequence(ptr noundef) #1

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

declare i32 @firfilt_crcf_push(ptr noundef, <2 x float> noundef) #1

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

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

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

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

declare float @randnf(...) #1

declare i32 @firfilt_crcf_destroy(ptr noundef) #1

declare ptr @qdetector_cccf_execute(ptr noundef, <2 x float> noundef) #1

declare float @qdetector_cccf_get_rxy(ptr noundef) #1

declare float @qdetector_cccf_get_tau(ptr noundef) #1

declare float @qdetector_cccf_get_gamma(ptr noundef) #1

declare float @qdetector_cccf_get_dphi(ptr noundef) #1

declare float @qdetector_cccf_get_phi(ptr noundef) #1

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

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

declare ptr @nco_crcf_create(i32 noundef) #1

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

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

declare i32 @nco_crcf_mix_down(ptr noundef, <2 x float> noundef, ptr noundef) #1

declare i32 @nco_crcf_step(ptr noundef) #1

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

declare i32 @nco_crcf_destroy(ptr noundef) #1

declare i32 @qdetector_cccf_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 = { 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 = !{!"branch_weights", i32 1, i32 1048575}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !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.12 = external hidden unnamed_addr constant [20 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.50 = 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 {
  %3 = alloca { float, float }, align 8
  br label %4

4:                                                ; preds = %.backedge, %2
  %.0187 = phi float [ 0x3FA99999A0000000, %2 ], [ %.0187.be, %.backedge ]
  %.0185 = phi float [ 5.000000e-01, %2 ], [ %.0185.be, %.backedge ]
  %.0183 = phi float [ 2.000000e+01, %2 ], [ %.0183.be, %.backedge ]
  %.0179 = phi float [ 0xBF847AE140000000, %2 ], [ %.0179.be, %.backedge ]
  %.0177 = phi float [ 0xBFD3333340000000, %2 ], [ %.0177.be, %.backedge ]
  %.0175 = phi float [ 0x3FD3333340000000, %2 ], [ %.0175.be, %.backedge ]
  %.0173 = phi i32 [ 7, %2 ], [ %.0173.be, %.backedge ]
  %.0168 = phi i32 [ 2, %2 ], [ %.0168.be, %.backedge ]
  %.0167 = phi i32 [ 80, %2 ], [ %.0167.be, %.backedge ]
  %5 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.12) #12
  switch i32 %5, label %40 [
    i32 -1, label %41
    i32 104, label %6
    i32 110, label %7
    i32 107, label %10
    i32 109, label %13
    i32 98, label %16
    i32 70, label %20
    i32 84, label %24
    i32 83, label %28
    i32 116, label %32
    i32 114, label %36
  ]

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

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

10:                                               ; preds = %4
  %11 = load ptr, ptr @optarg, align 8, !tbaa !5
  %12 = tail call i32 @atoi(ptr nocapture noundef %11) #13
  br label %.backedge

13:                                               ; preds = %4
  %14 = load ptr, ptr @optarg, align 8, !tbaa !5
  %15 = tail call i32 @atoi(ptr nocapture noundef %14) #13
  br label %.backedge

16:                                               ; preds = %4
  %17 = load ptr, ptr @optarg, align 8, !tbaa !5
  %18 = tail call double @atof(ptr noundef %17) #13
  %19 = fptrunc double %18 to float
  br label %.backedge

20:                                               ; preds = %4
  %21 = load ptr, ptr @optarg, align 8, !tbaa !5
  %22 = tail call double @atof(ptr noundef %21) #13
  %23 = fptrunc double %22 to float
  br label %.backedge

24:                                               ; preds = %4
  %25 = load ptr, ptr @optarg, align 8, !tbaa !5
  %26 = tail call double @atof(ptr noundef %25) #13
  %27 = fptrunc double %26 to float
  br label %.backedge

28:                                               ; preds = %4
  %29 = load ptr, ptr @optarg, align 8, !tbaa !5
  %30 = tail call double @atof(ptr noundef %29) #13
  %31 = fptrunc double %30 to float
  br label %.backedge

32:                                               ; preds = %4
  %33 = load ptr, ptr @optarg, align 8, !tbaa !5
  %34 = tail call double @atof(ptr noundef %33) #13
  %35 = fptrunc double %34 to float
  br label %.backedge

36:                                               ; preds = %4
  %37 = load ptr, ptr @optarg, align 8, !tbaa !5
  %38 = tail call double @atof(ptr noundef %37) #13
  %39 = fptrunc double %38 to float
  br label %.backedge

.backedge:                                        ; preds = %36, %32, %28, %24, %20, %16, %13, %10, %7
  %.0187.be = phi float [ %39, %36 ], [ %.0187, %32 ], [ %.0187, %28 ], [ %.0187, %24 ], [ %.0187, %20 ], [ %.0187, %16 ], [ %.0187, %13 ], [ %.0187, %10 ], [ %.0187, %7 ]
  %.0185.be = phi float [ %.0185, %36 ], [ %35, %32 ], [ %.0185, %28 ], [ %.0185, %24 ], [ %.0185, %20 ], [ %.0185, %16 ], [ %.0185, %13 ], [ %.0185, %10 ], [ %.0185, %7 ]
  %.0183.be = phi float [ %.0183, %36 ], [ %.0183, %32 ], [ %31, %28 ], [ %.0183, %24 ], [ %.0183, %20 ], [ %.0183, %16 ], [ %.0183, %13 ], [ %.0183, %10 ], [ %.0183, %7 ]
  %.0179.be = phi float [ %.0179, %36 ], [ %.0179, %32 ], [ %.0179, %28 ], [ %.0179, %24 ], [ %23, %20 ], [ %.0179, %16 ], [ %.0179, %13 ], [ %.0179, %10 ], [ %.0179, %7 ]
  %.0177.be = phi float [ %.0177, %36 ], [ %.0177, %32 ], [ %.0177, %28 ], [ %27, %24 ], [ %.0177, %20 ], [ %.0177, %16 ], [ %.0177, %13 ], [ %.0177, %10 ], [ %.0177, %7 ]
  %.0175.be = phi float [ %.0175, %36 ], [ %.0175, %32 ], [ %.0175, %28 ], [ %.0175, %24 ], [ %.0175, %20 ], [ %19, %16 ], [ %.0175, %13 ], [ %.0175, %10 ], [ %.0175, %7 ]
  %.0173.be = phi i32 [ %.0173, %36 ], [ %.0173, %32 ], [ %.0173, %28 ], [ %.0173, %24 ], [ %.0173, %20 ], [ %.0173, %16 ], [ %15, %13 ], [ %.0173, %10 ], [ %.0173, %7 ]
  %.0168.be = phi i32 [ %.0168, %36 ], [ %.0168, %32 ], [ %.0168, %28 ], [ %.0168, %24 ], [ %.0168, %20 ], [ %.0168, %16 ], [ %.0168, %13 ], [ %12, %10 ], [ %.0168, %7 ]
  %.0167.be = phi i32 [ %.0167, %36 ], [ %.0167, %32 ], [ %.0167, %28 ], [ %.0167, %24 ], [ %.0167, %20 ], [ %.0167, %16 ], [ %.0167, %13 ], [ %.0167, %10 ], [ %9, %7 ]
  br label %4, !llvm.loop !9

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

41:                                               ; preds = %4
  %42 = tail call float @llvm.fabs.f32(float %.0177)
  %or.cond = fcmp ogt float %42, 5.000000e-01
  br i1 %or.cond, label %43, label %47

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

47:                                               ; preds = %41
  %48 = fadd float %.0183, -3.000000e+01
  %49 = fdiv float %48, 2.000000e+01
  %50 = tail call float @powf(float noundef 1.000000e+01, float noundef %49) #12
  %51 = zext i32 %.0167 to i64
  %52 = tail call ptr @llvm.stacksave.p0()
  %53 = alloca { float, float }, i64 %51, align 16
  %.not = icmp eq i32 %.0167, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %47, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %47 ]
  %54 = tail call i32 @rand() #12
  %55 = and i32 %54, 1
  %.not204 = icmp eq i32 %55, 0
  %56 = select i1 %.not204, double 0xBFE6A09E667F3BCD, double 0x3FE6A09E667F3BCD
  %57 = tail call i32 @rand() #12
  %58 = and i32 %57, 1
  %.not205 = icmp eq i32 %58, 0
  %59 = select i1 %.not205, double 0xBFE6A09E667F3BCD, double 0x3FE6A09E667F3BCD
  %60 = tail call double @llvm.copysign.f64(double 0.000000e+00, double %59)
  %61 = fadd double %56, %60
  %62 = getelementptr inbounds { float, float }, ptr %53, i64 %indvars.iv
  %63 = insertelement <2 x double> poison, double %61, i64 0
  %64 = insertelement <2 x double> %63, double %59, i64 1
  %65 = fptrunc <2 x double> %64 to <2 x float>
  store <2 x float> %65, ptr %62, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %51
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %47
  %66 = call ptr @qdetector_cccf_create_linear(ptr noundef nonnull %53, i32 noundef %.0167, i32 noundef 7, i32 noundef %.0168, i32 noundef %.0173, float noundef %.0175) #12
  %67 = call i32 @qdetector_cccf_set_threshold(ptr noundef %66, float noundef %.0185) #12
  %68 = call i32 @qdetector_cccf_set_range(ptr noundef %66, float noundef %.0187) #12
  %69 = call i32 @qdetector_cccf_print(ptr noundef %66) #12
  %70 = call i32 @qdetector_cccf_get_seq_len(ptr noundef %66) #12
  %71 = call i32 @qdetector_cccf_get_buf_len(ptr noundef %66) #12
  %72 = shl i32 %71, 1
  %73 = zext i32 %72 to i64
  %74 = alloca { float, float }, i64 %73, align 16
  %75 = zext i32 %71 to i64
  %76 = alloca { float, float }, i64 %75, align 16
  %77 = call ptr @qdetector_cccf_get_sequence(ptr noundef %66) #12
  %78 = fneg float %.0177
  %79 = call ptr @firfilt_crcf_create_kaiser(i32 noundef 31, float noundef 0x3FD99999A0000000, float noundef 6.000000e+01, float noundef %78) #12
  %.not268 = icmp eq i32 %72, 0
  br i1 %.not268, label %.loopexit.sink.split, label %.lr.ph246.preheader

.lr.ph246.preheader:                              ; preds = %._crit_edge
  %80 = zext i32 %70 to i64
  %81 = insertelement <2 x float> poison, float %50, i64 0
  %82 = shufflevector <2 x float> %81, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph246

.lr.ph246:                                        ; preds = %.lr.ph246.preheader, %117
  %indvars.iv293 = phi i64 [ 0, %.lr.ph246.preheader ], [ %indvars.iv.next294, %117 ]
  %83 = icmp ult i64 %indvars.iv293, %80
  br i1 %83, label %84, label %87

84:                                               ; preds = %.lr.ph246
  %85 = getelementptr inbounds { float, float }, ptr %77, i64 %indvars.iv293
  %86 = load <2 x float>, ptr %85, align 4
  br label %87

87:                                               ; preds = %.lr.ph246, %84
  %88 = phi <2 x float> [ %86, %84 ], [ zeroinitializer, %.lr.ph246 ]
  %89 = call i32 @firfilt_crcf_push(ptr noundef %79, <2 x float> noundef %88) #12
  %90 = getelementptr inbounds { float, float }, ptr %74, i64 %indvars.iv293
  %91 = call i32 @firfilt_crcf_execute(ptr noundef %79, ptr noundef nonnull %90) #12
  %92 = getelementptr inbounds i8, ptr %90, i64 4
  %93 = load <2 x float>, ptr %90, align 8
  %94 = fmul <2 x float> %82, %93
  store <2 x float> %94, ptr %90, align 8
  %95 = trunc nuw i64 %indvars.iv293 to i32
  %96 = uitofp i32 %95 to float
  %97 = call float @llvm.fmuladd.f32(float %.0179, float %96, float 5.000000e-01)
  %98 = fmul float %97, 0.000000e+00
  %.sroa.048.0.vec.insert = insertelement <2 x float> poison, float %98, i64 0
  %.sroa.048.4.vec.insert = insertelement <2 x float> %.sroa.048.0.vec.insert, float %97, i64 1
  %99 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.048.4.vec.insert) #12
  %100 = load <2 x float>, ptr %90, align 8
  %101 = fmul <2 x float> %100, %99
  %102 = shufflevector <2 x float> %99, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %103 = fmul <2 x float> %102, %100
  %shift = shufflevector <2 x float> %101, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %104 = fsub <2 x float> %101, %shift
  %105 = extractelement <2 x float> %104, i64 0
  %shift364 = shufflevector <2 x float> %103, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %106 = fadd <2 x float> %103, %shift364
  %107 = extractelement <2 x float> %106, i64 0
  %108 = fcmp uno float %105, 0.000000e+00
  br i1 %108, label %109, label %117, !prof !12

109:                                              ; preds = %87
  %110 = fcmp uno float %107, 0.000000e+00
  br i1 %110, label %111, label %117, !prof !12

111:                                              ; preds = %109
  %112 = extractelement <2 x float> %100, i64 0
  %113 = extractelement <2 x float> %100, i64 1
  %114 = extractelement <2 x float> %99, i64 0
  %115 = extractelement <2 x float> %99, i64 1
  %116 = call <2 x float> @__mulsc3(float noundef %112, float noundef %113, float noundef %114, float noundef %115) #12
  %.sroa.046.0.vec.extract = extractelement <2 x float> %116, i64 0
  %.sroa.046.4.vec.extract = extractelement <2 x float> %116, i64 1
  br label %117

117:                                              ; preds = %111, %109, %87
  %118 = phi float [ %105, %87 ], [ %105, %109 ], [ %.sroa.046.0.vec.extract, %111 ]
  %119 = phi float [ %107, %87 ], [ %107, %109 ], [ %.sroa.046.4.vec.extract, %111 ]
  store float %118, ptr %90, align 8
  store float %119, ptr %92, align 4
  %120 = call float (...) @randnf() #12
  %121 = call float (...) @randnf() #12
  %122 = fmul float %121, 0.000000e+00
  %123 = fadd float %120, %122
  %124 = insertelement <2 x float> poison, float %123, i64 0
  %125 = insertelement <2 x float> %124, float %121, i64 1
  %126 = fmul <2 x float> %125, <float 0x3FA030DC40000000, float 0x3FA030DC40000000>
  %127 = fpext <2 x float> %126 to <2 x double>
  %128 = fmul <2 x double> %127, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %129 = load <2 x float>, ptr %90, align 8
  %130 = fpext <2 x float> %129 to <2 x double>
  %131 = fadd <2 x double> %128, %130
  %132 = fptrunc <2 x double> %131 to <2 x float>
  store <2 x float> %132, ptr %90, align 8
  %indvars.iv.next294 = add nuw nsw i64 %indvars.iv293, 1
  %exitcond297.not = icmp eq i64 %indvars.iv.next294, %73
  br i1 %exitcond297.not, label %._crit_edge247, label %.lr.ph246, !llvm.loop !13

._crit_edge247:                                   ; preds = %117
  %133 = call i32 @firfilt_crcf_destroy(ptr noundef %79) #12
  %134 = load <2 x float>, ptr %74, align 16
  %135 = call ptr @qdetector_cccf_execute(ptr noundef %66, <2 x float> noundef %134) #12
  %.not201360 = icmp eq ptr %135, null
  br i1 %.not201360, label %.lr.ph362, label %.lr.ph252._crit_edge

.lr.ph362:                                        ; preds = %._crit_edge247, %.lr.ph252
  %indvars.iv298361 = phi i64 [ %indvars.iv.next299, %.lr.ph252 ], [ 0, %._crit_edge247 ]
  %indvars.iv.next299 = add nuw nsw i64 %indvars.iv298361, 1
  %exitcond301.not = icmp eq i64 %indvars.iv.next299, %73
  br i1 %exitcond301.not, label %.loopexit, label %.lr.ph252, !llvm.loop !14

.lr.ph252:                                        ; preds = %.lr.ph362
  %136 = getelementptr inbounds { float, float }, ptr %74, i64 %indvars.iv.next299
  %137 = load <2 x float>, ptr %136, align 8
  %138 = call ptr @qdetector_cccf_execute(ptr noundef %66, <2 x float> noundef %137) #12
  %.not201 = icmp eq ptr %138, null
  br i1 %.not201, label %.lr.ph362, label %.lr.ph252._crit_edge.loopexit, !llvm.loop !14

.lr.ph252._crit_edge.loopexit:                    ; preds = %.lr.ph252
  %.not203.le = icmp ult i64 %indvars.iv.next299, %73
  br label %.lr.ph252._crit_edge

.lr.ph252._crit_edge:                             ; preds = %.lr.ph252._crit_edge.loopexit, %._crit_edge247
  %.not203250.lcssa = phi i1 [ true, %._crit_edge247 ], [ %.not203.le, %.lr.ph252._crit_edge.loopexit ]
  %.lcssa = phi ptr [ %135, %._crit_edge247 ], [ %138, %.lr.ph252._crit_edge.loopexit ]
  %139 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %140 = call float @qdetector_cccf_get_rxy(ptr noundef %66) #12
  %141 = call float @qdetector_cccf_get_tau(ptr noundef %66) #12
  %142 = call float @qdetector_cccf_get_gamma(ptr noundef %66) #12
  %143 = call float @qdetector_cccf_get_dphi(ptr noundef %66) #12
  %144 = call float @qdetector_cccf_get_phi(ptr noundef %66) #12
  %145 = fpext float %140 to double
  %146 = call ptr @firfilt_crcf_create_rnyquist(i32 noundef 7, i32 noundef %.0168, i32 noundef %.0173, float noundef %.0175, float noundef %141) #12
  %147 = uitofp i32 %.0168 to float
  %148 = fmul float %142, %147
  %149 = fdiv float 1.000000e+00, %148
  %150 = call i32 @firfilt_crcf_set_scale(ptr noundef %146, float noundef %149) #12
  %151 = call ptr @nco_crcf_create(i32 noundef 1) #12
  %152 = call i32 @nco_crcf_set_frequency(ptr noundef %151, float noundef %143) #12
  %153 = call i32 @nco_crcf_set_phase(ptr noundef %151, float noundef %144) #12
  %.not269 = icmp eq i32 %71, 0
  br i1 %.not269, label %._crit_edge258, label %.lr.ph257

.lr.ph257:                                        ; preds = %.lr.ph252._crit_edge
  %154 = add i32 %.0168, -2
  br label %155

155:                                              ; preds = %.lr.ph257, %169
  %indvars.iv302 = phi i64 [ 0, %.lr.ph257 ], [ %indvars.iv.next303, %169 ]
  %.0170255 = phi i32 [ 0, %.lr.ph257 ], [ %170, %169 ]
  %.0171254 = phi i32 [ 0, %.lr.ph257 ], [ %.1172, %169 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #12
  %156 = getelementptr inbounds { float, float }, ptr %.lcssa, i64 %indvars.iv302
  %157 = load <2 x float>, ptr %156, align 4
  %158 = call i32 @nco_crcf_mix_down(ptr noundef %151, <2 x float> noundef %157, ptr noundef nonnull %3) #12
  %159 = call i32 @nco_crcf_step(ptr noundef %151) #12
  %160 = load <2 x float>, ptr %3, align 8
  %161 = call i32 @firfilt_crcf_push(ptr noundef %146, <2 x float> noundef %160) #12
  %162 = add i32 %.0170255, 1
  %163 = icmp eq i32 %.0170255, %154
  br i1 %163, label %164, label %169

164:                                              ; preds = %155
  %165 = add i32 %.0171254, 1
  %166 = zext i32 %.0171254 to i64
  %167 = getelementptr inbounds { float, float }, ptr %76, i64 %166
  %168 = call i32 @firfilt_crcf_execute(ptr noundef %146, ptr noundef nonnull %167) #12
  br label %169

169:                                              ; preds = %164, %155
  %.1172 = phi i32 [ %165, %164 ], [ %.0171254, %155 ]
  %170 = urem i32 %162, %.0168
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #12
  %indvars.iv.next303 = add nuw nsw i64 %indvars.iv302, 1
  %exitcond306.not = icmp eq i64 %indvars.iv.next303, %75
  br i1 %exitcond306.not, label %._crit_edge258, label %155, !llvm.loop !15

._crit_edge258:                                   ; preds = %169, %.lr.ph252._crit_edge
  %.0171.lcssa = phi i32 [ 0, %.lr.ph252._crit_edge ], [ %.1172, %169 ]
  %171 = call i32 @nco_crcf_destroy(ptr noundef %151) #12
  br label %.loopexit.sink.split

.loopexit.sink.split:                             ; preds = %._crit_edge, %._crit_edge258
  %.sink = phi ptr [ %146, %._crit_edge258 ], [ %79, %._crit_edge ]
  %.not203224.ph = phi i1 [ %.not203250.lcssa, %._crit_edge258 ], [ false, %._crit_edge ]
  %.0192220.ph = phi double [ %145, %._crit_edge258 ], [ 0.000000e+00, %._crit_edge ]
  %.0193219.ph = phi float [ %141, %._crit_edge258 ], [ 0.000000e+00, %._crit_edge ]
  %.0195217.ph = phi float [ %144, %._crit_edge258 ], [ 0.000000e+00, %._crit_edge ]
  %.0196215.ph = phi float [ %143, %._crit_edge258 ], [ 0.000000e+00, %._crit_edge ]
  %.0197213.ph = phi float [ %142, %._crit_edge258 ], [ 0.000000e+00, %._crit_edge ]
  %.ph = phi ptr [ @.str.17, %._crit_edge258 ], [ @.str.18, %._crit_edge ]
  %.2.ph = phi i32 [ %.0171.lcssa, %._crit_edge258 ], [ 0, %._crit_edge ]
  %172 = call i32 @firfilt_crcf_destroy(ptr noundef %.sink) #12
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph362, %.loopexit.sink.split
  %.not203224 = phi i1 [ %.not203224.ph, %.loopexit.sink.split ], [ false, %.lr.ph362 ]
  %.0192220 = phi double [ %.0192220.ph, %.loopexit.sink.split ], [ 0.000000e+00, %.lr.ph362 ]
  %.0193219 = phi float [ %.0193219.ph, %.loopexit.sink.split ], [ 0.000000e+00, %.lr.ph362 ]
  %.0195217 = phi float [ %.0195217.ph, %.loopexit.sink.split ], [ 0.000000e+00, %.lr.ph362 ]
  %.0196215 = phi float [ %.0196215.ph, %.loopexit.sink.split ], [ 0.000000e+00, %.lr.ph362 ]
  %.0197213 = phi float [ %.0197213.ph, %.loopexit.sink.split ], [ 0.000000e+00, %.lr.ph362 ]
  %173 = phi ptr [ %.ph, %.loopexit.sink.split ], [ @.str.18, %.lr.ph362 ]
  %.2 = phi i32 [ %.2.ph, %.loopexit.sink.split ], [ 0, %.lr.ph362 ]
  %174 = call i32 @qdetector_cccf_destroy(ptr noundef %66) #12
  %175 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %176 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, ptr noundef nonnull %173)
  br i1 %.not203224, label %177, label %199

177:                                              ; preds = %.loopexit
  %178 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, double noundef %.0192220)
  %179 = fpext float %.0197213 to double
  %180 = fpext float %50 to double
  %181 = fsub float %.0197213, %50
  %182 = fpext float %181 to double
  %183 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20, double noundef %179, double noundef %180, double noundef %182)
  %184 = fpext float %.0193219 to double
  %185 = fpext float %.0177 to double
  %186 = fsub float %.0193219, %.0177
  %187 = fpext float %186 to double
  %188 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, double noundef %184, double noundef %185, double noundef %187)
  %189 = fpext float %.0196215 to double
  %190 = fpext float %.0179 to double
  %191 = fsub float %.0196215, %.0179
  %192 = fpext float %191 to double
  %193 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, double noundef %189, double noundef %190, double noundef %192)
  %194 = fpext float %.0195217 to double
  %195 = fadd float %.0195217, -5.000000e-01
  %196 = fpext float %195 to double
  %197 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, double noundef %194, double noundef 5.000000e-01, double noundef %196)
  %198 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24, i32 noundef %.2)
  br label %199

199:                                              ; preds = %177, %.loopexit
  %200 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %201 = call noalias ptr @fopen(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.26)
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.25) #12
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.28) #12
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.29) #12
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.30, i32 noundef %.0167) #12
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.31, i32 noundef %72) #12
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.32) #12
  br i1 %.not268, label %._crit_edge263, label %.lr.ph262

.lr.ph262:                                        ; preds = %199, %.lr.ph262
  %indvars.iv307 = phi i64 [ %indvars.iv.next308, %.lr.ph262 ], [ 0, %199 ]
  %indvars.iv.next308 = add nuw nsw i64 %indvars.iv307, 1
  %208 = getelementptr inbounds { float, float }, ptr %74, i64 %indvars.iv307
  %209 = load float, ptr %208, align 8
  %210 = getelementptr inbounds i8, ptr %208, i64 4
  %211 = fpext float %209 to double
  %212 = load float, ptr %210, align 4
  %213 = fpext float %212 to double
  %214 = trunc nuw i64 %indvars.iv.next308 to i32
  %215 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.33, i32 noundef %214, double noundef %211, double noundef %213) #12
  %exitcond311.not = icmp eq i64 %indvars.iv.next308, %73
  br i1 %exitcond311.not, label %._crit_edge263, label %.lr.ph262, !llvm.loop !16

._crit_edge263:                                   ; preds = %.lr.ph262, %199
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.34, i32 noundef %.2) #12
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.35) #12
  %.not271 = icmp eq i32 %.2, 0
  br i1 %.not271, label %._crit_edge267, label %.lr.ph266.preheader

.lr.ph266.preheader:                              ; preds = %._crit_edge263
  %wide.trip.count315 = zext i32 %.2 to i64
  br label %.lr.ph266

.lr.ph266:                                        ; preds = %.lr.ph266.preheader, %.lr.ph266
  %indvars.iv312 = phi i64 [ 0, %.lr.ph266.preheader ], [ %indvars.iv.next313, %.lr.ph266 ]
  %indvars.iv.next313 = add nuw nsw i64 %indvars.iv312, 1
  %218 = getelementptr inbounds { float, float }, ptr %76, i64 %indvars.iv312
  %219 = load float, ptr %218, align 8
  %220 = getelementptr inbounds i8, ptr %218, i64 4
  %221 = fpext float %219 to double
  %222 = load float, ptr %220, align 4
  %223 = fpext float %222 to double
  %224 = trunc nuw i64 %indvars.iv.next313 to i32
  %225 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.36, i32 noundef %224, double noundef %221, double noundef %223) #12
  %exitcond316.not = icmp eq i64 %indvars.iv.next313, %wide.trip.count315
  br i1 %exitcond316.not, label %._crit_edge267, label %.lr.ph266, !llvm.loop !17

._crit_edge267:                                   ; preds = %.lr.ph266, %._crit_edge263
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.37) #12
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.38) #12
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.39) #12
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.40) #12
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.41) #12
  %231 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.42) #12
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.43) #12
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.44) #12
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.45) #12
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.46) #12
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.47) #12
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.41) #12
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.48) #12
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef nonnull @.str.49) #12
  %240 = call i32 @fclose(ptr noundef %201)
  %241 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.50, ptr noundef nonnull @.str.25)
  call void @llvm.stackrestore.p0(ptr %52)
  br label %242

242:                                              ; preds = %._crit_edge267, %6
  ret i32 0
}

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

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

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

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

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

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

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

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

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

declare ptr @qdetector_cccf_create_linear(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #9

declare i32 @qdetector_cccf_set_threshold(ptr noundef, float noundef) local_unnamed_addr #9

declare i32 @qdetector_cccf_set_range(ptr noundef, float noundef) local_unnamed_addr #9

declare i32 @qdetector_cccf_print(ptr noundef) local_unnamed_addr #9

declare i32 @qdetector_cccf_get_seq_len(ptr noundef) local_unnamed_addr #9

declare i32 @qdetector_cccf_get_buf_len(ptr noundef) local_unnamed_addr #9

declare ptr @qdetector_cccf_get_sequence(ptr noundef) local_unnamed_addr #9

declare ptr @firfilt_crcf_create_kaiser(i32 noundef, float noundef, float noundef, float noundef) local_unnamed_addr #9

declare i32 @firfilt_crcf_push(ptr noundef, <2 x float> noundef) local_unnamed_addr #9

declare i32 @firfilt_crcf_execute(ptr noundef, ptr noundef) local_unnamed_addr #9

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

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

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

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

declare i32 @firfilt_crcf_destroy(ptr noundef) local_unnamed_addr #9

declare ptr @qdetector_cccf_execute(ptr noundef, <2 x float> noundef) local_unnamed_addr #9

declare float @qdetector_cccf_get_rxy(ptr noundef) local_unnamed_addr #9

declare float @qdetector_cccf_get_tau(ptr noundef) local_unnamed_addr #9

declare float @qdetector_cccf_get_gamma(ptr noundef) local_unnamed_addr #9

declare float @qdetector_cccf_get_dphi(ptr noundef) local_unnamed_addr #9

declare float @qdetector_cccf_get_phi(ptr noundef) local_unnamed_addr #9

declare ptr @firfilt_crcf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #9

declare i32 @firfilt_crcf_set_scale(ptr noundef, float noundef) local_unnamed_addr #9

declare ptr @nco_crcf_create(i32 noundef) local_unnamed_addr #9

declare i32 @nco_crcf_set_frequency(ptr noundef, float noundef) local_unnamed_addr #9

declare i32 @nco_crcf_set_phase(ptr noundef, float noundef) local_unnamed_addr #9

declare i32 @nco_crcf_mix_down(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #9

declare i32 @nco_crcf_step(ptr noundef) local_unnamed_addr #9

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

declare i32 @nco_crcf_destroy(ptr noundef) local_unnamed_addr #9

declare i32 @qdetector_cccf_destroy(ptr noundef) local_unnamed_addr #9

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

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

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

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

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

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


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