; LLVM IR from jgaeddert/liquid-dsp :: src/filter/tests (resamp2_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.9 = external hidden unnamed_addr constant [50 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@.str.10 = external hidden unnamed_addr constant [50 x i8], align 1

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

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

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

declare i32 @resamp2_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) #0

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

; Function Attrs: nounwind uwtable
define dso_local void @testbench_resamp2_crcf_filter(i32 noundef %0, float noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca { float, float }, align 4
  %13 = alloca float, align 4
  %14 = alloca [3 x %struct.autotest_psd_s], align 16
  %15 = alloca [256 x i8], align 16
  %16 = alloca [3 x %struct.autotest_psd_s], align 16
  store i32 %0, ptr %3, align 4, !tbaa !5
  store float %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store float 5.000000e-01, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = load float, ptr %4, align 4, !tbaa !9
  %19 = call ptr @resamp2_crcf_create(i32 noundef %17, float noundef 0.000000e+00, float noundef %18)
  store ptr %19, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %20 = load i32, ptr %3, align 4, !tbaa !5
  %21 = mul i32 4, %20
  %22 = add i32 %21, 1
  store i32 %22, ptr %7, align 4, !tbaa !5
  %23 = load i32, ptr %7, align 4, !tbaa !5
  %24 = zext i32 %23 to i64
  %25 = call ptr @llvm.stacksave.p0()
  store ptr %25, ptr %8, align 8
  %26 = alloca { float, float }, i64 %24, align 16
  store i64 %24, ptr %9, align 8
  %27 = load i32, ptr %7, align 4, !tbaa !5
  %28 = zext i32 %27 to i64
  %29 = alloca { float, float }, i64 %28, align 16
  store i64 %28, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %51, %2
  %31 = load i32, ptr %11, align 4, !tbaa !5
  %32 = load i32, ptr %7, align 4, !tbaa !5
  %33 = icmp ult i32 %31, %32
  br i1 %33, label %34, label %54

34:                                               ; preds = %30
  %35 = load ptr, ptr %6, align 8, !tbaa !11
  %36 = load i32, ptr %11, align 4, !tbaa !5
  %37 = icmp eq i32 %36, 0
  %38 = zext i1 %37 to i64
  %39 = select i1 %37, i32 1, i32 0
  %40 = sitofp i32 %39 to float
  %41 = load i32, ptr %11, align 4, !tbaa !5
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds { float, float }, ptr %26, i64 %42
  %44 = load i32, ptr %11, align 4, !tbaa !5
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds { float, float }, ptr %29, i64 %45
  %47 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %48 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  store float %40, ptr %47, align 4
  store float 0.000000e+00, ptr %48, align 4
  %49 = load <2 x float>, ptr %12, align 4
  %50 = call i32 @resamp2_crcf_filter_execute(ptr noundef %35, <2 x float> noundef %49, ptr noundef %43, ptr noundef %46)
  br label %51

51:                                               ; preds = %34
  %52 = load i32, ptr %11, align 4, !tbaa !5
  %53 = add i32 %52, 1
  store i32 %53, ptr %11, align 4, !tbaa !5
  br label %30, !llvm.loop !13

54:                                               ; preds = %30
  %55 = load ptr, ptr %6, align 8, !tbaa !11
  %56 = call i32 @resamp2_crcf_destroy(ptr noundef %55)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %57 = load float, ptr %4, align 4, !tbaa !9
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = call float @estimate_req_filter_df(float noundef %57, i32 noundef %58)
  %60 = fpext float %59 to double
  %61 = fmul double %60, 1.100000e+00
  %62 = fptrunc double %61 to float
  store float %62, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %14) #5
  %63 = getelementptr inbounds %struct.autotest_psd_s, ptr %14, i32 0, i32 0
  store float -5.000000e-01, ptr %63, align 8, !tbaa !15
  %64 = getelementptr inbounds %struct.autotest_psd_s, ptr %14, i32 0, i32 1
  %65 = load float, ptr %13, align 4, !tbaa !9
  %66 = fdiv float %65, 2.000000e+00
  %67 = fpext float %66 to double
  %68 = fsub double -2.500000e-01, %67
  %69 = fptrunc double %68 to float
  store float %69, ptr %64, align 4, !tbaa !17
  %70 = getelementptr inbounds %struct.autotest_psd_s, ptr %14, i32 0, i32 2
  store float 0.000000e+00, ptr %70, align 8, !tbaa !18
  %71 = getelementptr inbounds %struct.autotest_psd_s, ptr %14, i32 0, i32 3
  %72 = load float, ptr %4, align 4, !tbaa !9
  %73 = fneg float %72
  %74 = load float, ptr %5, align 4, !tbaa !9
  %75 = fadd float %73, %74
  store float %75, ptr %71, align 4, !tbaa !19
  %76 = getelementptr inbounds %struct.autotest_psd_s, ptr %14, i32 0, i32 4
  store i32 0, ptr %76, align 8, !tbaa !20
  %77 = getelementptr inbounds %struct.autotest_psd_s, ptr %14, i32 0, i32 5
  store i32 1, ptr %77, align 4, !tbaa !21
  %78 = getelementptr inbounds %struct.autotest_psd_s, ptr %14, i64 1
  %79 = getelementptr inbounds %struct.autotest_psd_s, ptr %78, i32 0, i32 0
  %80 = load float, ptr %13, align 4, !tbaa !9
  %81 = fdiv float %80, 2.000000e+00
  %82 = fpext float %81 to double
  %83 = fadd double -2.500000e-01, %82
  %84 = fptrunc double %83 to float
  store float %84, ptr %79, align 8, !tbaa !15
  %85 = getelementptr inbounds %struct.autotest_psd_s, ptr %78, i32 0, i32 1
  %86 = load float, ptr %13, align 4, !tbaa !9
  %87 = fdiv float %86, 2.000000e+00
  %88 = fpext float %87 to double
  %89 = fsub double 2.500000e-01, %88
  %90 = fptrunc double %89 to float
  store float %90, ptr %85, align 4, !tbaa !17
  %91 = getelementptr inbounds %struct.autotest_psd_s, ptr %78, i32 0, i32 2
  store float -1.000000e+00, ptr %91, align 8, !tbaa !18
  %92 = getelementptr inbounds %struct.autotest_psd_s, ptr %78, i32 0, i32 3
  store float 1.000000e+00, ptr %92, align 4, !tbaa !19
  %93 = getelementptr inbounds %struct.autotest_psd_s, ptr %78, i32 0, i32 4
  store i32 1, ptr %93, align 8, !tbaa !20
  %94 = getelementptr inbounds %struct.autotest_psd_s, ptr %78, i32 0, i32 5
  store i32 1, ptr %94, align 4, !tbaa !21
  %95 = getelementptr inbounds %struct.autotest_psd_s, ptr %14, i64 2
  %96 = getelementptr inbounds %struct.autotest_psd_s, ptr %95, i32 0, i32 0
  %97 = load float, ptr %13, align 4, !tbaa !9
  %98 = fdiv float %97, 2.000000e+00
  %99 = fpext float %98 to double
  %100 = fadd double 2.500000e-01, %99
  %101 = fptrunc double %100 to float
  store float %101, ptr %96, align 8, !tbaa !15
  %102 = getelementptr inbounds %struct.autotest_psd_s, ptr %95, i32 0, i32 1
  store float 5.000000e-01, ptr %102, align 4, !tbaa !17
  %103 = getelementptr inbounds %struct.autotest_psd_s, ptr %95, i32 0, i32 2
  store float 0.000000e+00, ptr %103, align 8, !tbaa !18
  %104 = getelementptr inbounds %struct.autotest_psd_s, ptr %95, i32 0, i32 3
  %105 = load float, ptr %4, align 4, !tbaa !9
  %106 = fneg float %105
  %107 = load float, ptr %5, align 4, !tbaa !9
  %108 = fadd float %106, %107
  store float %108, ptr %104, align 4, !tbaa !19
  %109 = getelementptr inbounds %struct.autotest_psd_s, ptr %95, i32 0, i32 4
  store i32 0, ptr %109, align 8, !tbaa !20
  %110 = getelementptr inbounds %struct.autotest_psd_s, ptr %95, i32 0, i32 5
  store i32 1, ptr %110, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 256, ptr %15) #5
  %111 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
  %112 = load i32, ptr %3, align 4, !tbaa !5
  %113 = load float, ptr %4, align 4, !tbaa !9
  %114 = fpext float %113 to double
  %115 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %111, ptr noundef @.str.9, i32 noundef %112, double noundef %114) #5
  %116 = load i32, ptr %7, align 4, !tbaa !5
  %117 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %14, i64 0, i64 0
  %118 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %122

