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

@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 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

declare ptr @nco_crcf_create(i32 noundef) #1

declare i32 @nco_crcf_set_phase(ptr noundef, float noundef) #1

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

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

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

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

declare void @liquid_autotest_passed(...) #1

declare i32 @nco_crcf_destroy(ptr noundef) #1

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

declare i32 @nco_crcf_sincos(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @nco_crcf_set_frequency(ptr noundef, float noundef) #1

declare i32 @nco_crcf_step(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_nco_mixing() #4 {
  %1 = alloca float, align 4
  %2 = alloca float, align 4
  %3 = alloca float, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca { float, float }, align 4
  %9 = alloca { float, float }, align 4
  %10 = alloca { float, float }, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store float 0x3FB99999A0000000, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store float 0x400921FB60000000, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store float 0x3FA99999A0000000, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %11 = call ptr @nco_crcf_create(i32 noundef 0)
  store ptr %11, ptr %4, align 8, !tbaa !9
  %12 = load ptr, ptr %4, align 8, !tbaa !9
  %13 = load float, ptr %1, align 4, !tbaa !5
  %14 = call i32 @nco_crcf_set_frequency(ptr noundef %12, float noundef %13)
  %15 = load ptr, ptr %4, align 8, !tbaa !9
  %16 = load float, ptr %2, align 4, !tbaa !5
  %17 = call i32 @nco_crcf_set_phase(ptr noundef %15, float noundef %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %5, align 4, !tbaa !11
  br label %18

18:                                               ; preds = %194, %0
  %19 = load i32, ptr %5, align 4, !tbaa !11
  %20 = icmp ult i32 %19, 64
  br i1 %20, label %21, label %197

21:                                               ; preds = %18
  %22 = load ptr, ptr %4, align 8, !tbaa !9
  %23 = call i32 @nco_crcf_sincos(ptr noundef %22, ptr noundef %7, ptr noundef %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %24 = load float, ptr %6, align 4, !tbaa !5
  %25 = load float, ptr %7, align 4, !tbaa !5
  %26 = fmul float 0.000000e+00, %25
  %27 = fmul float 1.000000e+00, %25
  %28 = fadd float %24, %26
  %29 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %30 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  store float %28, ptr %29, align 4
  store float %27, ptr %30, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %31 = load ptr, ptr %4, align 8, !tbaa !9
  %32 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %33 = load float, ptr %32, align 4
  %34 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  %35 = load float, ptr %34, align 4
  %36 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %37 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  store float %33, ptr %36, align 4
  store float %35, ptr %37, align 4
  %38 = load <2 x float>, ptr %10, align 4
  %39 = call i32 @nco_crcf_mix_down(ptr noundef %31, <2 x float> noundef %38, ptr noundef %9)
  %40 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %41 = load float, ptr %40, align 4
  %42 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %43 = load float, ptr %42, align 4
  %44 = fsub float %41, 1.000000e+00
  %45 = fpext float %44 to double
  %46 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %47 = load float, ptr %46, align 4
  %48 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %49 = load float, ptr %48, align 4
  %50 = fsub float %47, 1.000000e+00
  %51 = fpext float %50 to double
  %52 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %53 = load float, ptr %52, align 4
  %54 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %55 = load float, ptr %54, align 4
  %56 = fsub float %53, 1.000000e+00
  %57 = fpext float %56 to double
  %58 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %59 = load float, ptr %58, align 4
  %60 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %61 = load float, ptr %60, align 4
  %62 = fsub float %59, 1.000000e+00
  %63 = fpext float %62 to double
  %64 = call double @llvm.fmuladd.f64(double %45, double %51, double 0.000000e+00)
  %65 = call double @sqrt(double noundef %64) #5
  %66 = load float, ptr %3, align 4, !tbaa !5
  %67 = fpext float %66 to double
  %68 = fcmp ogt double %65, %67
  br i1 %68, label %85, label %69

69:                                               ; preds = %21
  %70 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %71 = load float, ptr %70, align 4
  %72 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %73 = load float, ptr %72, align 4
  %74 = call i1 @llvm.is.fpclass.f32(float %71, i32 3)
  br i1 %74, label %85, label %75

75:                                               ; preds = %69
  %76 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %77 = load float, ptr %76, align 4
  %78 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %79 = load float, ptr %78, align 4
  %80 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %80, label %85, label %81

81:                                               ; preds = %75
  %82 = call i1 @llvm.is.fpclass.f32(float 1.000000e+00, i32 3)
  br i1 %82, label %85, label %83

83:                                               ; preds = %81
  %84 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %84, label %85, label %114

85:                                               ; preds = %83, %81, %75, %69, %21
  %86 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %87 = load float, ptr %86, align 4
  %88 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %89 = load float, ptr %88, align 4
  %90 = fsub float %87, 1.000000e+00
  %91 = fpext float %90 to double
  %92 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %93 = load float, ptr %92, align 4
  %94 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %95 = load float, ptr %94, align 4
  %96 = fsub float %93, 1.000000e+00
  %97 = fpext float %96 to double
  %98 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %99 = load float, ptr %98, align 4
  %100 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %101 = load float, ptr %100, align 4
  %102 = fsub float %99, 1.000000e+00
  %103 = fpext float %102 to double
  %104 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %105 = load float, ptr %104, align 4
  %106 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %107 = load float, ptr %106, align 4
  %108 = fsub float %105, 1.000000e+00
  %109 = fpext float %108 to double
  %110 = call double @llvm.fmuladd.f64(double %91, double %97, double 0.000000e+00)
  %111 = call double @sqrt(double noundef %110) #5
  %112 = load float, ptr %3, align 4, !tbaa !5
  %113 = fpext float %112 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 171, ptr noundef @.str.17, double noundef %111, ptr noundef @.str.3, ptr noundef @.str.7, double noundef %113)
  br label %115

114:                                              ; preds = %83
  call void (...) @liquid_autotest_passed()
  br label %115

115:                                              ; preds = %114, %85
  %116 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %117 = load float, ptr %116, align 4
  %118 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %119 = load float, ptr %118, align 4
  %120 = fsub float %119, 0.000000e+00
  %121 = fpext float %120 to double
  %122 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %123 = load float, ptr %122, align 4
  %124 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %125 = load float, ptr %124, align 4
  %126 = fsub float %125, 0.000000e+00
  %127 = fpext float %126 to double
  %128 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %129 = load float, ptr %128, align 4
  %130 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %131 = load float, ptr %130, align 4
  %132 = fsub float %131, 0.000000e+00
  %133 = fpext float %132 to double
  %134 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %135 = load float, ptr %134, align 4
  %136 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %137 = load float, ptr %136, align 4
  %138 = fsub float %137, 0.000000e+00
  %139 = fpext float %138 to double
  %140 = call double @llvm.fmuladd.f64(double %121, double %127, double 0.000000e+00)
  %141 = call double @sqrt(double noundef %140) #5
  %142 = load float, ptr %3, align 4, !tbaa !5
  %143 = fpext float %142 to double
  %144 = fcmp ogt double %141, %143
  br i1 %144, label %161, label %145

145:                                              ; preds = %115
  %146 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %147 = load float, ptr %146, align 4
  %148 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %149 = load float, ptr %148, align 4
  %150 = call i1 @llvm.is.fpclass.f32(float %149, i32 3)
  br i1 %150, label %161, label %151

151:                                              ; preds = %145
  %152 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %153 = load float, ptr %152, align 4
  %154 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %155 = load float, ptr %154, align 4
  %156 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %156, label %161, label %157

157:                                              ; preds = %151
  %158 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %158, label %161, label %159

159:                                              ; preds = %157
  %160 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %160, label %161, label %190

161:                                              ; preds = %159, %157, %151, %145, %115
  %162 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %163 = load float, ptr %162, align 4
  %164 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %165 = load float, ptr %164, align 4
  %166 = fsub float %165, 0.000000e+00
  %167 = fpext float %166 to double
  %168 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %169 = load float, ptr %168, align 4
  %170 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %171 = load float, ptr %170, align 4
  %172 = fsub float %171, 0.000000e+00
  %173 = fpext float %172 to double
  %174 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %175 = load float, ptr %174, align 4
  %176 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %177 = load float, ptr %176, align 4
  %178 = fsub float %177, 0.000000e+00
  %179 = fpext float %178 to double
  %180 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %181 = load float, ptr %180, align 4
  %182 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %183 = load float, ptr %182, align 4
  %184 = fsub float %183, 0.000000e+00
  %185 = fpext float %184 to double
  %186 = call double @llvm.fmuladd.f64(double %167, double %173, double 0.000000e+00)
  %187 = call double @sqrt(double noundef %186) #5
  %188 = load float, ptr %3, align 4, !tbaa !5
  %189 = fpext float %188 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 172, ptr noundef @.str.18, double noundef %187, ptr noundef @.str.3, ptr noundef @.str.7, double noundef %189)
  br label %191

190:                                              ; preds = %159
  call void (...) @liquid_autotest_passed()
  br label %191

191:                                              ; preds = %190, %161
  %192 = load ptr, ptr %4, align 8, !tbaa !9
  %193 = call i32 @nco_crcf_step(ptr noundef %192)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %194

194:                                              ; preds = %191
  %195 = load i32, ptr %5, align 4, !tbaa !11
  %196 = add i32 %195, 1
  store i32 %196, ptr %5, align 4, !tbaa !11
  br label %18, !llvm.loop !13

197:                                              ; preds = %18
  %198 = load ptr, ptr %4, align 8, !tbaa !9
  %199 = call i32 @nco_crcf_destroy(ptr noundef %198)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
}

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

attributes #0 = { 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 "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 speculatable willreturn memory(none) }
attributes #4 = { 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 #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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !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"

@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [35 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 @nco_crcf_create(i32 noundef) local_unnamed_addr #1

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

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

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

declare i32 @nco_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

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

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

declare i32 @nco_crcf_step(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_nco_mixing() local_unnamed_addr #3 {
  %1 = alloca float, align 4
  %2 = alloca float, align 4
  %3 = alloca { float, float }, align 4
  %4 = tail call ptr @nco_crcf_create(i32 noundef 0) #5
  %5 = tail call i32 @nco_crcf_set_frequency(ptr noundef %4, float noundef 0x3FB99999A0000000) #5
  %6 = tail call i32 @nco_crcf_set_phase(ptr noundef %4, float noundef 0x400921FB60000000) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %7 = getelementptr inbounds i8, ptr %3, i64 4
  br label %8

8:                                                ; preds = %0, %31
  %.021 = phi i32 [ 0, %0 ], [ %33, %31 ]
  %9 = call i32 @nco_crcf_sincos(ptr noundef %4, ptr noundef nonnull %2, ptr noundef nonnull %1) #5
  %10 = load float, ptr %1, align 4, !tbaa !5
  %11 = load float, ptr %2, align 4, !tbaa !5
  %12 = fmul float %11, 0.000000e+00
  %13 = fadd float %10, %12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %.sroa.0.0.vec.insert = insertelement <2 x float> poison, float %13, i64 0
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0.vec.insert, float %11, i64 1
  %14 = call i32 @nco_crcf_mix_down(ptr noundef %4, <2 x float> noundef %.sroa.0.4.vec.insert, ptr noundef nonnull %3) #5
  %15 = load float, ptr %3, align 4
  %16 = fadd float %15, -1.000000e+00
  %17 = fpext float %16 to double
  %18 = call double @llvm.fmuladd.f64(double %17, double %17, double 0.000000e+00)
  %sqrt = call double @llvm.sqrt.f64(double %18)
  %19 = fcmp ogt double %sqrt, 0x3FA99999A0000000
  %20 = fcmp uno float %15, 0.000000e+00
  %or.cond = select i1 %19, i1 true, i1 %20
  br i1 %or.cond, label %21, label %22

21:                                               ; preds = %8
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 171, ptr noundef nonnull @.str.17, double noundef %sqrt, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.7, double noundef 0x3FA99999A0000000) #5
  br label %23

22:                                               ; preds = %8
  call void (...) @liquid_autotest_passed() #5
  br label %23

23:                                               ; preds = %22, %21
  %24 = load float, ptr %7, align 4
  %25 = fpext float %24 to double
  %26 = call double @llvm.fmuladd.f64(double %25, double %25, double 0.000000e+00)
  %sqrt19 = call double @llvm.sqrt.f64(double %26)
  %27 = fcmp ogt double %sqrt19, 0x3FA99999A0000000
  %28 = fcmp uno float %24, 0.000000e+00
  %or.cond17 = select i1 %27, i1 true, i1 %28
  br i1 %or.cond17, label %29, label %30

29:                                               ; preds = %23
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 172, ptr noundef nonnull @.str.18, double noundef %sqrt19, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.7, double noundef 0x3FA99999A0000000) #5
  br label %31

30:                                               ; preds = %23
  call void (...) @liquid_autotest_passed() #5
  br label %31

31:                                               ; preds = %30, %29
  %32 = call i32 @nco_crcf_step(ptr noundef %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %33 = add nuw nsw i32 %.021, 1
  %exitcond.not = icmp eq i32 %33, 64
  br i1 %exitcond.not, label %34, label %8, !llvm.loop !9

34:                                               ; preds = %31
  %35 = call i32 @nco_crcf_destroy(ptr noundef %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret void
}

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

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

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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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