; LLVM IR from jgaeddert/liquid-dsp :: src/framing/tests (qdsync_cccf_autotest)

; 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"

%struct.autotest_qdsync_s = type { i32, ptr, i32, i32 }

@liquid_autotest_verbose = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @autotest_qdsync_callback(ptr noundef, i32 noundef, ptr noundef) #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @testbench_qdsync_linear(i32 noundef %0, i32 noundef %1, float noundef %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca %struct.autotest_qdsync_s, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca { float, float }, align 4
  %24 = alloca { float, float }, align 4
  %25 = alloca i32, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca { float, float }, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store float %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 1200, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %34 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %34, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %35 = load i32, ptr %5, align 4, !tbaa !5
  store i32 %35, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %36 = load float, ptr %6, align 4, !tbaa !9
  store float %36, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 7, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store float 0x3F50624DE0000000, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store float 0x3FD99999A0000000, ptr %13, align 4, !tbaa !9
  %37 = load i32, ptr %7, align 4, !tbaa !5
  %38 = zext i32 %37 to i64
  %39 = call ptr @llvm.stacksave.p0()
  store ptr %39, ptr %14, align 8
  %40 = alloca { float, float }, i64 %38, align 16
  store i64 %38, ptr %15, align 8
  %41 = load i32, ptr %7, align 4, !tbaa !5
  %42 = zext i32 %41 to i64
  %43 = alloca { float, float }, i64 %42, align 16
  store i64 %42, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %73, %3
  %45 = load i32, ptr %17, align 4, !tbaa !5
  %46 = load i32, ptr %7, align 4, !tbaa !5
  %47 = icmp ult i32 %45, %46
  br i1 %47, label %48, label %76

48:                                               ; preds = %44
  %49 = call i32 @rand() #7
  %50 = srem i32 %49, 2
  %51 = icmp ne i32 %50, 0
  %52 = zext i1 %51 to i64
  %53 = select i1 %51, float 1.000000e+00, float -1.000000e+00
  %54 = fpext float %53 to double
  %55 = fmul double %54, 0x3FE6A09E667F3BCD
  %56 = call i32 @rand() #7
  %57 = srem i32 %56, 2
  %58 = icmp ne i32 %57, 0
  %59 = zext i1 %58 to i64
  %60 = select i1 %58, float 1.000000e+00, float -1.000000e+00
  %61 = fpext float %60 to double
  %62 = fmul double %61, 0x3FE6A09E667F3BCD
  %63 = fmul double %62, 0.000000e+00
  %64 = fmul double %62, 1.000000e+00
  %65 = fadd double %55, %63
  %66 = fptrunc double %65 to float
  %67 = fptrunc double %64 to float
  %68 = load i32, ptr %17, align 4, !tbaa !5
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds { float, float }, ptr %40, i64 %69
  %71 = getelementptr inbounds { float, float }, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds { float, float }, ptr %70, i32 0, i32 1
  store float %66, ptr %71, align 8
  store float %67, ptr %72, align 4
  br label %73

73:                                               ; preds = %48
  %74 = load i32, ptr %17, align 4, !tbaa !5
  %75 = add i32 %74, 1
  store i32 %75, ptr %17, align 4, !tbaa !5
  br label %44, !llvm.loop !11

76:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #7
  %77 = getelementptr inbounds %struct.autotest_qdsync_s, ptr %18, i32 0, i32 0
  store i32 0, ptr %77, align 8, !tbaa !13
  %78 = getelementptr inbounds %struct.autotest_qdsync_s, ptr %18, i32 0, i32 1
  store ptr %43, ptr %78, align 8, !tbaa !16
  %79 = getelementptr inbounds %struct.autotest_qdsync_s, ptr %18, i32 0, i32 2
  %80 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %80, ptr %79, align 8, !tbaa !17
  %81 = getelementptr inbounds %struct.autotest_qdsync_s, ptr %18, i32 0, i32 3
  store i32 0, ptr %81, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %82 = load i32, ptr %11, align 4, !tbaa !5
  %83 = load i32, ptr %8, align 4, !tbaa !5
  %84 = load i32, ptr %9, align 4, !tbaa !5
  %85 = load float, ptr %10, align 4, !tbaa !9
  %86 = call ptr @qdsync_cccf_create_linear(ptr noundef %40, i32 noundef 240, i32 noundef %82, i32 noundef %83, i32 noundef %84, float noundef %85, ptr noundef @autotest_qdsync_callback, ptr noundef %18)
  store ptr %86, ptr %19, align 8, !tbaa !19
  %87 = load ptr, ptr %19, align 8, !tbaa !19
  %88 = call i32 @qdsync_cccf_set_range(ptr noundef %87, float noundef 0x3F50624DE0000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %89 = load i32, ptr %11, align 4, !tbaa !5
  %90 = load i32, ptr %8, align 4, !tbaa !5
  %91 = load i32, ptr %9, align 4, !tbaa !5
  %92 = load float, ptr %10, align 4, !tbaa !9
  %93 = call ptr @firinterp_crcf_create_prototype(i32 noundef %89, i32 noundef %90, i32 noundef %91, float noundef %92, float noundef 0.000000e+00)
  store ptr %93, ptr %20, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %94 = call ptr @fdelay_crcf_create_default(i32 noundef 100)
  store ptr %94, ptr %21, align 8, !tbaa !19
  %95 = load ptr, ptr %21, align 8, !tbaa !19
  %96 = load i32, ptr %8, align 4, !tbaa !5
  %97 = mul i32 10, %96
  %98 = uitofp i32 %97 to float
  %99 = load float, ptr %13, align 4, !tbaa !9
  %100 = fadd float %98, %99
  %101 = call i32 @fdelay_crcf_set_delay(ptr noundef %95, float noundef %100)
  %102 = load i32, ptr %8, align 4, !tbaa !5
  %103 = zext i32 %102 to i64
  %104 = alloca { float, float }, i64 %103, align 16
  store i64 %103, ptr %22, align 8
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %183, %76
  %106 = load i32, ptr %17, align 4, !tbaa !5
  %107 = load i32, ptr %7, align 4, !tbaa !5
  %108 = mul i32 4, %107
  %109 = load i32, ptr %9, align 4, !tbaa !5
  %110 = mul i32 2, %109
  %111 = add i32 %108, %110
  %112 = add i32 %111, 50
  %113 = icmp ult i32 %106, %112
  br i1 %113, label %114, label %186

114:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %115 = load i32, ptr %17, align 4, !tbaa !5
  %116 = load i32, ptr %7, align 4, !tbaa !5
  %117 = icmp ult i32 %115, %116
  br i1 %117, label %118, label %126

118:                                              ; preds = %114
  %119 = load i32, ptr %17, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds { float, float }, ptr %40, i64 %120
  %122 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 8
  %124 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 1
  %125 = load float, ptr %124, align 4
  br label %127

126:                                              ; preds = %114
  br label %127

127:                                              ; preds = %126, %118
  %128 = phi float [ %123, %118 ], [ 0.000000e+00, %126 ]
  %129 = phi float [ %125, %118 ], [ 0.000000e+00, %126 ]
  %130 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %131 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  store float %128, ptr %130, align 4
  store float %129, ptr %131, align 4
  %132 = load ptr, ptr %20, align 8, !tbaa !19
  %133 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %134 = load float, ptr %133, align 4
  %135 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  %136 = load float, ptr %135, align 4
  %137 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %138 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %134, ptr %137, align 4
  store float %136, ptr %138, align 4
  %139 = load <2 x float>, ptr %24, align 4
  %140 = call i32 @firinterp_crcf_execute(ptr noundef %132, <2 x float> noundef %139, ptr noundef %104)
  %141 = load ptr, ptr %21, align 8, !tbaa !19
  %142 = load i32, ptr %8, align 4, !tbaa !5
  %143 = call i32 @fdelay_crcf_execute_block(ptr noundef %141, ptr noundef %104, i32 noundef %142, ptr noundef %104)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %144

144:                                              ; preds = %176, %127
  %145 = load i32, ptr %25, align 4, !tbaa !5
  %146 = load i32, ptr %8, align 4, !tbaa !5
  %147 = icmp ult i32 %145, %146
  br i1 %147, label %148, label %179

148:                                              ; preds = %144
  %149 = load float, ptr %12, align 4, !tbaa !9
  %150 = call float (...) @randnf()
  %151 = call float (...) @randnf()
  %152 = fmul float 0.000000e+00, %151
  %153 = fmul float 1.000000e+00, %151
  %154 = fadd float %150, %152
  %155 = fmul float %149, %154
  %156 = fmul float %149, %153
  %157 = fpext float %155 to double
  %158 = fpext float %156 to double
  %159 = fmul double %157, 0x3FE6A09E667F3BCD
  %160 = fmul double %158, 0x3FE6A09E667F3BCD
  %161 = load i32, ptr %25, align 4, !tbaa !5
  %162 = zext i32 %161 to i64
  %163 = getelementptr inbounds { float, float }, ptr %104, i64 %162
  %164 = getelementptr inbounds { float, float }, ptr %163, i32 0, i32 0
  %165 = load float, ptr %164, align 8
  %166 = getelementptr inbounds { float, float }, ptr %163, i32 0, i32 1
  %167 = load float, ptr %166, align 4
  %168 = fpext float %165 to double
  %169 = fpext float %167 to double
  %170 = fadd double %168, %159
  %171 = fadd double %169, %160
  %172 = fptrunc double %170 to float
  %173 = fptrunc double %171 to float
  %174 = getelementptr inbounds { float, float }, ptr %163, i32 0, i32 0
  %175 = getelementptr inbounds { float, float }, ptr %163, i32 0, i32 1
  store float %172, ptr %174, align 8
  store float %173, ptr %175, align 4
  br label %176

176:                                              ; preds = %148
  %177 = load i32, ptr %25, align 4, !tbaa !5
  %178 = add i32 %177, 1
  store i32 %178, ptr %25, align 4, !tbaa !5
  br label %144, !llvm.loop !20

179:                                              ; preds = %144
  %180 = load ptr, ptr %19, align 8, !tbaa !19
  %181 = load i32, ptr %8, align 4, !tbaa !5
  %182 = call i32 @qdsync_cccf_execute(ptr noundef %180, ptr noundef %104, i32 noundef %181)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %183

183:                                              ; preds = %179
  %184 = load i32, ptr %17, align 4, !tbaa !5
  %185 = add i32 %184, 1
  store i32 %185, ptr %17, align 4, !tbaa !5
  br label %105, !llvm.loop !21

186:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %187 = load ptr, ptr %19, align 8, !tbaa !19
  %188 = call float @qdsync_cccf_get_rxy(ptr noundef %187)
  store float %188, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %189 = load ptr, ptr %19, align 8, !tbaa !19
  %190 = call float @qdsync_cccf_get_tau(ptr noundef %189)
  store float %190, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %191 = load ptr, ptr %19, align 8, !tbaa !19
  %192 = call float @qdsync_cccf_get_gamma(ptr noundef %191)
  store float %192, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %193 = load ptr, ptr %19, align 8, !tbaa !19
  %194 = call float @qdsync_cccf_get_dphi(ptr noundef %193)
  store float %194, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %195 = load ptr, ptr %19, align 8, !tbaa !19
  %196 = call float @qdsync_cccf_get_phi(ptr noundef %195)
  store float %196, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store float 0.000000e+00, ptr %31, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %197

197:                                              ; preds = %218, %186
  %198 = load i32, ptr %17, align 4, !tbaa !5
  %199 = load i32, ptr %7, align 4, !tbaa !5
  %200 = icmp ult i32 %198, %199
  br i1 %200, label %201, label %221

201:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %202 = load i32, ptr %17, align 4, !tbaa !5
  %203 = zext i32 %202 to i64
  %204 = getelementptr inbounds { float, float }, ptr %43, i64 %203
  %205 = getelementptr inbounds { float, float }, ptr %204, i32 0, i32 0
  %206 = load float, ptr %205, align 8
  %207 = getelementptr inbounds { float, float }, ptr %204, i32 0, i32 1
  %208 = load float, ptr %207, align 4
  %209 = getelementptr inbounds { float, float }, ptr %33, i32 0, i32 0
  %210 = getelementptr inbounds { float, float }, ptr %33, i32 0, i32 1
  store float %206, ptr %209, align 4
  store float %208, ptr %210, align 4
  %211 = load <2 x float>, ptr %33, align 4
  %212 = call float @cabsf(<2 x float> noundef %211) #7
  %213 = fsub float %212, 1.000000e+00
  store float %213, ptr %32, align 4, !tbaa !9
  %214 = load float, ptr %32, align 4, !tbaa !9
  %215 = load float, ptr %32, align 4, !tbaa !9
  %216 = load float, ptr %31, align 4, !tbaa !9
  %217 = call float @llvm.fmuladd.f32(float %214, float %215, float %216)
  store float %217, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %218

218:                                              ; preds = %201
  %219 = load i32, ptr %17, align 4, !tbaa !5
  %220 = add i32 %219, 1
  store i32 %220, ptr %17, align 4, !tbaa !5
  br label %197, !llvm.loop !22

221:                                              ; preds = %197
  %222 = load float, ptr %31, align 4, !tbaa !9
  %223 = load i32, ptr %7, align 4, !tbaa !5
  %224 = uitofp i32 %223 to float
  %225 = fdiv float %222, %224
  %226 = call float @log10f(float noundef %225) #7
  %227 = fmul float 1.000000e+01, %226
  store float %227, ptr %31, align 4, !tbaa !9
  %228 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %244

230:                                              ; preds = %221
  %231 = load float, ptr %26, align 4, !tbaa !9
  %232 = fpext float %231 to double
  %233 = load float, ptr %27, align 4, !tbaa !9
  %234 = fpext float %233 to double
  %235 = load float, ptr %28, align 4, !tbaa !9
  %236 = fpext float %235 to double
  %237 = load float, ptr %29, align 4, !tbaa !9
  %238 = fpext float %237 to double
  %239 = load float, ptr %30, align 4, !tbaa !9
  %240 = fpext float %239 to double
  %241 = load float, ptr %31, align 4, !tbaa !9
  %242 = fpext float %241 to double
  %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %232, double noundef %234, double noundef %236, double noundef %238, double noundef %240, double noundef %242)
  br label %244

244:                                              ; preds = %230, %221
  %245 = load float, ptr %31, align 4, !tbaa !9
  %246 = fcmp oge float %245, -3.000000e+01
  br i1 %246, label %247, label %250

247:                                              ; preds = %244
  %248 = load float, ptr %31, align 4, !tbaa !9
  %249 = fpext float %248 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.2, i32 noundef 130, ptr noundef @.str.3, double noundef %249, ptr noundef @.str.4, ptr noundef @.str.5, double noundef -3.000000e+01)
  br label %251

250:                                              ; preds = %244
  call void (...) @liquid_autotest_passed()
  br label %251

251:                                              ; preds = %250, %247
  %252 = load float, ptr %26, align 4, !tbaa !9
  %253 = fcmp ole float %252, 7.500000e-01
  br i1 %253, label %254, label %257

254:                                              ; preds = %251
  %255 = load float, ptr %26, align 4, !tbaa !9
  %256 = fpext float %255 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.2, i32 noundef 131, ptr noundef @.str.6, double noundef %256, ptr noundef @.str.7, ptr noundef @.str.8, double noundef 7.500000e-01)
  br label %258

257:                                              ; preds = %251
  call void (...) @liquid_autotest_passed()
  br label %258

258:                                              ; preds = %257, %254
  %259 = load float, ptr %27, align 4, !tbaa !9
  %260 = load float, ptr %13, align 4, !tbaa !9
  %261 = fsub float %259, %260
  %262 = call float @llvm.fabs.f32(float %261)
  %263 = fcmp oge float %262, 0x3FB99999A0000000
  br i1 %263, label %264, label %270

264:                                              ; preds = %258
  %265 = load float, ptr %27, align 4, !tbaa !9
  %266 = load float, ptr %13, align 4, !tbaa !9
  %267 = fsub float %265, %266
  %268 = call float @llvm.fabs.f32(float %267)
  %269 = fpext float %268 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.2, i32 noundef 132, ptr noundef @.str.9, double noundef %269, ptr noundef @.str.4, ptr noundef @.str.10, double noundef 0x3FB99999A0000000)
  br label %271

270:                                              ; preds = %258
  call void (...) @liquid_autotest_passed()
  br label %271

271:                                              ; preds = %270, %264
  %272 = load float, ptr %28, align 4, !tbaa !9
  %273 = fcmp ole float %272, 7.500000e-01
  br i1 %273, label %274, label %277

274:                                              ; preds = %271
  %275 = load float, ptr %28, align 4, !tbaa !9
  %276 = fpext float %275 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.2, i32 noundef 133, ptr noundef @.str.11, double noundef %276, ptr noundef @.str.7, ptr noundef @.str.8, double noundef 7.500000e-01)
  br label %278

277:                                              ; preds = %271
  call void (...) @liquid_autotest_passed()
  br label %278

278:                                              ; preds = %277, %274
  %279 = load float, ptr %29, align 4, !tbaa !9
  %280 = call float @llvm.fabs.f32(float %279)
  %281 = fcmp oge float %280, 0x3F50624DE0000000
  br i1 %281, label %282, label %286

282:                                              ; preds = %278
  %283 = load float, ptr %29, align 4, !tbaa !9
  %284 = call float @llvm.fabs.f32(float %283)
  %285 = fpext float %284 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.2, i32 noundef 134, ptr noundef @.str.12, double noundef %285, ptr noundef @.str.4, ptr noundef @.str.13, double noundef 0x3F50624DE0000000)
  br label %287

286:                                              ; preds = %278
  call void (...) @liquid_autotest_passed()
  br label %287

287:                                              ; preds = %286, %282
  %288 = load float, ptr %30, align 4, !tbaa !9
  %289 = call float @llvm.fabs.f32(float %288)
  %290 = fcmp oge float %289, 0x3FD99999A0000000
  br i1 %290, label %291, label %295

291:                                              ; preds = %287
  %292 = load float, ptr %30, align 4, !tbaa !9
  %293 = call float @llvm.fabs.f32(float %292)
  %294 = fpext float %293 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.2, i32 noundef 135, ptr noundef @.str.14, double noundef %294, ptr noundef @.str.4, ptr noundef @.str.15, double noundef 0x3FD99999A0000000)
  br label %296

295:                                              ; preds = %287
  call void (...) @liquid_autotest_passed()
  br label %296

296:                                              ; preds = %295, %291
  %297 = load ptr, ptr %19, align 8, !tbaa !19
  %298 = call i32 @qdsync_cccf_destroy(ptr noundef %297)
  %299 = load ptr, ptr %20, align 8, !tbaa !19
  %300 = call i32 @firinterp_crcf_destroy(ptr noundef %299)
  %301 = load ptr, ptr %21, align 8, !tbaa !19
  %302 = call i32 @fdelay_crcf_destroy(ptr noundef %301)
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  %303 = load ptr, ptr %14, align 8
  call void @llvm.stackrestore.p0(ptr %303)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret void
}

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

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

declare ptr @qdsync_cccf_create_linear(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef) #2

declare i32 @qdsync_cccf_set_range(ptr noundef, float noundef) #2

declare ptr @firinterp_crcf_create_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) #2

declare ptr @fdelay_crcf_create_default(i32 noundef) #2

declare i32 @fdelay_crcf_set_delay(ptr noundef, float noundef) #2

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

declare i32 @fdelay_crcf_execute_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

declare float @randnf(...) #2

declare i32 @qdsync_cccf_execute(ptr noundef, ptr noundef, i32 noundef) #2

declare float @qdsync_cccf_get_rxy(ptr noundef) #2

declare float @qdsync_cccf_get_tau(ptr noundef) #2

declare float @qdsync_cccf_get_gamma(ptr noundef) #2

declare float @qdsync_cccf_get_dphi(ptr noundef) #2

declare float @qdsync_cccf_get_phi(ptr noundef) #2

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

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

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

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #2

declare void @liquid_autotest_passed(...) #2

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

declare i32 @qdsync_cccf_destroy(ptr noundef) #2

declare i32 @firinterp_crcf_destroy(ptr noundef) #2

declare i32 @fdelay_crcf_destroy(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #4

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 #4 = { nocallback nofree nosync nounwind willreturn }
attributes #5 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"", !6, i64 0, !15, i64 8, !6, i64 16, !6, i64 20}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!14, !15, i64 8}
!17 = !{!14, !6, i64 16}
!18 = !{!14, !6, i64 20}
!19 = !{!15, !15, i64 0}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}


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

%struct.autotest_qdsync_s = type { i32, ptr, i32, i32 }

@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [95 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @autotest_qdsync_callback(ptr noundef, i32 noundef, ptr noundef) #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @testbench_qdsync_linear(i32 noundef %0, i32 noundef %1, float noundef %2) local_unnamed_addr #3 {
  %4 = alloca %struct.autotest_qdsync_s, align 8
  %5 = alloca [1200 x { float, float }], align 16
  %6 = alloca [1200 x { float, float }], align 16
  br label %7

7:                                                ; preds = %3, %7
  %indvars.iv = phi i64 [ 0, %3 ], [ %indvars.iv.next, %7 ]
  %8 = tail call i32 @rand() #9
  %9 = and i32 %8, 1
  %.not90 = icmp eq i32 %9, 0
  %10 = select i1 %.not90, double 0xBFE6A09E667F3BCD, double 0x3FE6A09E667F3BCD
  %11 = tail call i32 @rand() #9
  %12 = and i32 %11, 1
  %.not91 = icmp eq i32 %12, 0
  %13 = select i1 %.not91, double 0xBFE6A09E667F3BCD, double 0x3FE6A09E667F3BCD
  %14 = tail call double @llvm.copysign.f64(double 0.000000e+00, double %13)
  %15 = fadd double %10, %14
  %16 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv
  %17 = insertelement <2 x double> poison, double %15, i64 0
  %18 = insertelement <2 x double> %17, double %13, i64 1
  %19 = fptrunc <2 x double> %18 to <2 x float>
  store <2 x float> %19, ptr %16, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1200
  br i1 %exitcond.not, label %20, label %7, !llvm.loop !5

20:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  store i32 0, ptr %4, align 8, !tbaa !7
  %21 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %6, ptr %21, align 8, !tbaa !13
  %22 = getelementptr inbounds i8, ptr %4, i64 16
  store i32 1200, ptr %22, align 8, !tbaa !14
  %23 = getelementptr inbounds i8, ptr %4, i64 20
  store i32 0, ptr %23, align 4, !tbaa !15
  %24 = call ptr @qdsync_cccf_create_linear(ptr noundef nonnull %5, i32 noundef 240, i32 noundef 7, i32 noundef %0, i32 noundef %1, float noundef %2, ptr noundef nonnull @autotest_qdsync_callback, ptr noundef nonnull %4) #9
  %25 = call i32 @qdsync_cccf_set_range(ptr noundef %24, float noundef 0x3F50624DE0000000) #9
  %26 = call ptr @firinterp_crcf_create_prototype(i32 noundef 7, i32 noundef %0, i32 noundef %1, float noundef %2, float noundef 0.000000e+00) #9
  %27 = call ptr @fdelay_crcf_create_default(i32 noundef 100) #9
  %28 = mul i32 %0, 10
  %29 = uitofp i32 %28 to float
  %30 = fadd float %29, 0x3FD99999A0000000
  %31 = call i32 @fdelay_crcf_set_delay(ptr noundef %27, float noundef %30) #9
  %32 = zext i32 %0 to i64
  %33 = alloca { float, float }, i64 %32, align 16
  %34 = shl i32 %1, 1
  %35 = add i32 %34, 4850
  %.not100 = icmp eq i32 %35, 0
  br i1 %.not100, label %._crit_edge97, label %.lr.ph96

.lr.ph96:                                         ; preds = %20
  %.not101 = icmp eq i32 %0, 0
  %wide.trip.count116 = zext i32 %35 to i64
  br i1 %.not101, label %.lr.ph96.split, label %.lr.ph96.split.us

.lr.ph96.split.us:                                ; preds = %.lr.ph96, %._crit_edge.us
  %indvars.iv108 = phi i64 [ %indvars.iv.next109, %._crit_edge.us ], [ 0, %.lr.ph96 ]
  %36 = icmp ult i64 %indvars.iv108, 1200
  br i1 %36, label %37, label %.lr.ph.us

37:                                               ; preds = %.lr.ph96.split.us
  %38 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv108
  %39 = load <2 x float>, ptr %38, align 8
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %37, %.lr.ph96.split.us
  %40 = phi <2 x float> [ %39, %37 ], [ zeroinitializer, %.lr.ph96.split.us ]
  %41 = call i32 @firinterp_crcf_execute(ptr noundef %26, <2 x float> noundef %40, ptr noundef nonnull %33) #9
  %42 = call i32 @fdelay_crcf_execute_block(ptr noundef %27, ptr noundef nonnull %33, i32 noundef %0, ptr noundef nonnull %33) #9
  br label %43

43:                                               ; preds = %.lr.ph.us, %43
  %indvars.iv104 = phi i64 [ 0, %.lr.ph.us ], [ %indvars.iv.next105, %43 ]
  %44 = call float (...) @randnf() #9
  %45 = call float (...) @randnf() #9
  %46 = fmul float %45, 0.000000e+00
  %47 = fadd float %44, %46
  %48 = getelementptr inbounds { float, float }, ptr %33, i64 %indvars.iv104
  %49 = insertelement <2 x float> poison, float %47, i64 0
  %50 = insertelement <2 x float> %49, float %45, i64 1
  %51 = fmul <2 x float> %50, <float 0x3F50624DE0000000, float 0x3F50624DE0000000>
  %52 = fpext <2 x float> %51 to <2 x double>
  %53 = fmul <2 x double> %52, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %54 = load <2 x float>, ptr %48, align 8
  %55 = fpext <2 x float> %54 to <2 x double>
  %56 = fadd <2 x double> %53, %55
  %57 = fptrunc <2 x double> %56 to <2 x float>
  store <2 x float> %57, ptr %48, align 8
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %exitcond107.not = icmp eq i64 %indvars.iv.next105, %32
  br i1 %exitcond107.not, label %._crit_edge.us, label %43, !llvm.loop !16

._crit_edge.us:                                   ; preds = %43
  %58 = call i32 @qdsync_cccf_execute(ptr noundef %24, ptr noundef nonnull %33, i32 noundef %0) #9
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %exitcond112.not = icmp eq i64 %indvars.iv.next109, %wide.trip.count116
  br i1 %exitcond112.not, label %._crit_edge97, label %.lr.ph96.split.us, !llvm.loop !17

.lr.ph96.split:                                   ; preds = %.lr.ph96, %63
  %indvars.iv113 = phi i64 [ %indvars.iv.next114, %63 ], [ 0, %.lr.ph96 ]
  %59 = icmp ult i64 %indvars.iv113, 1200
  br i1 %59, label %60, label %63

60:                                               ; preds = %.lr.ph96.split
  %61 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv113
  %62 = load <2 x float>, ptr %61, align 8
  br label %63

63:                                               ; preds = %.lr.ph96.split, %60
  %64 = phi <2 x float> [ %62, %60 ], [ zeroinitializer, %.lr.ph96.split ]
  %65 = call i32 @firinterp_crcf_execute(ptr noundef %26, <2 x float> noundef %64, ptr noundef nonnull %33) #9
  %66 = call i32 @fdelay_crcf_execute_block(ptr noundef %27, ptr noundef nonnull %33, i32 noundef 0, ptr noundef nonnull %33) #9
  %67 = call i32 @qdsync_cccf_execute(ptr noundef %24, ptr noundef nonnull %33, i32 noundef 0) #9
  %indvars.iv.next114 = add nuw nsw i64 %indvars.iv113, 1
  %exitcond117.not = icmp eq i64 %indvars.iv.next114, %wide.trip.count116
  br i1 %exitcond117.not, label %._crit_edge97, label %.lr.ph96.split, !llvm.loop !17

._crit_edge97:                                    ; preds = %._crit_edge.us, %63, %20
  %68 = call float @qdsync_cccf_get_rxy(ptr noundef %24) #9
  %69 = call float @qdsync_cccf_get_tau(ptr noundef %24) #9
  %70 = call float @qdsync_cccf_get_gamma(ptr noundef %24) #9
  %71 = call float @qdsync_cccf_get_dphi(ptr noundef %24) #9
  %72 = call float @qdsync_cccf_get_phi(ptr noundef %24) #9
  br label %73

73:                                               ; preds = %._crit_edge97, %73
  %indvars.iv118 = phi i64 [ 0, %._crit_edge97 ], [ %indvars.iv.next119, %73 ]
  %.08198 = phi float [ 0.000000e+00, %._crit_edge97 ], [ %78, %73 ]
  %74 = getelementptr inbounds { float, float }, ptr %6, i64 %indvars.iv118
  %75 = load <2 x float>, ptr %74, align 8
  %76 = call float @cabsf(<2 x float> noundef %75) #9
  %77 = fadd float %76, -1.000000e+00
  %78 = call float @llvm.fmuladd.f32(float %77, float %77, float %.08198)
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %exitcond121.not = icmp eq i64 %indvars.iv.next119, 1200
  br i1 %exitcond121.not, label %79, label %73, !llvm.loop !18

79:                                               ; preds = %73
  %80 = fdiv float %78, 1.200000e+03
  %81 = call float @log10f(float noundef %80) #9
  %82 = fmul float %81, 1.000000e+01
  %83 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !19
  %.not = icmp eq i32 %83, 0
  br i1 %.not, label %92, label %84

84:                                               ; preds = %79
  %85 = fpext float %68 to double
  %86 = fpext float %69 to double
  %87 = fpext float %70 to double
  %88 = fpext float %71 to double
  %89 = fpext float %72 to double
  %90 = fpext float %82 to double
  %91 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef %85, double noundef %86, double noundef %87, double noundef %88, double noundef %89, double noundef %90)
  br label %92

92:                                               ; preds = %84, %79
  %93 = fcmp ult float %82, -3.000000e+01
  br i1 %93, label %96, label %94

94:                                               ; preds = %92
  %95 = fpext float %82 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.2, i32 noundef 130, ptr noundef nonnull @.str.3, double noundef %95, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, double noundef -3.000000e+01) #9
  br label %97

96:                                               ; preds = %92
  call void (...) @liquid_autotest_passed() #9
  br label %97

97:                                               ; preds = %96, %94
  %98 = fcmp ugt float %68, 7.500000e-01
  br i1 %98, label %101, label %99

99:                                               ; preds = %97
  %100 = fpext float %68 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.2, i32 noundef 131, ptr noundef nonnull @.str.6, double noundef %100, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 7.500000e-01) #9
  br label %102

101:                                              ; preds = %97
  call void (...) @liquid_autotest_passed() #9
  br label %102

102:                                              ; preds = %101, %99
  %103 = fadd float %69, 0xBFD99999A0000000
  %104 = call float @llvm.fabs.f32(float %103)
  %105 = fcmp ult float %104, 0x3FB99999A0000000
  br i1 %105, label %108, label %106

106:                                              ; preds = %102
  %107 = fpext float %104 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.2, i32 noundef 132, ptr noundef nonnull @.str.9, double noundef %107, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.10, double noundef 0x3FB99999A0000000) #9
  br label %109

108:                                              ; preds = %102
  call void (...) @liquid_autotest_passed() #9
  br label %109

109:                                              ; preds = %108, %106
  %110 = fcmp ugt float %70, 7.500000e-01
  br i1 %110, label %113, label %111

111:                                              ; preds = %109
  %112 = fpext float %70 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.2, i32 noundef 133, ptr noundef nonnull @.str.11, double noundef %112, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, double noundef 7.500000e-01) #9
  br label %114

113:                                              ; preds = %109
  call void (...) @liquid_autotest_passed() #9
  br label %114

114:                                              ; preds = %113, %111
  %115 = call float @llvm.fabs.f32(float %71)
  %116 = fcmp ult float %115, 0x3F50624DE0000000
  br i1 %116, label %119, label %117

117:                                              ; preds = %114
  %118 = fpext float %115 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.2, i32 noundef 134, ptr noundef nonnull @.str.12, double noundef %118, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.13, double noundef 0x3F50624DE0000000) #9
  br label %120

119:                                              ; preds = %114
  call void (...) @liquid_autotest_passed() #9
  br label %120

120:                                              ; preds = %119, %117
  %121 = call float @llvm.fabs.f32(float %72)
  %122 = fcmp ult float %121, 0x3FD99999A0000000
  br i1 %122, label %125, label %123

123:                                              ; preds = %120
  %124 = fpext float %121 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.2, i32 noundef 135, ptr noundef nonnull @.str.14, double noundef %124, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.15, double noundef 0x3FD99999A0000000) #9
  br label %126

125:                                              ; preds = %120
  call void (...) @liquid_autotest_passed() #9
  br label %126

126:                                              ; preds = %125, %123
  %127 = call i32 @qdsync_cccf_destroy(ptr noundef %24) #9
  %128 = call i32 @firinterp_crcf_destroy(ptr noundef %26) #9
  %129 = call i32 @fdelay_crcf_destroy(ptr noundef %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  ret void
}

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

declare ptr @qdsync_cccf_create_linear(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare i32 @qdsync_cccf_set_range(ptr noundef, float noundef) local_unnamed_addr #5

declare ptr @firinterp_crcf_create_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #5

declare ptr @fdelay_crcf_create_default(i32 noundef) local_unnamed_addr #5

declare i32 @fdelay_crcf_set_delay(ptr noundef, float noundef) local_unnamed_addr #5

declare i32 @firinterp_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #5

declare i32 @fdelay_crcf_execute_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

declare i32 @qdsync_cccf_execute(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

declare float @qdsync_cccf_get_rxy(ptr noundef) local_unnamed_addr #5

declare float @qdsync_cccf_get_tau(ptr noundef) local_unnamed_addr #5

declare float @qdsync_cccf_get_gamma(ptr noundef) local_unnamed_addr #5

declare float @qdsync_cccf_get_dphi(ptr noundef) local_unnamed_addr #5

declare float @qdsync_cccf_get_phi(ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind
declare float @cabsf(<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) #6

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

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #5

declare void @liquid_autotest_passed(...) local_unnamed_addr #5

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

declare i32 @qdsync_cccf_destroy(ptr noundef) local_unnamed_addr #5

declare i32 @firinterp_crcf_destroy(ptr noundef) local_unnamed_addr #5

declare i32 @fdelay_crcf_destroy(ptr noundef) local_unnamed_addr #5

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #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 = { "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 0}
!8 = !{!"", !9, i64 0, !12, i64 8, !9, i64 16, !9, i64 20}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"any pointer", !10, i64 0}
!13 = !{!8, !12, i64 8}
!14 = !{!8, !9, i64 16}
!15 = !{!8, !9, i64 20}
!16 = distinct !{!16, !6}
!17 = distinct !{!17, !6}
!18 = distinct !{!18, !6}
!19 = !{!9, !9, i64 0}


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