; LLVM IR from jgaeddert/liquid-dsp :: src/multichannel/src (firpfbch_crcf)

; 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 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [65 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @firpfbch_crcf_create(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #0

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) #1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @firpfbch_crcf_create_rnyquist(i32 noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  store i32 %0, ptr %7, align 4, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !5
  store float %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !5
  %21 = load i32, ptr %7, align 4, !tbaa !5
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %29

23:                                               ; preds = %5
  %24 = load i32, ptr %7, align 4, !tbaa !5
  %25 = icmp ne i32 %24, 1
  br i1 %25, label %26, label %29

26:                                               ; preds = %23
  %27 = load i32, ptr %7, align 4, !tbaa !5
  %28 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 191, ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef %27)
  store ptr %28, ptr %6, align 8
  br label %114

29:                                               ; preds = %23, %5
  %30 = load i32, ptr %8, align 4, !tbaa !5
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %34

32:                                               ; preds = %29
  %33 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 193, ptr noundef @.str.9, ptr noundef @.str.2)
  store ptr %33, ptr %6, align 8
  br label %114

34:                                               ; preds = %29
  %35 = load i32, ptr %9, align 4, !tbaa !5
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %39

37:                                               ; preds = %34
  %38 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 195, ptr noundef @.str.10, ptr noundef @.str.2)
  store ptr %38, ptr %6, align 8
  br label %114

39:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %40 = load i32, ptr %8, align 4, !tbaa !5
  %41 = mul i32 2, %40
  %42 = load i32, ptr %9, align 4, !tbaa !5
  %43 = mul i32 %41, %42
  %44 = add i32 %43, 1
  store i32 %44, ptr %12, align 4, !tbaa !5
  %45 = load i32, ptr %12, align 4, !tbaa !5
  %46 = zext i32 %45 to i64
  %47 = call ptr @llvm.stacksave.p0()
  store ptr %47, ptr %13, align 8
  %48 = alloca float, i64 %46, align 16
  store i64 %46, ptr %14, align 8
  %49 = load i32, ptr %11, align 4, !tbaa !5
  %50 = load i32, ptr %8, align 4, !tbaa !5
  %51 = load i32, ptr %9, align 4, !tbaa !5
  %52 = load float, ptr %10, align 4, !tbaa !9
  %53 = call i32 @liquid_firdes_prototype(i32 noundef %49, i32 noundef %50, i32 noundef %51, float noundef %52, float noundef 0.000000e+00, ptr noundef %48)
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %57

55:                                               ; preds = %39
  %56 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str, i32 noundef 201, ptr noundef @.str.11, ptr noundef @.str.2)
  store ptr %56, ptr %6, align 8
  store i32 1, ptr %15, align 4
  br label %112

57:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %58 = load i32, ptr %8, align 4, !tbaa !5
  %59 = mul i32 2, %58
  %60 = load i32, ptr %9, align 4, !tbaa !5
  %61 = mul i32 %59, %60
  store i32 %61, ptr %16, align 4, !tbaa !5
  %62 = load i32, ptr %16, align 4, !tbaa !5
  %63 = zext i32 %62 to i64
  %64 = alloca float, i64 %63, align 16
  store i64 %63, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %65 = load i32, ptr %7, align 4, !tbaa !5
  %66 = icmp eq i32 %65, 1
  br i1 %66, label %67, label %84

67:                                               ; preds = %57
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %68

68:                                               ; preds = %80, %67
  %69 = load i32, ptr %18, align 4, !tbaa !5
  %70 = load i32, ptr %16, align 4, !tbaa !5
  %71 = icmp ult i32 %69, %70
  br i1 %71, label %72, label %83

72:                                               ; preds = %68
  %73 = load i32, ptr %18, align 4, !tbaa !5
  %74 = zext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %48, i64 %74
  %76 = load float, ptr %75, align 4, !tbaa !9
  %77 = load i32, ptr %18, align 4, !tbaa !5
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds float, ptr %64, i64 %78
  store float %76, ptr %79, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %72
  %81 = load i32, ptr %18, align 4, !tbaa !5
  %82 = add i32 %81, 1
  store i32 %82, ptr %18, align 4, !tbaa !5
  br label %68, !llvm.loop !11

83:                                               ; preds = %68
  br label %104

84:                                               ; preds = %57
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %85

85:                                               ; preds = %100, %84
  %86 = load i32, ptr %18, align 4, !tbaa !5
  %87 = load i32, ptr %16, align 4, !tbaa !5
  %88 = icmp ult i32 %86, %87
  br i1 %88, label %89, label %103

89:                                               ; preds = %85
  %90 = load i32, ptr %16, align 4, !tbaa !5
  %91 = load i32, ptr %18, align 4, !tbaa !5
  %92 = sub i32 %90, %91
  %93 = sub i32 %92, 1
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds float, ptr %48, i64 %94
  %96 = load float, ptr %95, align 4, !tbaa !9
  %97 = load i32, ptr %18, align 4, !tbaa !5
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds float, ptr %64, i64 %98
  store float %96, ptr %99, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %89
  %101 = load i32, ptr %18, align 4, !tbaa !5
  %102 = add i32 %101, 1
  store i32 %102, ptr %18, align 4, !tbaa !5
  br label %85, !llvm.loop !13

103:                                              ; preds = %85
  br label %104

104:                                              ; preds = %103, %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %105 = load i32, ptr %9, align 4, !tbaa !5
  %106 = mul i32 2, %105
  store i32 %106, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %107 = load i32, ptr %7, align 4, !tbaa !5
  %108 = load i32, ptr %8, align 4, !tbaa !5
  %109 = load i32, ptr %19, align 4, !tbaa !5
  %110 = call ptr @firpfbch_crcf_create(i32 noundef %107, i32 noundef %108, i32 noundef %109, ptr noundef %64)
  store ptr %110, ptr %20, align 8, !tbaa !14
  %111 = load ptr, ptr %20, align 8, !tbaa !14
  store ptr %111, ptr %6, align 8
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %112

112:                                              ; preds = %104, %55
  %113 = load ptr, ptr %13, align 8
  call void @llvm.stackrestore.p0(ptr %113)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %114

114:                                              ; preds = %112, %37, %32, %26
  %115 = load ptr, ptr %6, align 8
  ret ptr %115
}

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}


; 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 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [65 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @firpfbch_crcf_create(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @firpfbch_crcf_create_rnyquist(i32 noundef %0, i32 noundef %1, i32 noundef %2, float noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %or.cond = icmp ugt i32 %0, 1
  br i1 %or.cond, label %6, label %8

6:                                                ; preds = %5
  %7 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 191, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef %0) #4
  br label %87

8:                                                ; preds = %5
  %9 = icmp eq i32 %1, 0
  br i1 %9, label %10, label %12

10:                                               ; preds = %8
  %11 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 193, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2) #4
  br label %87

12:                                               ; preds = %8
  %13 = icmp eq i32 %2, 0
  br i1 %13, label %14, label %16

14:                                               ; preds = %12
  %15 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 195, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2) #4
  br label %87

16:                                               ; preds = %12
  %17 = shl i32 %1, 1
  %18 = mul i32 %17, %2
  %19 = or disjoint i32 %18, 1
  %20 = zext i32 %19 to i64
  %21 = tail call ptr @llvm.stacksave.p0()
  %22 = alloca float, i64 %20, align 16
  %23 = call i32 @liquid_firdes_prototype(i32 noundef %4, i32 noundef %1, i32 noundef %2, float noundef %3, float noundef 0.000000e+00, ptr noundef nonnull %22) #4
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %26, label %24

24:                                               ; preds = %16
  %25 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str, i32 noundef 201, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.2) #4
  br label %86

26:                                               ; preds = %16
  %27 = zext i32 %18 to i64
  %28 = alloca float, i64 %27, align 16
  %29 = icmp eq i32 %0, 1
  %.not46 = icmp eq i32 %18, 0
  br i1 %29, label %.preheader, label %.preheader40

.preheader40:                                     ; preds = %26
  br i1 %.not46, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader40
  %min.iters.check = icmp ult i32 %18, 16
  br i1 %min.iters.check, label %.lr.ph.preheader54, label %vector.scevcheck

.lr.ph.preheader54:                               ; preds = %middle.block, %vector.scevcheck, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %vector.scevcheck ], [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %27, 2
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader54, %.lr.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.lr.ph.prol ], [ %indvars.iv.ph, %.lr.ph.preheader54 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader54 ]
  %30 = trunc nuw i64 %indvars.iv.prol to i32
  %31 = xor i32 %30, -1
  %32 = add i32 %18, %31
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds float, ptr %22, i64 %33
  %35 = load float, ptr %34, align 4, !tbaa !5
  %36 = getelementptr inbounds float, ptr %28, i64 %indvars.iv.prol
  store float %35, ptr %36, align 4, !tbaa !5
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !9

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader54
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader54 ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %37 = sub nsw i64 %indvars.iv.ph, %27
  %38 = icmp ugt i64 %37, -4
  br i1 %38, label %.loopexit, label %.lr.ph

vector.scevcheck:                                 ; preds = %.lr.ph.preheader
  %39 = add nsw i64 %27, -1
  %40 = add i32 %18, -1
  %41 = trunc i64 %39 to i32
  %42 = icmp ult i32 %40, %41
  %43 = icmp ugt i64 %39, 4294967295
  %44 = or i1 %42, %43
  br i1 %44, label %.lr.ph.preheader54, label %vector.ph

vector.ph:                                        ; preds = %vector.scevcheck
  %n.vec = and i64 %27, 4294967288
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %45 = trunc i64 %index to i32
  %46 = xor i32 %45, -1
  %47 = add i32 %18, %46
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds float, ptr %22, i64 %48
  %50 = getelementptr inbounds i8, ptr %49, i64 -12
  %51 = getelementptr inbounds i8, ptr %49, i64 -28
  %wide.load = load <4 x float>, ptr %50, align 4, !tbaa !5
  %reverse = shufflevector <4 x float> %wide.load, <4 x float> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
  %wide.load52 = load <4 x float>, ptr %51, align 4, !tbaa !5
  %reverse53 = shufflevector <4 x float> %wide.load52, <4 x float> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
  %52 = getelementptr inbounds float, ptr %28, i64 %index
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  store <4 x float> %reverse, ptr %52, align 16, !tbaa !5
  store <4 x float> %reverse53, ptr %53, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %54 = icmp eq i64 %index.next, %n.vec
  br i1 %54, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %27
  br i1 %cmp.n, label %.loopexit, label %.lr.ph.preheader54

.preheader:                                       ; preds = %26
  br i1 %.not46, label %.loopexit, label %.lr.ph44.preheader

.lr.ph44.preheader:                               ; preds = %.preheader
  %55 = shl nuw nsw i64 %27, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %28, ptr nonnull align 16 %22, i64 %55, i1 false), !tbaa !5
  br label %.loopexit

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %56 = trunc nuw i64 %indvars.iv to i32
  %57 = xor i32 %56, -1
  %58 = add i32 %18, %57
  %59 = zext i32 %58 to i64
  %60 = getelementptr inbounds float, ptr %22, i64 %59
  %61 = load float, ptr %60, align 4, !tbaa !5
  %62 = getelementptr inbounds float, ptr %28, i64 %indvars.iv
  store float %61, ptr %62, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %63 = trunc nuw i64 %indvars.iv.next to i32
  %64 = xor i32 %63, -1
  %65 = add i32 %18, %64
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds float, ptr %22, i64 %66
  %68 = load float, ptr %67, align 4, !tbaa !5
  %69 = getelementptr inbounds float, ptr %28, i64 %indvars.iv.next
  store float %68, ptr %69, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %70 = trunc nuw i64 %indvars.iv.next.1 to i32
  %71 = xor i32 %70, -1
  %72 = add i32 %18, %71
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds float, ptr %22, i64 %73
  %75 = load float, ptr %74, align 4, !tbaa !5
  %76 = getelementptr inbounds float, ptr %28, i64 %indvars.iv.next.1
  store float %75, ptr %76, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %77 = trunc nuw i64 %indvars.iv.next.2 to i32
  %78 = xor i32 %77, -1
  %79 = add i32 %18, %78
  %80 = zext i32 %79 to i64
  %81 = getelementptr inbounds float, ptr %22, i64 %80
  %82 = load float, ptr %81, align 4, !tbaa !5
  %83 = getelementptr inbounds float, ptr %28, i64 %indvars.iv.next.2
  store float %82, ptr %83, align 4, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %27
  br i1 %exitcond.not.3, label %.loopexit, label %.lr.ph, !llvm.loop !15

.loopexit:                                        ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %.lr.ph44.preheader, %.preheader40, %.preheader
  %84 = shl i32 %2, 1
  %85 = call ptr @firpfbch_crcf_create(i32 noundef %0, i32 noundef %1, i32 noundef %84, ptr noundef nonnull %28)
  br label %86

86:                                               ; preds = %.loopexit, %24
  %.0 = phi ptr [ %25, %24 ], [ %85, %.loopexit ]
  call void @llvm.stackrestore.p0(ptr %21)
  br label %87

87:                                               ; preds = %86, %14, %10, %6
  %.1 = phi ptr [ %7, %6 ], [ %11, %10 ], [ %15, %14 ], [ %.0, %86 ]
  ret ptr %.1
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 willreturn }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass