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

; 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 void @liquid_autotest_passed(...) #2

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

declare i32 @firdecim_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 @autotest_firdecim_block() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca float, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca { float, float }, align 4
  %12 = alloca { float, float }, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 4, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 12, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store float 0x3FD3333340000000, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = add i32 10, %13
  store i32 %14, ptr %4, align 4, !tbaa !5
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = mul i32 %15, %16
  %18 = zext i32 %17 to i64
  %19 = call ptr @llvm.stacksave.p0()
  store ptr %19, ptr %5, align 8
  %20 = alloca { float, float }, i64 %18, align 16
  store i64 %18, ptr %6, align 8
  %21 = load i32, ptr %4, align 4, !tbaa !5
  %22 = zext i32 %21 to i64
  %23 = alloca { float, float }, i64 %22, align 16
  store i64 %22, ptr %7, align 8
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = zext i32 %24 to i64
  %26 = alloca { float, float }, i64 %25, align 16
  store i64 %25, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %27 = load i32, ptr %1, align 4, !tbaa !5
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = load float, ptr %3, align 4, !tbaa !9
  %30 = call ptr @firdecim_crcf_create_prototype(i32 noundef 7, i32 noundef %27, i32 noundef %28, float noundef %29, float noundef 0.000000e+00)
  store ptr %30, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %70, %0
  %32 = load i32, ptr %10, align 4, !tbaa !5
  %33 = load i32, ptr %1, align 4, !tbaa !5
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = mul i32 %33, %34
  %36 = icmp ult i32 %32, %35
  br i1 %36, label %37, label %73

37:                                               ; preds = %31
  %38 = load i32, ptr %10, align 4, !tbaa !5
  %39 = uitofp i32 %38 to float
  %40 = load i32, ptr %10, align 4, !tbaa !5
  %41 = uitofp i32 %40 to float
  %42 = fmul float 0x3EE4F8B580000000, %41
  %43 = load i32, ptr %10, align 4, !tbaa !5
  %44 = uitofp i32 %43 to float
  %45 = fmul float %42, %44
  %46 = call float @llvm.fmuladd.f32(float 0x3FC99999A0000000, float %39, float %45)
  %47 = fpext float %46 to double
  %48 = load i32, ptr %10, align 4, !tbaa !5
  %49 = uitofp i32 %48 to float
  %50 = call float @cosf(float noundef %49) #6
  %51 = fpext float %50 to double
  %52 = call double @llvm.fmuladd.f64(double 1.000000e-01, double %51, double %47)
  %53 = fmul double 0.000000e+00, %52
  %54 = fmul double 1.000000e+00, %52
  %55 = fptrunc double %53 to float
  %56 = fptrunc double %54 to float
  %57 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 0
  %58 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 1
  store float %55, ptr %57, align 4
  store float %56, ptr %58, align 4
  %59 = load <2 x float>, ptr %11, align 4
  %60 = call <2 x float> @cexpf(<2 x float> noundef %59) #6
  store <2 x float> %60, ptr %12, align 4
  %61 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %62 = load float, ptr %61, align 4
  %63 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  %64 = load float, ptr %63, align 4
  %65 = load i32, ptr %10, align 4, !tbaa !5
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds { float, float }, ptr %20, i64 %66
  %68 = getelementptr inbounds { float, float }, ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds { float, float }, ptr %67, i32 0, i32 1
  store float %62, ptr %68, align 8
  store float %64, ptr %69, align 4
  br label %70

70:                                               ; preds = %37
  %71 = load i32, ptr %10, align 4, !tbaa !5
  %72 = add i32 %71, 1
  store i32 %72, ptr %10, align 4, !tbaa !5
  br label %31, !llvm.loop !13

73:                                               ; preds = %31
  %74 = load ptr, ptr %9, align 8, !tbaa !11
  %75 = call i32 @firdecim_crcf_reset(ptr noundef %74)
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %91, %73
  %77 = load i32, ptr %10, align 4, !tbaa !5
  %78 = load i32, ptr %4, align 4, !tbaa !5
  %79 = icmp ult i32 %77, %78
  br i1 %79, label %80, label %94

80:                                               ; preds = %76
  %81 = load ptr, ptr %9, align 8, !tbaa !11
  %82 = load i32, ptr %10, align 4, !tbaa !5
  %83 = load i32, ptr %1, align 4, !tbaa !5
  %84 = mul i32 %82, %83
  %85 = zext i32 %84 to i64
  %86 = getelementptr inbounds { float, float }, ptr %20, i64 %85
  %87 = load i32, ptr %10, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds { float, float }, ptr %23, i64 %88
  %90 = call i32 @firdecim_crcf_execute(ptr noundef %81, ptr noundef %86, ptr noundef %89)
  br label %91

91:                                               ; preds = %80
  %92 = load i32, ptr %10, align 4, !tbaa !5
  %93 = add i32 %92, 1
  store i32 %93, ptr %10, align 4, !tbaa !5
  br label %76, !llvm.loop !15

94:                                               ; preds = %76
  %95 = load ptr, ptr %9, align 8, !tbaa !11
  %96 = call i32 @firdecim_crcf_reset(ptr noundef %95)
  %97 = load ptr, ptr %9, align 8, !tbaa !11
  %98 = load i32, ptr %4, align 4, !tbaa !5
  %99 = call i32 @firdecim_crcf_execute_block(ptr noundef %97, ptr noundef %20, i32 noundef %98, ptr noundef %26)
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = call i32 @liquid_autotest_same_data(ptr noundef %23, ptr noundef %26, i32 noundef %100)
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %110, label %103

103:                                              ; preds = %94
  call void @liquid_autotest_failed_msg(ptr noundef @.str.1, i32 noundef 99, ptr noundef @.str.20)
  %104 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %109

106:                                              ; preds = %103
  %107 = load i32, ptr %4, align 4, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %23, i32 noundef %107)
  %108 = load i32, ptr %4, align 4, !tbaa !5
  call void @liquid_autotest_print_array(ptr noundef %26, i32 noundef %108)
  br label %109

109:                                              ; preds = %106, %103
  br label %111

110:                                              ; preds = %94
  call void (...) @liquid_autotest_passed()
  br label %111

111:                                              ; preds = %110, %109
  %112 = load ptr, ptr %9, align 8, !tbaa !11
  %113 = call i32 @firdecim_crcf_destroy(ptr noundef %112)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %114 = load ptr, ptr %5, align 8
  call void @llvm.stackrestore.p0(ptr %114)
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void
}

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

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

; Function Attrs: nounwind
declare float @cosf(float noundef) #4

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

declare i32 @firdecim_crcf_reset(ptr noundef) #2

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

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

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

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) #2

