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

%struct.resamp2_crcf_s = type { ptr, i32, i32, float, float, ptr, ptr, i32, ptr, ptr, float, i32 }

; 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 memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare float @kaiser_beta_As(float noundef) #1

declare float @sincf(float noundef) #1

declare float @liquid_kaiser(i32 noundef, i32 noundef, float noundef) #1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @resamp2_crcf_create(i32 noundef, float noundef, float noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @resamp2_crcf_destroy(ptr noundef) #2

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

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

21:                                               ; preds = %4
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = call i32 @resamp2_crcf_destroy(ptr noundef %22)
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = load float, ptr %7, align 4, !tbaa !11
  %26 = load float, ptr %8, align 4, !tbaa !11
  %27 = call ptr @resamp2_crcf_create(i32 noundef %24, float noundef %25, float noundef %26)
  store ptr %27, ptr %5, align 8, !tbaa !5
  br label %126

28:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %29, i32 0, i32 4
  %31 = load float, ptr %30, align 4, !tbaa !15
  %32 = call float @kaiser_beta_As(float noundef %31)
  store float %32, ptr %14, align 4, !tbaa !11
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %79, %28
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %35, i32 0, i32 2
  %37 = load i32, ptr %36, align 4, !tbaa !16
  %38 = icmp ult i32 %34, %37
  br i1 %38, label %39, label %82

39:                                               ; preds = %33
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = uitofp i32 %40 to float
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %42, i32 0, i32 2
  %44 = load i32, ptr %43, align 4, !tbaa !16
  %45 = sub i32 %44, 1
  %46 = uitofp i32 %45 to float
  %47 = fdiv float %46, 2.000000e+00
  %48 = fsub float %41, %47
  store float %48, ptr %10, align 4, !tbaa !11
  %49 = load float, ptr %10, align 4, !tbaa !11
  %50 = fdiv float %49, 2.000000e+00
  %51 = call float @sincf(float noundef %50)
  store float %51, ptr %11, align 4, !tbaa !11
  %52 = load i32, ptr %9, align 4, !tbaa !9
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %53, i32 0, i32 2
  %55 = load i32, ptr %54, align 4, !tbaa !16
  %56 = load float, ptr %14, align 4, !tbaa !11
  %57 = call float @liquid_kaiser(i32 noundef %52, i32 noundef %55, float noundef %56)
  store float %57, ptr %12, align 4, !tbaa !11
  %58 = load float, ptr %10, align 4, !tbaa !11
  %59 = fpext float %58 to double
  %60 = fmul double 0x401921FB54442D18, %59
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %61, i32 0, i32 3
  %63 = load float, ptr %62, align 8, !tbaa !17
  %64 = fpext float %63 to double
  %65 = fmul double %60, %64
  %66 = fptrunc double %65 to float
  %67 = call float @cosf(float noundef %66) #4
  store float %67, ptr %13, align 4, !tbaa !11
  %68 = load float, ptr %11, align 4, !tbaa !11
  %69 = load float, ptr %12, align 4, !tbaa !11
  %70 = fmul float %68, %69
  %71 = load float, ptr %13, align 4, !tbaa !11
  %72 = fmul float %70, %71
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %73, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8, !tbaa !18
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds float, ptr %75, i64 %77
  store float %72, ptr %78, align 4, !tbaa !11
  br label %79

79:                                               ; preds = %39
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = add i32 %80, 1
  store i32 %81, ptr %9, align 4, !tbaa !9
  br label %33, !llvm.loop !19

82:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %109, %82
  %84 = load i32, ptr %9, align 4, !tbaa !9
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %85, i32 0, i32 2
  %87 = load i32, ptr %86, align 4, !tbaa !16
  %88 = icmp ult i32 %84, %87
  br i1 %88, label %89, label %112

89:                                               ; preds = %83
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %90, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8, !tbaa !18
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %93, i32 0, i32 2
  %95 = load i32, ptr %94, align 4, !tbaa !16
  %96 = load i32, ptr %9, align 4, !tbaa !9
  %97 = sub i32 %95, %96
  %98 = sub i32 %97, 1
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds float, ptr %92, i64 %99
  %101 = load float, ptr %100, align 4, !tbaa !11
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %102, i32 0, i32 5
  %104 = load ptr, ptr %103, align 8, !tbaa !21
  %105 = load i32, ptr %15, align 4, !tbaa !9
  %106 = add i32 %105, 1
  store i32 %106, ptr %15, align 4, !tbaa !9
  %107 = zext i32 %105 to i64
  %108 = getelementptr inbounds float, ptr %104, i64 %107
  store float %101, ptr %108, align 4, !tbaa !11
  br label %109

109:                                              ; preds = %89
  %110 = load i32, ptr %9, align 4, !tbaa !9
  %111 = add i32 %110, 2
  store i32 %111, ptr %9, align 4, !tbaa !9
  br label %83, !llvm.loop !22

112:                                              ; preds = %83
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %113, i32 0, i32 6
  %115 = load ptr, ptr %114, align 8, !tbaa !23
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %116, i32 0, i32 5
  %118 = load ptr, ptr %117, align 8, !tbaa !21
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %119, i32 0, i32 1
  %121 = load i32, ptr %120, align 8, !tbaa !13
  %122 = mul i32 2, %121
  %123 = call ptr @dotprod_crcf_recreate(ptr noundef %115, ptr noundef %118, i32 noundef %122)
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.resamp2_crcf_s, ptr %124, i32 0, i32 6
  store ptr %123, ptr %125, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %126

126:                                              ; preds = %112, %21
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  ret ptr %127
}

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 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 #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 = { 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 = !{!"any pointer", !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 = !{!"float", !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"resamp2_crcf_s", !6, i64 0, !10, i64 8, !10, i64 12, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !10, i64 40, !6, i64 48, !6, i64 56, !12, i64 64, !10, i64 68}
!15 = !{!14, !12, i64 20}
!16 = !{!14, !10, i64 12}
!17 = !{!14, !12, i64 16}
!18 = !{!14, !6, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!14, !6, i64 24}
!22 = distinct !{!22, !20}
!23 = !{!14, !6, i64 32}


; 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"

declare float @kaiser_beta_As(float noundef) local_unnamed_addr #0

declare float @sincf(float noundef) local_unnamed_addr #0

declare float @liquid_kaiser(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @resamp2_crcf_create(i32 noundef, float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @resamp2_crcf_destroy(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local ptr @resamp2_crcf_recreate(ptr noundef %0, i32 noundef %1, float noundef %2, float noundef %3) local_unnamed_addr #1 {
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %.not = icmp eq i32 %6, %1
  br i1 %.not, label %10, label %7

7:                                                ; preds = %4
  %8 = tail call i32 @resamp2_crcf_destroy(ptr noundef nonnull %0)
  %9 = tail call ptr @resamp2_crcf_create(i32 noundef %1, float noundef %2, float noundef %3)
  br label %78

10:                                               ; preds = %4
  %11 = getelementptr inbounds i8, ptr %0, i64 20
  %12 = load float, ptr %11, align 4, !tbaa !12
  %13 = tail call float @kaiser_beta_As(float noundef %12) #3
  %14 = getelementptr inbounds i8, ptr %0, i64 12
  %15 = load i32, ptr %14, align 4, !tbaa !13
  %.not44 = icmp eq i32 %15, 0
  br i1 %.not44, label %.preheader.._crit_edge_crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %10
  %16 = getelementptr inbounds i8, ptr %0, i64 16
  br label %25

.preheader:                                       ; preds = %25
  %17 = icmp ugt i32 %48, 1
  br i1 %17, label %.lr.ph43, label %.preheader.._crit_edge_crit_edge

.preheader.._crit_edge_crit_edge:                 ; preds = %10, %.preheader
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 24
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !14
  br label %._crit_edge

.lr.ph43:                                         ; preds = %.preheader
  %18 = load ptr, ptr %0, align 8, !tbaa !15
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = load ptr, ptr %19, align 8, !tbaa !14
  %21 = add i32 %48, -2
  %22 = lshr i32 %21, 1
  %23 = add nuw nsw i32 %22, 1
  %wide.trip.count = zext nneg i32 %23 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %24 = icmp ult i32 %21, 2
  br i1 %24, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph43.new

.lr.ph43.new:                                     ; preds = %.lr.ph43
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %51

25:                                               ; preds = %.lr.ph, %25
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %25 ]
  %26 = phi i32 [ %15, %.lr.ph ], [ %48, %25 ]
  %27 = trunc nuw i64 %indvars.iv to i32
  %28 = uitofp i32 %27 to float
  %29 = add i32 %26, -1
  %30 = uitofp i32 %29 to float
  %31 = fmul float %30, 5.000000e-01
  %32 = fsub float %28, %31
  %33 = fmul float %32, 5.000000e-01
  %34 = tail call float @sincf(float noundef %33) #3
  %35 = load i32, ptr %14, align 4, !tbaa !13
  %36 = tail call float @liquid_kaiser(i32 noundef %27, i32 noundef %35, float noundef %13) #3
  %37 = fpext float %32 to double
  %38 = fmul double %37, 0x401921FB54442D18
  %39 = load float, ptr %16, align 8, !tbaa !16
  %40 = fpext float %39 to double
  %41 = fmul double %38, %40
  %42 = fptrunc double %41 to float
  %43 = tail call float @cosf(float noundef %42) #3
  %44 = fmul float %34, %36
  %45 = fmul float %44, %43
  %46 = load ptr, ptr %0, align 8, !tbaa !15
  %47 = getelementptr inbounds float, ptr %46, i64 %indvars.iv
  store float %45, ptr %47, align 4, !tbaa !17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %48 = load i32, ptr %14, align 4, !tbaa !13
  %49 = zext i32 %48 to i64
  %50 = icmp ult i64 %indvars.iv.next, %49
  br i1 %50, label %25, label %.preheader, !llvm.loop !18

51:                                               ; preds = %51, %.lr.ph43.new
  %indvars.iv49 = phi i64 [ 1, %.lr.ph43.new ], [ %indvars.iv.next50.1, %51 ]
  %indvars.iv47 = phi i64 [ 0, %.lr.ph43.new ], [ %indvars.iv.next48.1, %51 ]
  %niter = phi i64 [ 0, %.lr.ph43.new ], [ %niter.next.1, %51 ]
  %52 = trunc nuw i64 %indvars.iv49 to i32
  %53 = xor i32 %52, -1
  %54 = add i32 %48, %53
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds float, ptr %18, i64 %55
  %57 = load float, ptr %56, align 4, !tbaa !17
  %indvars.iv.next48 = or disjoint i64 %indvars.iv47, 1
  %58 = getelementptr inbounds float, ptr %20, i64 %indvars.iv47
  store float %57, ptr %58, align 4, !tbaa !17
  %59 = trunc i64 %indvars.iv49 to i32
  %reass.sub = sub i32 %48, %59
  %60 = add i32 %reass.sub, -3
  %61 = zext i32 %60 to i64
  %62 = getelementptr inbounds float, ptr %18, i64 %61
  %63 = load float, ptr %62, align 4, !tbaa !17
  %indvars.iv.next48.1 = add nuw nsw i64 %indvars.iv47, 2
  %64 = getelementptr inbounds float, ptr %20, i64 %indvars.iv.next48
  store float %63, ptr %64, align 4, !tbaa !17
  %indvars.iv.next50.1 = add nuw nsw i64 %indvars.iv49, 4
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa.loopexit, label %51, !llvm.loop !20

._crit_edge.loopexit.unr-lcssa.loopexit:          ; preds = %51
  %65 = trunc nuw i64 %indvars.iv.next50.1 to i32
  %66 = xor i32 %65, -1
  br label %._crit_edge.loopexit.unr-lcssa

._crit_edge.loopexit.unr-lcssa:                   ; preds = %._crit_edge.loopexit.unr-lcssa.loopexit, %.lr.ph43
  %indvars.iv49.unr = phi i32 [ -2, %.lr.ph43 ], [ %66, %._crit_edge.loopexit.unr-lcssa.loopexit ]
  %indvars.iv47.unr = phi i64 [ 0, %.lr.ph43 ], [ %indvars.iv.next48.1, %._crit_edge.loopexit.unr-lcssa.loopexit ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %67 = add i32 %48, %indvars.iv49.unr
  %68 = zext i32 %67 to i64
  %69 = getelementptr inbounds float, ptr %18, i64 %68
  %70 = load float, ptr %69, align 4, !tbaa !17
  %71 = getelementptr inbounds float, ptr %20, i64 %indvars.iv47.unr
  store float %70, ptr %71, align 4, !tbaa !17
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %.preheader.._crit_edge_crit_edge
  %72 = phi ptr [ %.pre, %.preheader.._crit_edge_crit_edge ], [ %20, %._crit_edge.loopexit.unr-lcssa ], [ %20, %._crit_edge.loopexit.epilog-lcssa ]
  %73 = getelementptr inbounds i8, ptr %0, i64 32
  %74 = load ptr, ptr %73, align 8, !tbaa !21
  %75 = load i32, ptr %5, align 8, !tbaa !5
  %76 = shl i32 %75, 1
  %77 = tail call ptr @dotprod_crcf_recreate(ptr noundef %74, ptr noundef %72, i32 noundef %76) #3
  store ptr %77, ptr %73, align 8, !tbaa !21
  br label %78

78:                                               ; preds = %._crit_edge, %7
  %.035 = phi ptr [ %9, %7 ], [ %0, %._crit_edge ]
  ret ptr %.035
}

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"="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 #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 }

!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, !10, i64 8}
!6 = !{!"resamp2_crcf_s", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !7, i64 56, !11, i64 64, !10, i64 68}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!6, !11, i64 20}
!13 = !{!6, !10, i64 12}
!14 = !{!6, !7, i64 24}
!15 = !{!6, !7, i64 0}
!16 = !{!6, !11, i64 16}
!17 = !{!11, !11, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!6, !7, i64 32}


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