; LLVM IR from jgaeddert/liquid-dsp :: src/framing/tests (symstreamrcf_delay_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"

@liquid_autotest_verbose = external global i32, align 4
@.str = external hidden unnamed_addr constant [61 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @testbench_symstreamrcf_delay(float noundef %0, i32 noundef %1) #0 {
  %3 = alloca float, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %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 i32, align 4
  %18 = alloca { float, float }, align 4
  %19 = alloca float, align 4
  %20 = alloca { float, float }, align 4
  store float %0, ptr %3, align 4, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 7, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store float 0x3FD3333340000000, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 40, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = load float, ptr %3, align 4, !tbaa !5
  %23 = load i32, ptr %4, align 4, !tbaa !9
  %24 = load float, ptr %6, align 4, !tbaa !5
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = call ptr @symstreamrcf_create_linear(i32 noundef %21, float noundef %22, i32 noundef %23, float noundef %24, i32 noundef %25)
  store ptr %26, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %27 = load ptr, ptr %8, align 8, !tbaa !11
  %28 = call float @symstreamrcf_get_delay(ptr noundef %27)
  store float %28, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store float 0x3FA99999A0000000, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %29 = load float, ptr %9, align 4, !tbaa !5
  %30 = load float, ptr %3, align 4, !tbaa !5
  %31 = call float @sqrtf(float noundef %30) #6
  %32 = fdiv float %29, %31
  %33 = fptoui float %32 to i32
  %34 = add i32 120, %33
  %35 = mul i32 2, %34
  store i32 %35, ptr %11, align 4, !tbaa !9
  %36 = load i32, ptr %11, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = call ptr @llvm.stacksave.p0()
  store ptr %38, ptr %12, align 8
  %39 = alloca { float, float }, i64 %37, align 16
  store i64 %37, ptr %13, align 8
  %40 = load i32, ptr %11, align 4, !tbaa !9
  %41 = zext i32 %40 to i64
  %42 = alloca { float, float }, i64 %41, align 16
  store i64 %41, ptr %14, align 8
  %43 = load ptr, ptr %8, align 8, !tbaa !11
  %44 = call i32 @symstreamrcf_write_samples(ptr noundef %43, ptr noundef %39, i32 noundef 1)
  %45 = load ptr, ptr %8, align 8, !tbaa !11
  %46 = call i32 @symstreamrcf_set_gain(ptr noundef %45, float noundef 0.000000e+00)
  %47 = load ptr, ptr %8, align 8, !tbaa !11
  %48 = getelementptr inbounds { float, float }, ptr %39, i64 1
  %49 = load i32, ptr %11, align 4, !tbaa !9
  %50 = sub i32 %49, 1
  %51 = call i32 @symstreamrcf_write_samples(ptr noundef %47, ptr noundef %48, i32 noundef %50)
  %52 = load ptr, ptr %8, align 8, !tbaa !11
  %53 = call i32 @symstreamrcf_destroy(ptr noundef %52)
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = call i32 @fft_run(i32 noundef %54, ptr noundef %39, ptr noundef %42, i32 noundef 1, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %56 = load float, ptr %3, align 4, !tbaa !5
  %57 = fpext float %56 to double
  %58 = fmul double 4.000000e-01, %57
  %59 = load i32, ptr %11, align 4, !tbaa !9
  %60 = uitofp i32 %59 to double
  %61 = fmul double %58, %60
  %62 = fptoui double %61 to i32
  store i32 %62, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %63 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %64 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  store float 0.000000e+00, ptr %63, align 4
  store float 0.000000e+00, ptr %64, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %65 = load i32, ptr %15, align 4, !tbaa !9
  %66 = sub nsw i32 0, %65
  store i32 %66, ptr %17, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %122, %2
  %68 = load i32, ptr %17, align 4, !tbaa !9
  %69 = load i32, ptr %15, align 4, !tbaa !9
  %70 = icmp slt i32 %68, %69
  br i1 %70, label %71, label %125

71:                                               ; preds = %67
  %72 = load i32, ptr %11, align 4, !tbaa !9
  %73 = load i32, ptr %17, align 4, !tbaa !9
  %74 = add i32 %72, %73
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = urem i32 %74, %75
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds { float, float }, ptr %42, i64 %77
  %79 = getelementptr inbounds { float, float }, ptr %78, i32 0, i32 0
  %80 = load float, ptr %79, align 8
  %81 = getelementptr inbounds { float, float }, ptr %78, i32 0, i32 1
  %82 = load float, ptr %81, align 4
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = add i32 %83, %84
  %86 = add i32 %85, 1
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = urem i32 %86, %87
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds { float, float }, ptr %42, i64 %89
  %91 = getelementptr inbounds { float, float }, ptr %90, i32 0, i32 0
  %92 = load float, ptr %91, align 8
  %93 = getelementptr inbounds { float, float }, ptr %90, i32 0, i32 1
  %94 = load float, ptr %93, align 4
  %95 = fneg float %94
  %96 = fmul float %80, %92
  %97 = fmul float %82, %95
  %98 = fmul float %80, %95
  %99 = fmul float %82, %92
  %100 = fsub float %96, %97
  %101 = fadd float %98, %99
  %102 = fcmp uno float %100, %100
  br i1 %102, label %103, label %111, !prof !13

103:                                              ; preds = %71
  %104 = fcmp uno float %101, %101
  br i1 %104, label %105, label %111, !prof !13

105:                                              ; preds = %103
  %106 = call <2 x float> @__mulsc3(float noundef %80, float noundef %82, float noundef %92, float noundef %95) #6
  store <2 x float> %106, ptr %18, align 4
  %107 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %108 = load float, ptr %107, align 4
  %109 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  %110 = load float, ptr %109, align 4
  br label %111

111:                                              ; preds = %105, %103, %71
  %112 = phi float [ %100, %71 ], [ %100, %103 ], [ %108, %105 ]
  %113 = phi float [ %101, %71 ], [ %101, %103 ], [ %110, %105 ]
  %114 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %115 = load float, ptr %114, align 4
  %116 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  %117 = load float, ptr %116, align 4
  %118 = fadd float %115, %112
  %119 = fadd float %117, %113
  %120 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %121 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  store float %118, ptr %120, align 4
  store float %119, ptr %121, align 4
  br label %122

122:                                              ; preds = %111
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %17, align 4, !tbaa !9
  br label %67, !llvm.loop !14

125:                                              ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %126 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %127 = load float, ptr %126, align 4
  %128 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  %129 = load float, ptr %128, align 4
  %130 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %131 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  store float %127, ptr %130, align 4
  store float %129, ptr %131, align 4
  %132 = load <2 x float>, ptr %20, align 4
  %133 = call float @cargf(<2 x float> noundef %132) #6
  %134 = load i32, ptr %11, align 4, !tbaa !9
  %135 = uitofp i32 %134 to float
  %136 = fmul float %133, %135
  %137 = fpext float %136 to double
  %138 = fdiv double %137, 0x401921FB54442D18
  %139 = fptrunc double %138 to float
  store float %139, ptr %19, align 4, !tbaa !5
  %140 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %154

142:                                              ; preds = %125
  %143 = load float, ptr %9, align 4, !tbaa !5
  %144 = fpext float %143 to double
  %145 = load float, ptr %19, align 4, !tbaa !5
  %146 = fpext float %145 to double
  %147 = load float, ptr %9, align 4, !tbaa !5
  %148 = load float, ptr %19, align 4, !tbaa !5
  %149 = fsub float %147, %148
  %150 = fpext float %149 to double
  %151 = load float, ptr %10, align 4, !tbaa !5
  %152 = fpext float %151 to double
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %144, double noundef %146, double noundef %150, double noundef %152)
  br label %154

154:                                              ; preds = %142, %125
  %155 = load float, ptr %9, align 4, !tbaa !5
  %156 = load float, ptr %19, align 4, !tbaa !5
  %157 = fsub float %155, %156
  %158 = fpext float %157 to double
  %159 = load float, ptr %9, align 4, !tbaa !5
  %160 = load float, ptr %19, align 4, !tbaa !5
  %161 = fsub float %159, %160
  %162 = fpext float %161 to double
  %163 = load float, ptr %9, align 4, !tbaa !5
  %164 = load float, ptr %19, align 4, !tbaa !5
  %165 = fsub float %163, %164
  %166 = fpext float %165 to double
  %167 = load float, ptr %9, align 4, !tbaa !5
  %168 = load float, ptr %19, align 4, !tbaa !5
  %169 = fsub float %167, %168
  %170 = fpext float %169 to double
  %171 = call double @llvm.fmuladd.f64(double %158, double %162, double 0.000000e+00)
  %172 = call double @sqrt(double noundef %171) #6
  %173 = load float, ptr %10, align 4, !tbaa !5
  %174 = fpext float %173 to double
  %175 = fcmp ogt double %172, %174
  br i1 %175, label %188, label %176

176:                                              ; preds = %154
  %177 = load float, ptr %9, align 4, !tbaa !5
  %178 = call i1 @llvm.is.fpclass.f32(float %177, i32 3)
  br i1 %178, label %188, label %179

179:                                              ; preds = %176
  %180 = load float, ptr %9, align 4, !tbaa !5
  %181 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %181, label %188, label %182

182:                                              ; preds = %179
  %183 = load float, ptr %19, align 4, !tbaa !5
  %184 = call i1 @llvm.is.fpclass.f32(float %183, i32 3)
  br i1 %184, label %188, label %185

185:                                              ; preds = %182
  %186 = load float, ptr %19, align 4, !tbaa !5
  %187 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %187, label %188, label %209

188:                                              ; preds = %185, %182, %179, %176, %154
  %189 = load float, ptr %9, align 4, !tbaa !5
  %190 = load float, ptr %19, align 4, !tbaa !5
  %191 = fsub float %189, %190
  %192 = fpext float %191 to double
  %193 = load float, ptr %9, align 4, !tbaa !5
  %194 = load float, ptr %19, align 4, !tbaa !5
  %195 = fsub float %193, %194
  %196 = fpext float %195 to double
  %197 = load float, ptr %9, align 4, !tbaa !5
  %198 = load float, ptr %19, align 4, !tbaa !5
  %199 = fsub float %197, %198
  %200 = fpext float %199 to double
  %201 = load float, ptr %9, align 4, !tbaa !5
  %202 = load float, ptr %19, align 4, !tbaa !5
  %203 = fsub float %201, %202
  %204 = fpext float %203 to double
  %205 = call double @llvm.fmuladd.f64(double %192, double %196, double 0.000000e+00)
  %206 = call double @sqrt(double noundef %205) #6
  %207 = load float, ptr %10, align 4, !tbaa !5
  %208 = fpext float %207 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 76, ptr noundef @.str.2, double noundef %206, ptr noundef @.str.3, ptr noundef @.str.4, double noundef %208)
  br label %210

209:                                              ; preds = %185
  call void (...) @liquid_autotest_passed()
  br label %210

210:                                              ; preds = %209, %188
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  %211 = load ptr, ptr %12, align 8
  call void @llvm.stackrestore.p0(ptr %211)
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #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 @symstreamrcf_create_linear(i32 noundef, float noundef, i32 noundef, float noundef, i32 noundef) #2

declare float @symstreamrcf_get_delay(ptr noundef) #2

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #3

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

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

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

declare i32 @symstreamrcf_destroy(ptr noundef) #2

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

declare <2 x float> @__mulsc3(float, float, float, float)

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

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f32(float, i32 immarg) #5

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

declare void @liquid_autotest_passed(...) #2

; Function Attrs: nocallback nofree nosync nounwind 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 "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"branch_weights", i32 1, i32 1048575}
!14 = distinct !{!14, !15}
!15 = !{!"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"

@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [61 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @testbench_symstreamrcf_delay(float noundef %0, i32 noundef %1) local_unnamed_addr #0 {
  %3 = tail call ptr @symstreamrcf_create_linear(i32 noundef 7, float noundef %0, i32 noundef %1, float noundef 0x3FD3333340000000, i32 noundef 40) #7
  %4 = tail call float @symstreamrcf_get_delay(ptr noundef %3) #7
  %5 = tail call float @sqrtf(float noundef %0) #7
  %6 = fdiv float %4, %5
  %7 = fptoui float %6 to i32
  %8 = shl i32 %7, 1
  %9 = add i32 %8, 240
  %10 = zext i32 %9 to i64
  %11 = alloca { float, float }, i64 %10, align 16
  %12 = alloca { float, float }, i64 %10, align 16
  %13 = call i32 @symstreamrcf_write_samples(ptr noundef %3, ptr noundef nonnull %11, i32 noundef 1) #7
  %14 = call i32 @symstreamrcf_set_gain(ptr noundef %3, float noundef 0.000000e+00) #7
  %15 = getelementptr inbounds i8, ptr %11, i64 8
  %16 = add i32 %8, 239
  %17 = call i32 @symstreamrcf_write_samples(ptr noundef %3, ptr noundef nonnull %15, i32 noundef %16) #7
  %18 = call i32 @symstreamrcf_destroy(ptr noundef %3) #7
  %19 = call i32 @fft_run(i32 noundef %9, ptr noundef nonnull %11, ptr noundef nonnull %12, i32 noundef 1, i32 noundef 0) #7
  %20 = fpext float %0 to double
  %21 = fmul double %20, 4.000000e-01
  %22 = uitofp i32 %9 to double
  %23 = fmul double %21, %22
  %24 = fptoui double %23 to i32
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %2
  %26 = sub nsw i32 0, %24
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %60
  %.063 = phi i32 [ %63, %60 ], [ %26, %.lr.ph.preheader ]
  %27 = phi <2 x float> [ %62, %60 ], [ zeroinitializer, %.lr.ph.preheader ]
  %28 = add i32 %.063, %9
  %29 = urem i32 %28, %9
  %30 = zext i32 %29 to i64
  %31 = getelementptr inbounds { float, float }, ptr %12, i64 %30
  %32 = add i32 %28, 1
  %33 = urem i32 %32, %9
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds { float, float }, ptr %12, i64 %34
  %36 = load float, ptr %35, align 8
  %37 = getelementptr inbounds i8, ptr %35, i64 4
  %38 = load float, ptr %37, align 4
  %39 = fneg float %38
  %40 = load <2 x float>, ptr %31, align 8
  %41 = insertelement <2 x float> poison, float %36, i64 0
  %42 = shufflevector <2 x float> %41, <2 x float> poison, <2 x i32> zeroinitializer
  %43 = fmul <2 x float> %40, %42
  %44 = insertelement <2 x float> poison, float %38, i64 0
  %45 = shufflevector <2 x float> %44, <2 x float> poison, <2 x i32> zeroinitializer
  %46 = fmul <2 x float> %40, %45
  %47 = shufflevector <2 x float> %46, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %48 = fadd <2 x float> %43, %47
  %49 = fsub <2 x float> %43, %47
  %50 = shufflevector <2 x float> %48, <2 x float> %49, <2 x i32> <i32 0, i32 3>
  %51 = extractelement <2 x float> %48, i64 0
  %52 = fcmp uno float %51, 0.000000e+00
  br i1 %52, label %53, label %60, !prof !5

53:                                               ; preds = %.lr.ph
  %54 = extractelement <2 x float> %49, i64 1
  %55 = fcmp uno float %54, 0.000000e+00
  br i1 %55, label %56, label %60, !prof !5

56:                                               ; preds = %53
  %57 = extractelement <2 x float> %40, i64 0
  %58 = extractelement <2 x float> %40, i64 1
  %59 = call <2 x float> @__mulsc3(float noundef %57, float noundef %58, float noundef %36, float noundef %39) #7
  br label %60

60:                                               ; preds = %56, %53, %.lr.ph
  %61 = phi <2 x float> [ %50, %.lr.ph ], [ %50, %53 ], [ %59, %56 ]
  %62 = fadd <2 x float> %27, %61
  %63 = add i32 %.063, 1
  %exitcond.not = icmp eq i32 %63, %24
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !6

._crit_edge:                                      ; preds = %60, %2
  %64 = phi <2 x float> [ zeroinitializer, %2 ], [ %62, %60 ]
  %65 = call float @cargf(<2 x float> noundef %64) #7
  %66 = uitofp i32 %9 to float
  %67 = fmul float %65, %66
  %68 = fpext float %67 to double
  %69 = fdiv double %68, 0x401921FB54442D18
  %70 = fptrunc double %69 to float
  %71 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !8
  %.not = icmp eq i32 %71, 0
  br i1 %.not, label %._crit_edge._crit_edge, label %72

._crit_edge._crit_edge:                           ; preds = %._crit_edge
  %.pre = fsub float %4, %70
  %.pre68 = fpext float %.pre to double
  br label %78

72:                                               ; preds = %._crit_edge
  %73 = fpext float %4 to double
  %74 = fpext float %70 to double
  %75 = fsub float %4, %70
  %76 = fpext float %75 to double
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %73, double noundef %74, double noundef %76, double noundef 0x3FA99999A0000000)
  br label %78

78:                                               ; preds = %._crit_edge._crit_edge, %72
  %.pre-phi69 = phi double [ %.pre68, %._crit_edge._crit_edge ], [ %76, %72 ]
  %79 = call double @llvm.fmuladd.f64(double %.pre-phi69, double %.pre-phi69, double 0.000000e+00)
  %sqrt = call double @llvm.sqrt.f64(double %79)
  %80 = fcmp ogt double %sqrt, 0x3FA99999A0000000
  %81 = fcmp uno float %4, 0.000000e+00
  %or.cond = select i1 %80, i1 true, i1 %81
  %82 = fcmp uno float %70, 0.000000e+00
  %or.cond61 = select i1 %or.cond, i1 true, i1 %82
  br i1 %or.cond61, label %83, label %84

83:                                               ; preds = %78
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 76, ptr noundef nonnull @.str.2, double noundef %sqrt, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, double noundef 0x3FA99999A0000000) #7
  br label %85

84:                                               ; preds = %78
  call void (...) @liquid_autotest_passed() #7
  br label %85

85:                                               ; preds = %84, %83
  ret void
}

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

declare float @symstreamrcf_get_delay(ptr noundef) local_unnamed_addr #1

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

declare i32 @symstreamrcf_write_samples(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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

declare i32 @symstreamrcf_destroy(ptr noundef) local_unnamed_addr #1

declare i32 @fft_run(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

; Function Attrs: nounwind
declare float @cargf(<2 x float> noundef) local_unnamed_addr #3

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

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

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

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

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

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 = { "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 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!"branch_weights", i32 1, i32 1048575}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}


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