; LLVM IR from jgaeddert/liquid-dsp :: src/filter/tests (dds_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_psd_s = type { float, float, float, float, i32, i32 }

@liquid_autotest_verbose = external global i32, align 4
@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @testbench_dds_cccf(i32 noundef %0, float noundef %1, float noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca { float, float }, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, 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, align 4
  %24 = alloca { float, float }, align 4
  %25 = alloca { float, float }, align 4
  %26 = alloca [3 x %struct.autotest_psd_s], align 16
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca [3 x %struct.autotest_psd_s], align 16
  store i32 %0, ptr %4, align 4, !tbaa !5
  store float %1, ptr %5, align 4, !tbaa !9
  store float %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store float 1.000000e+00, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store float 0x3FB99999A0000000, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 40, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = shl i32 1, %32
  store i32 %33, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = load float, ptr %5, align 4, !tbaa !9
  %36 = load float, ptr %8, align 4, !tbaa !9
  %37 = load float, ptr %6, align 4, !tbaa !9
  %38 = call ptr @dds_cccf_create(i32 noundef %34, float noundef %35, float noundef %36, float noundef %37)
  store ptr %38, ptr %11, align 8, !tbaa !11
  %39 = load ptr, ptr %11, align 8, !tbaa !11
  %40 = load i32, ptr %10, align 4, !tbaa !5
  %41 = uitofp i32 %40 to float
  %42 = fdiv float 1.000000e+00, %41
  %43 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %44 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  store float %42, ptr %43, align 4
  store float 0.000000e+00, ptr %44, align 4
  %45 = load <2 x float>, ptr %12, align 4
  %46 = call i32 @dds_cccf_set_scale(ptr noundef %39, <2 x float> noundef %45)
  %47 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %3
  %50 = load ptr, ptr %11, align 8, !tbaa !11
  %51 = call i32 @dds_cccf_print(ptr noundef %50)
  br label %52

52:                                               ; preds = %49, %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %53 = load ptr, ptr %11, align 8, !tbaa !11
  %54 = call i32 @dds_cccf_get_delay_interp(ptr noundef %53)
  store i32 %54, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %55 = load ptr, ptr %11, align 8, !tbaa !11
  %56 = call float @dds_cccf_get_delay_decim(ptr noundef %55)
  store float %56, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %57 = load i32, ptr %10, align 4, !tbaa !5
  %58 = mul i32 2, %57
  %59 = load i32, ptr %9, align 4, !tbaa !5
  %60 = mul i32 %58, %59
  %61 = add i32 %60, 1
  store i32 %61, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %62 = load i32, ptr %15, align 4, !tbaa !5
  %63 = load i32, ptr %13, align 4, !tbaa !5
  %64 = add i32 %62, %63
  %65 = load float, ptr %14, align 4, !tbaa !9
  %66 = fptoui float %65 to i32
  %67 = add i32 %64, %66
  %68 = add i32 %67, 8
  store i32 %68, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %69 = load i32, ptr %16, align 4, !tbaa !5
  %70 = zext i32 %69 to i64
  %71 = mul i64 %70, 8
  %72 = call noalias ptr @malloc(i64 noundef %71) #7
  store ptr %72, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %73 = load i32, ptr %16, align 4, !tbaa !5
  %74 = load i32, ptr %10, align 4, !tbaa !5
  %75 = mul i32 %73, %74
  %76 = zext i32 %75 to i64
  %77 = mul i64 %76, 8
  %78 = call noalias ptr @malloc(i64 noundef %77) #7
  store ptr %78, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %79 = load i32, ptr %16, align 4, !tbaa !5
  %80 = zext i32 %79 to i64
  %81 = mul i64 %80, 8
  %82 = call noalias ptr @malloc(i64 noundef %81) #7
  store ptr %82, ptr %20, align 8, !tbaa !11
  %83 = load i32, ptr %15, align 4, !tbaa !5
  %84 = zext i32 %83 to i64
  %85 = call ptr @llvm.stacksave.p0()
  store ptr %85, ptr %21, align 8
  %86 = alloca float, i64 %84, align 16
  store i64 %84, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %87 = load float, ptr %8, align 4, !tbaa !9
  %88 = fmul float 0x3FD70A3D80000000, %87
  store float %88, ptr %23, align 4, !tbaa !9
  %89 = load i32, ptr %15, align 4, !tbaa !5
  %90 = load float, ptr %23, align 4, !tbaa !9
  %91 = load float, ptr %6, align 4, !tbaa !9
  %92 = call i32 @liquid_firdes_kaiser(i32 noundef %89, float noundef %90, float noundef %91, float noundef 0.000000e+00, ptr noundef %86)
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %118, %52
  %94 = load i32, ptr %17, align 4, !tbaa !5
  %95 = load i32, ptr %16, align 4, !tbaa !5
  %96 = icmp ult i32 %94, %95
  br i1 %96, label %97, label %121

97:                                               ; preds = %93
  %98 = load i32, ptr %17, align 4, !tbaa !5
  %99 = load i32, ptr %15, align 4, !tbaa !5
  %100 = icmp ult i32 %98, %99
  br i1 %100, label %101, label %109

101:                                              ; preds = %97
  %102 = load float, ptr %23, align 4, !tbaa !9
  %103 = fmul float 2.000000e+00, %102
  %104 = load i32, ptr %17, align 4, !tbaa !5
  %105 = zext i32 %104 to i64
  %106 = getelementptr inbounds float, ptr %86, i64 %105
  %107 = load float, ptr %106, align 4, !tbaa !9
  %108 = fmul float %103, %107
  br label %110

109:                                              ; preds = %97
  br label %110

110:                                              ; preds = %109, %101
  %111 = phi float [ %108, %101 ], [ 0.000000e+00, %109 ]
  %112 = load ptr, ptr %18, align 8, !tbaa !11
  %113 = load i32, ptr %17, align 4, !tbaa !5
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds { float, float }, ptr %112, i64 %114
  %116 = getelementptr inbounds { float, float }, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds { float, float }, ptr %115, i32 0, i32 1
  store float %111, ptr %116, align 4
  store float 0.000000e+00, ptr %117, align 4
  br label %118

118:                                              ; preds = %110
  %119 = load i32, ptr %17, align 4, !tbaa !5
  %120 = add i32 %119, 1
  store i32 %120, ptr %17, align 4, !tbaa !5
  br label %93, !llvm.loop !13

121:                                              ; preds = %93
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %146, %121
  %123 = load i32, ptr %17, align 4, !tbaa !5
  %124 = load i32, ptr %16, align 4, !tbaa !5
  %125 = icmp ult i32 %123, %124
  br i1 %125, label %126, label %149

126:                                              ; preds = %122
  %127 = load ptr, ptr %11, align 8, !tbaa !11
  %128 = load ptr, ptr %18, align 8, !tbaa !11
  %129 = load i32, ptr %17, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds { float, float }, ptr %128, i64 %130
  %132 = getelementptr inbounds { float, float }, ptr %131, i32 0, i32 0
  %133 = load float, ptr %132, align 4
  %134 = getelementptr inbounds { float, float }, ptr %131, i32 0, i32 1
  %135 = load float, ptr %134, align 4
  %136 = load ptr, ptr %19, align 8, !tbaa !11
  %137 = load i32, ptr %10, align 4, !tbaa !5
  %138 = load i32, ptr %17, align 4, !tbaa !5
  %139 = mul i32 %137, %138
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds { float, float }, ptr %136, i64 %140
  %142 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %143 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  store float %133, ptr %142, align 4
  store float %135, ptr %143, align 4
  %144 = load <2 x float>, ptr %24, align 4
  %145 = call i32 @dds_cccf_interp_execute(ptr noundef %127, <2 x float> noundef %144, ptr noundef %141)
  br label %146

146:                                              ; preds = %126
  %147 = load i32, ptr %17, align 4, !tbaa !5
  %148 = add i32 %147, 1
  store i32 %148, ptr %17, align 4, !tbaa !5
  br label %122, !llvm.loop !15

149:                                              ; preds = %122
  %150 = load ptr, ptr %11, align 8, !tbaa !11
  %151 = call i32 @dds_cccf_reset(ptr noundef %150)
  %152 = load ptr, ptr %11, align 8, !tbaa !11
  %153 = load i32, ptr %10, align 4, !tbaa !5
  %154 = uitofp i32 %153 to float
  %155 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 0
  %156 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 1
  store float %154, ptr %155, align 4
  store float 0.000000e+00, ptr %156, align 4
  %157 = load <2 x float>, ptr %25, align 4
  %158 = call i32 @dds_cccf_set_scale(ptr noundef %152, <2 x float> noundef %157)
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %159

159:                                              ; preds = %176, %149
  %160 = load i32, ptr %17, align 4, !tbaa !5
  %161 = load i32, ptr %16, align 4, !tbaa !5
  %162 = icmp ult i32 %160, %161
  br i1 %162, label %163, label %179

163:                                              ; preds = %159
  %164 = load ptr, ptr %11, align 8, !tbaa !11
  %165 = load ptr, ptr %19, align 8, !tbaa !11
  %166 = load i32, ptr %10, align 4, !tbaa !5
  %167 = load i32, ptr %17, align 4, !tbaa !5
  %168 = mul i32 %166, %167
  %169 = zext i32 %168 to i64
  %170 = getelementptr inbounds { float, float }, ptr %165, i64 %169
  %171 = load ptr, ptr %20, align 8, !tbaa !11
  %172 = load i32, ptr %17, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds { float, float }, ptr %171, i64 %173
  %175 = call i32 @dds_cccf_decim_execute(ptr noundef %164, ptr noundef %170, ptr noundef %174)
  br label %176

176:                                              ; preds = %163
  %177 = load i32, ptr %17, align 4, !tbaa !5
  %178 = add i32 %177, 1
  store i32 %178, ptr %17, align 4, !tbaa !5
  br label %159, !llvm.loop !16

179:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 72, ptr %26) #6
  %180 = getelementptr inbounds %struct.autotest_psd_s, ptr %26, i32 0, i32 0
  store float -5.000000e-01, ptr %180, align 8, !tbaa !17
  %181 = getelementptr inbounds %struct.autotest_psd_s, ptr %26, i32 0, i32 1
  %182 = load float, ptr %8, align 4, !tbaa !9
  %183 = fpext float %182 to double
  %184 = fmul double -6.000000e-01, %183
  %185 = fptrunc double %184 to float
  store float %185, ptr %181, align 4, !tbaa !19
  %186 = getelementptr inbounds %struct.autotest_psd_s, ptr %26, i32 0, i32 2
  store float 0.000000e+00, ptr %186, align 8, !tbaa !20
  %187 = getelementptr inbounds %struct.autotest_psd_s, ptr %26, i32 0, i32 3
  %188 = load float, ptr %6, align 4, !tbaa !9
  %189 = fneg float %188
  %190 = load float, ptr %7, align 4, !tbaa !9
  %191 = fadd float %189, %190
  store float %191, ptr %187, align 4, !tbaa !21
  %192 = getelementptr inbounds %struct.autotest_psd_s, ptr %26, i32 0, i32 4
  store i32 0, ptr %192, align 8, !tbaa !22
  %193 = getelementptr inbounds %struct.autotest_psd_s, ptr %26, i32 0, i32 5
  store i32 1, ptr %193, align 4, !tbaa !23
  %194 = getelementptr inbounds %struct.autotest_psd_s, ptr %26, i64 1
  %195 = getelementptr inbounds %struct.autotest_psd_s, ptr %194, i32 0, i32 0
  %196 = load float, ptr %8, align 4, !tbaa !9
  %197 = fpext float %196 to double
  %198 = fmul double -3.000000e-01, %197
  %199 = fptrunc double %198 to float
  store float %199, ptr %195, align 8, !tbaa !17
  %200 = getelementptr inbounds %struct.autotest_psd_s, ptr %194, i32 0, i32 1
  %201 = load float, ptr %8, align 4, !tbaa !9
  %202 = fpext float %201 to double
  %203 = fmul double 3.000000e-01, %202
  %204 = fptrunc double %203 to float
  store float %204, ptr %200, align 4, !tbaa !19
  %205 = getelementptr inbounds %struct.autotest_psd_s, ptr %194, i32 0, i32 2
  store float -1.000000e+00, ptr %205, align 8, !tbaa !20
  %206 = getelementptr inbounds %struct.autotest_psd_s, ptr %194, i32 0, i32 3
  store float 1.000000e+00, ptr %206, align 4, !tbaa !21
  %207 = getelementptr inbounds %struct.autotest_psd_s, ptr %194, i32 0, i32 4
  store i32 1, ptr %207, align 8, !tbaa !22
  %208 = getelementptr inbounds %struct.autotest_psd_s, ptr %194, i32 0, i32 5
  store i32 1, ptr %208, align 4, !tbaa !23
  %209 = getelementptr inbounds %struct.autotest_psd_s, ptr %26, i64 2
  %210 = getelementptr inbounds %struct.autotest_psd_s, ptr %209, i32 0, i32 0
  %211 = load float, ptr %8, align 4, !tbaa !9
  %212 = fpext float %211 to double
  %213 = fmul double 6.000000e-01, %212
  %214 = fptrunc double %213 to float
  store float %214, ptr %210, align 8, !tbaa !17
  %215 = getelementptr inbounds %struct.autotest_psd_s, ptr %209, i32 0, i32 1
  store float 5.000000e-01, ptr %215, align 4, !tbaa !19
  %216 = getelementptr inbounds %struct.autotest_psd_s, ptr %209, i32 0, i32 2
  store float 0.000000e+00, ptr %216, align 8, !tbaa !20
  %217 = getelementptr inbounds %struct.autotest_psd_s, ptr %209, i32 0, i32 3
  %218 = load float, ptr %6, align 4, !tbaa !9
  %219 = fneg float %218
  %220 = load float, ptr %7, align 4, !tbaa !9
  %221 = fadd float %219, %220
  store float %221, ptr %217, align 4, !tbaa !21
  %222 = getelementptr inbounds %struct.autotest_psd_s, ptr %209, i32 0, i32 4
  store i32 0, ptr %222, align 8, !tbaa !22
  %223 = getelementptr inbounds %struct.autotest_psd_s, ptr %209, i32 0, i32 5
  store i32 1, ptr %223, align 4, !tbaa !23
  %224 = load ptr, ptr %18, align 8, !tbaa !11
  %225 = load i32, ptr %16, align 4, !tbaa !5
  %226 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %26, i64 0, i64 0
  %227 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %228 = icmp ne i32 %227, 0
  %229 = zext i1 %228 to i64
  %230 = select i1 %228, ptr @.str, ptr null
  %231 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %224, i32 noundef %225, ptr noundef %226, i32 noundef 3, ptr noundef %230)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %232 = load float, ptr %5, align 4, !tbaa !9
  %233 = fpext float %232 to double
  %234 = load float, ptr %8, align 4, !tbaa !9
  %235 = fpext float %234 to double
  %236 = fmul double 6.000000e-01, %235
  %237 = load i32, ptr %10, align 4, !tbaa !5
  %238 = uitofp i32 %237 to double
  %239 = fdiv double %236, %238
  %240 = fsub double %233, %239
  %241 = fptrunc double %240 to float
  store float %241, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %242 = load float, ptr %5, align 4, !tbaa !9
  %243 = fpext float %242 to double
  %244 = load float, ptr %8, align 4, !tbaa !9
  %245 = fpext float %244 to double
  %246 = fmul double 3.000000e-01, %245
  %247 = load i32, ptr %10, align 4, !tbaa !5
  %248 = uitofp i32 %247 to double
  %249 = fdiv double %246, %248
  %250 = fsub double %243, %249
  %251 = fptrunc double %250 to float
  store float %251, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %252 = load float, ptr %5, align 4, !tbaa !9
  %253 = fpext float %252 to double
  %254 = load float, ptr %8, align 4, !tbaa !9
  %255 = fpext float %254 to double
  %256 = fmul double 3.000000e-01, %255
  %257 = load i32, ptr %10, align 4, !tbaa !5
  %258 = uitofp i32 %257 to double
  %259 = fdiv double %256, %258
  %260 = fadd double %253, %259
  %261 = fptrunc double %260 to float
  store float %261, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %262 = load float, ptr %5, align 4, !tbaa !9
  %263 = fpext float %262 to double
  %264 = load float, ptr %8, align 4, !tbaa !9
  %265 = fpext float %264 to double
  %266 = fmul double 6.000000e-01, %265
  %267 = load i32, ptr %10, align 4, !tbaa !5
  %268 = uitofp i32 %267 to double
  %269 = fdiv double %266, %268
  %270 = fadd double %263, %269
  %271 = fptrunc double %270 to float
  store float %271, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %31) #6
  %272 = getelementptr inbounds %struct.autotest_psd_s, ptr %31, i32 0, i32 0
  store float -5.000000e-01, ptr %272, align 8, !tbaa !17
  %273 = getelementptr inbounds %struct.autotest_psd_s, ptr %31, i32 0, i32 1
  %274 = load float, ptr %27, align 4, !tbaa !9
  store float %274, ptr %273, align 4, !tbaa !19
  %275 = getelementptr inbounds %struct.autotest_psd_s, ptr %31, i32 0, i32 2
  store float 0.000000e+00, ptr %275, align 8, !tbaa !20
  %276 = getelementptr inbounds %struct.autotest_psd_s, ptr %31, i32 0, i32 3
  %277 = load float, ptr %6, align 4, !tbaa !9
  %278 = fneg float %277
  %279 = load float, ptr %7, align 4, !tbaa !9
  %280 = fadd float %278, %279
  store float %280, ptr %276, align 4, !tbaa !21
  %281 = getelementptr inbounds %struct.autotest_psd_s, ptr %31, i32 0, i32 4
  store i32 0, ptr %281, align 8, !tbaa !22
  %282 = getelementptr inbounds %struct.autotest_psd_s, ptr %31, i32 0, i32 5
  store i32 1, ptr %282, align 4, !tbaa !23
  %283 = getelementptr inbounds %struct.autotest_psd_s, ptr %31, i64 1
  %284 = getelementptr inbounds %struct.autotest_psd_s, ptr %283, i32 0, i32 0
  %285 = load float, ptr %28, align 4, !tbaa !9
  store float %285, ptr %284, align 8, !tbaa !17
  %286 = getelementptr inbounds %struct.autotest_psd_s, ptr %283, i32 0, i32 1
  %287 = load float, ptr %29, align 4, !tbaa !9
  store float %287, ptr %286, align 4, !tbaa !19
  %288 = getelementptr inbounds %struct.autotest_psd_s, ptr %283, i32 0, i32 2
  store float -1.000000e+00, ptr %288, align 8, !tbaa !20
  %289 = getelementptr inbounds %struct.autotest_psd_s, ptr %283, i32 0, i32 3
  store float 1.000000e+00, ptr %289, align 4, !tbaa !21
  %290 = getelementptr inbounds %struct.autotest_psd_s, ptr %283, i32 0, i32 4
  store i32 1, ptr %290, align 8, !tbaa !22
  %291 = getelementptr inbounds %struct.autotest_psd_s, ptr %283, i32 0, i32 5
  store i32 1, ptr %291, align 4, !tbaa !23
  %292 = getelementptr inbounds %struct.autotest_psd_s, ptr %31, i64 2
  %293 = getelementptr inbounds %struct.autotest_psd_s, ptr %292, i32 0, i32 0
  %294 = load float, ptr %30, align 4, !tbaa !9
  store float %294, ptr %293, align 8, !tbaa !17
  %295 = getelementptr inbounds %struct.autotest_psd_s, ptr %292, i32 0, i32 1
  store float 5.000000e-01, ptr %295, align 4, !tbaa !19
  %296 = getelementptr inbounds %struct.autotest_psd_s, ptr %292, i32 0, i32 2
  store float 0.000000e+00, ptr %296, align 8, !tbaa !20
  %297 = getelementptr inbounds %struct.autotest_psd_s, ptr %292, i32 0, i32 3
  %298 = load float, ptr %6, align 4, !tbaa !9
  %299 = fneg float %298
  %300 = load float, ptr %7, align 4, !tbaa !9
  %301 = fadd float %299, %300
  store float %301, ptr %297, align 4, !tbaa !21
  %302 = getelementptr inbounds %struct.autotest_psd_s, ptr %292, i32 0, i32 4
  store i32 0, ptr %302, align 8, !tbaa !22
  %303 = getelementptr inbounds %struct.autotest_psd_s, ptr %292, i32 0, i32 5
  store i32 1, ptr %303, align 4, !tbaa !23
  %304 = load ptr, ptr %19, align 8, !tbaa !11
  %305 = load i32, ptr %10, align 4, !tbaa !5
  %306 = load i32, ptr %16, align 4, !tbaa !5
  %307 = mul i32 %305, %306
  %308 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %31, i64 0, i64 0
  %309 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %310 = icmp ne i32 %309, 0
  %311 = zext i1 %310 to i64
  %312 = select i1 %310, ptr @.str.1, ptr null
  %313 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %304, i32 noundef %307, ptr noundef %308, i32 noundef 3, ptr noundef %312)
  %314 = load ptr, ptr %20, align 8, !tbaa !11
  %315 = load i32, ptr %16, align 4, !tbaa !5
  %316 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %26, i64 0, i64 0
  %317 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %318 = icmp ne i32 %317, 0
  %319 = zext i1 %318 to i64
  %320 = select i1 %318, ptr @.str.2, ptr null
  %321 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %314, i32 noundef %315, ptr noundef %316, i32 noundef 3, ptr noundef %320)
  %322 = load ptr, ptr %11, align 8, !tbaa !11
  %323 = call i32 @dds_cccf_destroy(ptr noundef %322)
  %324 = load ptr, ptr %18, align 8, !tbaa !11
  call void @free(ptr noundef %324) #6
  %325 = load ptr, ptr %19, align 8, !tbaa !11
  call void @free(ptr noundef %325) #6
  %326 = load ptr, ptr %20, align 8, !tbaa !11
  call void @free(ptr noundef %326) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  %327 = load ptr, ptr %21, align 8
  call void @llvm.stackrestore.p0(ptr %327)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  ret void
}

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

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

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

declare i32 @dds_cccf_print(ptr noundef) #2

declare i32 @dds_cccf_get_delay_interp(ptr noundef) #2

declare float @dds_cccf_get_delay_decim(ptr noundef) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

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

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

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

declare i32 @dds_cccf_reset(ptr noundef) #2

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

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

declare i32 @dds_cccf_destroy(ptr noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

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

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

attributes #0 = { 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 #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 allocsize(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 #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 = { nounwind }
attributes #7 = { nounwind allocsize(0) }

!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 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = !{!18, !10, i64 0}
!18 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 20}
!19 = !{!18, !10, i64 4}
!20 = !{!18, !10, i64 8}
!21 = !{!18, !10, i64 12}
!22 = !{!18, !6, i64 16}
!23 = !{!18, !6, i64 20}


; 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_psd_s = type { float, float, float, float, i32, i32 }

@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @testbench_dds_cccf(i32 noundef %0, float noundef %1, float noundef %2) local_unnamed_addr #0 {
  %4 = alloca [3 x %struct.autotest_psd_s], align 16
  %5 = alloca [3 x %struct.autotest_psd_s], align 16
  %6 = shl nuw i32 1, %0
  %7 = tail call ptr @dds_cccf_create(i32 noundef %0, float noundef %1, float noundef 0x3FB99999A0000000, float noundef %2) #5
  %8 = uitofp i32 %6 to float
  %9 = fdiv float 1.000000e+00, %8
  %.sroa.048.4.vec.insert = insertelement <2 x float> <float poison, float 0.000000e+00>, float %9, i64 0
  %10 = tail call i32 @dds_cccf_set_scale(ptr noundef %7, <2 x float> noundef %.sroa.048.4.vec.insert) #5
  %11 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %14, label %12

12:                                               ; preds = %3
  %13 = tail call i32 @dds_cccf_print(ptr noundef %7) #5
  br label %14

14:                                               ; preds = %12, %3
  %15 = tail call i32 @dds_cccf_get_delay_interp(ptr noundef %7) #5
  %16 = tail call float @dds_cccf_get_delay_decim(ptr noundef %7) #5
  %17 = shl i32 2, %0
  %18 = mul i32 %17, 40
  %19 = or disjoint i32 %18, 1
  %20 = fptoui float %16 to i32
  %21 = or disjoint i32 %18, 9
  %22 = add i32 %21, %15
  %23 = add i32 %22, %20
  %24 = zext i32 %23 to i64
  %25 = shl nuw nsw i64 %24, 3
  %26 = tail call noalias ptr @malloc(i64 noundef %25) #6
  %27 = shl i32 %23, %0
  %28 = zext i32 %27 to i64
  %29 = shl nuw nsw i64 %28, 3
  %30 = tail call noalias ptr @malloc(i64 noundef %29) #6
  %31 = tail call noalias ptr @malloc(i64 noundef %25) #6
  %32 = zext i32 %19 to i64
  %33 = alloca float, i64 %32, align 16
  %34 = call i32 @liquid_firdes_kaiser(i32 noundef %19, float noundef 0x3FA26E97A0000000, float noundef %2, float noundef 0.000000e+00, ptr noundef nonnull %33) #5
  %.not110 = icmp eq i32 %23, 0
  br i1 %.not110, label %._crit_edge109.critedge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %14
  %35 = zext i32 %18 to i64
  %xtraiter = and i64 %24, 1
  %36 = icmp eq i32 %23, 1
  br i1 %36, label %.preheader.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %24, 4294967294
  br label %.lr.ph

.preheader.unr-lcssa:                             ; preds = %55, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %55 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader.unr-lcssa
  %.not102.epil = icmp ugt i64 %indvars.iv.unr, %35
  br i1 %.not102.epil, label %.preheader.epilog-lcssa, label %37

37:                                               ; preds = %.lr.ph.epil
  %38 = getelementptr inbounds float, ptr %33, i64 %indvars.iv.unr
  %39 = load float, ptr %38, align 4, !tbaa !9
  %40 = fmul float %39, 0x3FB26E97A0000000
  br label %.preheader.epilog-lcssa

.preheader.epilog-lcssa:                          ; preds = %37, %.lr.ph.epil
  %41 = phi float [ %40, %37 ], [ 0.000000e+00, %.lr.ph.epil ]
  %42 = getelementptr inbounds { float, float }, ptr %26, i64 %indvars.iv.unr
  %43 = getelementptr inbounds i8, ptr %42, i64 4
  store float %41, ptr %42, align 4
  store float 0.000000e+00, ptr %43, align 4
  br label %.preheader

.preheader:                                       ; preds = %.preheader.unr-lcssa, %.preheader.epilog-lcssa
  br i1 %.not110, label %._crit_edge109.critedge, label %.lr.ph105

.lr.ph:                                           ; preds = %55, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %55 ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %55 ]
  %.not102 = icmp ugt i64 %indvars.iv, %35
  br i1 %.not102, label %.lr.ph.1, label %44

44:                                               ; preds = %.lr.ph
  %45 = getelementptr inbounds float, ptr %33, i64 %indvars.iv
  %46 = load float, ptr %45, align 8, !tbaa !9
  %47 = fmul float %46, 0x3FB26E97A0000000
  br label %.lr.ph.1

.lr.ph.1:                                         ; preds = %.lr.ph, %44
  %48 = phi float [ %47, %44 ], [ 0.000000e+00, %.lr.ph ]
  %49 = getelementptr inbounds { float, float }, ptr %26, i64 %indvars.iv
  %50 = getelementptr inbounds i8, ptr %49, i64 4
  store float %48, ptr %49, align 4
  store float 0.000000e+00, ptr %50, align 4
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %.not102.1.not = icmp ult i64 %indvars.iv, %35
  br i1 %.not102.1.not, label %51, label %55

51:                                               ; preds = %.lr.ph.1
  %52 = getelementptr inbounds float, ptr %33, i64 %indvars.iv.next
  %53 = load float, ptr %52, align 4, !tbaa !9
  %54 = fmul float %53, 0x3FB26E97A0000000
  br label %55

55:                                               ; preds = %51, %.lr.ph.1
  %56 = phi float [ %54, %51 ], [ 0.000000e+00, %.lr.ph.1 ]
  %57 = getelementptr inbounds { float, float }, ptr %26, i64 %indvars.iv.next
  %58 = getelementptr inbounds i8, ptr %57, i64 4
  store float %56, ptr %57, align 4
  store float 0.000000e+00, ptr %58, align 4
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader.unr-lcssa, label %.lr.ph, !llvm.loop !11

.lr.ph105:                                        ; preds = %.preheader, %.lr.ph105
  %indvars.iv114 = phi i64 [ %indvars.iv.next115, %.lr.ph105 ], [ 0, %.preheader ]
  %59 = getelementptr inbounds { float, float }, ptr %26, i64 %indvars.iv114
  %60 = load <2 x float>, ptr %59, align 4
  %61 = trunc nuw i64 %indvars.iv114 to i32
  %62 = shl i32 %61, %0
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds { float, float }, ptr %30, i64 %63
  %65 = call i32 @dds_cccf_interp_execute(ptr noundef %7, <2 x float> noundef %60, ptr noundef %64) #5
  %indvars.iv.next115 = add nuw nsw i64 %indvars.iv114, 1
  %exitcond118.not = icmp eq i64 %indvars.iv.next115, %24
  br i1 %exitcond118.not, label %._crit_edge, label %.lr.ph105, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph105
  %66 = call i32 @dds_cccf_reset(ptr noundef %7) #5
  %.sroa.0.4.vec.insert = insertelement <2 x float> <float poison, float 0.000000e+00>, float %8, i64 0
  %67 = call i32 @dds_cccf_set_scale(ptr noundef %7, <2 x float> noundef %.sroa.0.4.vec.insert) #5
  br i1 %.not110, label %._crit_edge109, label %.lr.ph108

.lr.ph108:                                        ; preds = %._crit_edge, %.lr.ph108
  %indvars.iv119 = phi i64 [ %indvars.iv.next120, %.lr.ph108 ], [ 0, %._crit_edge ]
  %68 = trunc nuw i64 %indvars.iv119 to i32
  %69 = shl i32 %68, %0
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds { float, float }, ptr %30, i64 %70
  %72 = getelementptr inbounds { float, float }, ptr %31, i64 %indvars.iv119
  %73 = call i32 @dds_cccf_decim_execute(ptr noundef %7, ptr noundef %71, ptr noundef %72) #5
  %indvars.iv.next120 = add nuw nsw i64 %indvars.iv119, 1
  %exitcond123.not = icmp eq i64 %indvars.iv.next120, %24
  br i1 %exitcond123.not, label %._crit_edge109, label %.lr.ph108, !llvm.loop !14

._crit_edge109.critedge:                          ; preds = %.preheader, %14
  %74 = call i32 @dds_cccf_reset(ptr noundef %7) #5
  %.sroa.0.4.vec.insert.c = insertelement <2 x float> <float poison, float 0.000000e+00>, float %8, i64 0
  %75 = call i32 @dds_cccf_set_scale(ptr noundef %7, <2 x float> noundef %.sroa.0.4.vec.insert.c) #5
  br label %._crit_edge109

._crit_edge109:                                   ; preds = %.lr.ph108, %._crit_edge109.critedge, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #5
  store <2 x float> <float -5.000000e-01, float 0xBFAEB85200000000>, ptr %4, align 16, !tbaa !9
  %76 = getelementptr inbounds i8, ptr %4, i64 8
  store float 0.000000e+00, ptr %76, align 8, !tbaa !15
  %77 = getelementptr inbounds i8, ptr %4, i64 12
  %78 = fsub float 1.000000e+00, %2
  store float %78, ptr %77, align 4, !tbaa !17
  %79 = getelementptr inbounds i8, ptr %4, i64 16
  store i32 0, ptr %79, align 16, !tbaa !18
  %80 = getelementptr inbounds i8, ptr %4, i64 20
  store i32 1, ptr %80, align 4, !tbaa !19
  %81 = getelementptr inbounds i8, ptr %4, i64 24
  store <4 x float> <float 0xBF9EB85200000000, float 0x3F9EB85200000000, float -1.000000e+00, float 1.000000e+00>, ptr %81, align 8, !tbaa !9
  %82 = getelementptr inbounds i8, ptr %4, i64 40
  store i32 1, ptr %82, align 8, !tbaa !18
  %83 = getelementptr inbounds i8, ptr %4, i64 44
  store i32 1, ptr %83, align 4, !tbaa !19
  %84 = getelementptr inbounds i8, ptr %4, i64 48
  store <2 x float> <float 0x3FAEB85200000000, float 5.000000e-01>, ptr %84, align 16, !tbaa !9
  %85 = getelementptr inbounds i8, ptr %4, i64 56
  store float 0.000000e+00, ptr %85, align 8, !tbaa !15
  %86 = getelementptr inbounds i8, ptr %4, i64 60
  store float %78, ptr %86, align 4, !tbaa !17
  %87 = getelementptr inbounds i8, ptr %4, i64 64
  store i32 0, ptr %87, align 16, !tbaa !18
  %88 = getelementptr inbounds i8, ptr %4, i64 68
  store i32 1, ptr %88, align 4, !tbaa !19
  %89 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not99 = icmp eq i32 %89, 0
  %90 = select i1 %.not99, ptr null, ptr @.str
  %91 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %26, i32 noundef %23, ptr noundef nonnull %4, i32 noundef 3, ptr noundef %90) #5
  %92 = fpext float %1 to double
  %93 = uitofp i32 %6 to double
  %94 = fdiv double 0x3FAEB851F3333333, %93
  %95 = fsub double %92, %94
  %96 = fptrunc double %95 to float
  %97 = fdiv double 0x3F9EB851F3333333, %93
  %98 = fsub double %92, %97
  %99 = fadd double %97, %92
  %100 = fadd double %94, %92
  %101 = fptrunc double %100 to float
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #5
  store float -5.000000e-01, ptr %5, align 16, !tbaa !20
  %102 = getelementptr inbounds i8, ptr %5, i64 4
  store float %96, ptr %102, align 4, !tbaa !21
  %103 = getelementptr inbounds i8, ptr %5, i64 8
  store float 0.000000e+00, ptr %103, align 8, !tbaa !15
  %104 = getelementptr inbounds i8, ptr %5, i64 12
  store float %78, ptr %104, align 4, !tbaa !17
  %105 = getelementptr inbounds i8, ptr %5, i64 16
  store i32 0, ptr %105, align 16, !tbaa !18
  %106 = getelementptr inbounds i8, ptr %5, i64 20
  store i32 1, ptr %106, align 4, !tbaa !19
  %107 = getelementptr inbounds i8, ptr %5, i64 24
  %108 = insertelement <2 x double> poison, double %98, i64 0
  %109 = insertelement <2 x double> %108, double %99, i64 1
  %110 = fptrunc <2 x double> %109 to <2 x float>
  store <2 x float> %110, ptr %107, align 8, !tbaa !9
  %111 = getelementptr inbounds i8, ptr %5, i64 32
  store <2 x float> <float -1.000000e+00, float 1.000000e+00>, ptr %111, align 16, !tbaa !9
  %112 = getelementptr inbounds i8, ptr %5, i64 40
  store i32 1, ptr %112, align 8, !tbaa !18
  %113 = getelementptr inbounds i8, ptr %5, i64 44
  store i32 1, ptr %113, align 4, !tbaa !19
  %114 = getelementptr inbounds i8, ptr %5, i64 48
  store float %101, ptr %114, align 16, !tbaa !20
  %115 = getelementptr inbounds i8, ptr %5, i64 52
  store <2 x float> <float 5.000000e-01, float 0.000000e+00>, ptr %115, align 4, !tbaa !9
  %116 = getelementptr inbounds i8, ptr %5, i64 60
  store float %78, ptr %116, align 4, !tbaa !17
  %117 = getelementptr inbounds i8, ptr %5, i64 64
  store i32 0, ptr %117, align 16, !tbaa !18
  %118 = getelementptr inbounds i8, ptr %5, i64 68
  store i32 1, ptr %118, align 4, !tbaa !19
  %119 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not100 = icmp eq i32 %119, 0
  %120 = select i1 %.not100, ptr null, ptr @.str.1
  %121 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %30, i32 noundef %27, ptr noundef nonnull %5, i32 noundef 3, ptr noundef %120) #5
  %122 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not101 = icmp eq i32 %122, 0
  %123 = select i1 %.not101, ptr null, ptr @.str.2
  %124 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %31, i32 noundef %23, ptr noundef nonnull %4, i32 noundef 3, ptr noundef %123) #5
  %125 = call i32 @dds_cccf_destroy(ptr noundef %7) #5
  call void @free(ptr noundef %26) #5
  call void @free(ptr noundef %30) #5
  call void @free(ptr noundef %31) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #5
  ret void
}

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

declare ptr @dds_cccf_create(i32 noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2

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

declare i32 @dds_cccf_print(ptr noundef) local_unnamed_addr #2

declare i32 @dds_cccf_get_delay_interp(ptr noundef) local_unnamed_addr #2

declare float @dds_cccf_get_delay_decim(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3

declare i32 @liquid_firdes_kaiser(i32 noundef, float noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #2

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

declare i32 @dds_cccf_reset(ptr noundef) local_unnamed_addr #2

declare i32 @dds_cccf_decim_execute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @liquid_autotest_validate_psd_signal(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare i32 @dds_cccf_destroy(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

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

attributes #0 = { 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 #1 = { mustprogress 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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

!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 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !10, i64 8}
!16 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 20}
!17 = !{!16, !10, i64 12}
!18 = !{!16, !6, i64 16}
!19 = !{!16, !6, i64 20}
!20 = !{!16, !10, i64 0}
!21 = !{!16, !10, i64 4}


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