declare void @liquid_autotest_print_array(ptr noundef, i32 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 = { 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 = !{!"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 = distinct !{!15, !14}


; 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 [91 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [40 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4

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

declare ptr @firdecim_crcf_create_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #0

declare i32 @firdecim_crcf_destroy(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @autotest_firdecim_block() local_unnamed_addr #1 {
  %1 = alloca [88 x { float, float }], align 16
  %2 = alloca [22 x { float, float }], align 16
  %3 = alloca [22 x { float, float }], align 16
  %4 = tail call ptr @firdecim_crcf_create_prototype(i32 noundef 7, i32 noundef 4, i32 noundef 12, float noundef 0x3FD3333340000000, float noundef 0.000000e+00) #5
  br label %5

5:                                                ; preds = %0, %5
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %5 ]
  %6 = trunc nuw nsw i64 %indvars.iv to i32
  %7 = uitofp nneg i32 %6 to float
  %8 = fmul float %7, 0x3EE4F8B580000000
  %9 = fmul float %8, %7
  %10 = tail call float @llvm.fmuladd.f32(float %7, float 0x3FC99999A0000000, float %9)
  %11 = fpext float %10 to double
  %12 = tail call float @cosf(float noundef %7) #5
  %13 = fpext float %12 to double
  %14 = tail call double @llvm.fmuladd.f64(double %13, double 1.000000e-01, double %11)
  %15 = fmul double %14, 0.000000e+00
  %16 = insertelement <2 x double> poison, double %15, i64 0
  %17 = insertelement <2 x double> %16, double %14, i64 1
  %18 = fptrunc <2 x double> %17 to <2 x float>
  %19 = tail call <2 x float> @cexpf(<2 x float> noundef %18) #5
  %20 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv
  store <2 x float> %19, ptr %20, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 88
  br i1 %exitcond.not, label %21, label %5, !llvm.loop !5

21:                                               ; preds = %5
  %22 = tail call i32 @firdecim_crcf_reset(ptr noundef %4) #5
  %23 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %1, ptr noundef nonnull %2) #5
  %24 = getelementptr inbounds i8, ptr %1, i64 32
  %25 = getelementptr inbounds i8, ptr %2, i64 8
  %26 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %24, ptr noundef nonnull %25) #5
  %27 = getelementptr inbounds i8, ptr %1, i64 64
  %28 = getelementptr inbounds i8, ptr %2, i64 16
  %29 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %27, ptr noundef nonnull %28) #5
  %30 = getelementptr inbounds i8, ptr %1, i64 96
  %31 = getelementptr inbounds i8, ptr %2, i64 24
  %32 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %30, ptr noundef nonnull %31) #5
  %33 = getelementptr inbounds i8, ptr %1, i64 128
  %34 = getelementptr inbounds i8, ptr %2, i64 32
  %35 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %33, ptr noundef nonnull %34) #5
  %36 = getelementptr inbounds i8, ptr %1, i64 160
  %37 = getelementptr inbounds i8, ptr %2, i64 40
  %38 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %36, ptr noundef nonnull %37) #5
  %39 = getelementptr inbounds i8, ptr %1, i64 192
  %40 = getelementptr inbounds i8, ptr %2, i64 48
  %41 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %39, ptr noundef nonnull %40) #5
  %42 = getelementptr inbounds i8, ptr %1, i64 224
  %43 = getelementptr inbounds i8, ptr %2, i64 56
  %44 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %42, ptr noundef nonnull %43) #5
  %45 = getelementptr inbounds i8, ptr %1, i64 256
  %46 = getelementptr inbounds i8, ptr %2, i64 64
  %47 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %45, ptr noundef nonnull %46) #5
  %48 = getelementptr inbounds i8, ptr %1, i64 288
  %49 = getelementptr inbounds i8, ptr %2, i64 72
  %50 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %48, ptr noundef nonnull %49) #5
  %51 = getelementptr inbounds i8, ptr %1, i64 320
  %52 = getelementptr inbounds i8, ptr %2, i64 80
  %53 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %51, ptr noundef nonnull %52) #5
  %54 = getelementptr inbounds i8, ptr %1, i64 352
  %55 = getelementptr inbounds i8, ptr %2, i64 88
  %56 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %54, ptr noundef nonnull %55) #5
  %57 = getelementptr inbounds i8, ptr %1, i64 384
  %58 = getelementptr inbounds i8, ptr %2, i64 96
  %59 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %57, ptr noundef nonnull %58) #5
  %60 = getelementptr inbounds i8, ptr %1, i64 416
  %61 = getelementptr inbounds i8, ptr %2, i64 104
  %62 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %60, ptr noundef nonnull %61) #5
  %63 = getelementptr inbounds i8, ptr %1, i64 448
  %64 = getelementptr inbounds i8, ptr %2, i64 112
  %65 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %63, ptr noundef nonnull %64) #5
  %66 = getelementptr inbounds i8, ptr %1, i64 480
  %67 = getelementptr inbounds i8, ptr %2, i64 120
  %68 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %66, ptr noundef nonnull %67) #5
  %69 = getelementptr inbounds i8, ptr %1, i64 512
  %70 = getelementptr inbounds i8, ptr %2, i64 128
  %71 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %69, ptr noundef nonnull %70) #5
  %72 = getelementptr inbounds i8, ptr %1, i64 544
  %73 = getelementptr inbounds i8, ptr %2, i64 136
  %74 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %72, ptr noundef nonnull %73) #5
  %75 = getelementptr inbounds i8, ptr %1, i64 576
  %76 = getelementptr inbounds i8, ptr %2, i64 144
  %77 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %75, ptr noundef nonnull %76) #5
  %78 = getelementptr inbounds i8, ptr %1, i64 608
  %79 = getelementptr inbounds i8, ptr %2, i64 152
  %80 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %78, ptr noundef nonnull %79) #5
  %81 = getelementptr inbounds i8, ptr %1, i64 640
  %82 = getelementptr inbounds i8, ptr %2, i64 160
  %83 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %81, ptr noundef nonnull %82) #5
  %84 = getelementptr inbounds i8, ptr %1, i64 672
  %85 = getelementptr inbounds i8, ptr %2, i64 168
  %86 = call i32 @firdecim_crcf_execute(ptr noundef %4, ptr noundef nonnull %84, ptr noundef nonnull %85) #5
  %87 = call i32 @firdecim_crcf_reset(ptr noundef %4) #5
  %88 = call i32 @firdecim_crcf_execute_block(ptr noundef %4, ptr noundef nonnull %1, i32 noundef 22, ptr noundef nonnull %3) #5
  %89 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %2, ptr noundef nonnull %3, i32 noundef 22) #5
  %.not = icmp eq i32 %89, 0
  br i1 %.not, label %90, label %93

90:                                               ; preds = %21
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.1, i32 noundef 99, ptr noundef nonnull @.str.20) #5
  %91 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !7
  %.not34 = icmp eq i32 %91, 0
  br i1 %.not34, label %94, label %92

92:                                               ; preds = %90
  call void @liquid_autotest_print_array(ptr noundef nonnull %2, i32 noundef 22) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %3, i32 noundef 22) #5
  br label %94

93:                                               ; preds = %21
  call void (...) @liquid_autotest_passed() #5
  br label %94

94:                                               ; preds = %90, %92, %93
  %95 = call i32 @firdecim_crcf_destroy(ptr noundef %4) #5
  ret void
}

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

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

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

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

declare i32 @firdecim_crcf_reset(ptr noundef) local_unnamed_addr #0

declare i32 @firdecim_crcf_execute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @firdecim_crcf_execute_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare i32 @liquid_autotest_same_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) local_unnamed_addr #0

attributes #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 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}


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