120:                                              ; preds = %54
  %121 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
  br label %123

122:                                              ; preds = %54
  br label %123

123:                                              ; preds = %122, %120
  %124 = phi ptr [ %121, %120 ], [ null, %122 ]
  %125 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %26, i32 noundef %116, ptr noundef %117, i32 noundef 3, ptr noundef %124)
  call void @llvm.lifetime.start.p0(i64 72, ptr %16) #5
  %126 = getelementptr inbounds %struct.autotest_psd_s, ptr %16, i32 0, i32 0
  store float -5.000000e-01, ptr %126, align 8, !tbaa !15
  %127 = getelementptr inbounds %struct.autotest_psd_s, ptr %16, i32 0, i32 1
  %128 = load float, ptr %13, align 4, !tbaa !9
  %129 = fdiv float %128, 2.000000e+00
  %130 = fpext float %129 to double
  %131 = fsub double -2.500000e-01, %130
  %132 = fptrunc double %131 to float
  store float %132, ptr %127, align 4, !tbaa !17
  %133 = getelementptr inbounds %struct.autotest_psd_s, ptr %16, i32 0, i32 2
  store float -1.000000e+00, ptr %133, align 8, !tbaa !18
  %134 = getelementptr inbounds %struct.autotest_psd_s, ptr %16, i32 0, i32 3
  store float 1.000000e+00, ptr %134, align 4, !tbaa !19
  %135 = getelementptr inbounds %struct.autotest_psd_s, ptr %16, i32 0, i32 4
  store i32 1, ptr %135, align 8, !tbaa !20
  %136 = getelementptr inbounds %struct.autotest_psd_s, ptr %16, i32 0, i32 5
  store i32 1, ptr %136, align 4, !tbaa !21
  %137 = getelementptr inbounds %struct.autotest_psd_s, ptr %16, i64 1
  %138 = getelementptr inbounds %struct.autotest_psd_s, ptr %137, i32 0, i32 0
  %139 = load float, ptr %13, align 4, !tbaa !9
  %140 = fdiv float %139, 2.000000e+00
  %141 = fpext float %140 to double
  %142 = fadd double -2.500000e-01, %141
  %143 = fptrunc double %142 to float
  store float %143, ptr %138, align 8, !tbaa !15
  %144 = getelementptr inbounds %struct.autotest_psd_s, ptr %137, i32 0, i32 1
  %145 = load float, ptr %13, align 4, !tbaa !9
  %146 = fdiv float %145, 2.000000e+00
  %147 = fpext float %146 to double
  %148 = fsub double 2.500000e-01, %147
  %149 = fptrunc double %148 to float
  store float %149, ptr %144, align 4, !tbaa !17
  %150 = getelementptr inbounds %struct.autotest_psd_s, ptr %137, i32 0, i32 2
  store float 0.000000e+00, ptr %150, align 8, !tbaa !18
  %151 = getelementptr inbounds %struct.autotest_psd_s, ptr %137, i32 0, i32 3
  %152 = load float, ptr %4, align 4, !tbaa !9
  %153 = fneg float %152
  %154 = load float, ptr %5, align 4, !tbaa !9
  %155 = fadd float %153, %154
  store float %155, ptr %151, align 4, !tbaa !19
  %156 = getelementptr inbounds %struct.autotest_psd_s, ptr %137, i32 0, i32 4
  store i32 0, ptr %156, align 8, !tbaa !20
  %157 = getelementptr inbounds %struct.autotest_psd_s, ptr %137, i32 0, i32 5
  store i32 1, ptr %157, align 4, !tbaa !21
  %158 = getelementptr inbounds %struct.autotest_psd_s, ptr %16, i64 2
  %159 = getelementptr inbounds %struct.autotest_psd_s, ptr %158, i32 0, i32 0
  %160 = load float, ptr %13, align 4, !tbaa !9
  %161 = fdiv float %160, 2.000000e+00
  %162 = fpext float %161 to double
  %163 = fadd double 2.500000e-01, %162
  %164 = fptrunc double %163 to float
  store float %164, ptr %159, align 8, !tbaa !15
  %165 = getelementptr inbounds %struct.autotest_psd_s, ptr %158, i32 0, i32 1
  store float 5.000000e-01, ptr %165, align 4, !tbaa !17
  %166 = getelementptr inbounds %struct.autotest_psd_s, ptr %158, i32 0, i32 2
  store float -1.000000e+00, ptr %166, align 8, !tbaa !18
  %167 = getelementptr inbounds %struct.autotest_psd_s, ptr %158, i32 0, i32 3
  store float 1.000000e+00, ptr %167, align 4, !tbaa !19
  %168 = getelementptr inbounds %struct.autotest_psd_s, ptr %158, i32 0, i32 4
  store i32 1, ptr %168, align 8, !tbaa !20
  %169 = getelementptr inbounds %struct.autotest_psd_s, ptr %158, i32 0, i32 5
  store i32 1, ptr %169, align 4, !tbaa !21
  %170 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
  %171 = load i32, ptr %3, align 4, !tbaa !5
  %172 = load float, ptr %4, align 4, !tbaa !9
  %173 = fpext float %172 to double
  %174 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %170, ptr noundef @.str.10, i32 noundef %171, double noundef %173) #5
  %175 = load i32, ptr %7, align 4, !tbaa !5
  %176 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %16, i64 0, i64 0
  %177 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %181

179:                                              ; preds = %123
  %180 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
  br label %182

181:                                              ; preds = %123
  br label %182

182:                                              ; preds = %181, %179
  %183 = phi ptr [ %180, %179 ], [ null, %181 ]
  %184 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef %29, i32 noundef %175, ptr noundef %176, i32 noundef 3, ptr noundef %183)
  call void @llvm.lifetime.end.p0(i64 72, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %185 = load ptr, ptr %8, align 8
  call void @llvm.stackrestore.p0(ptr %185)
  call void @llvm.lifetime.end.p0(i64 4, 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
  ret void
}

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

declare float @estimate_req_filter_df(float noundef, i32 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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
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 = { 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 = !{!"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 = !{!16, !10, i64 0}
!16 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 20}
!17 = !{!16, !10, i64 4}
!18 = !{!16, !10, i64 8}
!19 = !{!16, !10, i64 12}
!20 = !{!16, !6, i64 16}
!21 = !{!16, !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 }

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

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

declare ptr @resamp2_crcf_create(i32 noundef, float noundef, float noundef) local_unnamed_addr #1

declare i32 @resamp2_crcf_destroy(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @testbench_resamp2_crcf_filter(i32 noundef %0, float noundef %1) local_unnamed_addr #2 {
  %3 = alloca [3 x %struct.autotest_psd_s], align 16
  %4 = alloca [256 x i8], align 16
  %5 = alloca [3 x %struct.autotest_psd_s], align 16
  %6 = tail call ptr @resamp2_crcf_create(i32 noundef %0, float noundef 0.000000e+00, float noundef %1) #4
  %7 = shl i32 %0, 2
  %8 = or disjoint i32 %7, 1
  %9 = zext i32 %8 to i64
  %10 = alloca { float, float }, i64 %9, align 16
  %11 = alloca { float, float }, i64 %9, align 16
  %12 = or disjoint i32 %7, 1
  %wide.trip.count = zext i32 %12 to i64
  br label %13

13:                                               ; preds = %2, %13
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %13 ]
  %14 = icmp eq i64 %indvars.iv, 0
  %15 = uitofp i1 %14 to float
  %16 = getelementptr inbounds { float, float }, ptr %10, i64 %indvars.iv
  %17 = getelementptr inbounds { float, float }, ptr %11, i64 %indvars.iv
  %.sroa.0.4.vec.insert = insertelement <2 x float> <float poison, float 0.000000e+00>, float %15, i64 0
  %18 = call i32 @resamp2_crcf_filter_execute(ptr noundef %6, <2 x float> noundef %.sroa.0.4.vec.insert, ptr noundef nonnull %16, ptr noundef nonnull %17) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond, label %19, label %13, !llvm.loop !5

19:                                               ; preds = %13
  %20 = call i32 @resamp2_crcf_destroy(ptr noundef %6) #4
  %21 = call float @estimate_req_filter_df(float noundef %1, i32 noundef %8) #4
  %22 = fpext float %21 to double
  %23 = fmul double %22, 1.100000e+00
  %24 = fptrunc double %23 to float
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #4
  store float -5.000000e-01, ptr %3, align 16, !tbaa !7
  %25 = getelementptr inbounds i8, ptr %3, i64 4
  %26 = fmul float %24, 5.000000e-01
  %27 = fsub float -2.500000e-01, %26
  store float %27, ptr %25, align 4, !tbaa !13
  %28 = getelementptr inbounds i8, ptr %3, i64 8
  store float 0.000000e+00, ptr %28, align 8, !tbaa !14
  %29 = getelementptr inbounds i8, ptr %3, i64 12
  %30 = fsub float 5.000000e-01, %1
  store float %30, ptr %29, align 4, !tbaa !15
  %31 = getelementptr inbounds i8, ptr %3, i64 16
  store i32 0, ptr %31, align 16, !tbaa !16
  %32 = getelementptr inbounds i8, ptr %3, i64 20
  store i32 1, ptr %32, align 4, !tbaa !17
  %33 = getelementptr inbounds i8, ptr %3, i64 24
  %34 = fadd float %26, -2.500000e-01
  store float %34, ptr %33, align 8, !tbaa !7
  %35 = getelementptr inbounds i8, ptr %3, i64 28
  %36 = fsub float 2.500000e-01, %26
  store float %36, ptr %35, align 4, !tbaa !13
  %37 = getelementptr inbounds i8, ptr %3, i64 32
  store <2 x float> <float -1.000000e+00, float 1.000000e+00>, ptr %37, align 16, !tbaa !18
  %38 = getelementptr inbounds i8, ptr %3, i64 40
  store i32 1, ptr %38, align 8, !tbaa !16
  %39 = getelementptr inbounds i8, ptr %3, i64 44
  store i32 1, ptr %39, align 4, !tbaa !17
  %40 = getelementptr inbounds i8, ptr %3, i64 48
  %41 = fadd float %26, 2.500000e-01
  store float %41, ptr %40, align 16, !tbaa !7
  %42 = getelementptr inbounds i8, ptr %3, i64 52
  store <2 x float> <float 5.000000e-01, float 0.000000e+00>, ptr %42, align 4, !tbaa !18
  %43 = getelementptr inbounds i8, ptr %3, i64 60
  store float %30, ptr %43, align 4, !tbaa !15
  %44 = getelementptr inbounds i8, ptr %3, i64 64
  store i32 0, ptr %44, align 16, !tbaa !16
  %45 = getelementptr inbounds i8, ptr %3, i64 68
  store i32 1, ptr %45, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #4
  %46 = fpext float %1 to double
  %47 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %0, double noundef %46) #4
  %48 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !19
  %.not37 = icmp eq i32 %48, 0
  %49 = select i1 %.not37, ptr null, ptr %4
  %50 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef nonnull %10, i32 noundef %8, ptr noundef nonnull %3, i32 noundef 3, ptr noundef %49) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #4
  store float -5.000000e-01, ptr %5, align 16, !tbaa !7
  %51 = getelementptr inbounds i8, ptr %5, i64 4
  store float %27, ptr %51, align 4, !tbaa !13
  %52 = getelementptr inbounds i8, ptr %5, i64 8
  store <2 x float> <float -1.000000e+00, float 1.000000e+00>, ptr %52, align 8, !tbaa !18
  %53 = getelementptr inbounds i8, ptr %5, i64 16
  store i32 1, ptr %53, align 16, !tbaa !16
  %54 = getelementptr inbounds i8, ptr %5, i64 20
  store i32 1, ptr %54, align 4, !tbaa !17
  %55 = getelementptr inbounds i8, ptr %5, i64 24
  store float %34, ptr %55, align 8, !tbaa !7
  %56 = getelementptr inbounds i8, ptr %5, i64 28
  store float %36, ptr %56, align 4, !tbaa !13
  %57 = getelementptr inbounds i8, ptr %5, i64 32
  store float 0.000000e+00, ptr %57, align 16, !tbaa !14
  %58 = getelementptr inbounds i8, ptr %5, i64 36
  store float %30, ptr %58, align 4, !tbaa !15
  %59 = getelementptr inbounds i8, ptr %5, i64 40
  store i32 0, ptr %59, align 8, !tbaa !16
  %60 = getelementptr inbounds i8, ptr %5, i64 44
  store i32 1, ptr %60, align 4, !tbaa !17
  %61 = getelementptr inbounds i8, ptr %5, i64 48
  store float %41, ptr %61, align 16, !tbaa !7
  %62 = getelementptr inbounds i8, ptr %5, i64 52
  store <2 x float> <float 5.000000e-01, float -1.000000e+00>, ptr %62, align 4, !tbaa !18
  %63 = getelementptr inbounds i8, ptr %5, i64 60
  store float 1.000000e+00, ptr %63, align 4, !tbaa !15
  %64 = getelementptr inbounds i8, ptr %5, i64 64
  store i32 1, ptr %64, align 16, !tbaa !16
  %65 = getelementptr inbounds i8, ptr %5, i64 68
  store i32 1, ptr %65, align 4, !tbaa !17
  %66 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) @.str.10, i32 noundef %0, double noundef %46) #4
  %67 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !19
  %.not38 = icmp eq i32 %67, 0
  %68 = select i1 %.not38, ptr null, ptr %4
  %69 = call i32 @liquid_autotest_validate_psd_signal(ptr noundef nonnull %11, i32 noundef %8, ptr noundef nonnull %5, i32 noundef 3, ptr noundef %68) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #4
  ret void
}

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

declare float @estimate_req_filter_df(float noundef, i32 noundef) local_unnamed_addr #1

; 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 #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 0}
!8 = !{!"", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !12, i64 16, !12, i64 20}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!8, !9, i64 4}
!14 = !{!8, !9, i64 8}
!15 = !{!8, !9, i64 12}
!16 = !{!8, !12, i64 16}
!17 = !{!8, !12, i64 20}
!18 = !{!9, !9, i64 0}
!19 = !{!12, !12, i64 0}


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