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

@.str = external hidden unnamed_addr constant [33 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @testbench_resamp_crcf(float noundef %0, float noundef %1, i32 noundef %2) #0 {
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca [3 x %struct.autotest_psd_s], align 16
  %24 = alloca [256 x i8], align 16
  store float %0, ptr %4, align 4, !tbaa !5
  store float %1, ptr %5, align 4, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store float 2.500000e-01, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store float 5.000000e-01, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 20, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 2048, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store float 0x3FDCCCCCC0000000, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %25 = load float, ptr %4, align 4, !tbaa !5
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = load float, ptr %11, align 4, !tbaa !5
  %28 = load float, ptr %5, align 4, !tbaa !5
  %29 = load i32, ptr %10, align 4, !tbaa !9
  %30 = call ptr @resamp_crcf_create(float noundef %25, i32 noundef %26, float noundef %27, float noundef %28, i32 noundef %29)
  store ptr %30, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %31 = load float, ptr %4, align 4, !tbaa !5
  %32 = fdiv float 4.000000e+01, %31
  %33 = fptoui float %32 to i32
  store i32 %33, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %34 = load i32, ptr %13, align 4, !tbaa !9
  %35 = mul i32 4, %34
  %36 = add i32 %35, 1
  store i32 %36, ptr %14, align 4, !tbaa !9
  %37 = load i32, ptr %14, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = call ptr @llvm.stacksave.p0()
  store ptr %39, ptr %15, align 8
  %40 = alloca float, i64 %38, align 16
  store i64 %38, ptr %16, align 8
  %41 = load i32, ptr %14, align 4, !tbaa !9
  %42 = load float, ptr %4, align 4, !tbaa !5
  %43 = fpext float %42 to double
  %44 = fmul double 5.000000e-01, %43
  %45 = load float, ptr %7, align 4, !tbaa !5
  %46 = fpext float %45 to double
  %47 = fmul double %44, %46
  %48 = fptrunc double %47 to float
  %49 = call i32 @liquid_firdes_kaiser(i32 noundef %41, float noundef %48, float noundef 1.200000e+02, float noundef 0.000000e+00, ptr noundef %40)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %50 = load i32, ptr %14, align 4, !tbaa !9
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = mul i32 2, %51
  %53 = add i32 %50, %52
  %54 = add i32 %53, 1
  store i32 %54, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %55 = load ptr, ptr %12, align 8, !tbaa !11
  %56 = load i32, ptr %17, align 4, !tbaa !9
  %57 = call i32 @resamp_crcf_get_num_output(ptr noundef %55, i32 noundef %56)
  store i32 %57, ptr %18, align 4, !tbaa !9
  %58 = load i32, ptr %17, align 4, !tbaa !9
  %59 = zext i32 %58 to i64
  %60 = alloca { float, float }, i64 %59, align 16
  store i64 %59, ptr %19, align 8
  %61 = load i32, ptr %18, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = alloca { float, float }, i64 %62, align 16
  store i64 %62, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %87, %3
  %65 = load i32, ptr %21, align 4, !tbaa !9
  %66 = load i32, ptr %17, align 4, !tbaa !9
  %67 = icmp ult i32 %65, %66
  br i1 %67, label %68, label %90

68:                                               ; preds = %64
  %69 = load i32, ptr %21, align 4, !tbaa !9
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = icmp ult i32 %69, %70
  br i1 %71, label %72, label %79

72:                                               ; preds = %68
  %73 = load i32, ptr %21, align 4, !tbaa !9
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %40, i64 %74
  %76 = load float, ptr %75, align 4, !tbaa !5
  %77 = load float, ptr %7, align 4, !tbaa !5
  %78 = fmul float %76, %77
  br label %80

79:                                               ; preds = %68
  br label %80

80:                                               ; preds = %79, %72
  %81 = phi float [ %78, %72 ], [ 0.000000e+00, %79 ]
  %82 = load i32, ptr %21, align 4, !tbaa !9
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds { float, float }, ptr %60, i64 %83
  %85 = getelementptr inbounds { float, float }, ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds { float, float }, ptr %84, i32 0, i32 1
  store float %81, ptr %85, align 8
  store float 0.000000e+00, ptr %86, align 4
  br label %87

87:                                               ; preds = %80
  %88 = load i32, ptr %21, align 4, !tbaa !9
  %89 = add i32 %88, 1
  store i32 %89, ptr %21, align 4, !tbaa !9
  br label %64, !llvm.loop !13

90:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !9
  %91 = load ptr, ptr %12, align 8, !tbaa !11
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = call i32 @resamp_crcf_execute_block(ptr noundef %91, ptr noundef %60, i32 noundef %92, ptr noundef %63, ptr noundef %22)
  call void @llvm.lifetime.start.p0(i64 72, ptr %23) #5
  %94 = getelementptr inbounds %struct.autotest_psd_s, ptr %23, i32 0, i32 0
  store float -5.000000e-01, ptr %94, align 8, !tbaa !15
  %95 = getelementptr inbounds %struct.autotest_psd_s, ptr %23, i32 0, i32 1
  %96 = load float, ptr %7, align 4, !tbaa !5
  %97 = fmul float 0xBFE3333340000000, %96
  store float %97, ptr %95, align 4, !tbaa !17
  %98 = getelementptr inbounds %struct.autotest_psd_s, ptr %23, i32 0, i32 2
  store float 0.000000e+00, ptr %98, align 8, !tbaa !18
  %99 = getelementptr inbounds %struct.autotest_psd_s, ptr %23, i32 0, i32 3
  %100 = load float, ptr %5, align 4, !tbaa !5
  %101 = fneg float %100
  %102 = load float, ptr %8, align 4, !tbaa !5
  %103 = fadd float %101, %102
  store float %103, ptr %99, align 4, !tbaa !19
  %104 = getelementptr inbounds %struct.autotest_psd_s, ptr %23, i32 0, i32 4
  store i32 0, ptr %104, align 8, !tbaa !20
  %105 = getelementptr inbounds %struct.autotest_psd_s, ptr %23, i32 0, i32 5
  store i32 1, ptr %105, align 4, !tbaa !21
  %106 = getelementptr inbounds %struct.autotest_psd_s, ptr %23, i64 1
  %107 = getelementptr inbounds %struct.autotest_psd_s, ptr %106, i32 0, i32 0
  %108 = load float, ptr %7, align 4, !tbaa !5
  %109 = fmul float 0xBFD99999A0000000, %108
  store float %109, ptr %107, align 8, !tbaa !15
  %110 = getelementptr inbounds %struct.autotest_psd_s, ptr %106, i32 0, i32 1
  %111 = load float, ptr %7, align 4, !tbaa !5
  %112 = fmul float 0x3FD99999A0000000, %111
  store float %112, ptr %110, align 4, !tbaa !17
  %113 = getelementptr inbounds %struct.autotest_psd_s, ptr %106, i32 0, i32 2
  %114 = load float, ptr %8, align 4, !tbaa !5
  %115 = fsub float 0.000000e+00, %114
  store float %115, ptr %113, align 8, !tbaa !18
  %116 = getelementptr inbounds %struct.autotest_psd_s, ptr %106, i32 0, i32 3
  %117 = load float, ptr %8, align 4, !tbaa !5
  %118 = fadd float 0.000000e+00, %117
  store float %118, ptr %116, align 4, !tbaa !19
  %119 = getelementptr inbounds %struct.autotest_psd_s, ptr %106, i32 0, i32 4
  store i32 1, ptr %119, align 8, !tbaa !20
  %120 = getelementptr inbounds %struct.autotest_psd_s, ptr %106, i32 0, i32 5
  store i32 1, ptr %120, align 4, !tbaa !21
  %121 = getelementptr inbounds %struct.autotest_psd_s, ptr %23, i64 2
  %122 = getelementptr inbounds %struct.autotest_psd_s, ptr %121, i32 0, i32 0
  %123 = load float, ptr %7, align 4, !tbaa !5
  %124 = fmul float 0x3FE3333340000000, %123
  store float %124, ptr %122, align 8, !tbaa !15
  %125 = getelementptr inbounds %struct.autotest_psd_s, ptr %121, i32 0, i32 1
  store float 5.000000e-01, ptr %125, align 4, !tbaa !17
  %126 = getelementptr inbounds %struct.autotest_psd_s, ptr %121, i32 0, i32 2
  store float 0.000000e+00, ptr %126, align 8, !tbaa !18
  %127 = getelementptr inbounds %struct.autotest_psd_s, ptr %121, i32 0, i32 3
  %128 = load float, ptr %5, align 4, !tbaa !5
  %129 = fneg float %128
  %130 = load float, ptr %8, align 4, !tbaa !5
  %131 = fadd float %129, %130
  store float %131, ptr %127, align 4, !tbaa !19
  %132 = getelementptr inbounds %struct.autotest_psd_s, ptr %121, i32 0, i32 4
  store i32 0, ptr %132, align 8, !tbaa !20
  %133 = getelementptr inbounds %struct.autotest_psd_s, ptr %121, i32 0, i32 5
  store i32 1, ptr %133, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 256, ptr %24) #5
  %134 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0
  %135 = load i32, ptr %6, align 4, !tbaa !9
  %136 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %134, ptr noundef @.str, i32 noundef %135) #5
  %137 = load i32, ptr %22, align 4, !tbaa !9
  %138 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %23, i64 0, i64 0
  %139 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %143

141:                                              ; preds = %90
  %142 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 0
  br label %144

143:                                              ; preds = %90
  br label %144

144:                                              ; preds = %143, %141
  %145 = phi ptr [ %142, %141 ], [ null, %143 ]
  %146 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %63, i32 noundef %137, ptr noundef %138, i32 noundef 3, ptr noundef %145)
  %147 = load ptr, ptr %12, align 8, !tbaa !11
  %148 = call i32 @resamp_crcf_destroy(ptr noundef %147)
  call void @llvm.lifetime.end.p0(i64 256, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  %149 = load ptr, ptr %15, align 8
  call void @llvm.stackrestore.p0(ptr %149)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #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 @resamp_crcf_create(float noundef, i32 noundef, float noundef, float noundef, i32 noundef) #2

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

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

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

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

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

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

declare i32 @resamp_crcf_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"="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 = { nocallback nofree nosync nounwind willreturn }
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 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 0}
!16 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 20}
!17 = !{!16, !6, i64 4}
!18 = !{!16, !6, i64 8}
!19 = !{!16, !6, i64 12}
!20 = !{!16, !10, i64 16}
!21 = !{!16, !10, 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 }

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

; Function Attrs: nounwind uwtable
define dso_local void @testbench_resamp_crcf(float noundef %0, float noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca i32, align 4
  %5 = alloca [3 x %struct.autotest_psd_s], align 16
  %6 = alloca [256 x i8], align 16
  %7 = tail call ptr @resamp_crcf_create(float noundef %0, i32 noundef 20, float noundef 0x3FDCCCCCC0000000, float noundef %1, i32 noundef 2048) #4
  %8 = fdiv float 4.000000e+01, %0
  %9 = fptoui float %8 to i32
  %10 = shl i32 %9, 2
  %11 = or disjoint i32 %10, 1
  %12 = zext i32 %11 to i64
  %13 = alloca float, i64 %12, align 16
  %14 = fpext float %0 to double
  %15 = fmul double %14, 5.000000e-01
  %16 = fmul double %15, 2.500000e-01
  %17 = fptrunc double %16 to float
  %18 = call i32 @liquid_firdes_kaiser(i32 noundef %11, float noundef %17, float noundef 1.200000e+02, float noundef 0.000000e+00, ptr noundef nonnull %13) #4
  %19 = add i32 %10, 42
  %20 = call i32 @resamp_crcf_get_num_output(ptr noundef %7, i32 noundef %19) #4
  %21 = zext i32 %19 to i64
  %22 = alloca { float, float }, i64 %21, align 16
  %23 = zext i32 %20 to i64
  %24 = alloca { float, float }, i64 %23, align 16
  %25 = zext i32 %10 to i64
  %wide.trip.count = zext i32 %19 to i64
  br label %26

26:                                               ; preds = %39, %3
  %indvars.iv = phi i64 [ 0, %3 ], [ %indvars.iv.next.1, %39 ]
  %.not40 = icmp ugt i64 %indvars.iv, %25
  br i1 %.not40, label %31, label %27

27:                                               ; preds = %26
  %28 = getelementptr inbounds float, ptr %13, i64 %indvars.iv
  %29 = load float, ptr %28, align 8, !tbaa !5
  %30 = fmul float %29, 2.500000e-01
  br label %31

31:                                               ; preds = %26, %27
  %32 = phi float [ %30, %27 ], [ 0.000000e+00, %26 ]
  %33 = getelementptr inbounds { float, float }, ptr %22, i64 %indvars.iv
  %34 = getelementptr inbounds i8, ptr %33, i64 4
  store float %32, ptr %33, align 16
  store float 0.000000e+00, ptr %34, align 4
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %.not40.1.not = icmp ult i64 %indvars.iv, %25
  br i1 %.not40.1.not, label %35, label %39

35:                                               ; preds = %31
  %36 = getelementptr inbounds float, ptr %13, i64 %indvars.iv.next
  %37 = load float, ptr %36, align 4, !tbaa !5
  %38 = fmul float %37, 2.500000e-01
  br label %39

39:                                               ; preds = %35, %31
  %40 = phi float [ %38, %35 ], [ 0.000000e+00, %31 ]
  %41 = getelementptr inbounds { float, float }, ptr %22, i64 %indvars.iv.next
  %42 = getelementptr inbounds i8, ptr %41, i64 4
  store float %40, ptr %41, align 8
  store float 0.000000e+00, ptr %42, align 4
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %43, label %26, !llvm.loop !9

43:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 0, ptr %4, align 4, !tbaa !11
  %44 = call i32 @resamp_crcf_execute_block(ptr noundef %7, ptr noundef nonnull %22, i32 noundef %19, ptr noundef nonnull %24, ptr noundef nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #4
  store <2 x float> <float -5.000000e-01, float 0xBFC3333340000000>, ptr %5, align 16, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %5, i64 8
  store float 0.000000e+00, ptr %45, align 8, !tbaa !13
  %46 = getelementptr inbounds i8, ptr %5, i64 12
  %47 = fsub float 5.000000e-01, %1
  store float %47, ptr %46, align 4, !tbaa !15
  %48 = getelementptr inbounds i8, ptr %5, i64 16
  store i32 0, ptr %48, align 16, !tbaa !16
  %49 = getelementptr inbounds i8, ptr %5, i64 20
  store i32 1, ptr %49, align 4, !tbaa !17
  %50 = getelementptr inbounds i8, ptr %5, i64 24
  store <4 x float> <float 0xBFB99999A0000000, float 0x3FB99999A0000000, float -5.000000e-01, float 5.000000e-01>, ptr %50, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %5, i64 40
  store i32 1, ptr %51, align 8, !tbaa !16
  %52 = getelementptr inbounds i8, ptr %5, i64 44
  store i32 1, ptr %52, align 4, !tbaa !17
  %53 = getelementptr inbounds i8, ptr %5, i64 48
  store <2 x float> <float 0x3FC3333340000000, float 5.000000e-01>, ptr %53, align 16, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %5, i64 56
  store float 0.000000e+00, ptr %54, align 8, !tbaa !13
  %55 = getelementptr inbounds i8, ptr %5, i64 60
  store float %47, ptr %55, align 4, !tbaa !15
  %56 = getelementptr inbounds i8, ptr %5, i64 64
  store i32 0, ptr %56, align 16, !tbaa !16
  %57 = getelementptr inbounds i8, ptr %5, i64 68
  store i32 1, ptr %57, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %6) #4
  %58 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %2) #4
  %59 = load i32, ptr %4, align 4, !tbaa !11
  %60 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !11
  %.not = icmp eq i32 %60, 0
  %61 = select i1 %.not, ptr null, ptr %6
  %62 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef nonnull %24, i32 noundef %59, ptr noundef nonnull %5, i32 noundef 3, ptr noundef %61) #4
  %63 = call i32 @resamp_crcf_destroy(ptr noundef %7) #4
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #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 @resamp_crcf_create(float noundef, i32 noundef, float noundef, float noundef, i32 noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

declare i32 @resamp_crcf_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"="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 = { "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 = { 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 #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 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !12, i64 16, !12, i64 20}
!15 = !{!14, !6, i64 12}
!16 = !{!14, !12, i64 16}
!17 = !{!14, !12, i64 20}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass