; LLVM IR from jgaeddert/liquid-dsp :: src/multichannel/tests (firpfbchr_crcf_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 }

@__const.autotest_firpfbchr_crcf.regions = external hidden unnamed_addr constant [6 x %struct.autotest_psd_s], align 16
@liquid_autotest_verbose = external global i32, align 4
@.str = external hidden unnamed_addr constant [35 x i8], align 1
@__const.autotest_firpfbchr_crcf.regions_2 = external hidden unnamed_addr constant [3 x %struct.autotest_psd_s], align 16
@.str.1 = external hidden unnamed_addr constant [34 x i8], align 1
@__const.autotest_firpfbchr_crcf.regions_3 = external hidden unnamed_addr constant [3 x %struct.autotest_psd_s], align 16
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_firpfbchr_crcf() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca float, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca { float, float }, align 4
  %17 = alloca { float, float }, align 4
  %18 = alloca [6 x %struct.autotest_psd_s], align 16
  %19 = alloca [3 x %struct.autotest_psd_s], align 16
  %20 = alloca [3 x %struct.autotest_psd_s], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 16, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 6, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 12, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 65536, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store float 6.000000e+01, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %21 = load i32, ptr %1, align 4, !tbaa !5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = load float, ptr %5, align 4, !tbaa !9
  %25 = call ptr @firpfbchr_crcf_create_kaiser(i32 noundef %21, i32 noundef %22, i32 noundef %23, float noundef %24)
  store ptr %25, ptr %6, align 8, !tbaa !11
  %26 = load ptr, ptr %6, align 8, !tbaa !11
  %27 = call i32 @firpfbchr_crcf_print(ptr noundef %26)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %28 = call ptr @msourcecf_create_default()
  store ptr %28, ptr %7, align 8, !tbaa !11
  %29 = load ptr, ptr %7, align 8, !tbaa !11
  %30 = call i32 @msourcecf_add_noise(ptr noundef %29, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef -6.000000e+01)
  %31 = load ptr, ptr %7, align 8, !tbaa !11
  %32 = call i32 @msourcecf_add_noise(ptr noundef %31, float noundef 0xBFD3333340000000, float noundef 0x3FB99999A0000000, float noundef -2.000000e+01)
  %33 = load ptr, ptr %7, align 8, !tbaa !11
  %34 = call i32 @msourcecf_add_noise(ptr noundef %33, float noundef 0x3FB47AE140000000, float noundef 0x3F847AE140000000, float noundef -3.000000e+01)
  %35 = load ptr, ptr %7, align 8, !tbaa !11
  %36 = call i32 @msourcecf_add_modem(ptr noundef %35, float noundef 1.875000e-01, float noundef 0x3FB0A3D700000000, float noundef -2.000000e+01, i32 noundef 40, i32 noundef 12, float noundef 0x3FD3333340000000)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 2400, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %37 = load i32, ptr %8, align 4, !tbaa !5
  %38 = call ptr @spgramcf_create_default(i32 noundef %37)
  store ptr %38, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %39 = load i32, ptr %8, align 4, !tbaa !5
  %40 = call ptr @spgramcf_create_default(i32 noundef %39)
  store ptr %40, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = call ptr @spgramcf_create_default(i32 noundef %41)
  store ptr %42, ptr %11, align 8, !tbaa !11
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = zext i32 %43 to i64
  %45 = call ptr @llvm.stacksave.p0()
  store ptr %45, ptr %12, align 8
  %46 = alloca { float, float }, i64 %44, align 16
  store i64 %44, ptr %13, align 8
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %48 = zext i32 %47 to i64
  %49 = alloca { float, float }, i64 %48, align 16
  store i64 %48, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %85, %0
  %51 = load i32, ptr %15, align 4, !tbaa !5
  %52 = load i32, ptr %4, align 4, !tbaa !5
  %53 = icmp ult i32 %51, %52
  br i1 %53, label %54, label %88

54:                                               ; preds = %50
  %55 = load ptr, ptr %7, align 8, !tbaa !11
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = call i32 @msourcecf_write_samples(ptr noundef %55, ptr noundef %46, i32 noundef %56)
  %58 = load ptr, ptr %6, align 8, !tbaa !11
  %59 = call i32 @firpfbchr_crcf_push(ptr noundef %58, ptr noundef %46)
  %60 = load ptr, ptr %6, align 8, !tbaa !11
  %61 = call i32 @firpfbchr_crcf_execute(ptr noundef %60, ptr noundef %49)
  %62 = load ptr, ptr %9, align 8, !tbaa !11
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = call i32 @spgramcf_write(ptr noundef %62, ptr noundef %46, i32 noundef %63)
  %65 = load ptr, ptr %10, align 8, !tbaa !11
  %66 = getelementptr inbounds { float, float }, ptr %49, i64 1
  %67 = getelementptr inbounds { float, float }, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 8
  %69 = getelementptr inbounds { float, float }, ptr %66, i32 0, i32 1
  %70 = load float, ptr %69, align 4
  %71 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %72 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  store float %68, ptr %71, align 4
  store float %70, ptr %72, align 4
  %73 = load <2 x float>, ptr %16, align 4
  %74 = call i32 @spgramcf_push(ptr noundef %65, <2 x float> noundef %73)
  %75 = load ptr, ptr %11, align 8, !tbaa !11
  %76 = getelementptr inbounds { float, float }, ptr %49, i64 3
  %77 = getelementptr inbounds { float, float }, ptr %76, i32 0, i32 0
  %78 = load float, ptr %77, align 8
  %79 = getelementptr inbounds { float, float }, ptr %76, i32 0, i32 1
  %80 = load float, ptr %79, align 4
  %81 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %82 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %78, ptr %81, align 4
  store float %80, ptr %82, align 4
  %83 = load <2 x float>, ptr %17, align 4
  %84 = call i32 @spgramcf_push(ptr noundef %75, <2 x float> noundef %83)
  br label %85

85:                                               ; preds = %54
  %86 = load i32, ptr %15, align 4, !tbaa !5
  %87 = add i32 %86, 1
  store i32 %87, ptr %15, align 4, !tbaa !5
  br label %50, !llvm.loop !13

88:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 144, ptr %18) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.autotest_firpfbchr_crcf.regions, i64 144, i1 false)
  %89 = load ptr, ptr %9, align 8, !tbaa !11
  %90 = getelementptr inbounds [6 x %struct.autotest_psd_s], ptr %18, i64 0, i64 0
  %91 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %92 = icmp ne i32 %91, 0
  %93 = zext i1 %92 to i64
  %94 = select i1 %92, ptr @.str, ptr null
  %95 = call i32 @liquid_autotest_validate_psd_spgramcf(ptr noundef %89, ptr noundef %90, i32 noundef 6, ptr noundef %94)
  call void @llvm.lifetime.start.p0(i64 72, ptr %19) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 @__const.autotest_firpfbchr_crcf.regions_2, i64 72, i1 false)
  %96 = load ptr, ptr %10, align 8, !tbaa !11
  %97 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %19, i64 0, i64 0
  %98 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %99 = icmp ne i32 %98, 0
  %100 = zext i1 %99 to i64
  %101 = select i1 %99, ptr @.str.1, ptr null
  %102 = call i32 @liquid_autotest_validate_psd_spgramcf(ptr noundef %96, ptr noundef %97, i32 noundef 3, ptr noundef %101)
  call void @llvm.lifetime.start.p0(i64 72, ptr %20) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 @__const.autotest_firpfbchr_crcf.regions_3, i64 72, i1 false)
  %103 = load ptr, ptr %11, align 8, !tbaa !11
  %104 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %20, i64 0, i64 0
  %105 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %106 = icmp ne i32 %105, 0
  %107 = zext i1 %106 to i64
  %108 = select i1 %106, ptr @.str.2, ptr null
  %109 = call i32 @liquid_autotest_validate_psd_spgramcf(ptr noundef %103, ptr noundef %104, i32 noundef 3, ptr noundef %108)
  %110 = load ptr, ptr %6, align 8, !tbaa !11
  %111 = call i32 @firpfbchr_crcf_destroy(ptr noundef %110)
  %112 = load ptr, ptr %7, align 8, !tbaa !11
  %113 = call i32 @msourcecf_destroy(ptr noundef %112)
  %114 = load ptr, ptr %9, align 8, !tbaa !11
  %115 = call i32 @spgramcf_destroy(ptr noundef %114)
  %116 = load ptr, ptr %10, align 8, !tbaa !11
  %117 = call i32 @spgramcf_destroy(ptr noundef %116)
  %118 = load ptr, ptr %11, align 8, !tbaa !11
  %119 = call i32 @spgramcf_destroy(ptr noundef %118)
  call void @llvm.lifetime.end.p0(i64 72, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 144, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %120 = load ptr, ptr %12, align 8
  call void @llvm.stackrestore.p0(ptr %120)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  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 @firpfbchr_crcf_create_kaiser(i32 noundef, i32 noundef, i32 noundef, float noundef) #2

declare i32 @firpfbchr_crcf_print(ptr noundef) #2

declare ptr @msourcecf_create_default() #2

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

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

declare ptr @spgramcf_create_default(i32 noundef) #2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

declare i32 @firpfbchr_crcf_destroy(ptr noundef) #2

declare i32 @msourcecf_destroy(ptr noundef) #2

declare i32 @spgramcf_destroy(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: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

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 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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

@__const.autotest_firpfbchr_crcf.regions = external hidden unnamed_addr constant [6 x %struct.autotest_psd_s], align 16
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [35 x i8], align 1
@__const.autotest_firpfbchr_crcf.regions_2 = external hidden unnamed_addr constant [3 x %struct.autotest_psd_s], align 16
@.str.1 = external hidden unnamed_addr constant [34 x i8], align 1
@__const.autotest_firpfbchr_crcf.regions_3 = external hidden unnamed_addr constant [3 x %struct.autotest_psd_s], align 16
@.str.2 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_firpfbchr_crcf() local_unnamed_addr #0 {
  %1 = alloca [6 x %struct.autotest_psd_s], align 16
  %2 = alloca [3 x %struct.autotest_psd_s], align 16
  %3 = alloca [3 x %struct.autotest_psd_s], align 16
  %4 = tail call ptr @firpfbchr_crcf_create_kaiser(i32 noundef 16, i32 noundef 6, i32 noundef 12, float noundef 6.000000e+01) #4
  %5 = tail call i32 @firpfbchr_crcf_print(ptr noundef %4) #4
  %6 = tail call ptr @msourcecf_create_default() #4
  %7 = tail call i32 @msourcecf_add_noise(ptr noundef %6, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef -6.000000e+01) #4
  %8 = tail call i32 @msourcecf_add_noise(ptr noundef %6, float noundef 0xBFD3333340000000, float noundef 0x3FB99999A0000000, float noundef -2.000000e+01) #4
  %9 = tail call i32 @msourcecf_add_noise(ptr noundef %6, float noundef 0x3FB47AE140000000, float noundef 0x3F847AE140000000, float noundef -3.000000e+01) #4
  %10 = tail call i32 @msourcecf_add_modem(ptr noundef %6, float noundef 1.875000e-01, float noundef 0x3FB0A3D700000000, float noundef -2.000000e+01, i32 noundef 40, i32 noundef 12, float noundef 0x3FD3333340000000) #4
  %11 = tail call ptr @spgramcf_create_default(i32 noundef 2400) #4
  %12 = tail call ptr @spgramcf_create_default(i32 noundef 2400) #4
  %13 = tail call ptr @spgramcf_create_default(i32 noundef 2400) #4
  %14 = alloca [6 x { float, float }], align 16
  %15 = alloca [16 x { float, float }], align 16
  %16 = getelementptr inbounds i8, ptr %15, i64 8
  %17 = getelementptr inbounds i8, ptr %15, i64 24
  br label %18

18:                                               ; preds = %0, %18
  %.038 = phi i32 [ 0, %0 ], [ %27, %18 ]
  %19 = call i32 @msourcecf_write_samples(ptr noundef %6, ptr noundef nonnull %14, i32 noundef 6) #4
  %20 = call i32 @firpfbchr_crcf_push(ptr noundef %4, ptr noundef nonnull %14) #4
  %21 = call i32 @firpfbchr_crcf_execute(ptr noundef %4, ptr noundef nonnull %15) #4
  %22 = call i32 @spgramcf_write(ptr noundef %11, ptr noundef nonnull %14, i32 noundef 6) #4
  %23 = load <4 x float>, ptr %16, align 8
  %.sroa.02.4.vec.insert = shufflevector <4 x float> %23, <4 x float> poison, <2 x i32> <i32 0, i32 1>
  %24 = call i32 @spgramcf_push(ptr noundef %12, <2 x float> noundef %.sroa.02.4.vec.insert) #4
  %25 = load <4 x float>, ptr %17, align 8
  %.sroa.0.4.vec.insert = shufflevector <4 x float> %25, <4 x float> poison, <2 x i32> <i32 0, i32 1>
  %26 = call i32 @spgramcf_push(ptr noundef %13, <2 x float> noundef %.sroa.0.4.vec.insert) #4
  %27 = add nuw nsw i32 %.038, 1
  %exitcond.not = icmp eq i32 %27, 65536
  br i1 %exitcond.not, label %28, label %18, !llvm.loop !5

28:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(144) %1, ptr noundef nonnull align 16 dereferenceable(144) @__const.autotest_firpfbchr_crcf.regions, i64 144, i1 false)
  %29 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !7
  %.not = icmp eq i32 %29, 0
  %30 = select i1 %.not, ptr null, ptr @.str
  %31 = call i32 @liquid_autotest_validate_psd_spgramcf(ptr noundef %11, ptr noundef nonnull %1, i32 noundef 6, ptr noundef %30) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(72) %2, ptr noundef nonnull align 16 dereferenceable(72) @__const.autotest_firpfbchr_crcf.regions_2, i64 72, i1 false)
  %32 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !7
  %.not36 = icmp eq i32 %32, 0
  %33 = select i1 %.not36, ptr null, ptr @.str.1
  %34 = call i32 @liquid_autotest_validate_psd_spgramcf(ptr noundef %12, ptr noundef nonnull %2, i32 noundef 3, ptr noundef %33) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(72) %3, ptr noundef nonnull align 16 dereferenceable(72) @__const.autotest_firpfbchr_crcf.regions_3, i64 72, i1 false)
  %35 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !7
  %.not37 = icmp eq i32 %35, 0
  %36 = select i1 %.not37, ptr null, ptr @.str.2
  %37 = call i32 @liquid_autotest_validate_psd_spgramcf(ptr noundef %13, ptr noundef nonnull %3, i32 noundef 3, ptr noundef %36) #4
  %38 = call i32 @firpfbchr_crcf_destroy(ptr noundef %4) #4
  %39 = call i32 @msourcecf_destroy(ptr noundef %6) #4
  %40 = call i32 @spgramcf_destroy(ptr noundef %11) #4
  %41 = call i32 @spgramcf_destroy(ptr noundef %12) #4
  %42 = call i32 @spgramcf_destroy(ptr noundef %13) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %1) #4
  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 @firpfbchr_crcf_create_kaiser(i32 noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #2

declare i32 @firpfbchr_crcf_print(ptr noundef) local_unnamed_addr #2

declare ptr @msourcecf_create_default() local_unnamed_addr #2

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

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

declare ptr @spgramcf_create_default(i32 noundef) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

declare i32 @firpfbchr_crcf_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @msourcecf_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @spgramcf_destroy(ptr noundef) 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

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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass