; LLVM IR from glaretechnologies/substrata :: resonance-audio/resonance_audio/utils (buffer_crossfader)

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

%class.NullLogger = type { i8 }
%"class.vraudio::BufferCrossfader" = type { %"class.vraudio::AudioBuffer" }
%"class.vraudio::AudioBuffer" = type <{ i64, %"class.std::vector", i64, %"class.std::vector.0", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, vraudio::AlignedAllocator<float, 64>>::_Vector_impl" }
%"struct.std::_Vector_base<float, vraudio::AlignedAllocator<float, 64>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, vraudio::AlignedAllocator<float, 64>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, vraudio::AlignedAllocator<float, 64>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<vraudio::ChannelView, std::allocator<vraudio::ChannelView>>::_Vector_impl" }
%"struct.std::_Vector_base<vraudio::ChannelView, std::allocator<vraudio::ChannelView>>::_Vector_impl" = type { %"struct.std::_Vector_base<vraudio::ChannelView, std::allocator<vraudio::ChannelView>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vraudio::ChannelView, std::allocator<vraudio::ChannelView>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7vraudio16BufferCrossfader20ApplyLinearCrossfadeERKNS_11AudioBufferES3_PS1_(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(68) %1, ptr noundef nonnull align 8 dereferenceable(68) %2, ptr noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.NullLogger, align 1
  %10 = alloca %class.NullLogger, align 1
  %11 = alloca %class.NullLogger, align 1
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca %class.NullLogger, align 1
  %15 = alloca %class.NullLogger, align 1
  %16 = alloca %class.NullLogger, align 1
  %17 = alloca %class.NullLogger, align 1
  %18 = alloca %class.NullLogger, align 1
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %25 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %11)
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call noundef i64 @_ZNK7vraudio11AudioBuffer12num_channelsEv(ptr noundef nonnull align 8 dereferenceable(68) %29)
  store i64 %30, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = call noundef i64 @_ZNK7vraudio11AudioBuffer10num_framesEv(ptr noundef nonnull align 8 dereferenceable(68) %31)
  store i64 %32, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %15)
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #4
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #4
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #4
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %18)
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %38 = getelementptr inbounds %"class.vraudio::BufferCrossfader", ptr %25, i32 0, i32 0
  %39 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %38, i64 noundef 0)
  %40 = call noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %39)
  store ptr %40, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %41 = getelementptr inbounds %"class.vraudio::BufferCrossfader", ptr %25, i32 0, i32 0
  %42 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %41, i64 noundef 1)
  %43 = call noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %42)
  store ptr %43, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  store i64 0, ptr %21, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %70, %4
  %45 = load i64, ptr %21, align 8, !tbaa !9
  %46 = load i64, ptr %12, align 8, !tbaa !9
  %47 = icmp ult i64 %45, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %73

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = load i64, ptr %21, align 8, !tbaa !9
  %52 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %50, i64 noundef %51)
  %53 = call noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %52)
  store ptr %53, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = load i64, ptr %21, align 8, !tbaa !9
  %56 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %54, i64 noundef %55)
  %57 = call noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %56)
  store ptr %57, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = load i64, ptr %21, align 8, !tbaa !9
  %60 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %58, i64 noundef %59)
  %61 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %60)
  store ptr %61, ptr %24, align 8, !tbaa !5
  %62 = load i64, ptr %13, align 8, !tbaa !9
  %63 = load ptr, ptr %19, align 8, !tbaa !5
  %64 = load ptr, ptr %22, align 8, !tbaa !5
  %65 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN7vraudio17MultiplyPointwiseEmPKfS1_Pf(i64 noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65)
  %66 = load i64, ptr %13, align 8, !tbaa !9
  %67 = load ptr, ptr %20, align 8, !tbaa !5
  %68 = load ptr, ptr %23, align 8, !tbaa !5
  %69 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN7vraudio30MultiplyAndAccumulatePointwiseEmPKfS1_Pf(i64 noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %70

70:                                               ; preds = %49
  %71 = load i64, ptr %21, align 8, !tbaa !9
  %72 = add i64 %71, 1
  store i64 %72, ptr %21, align 8, !tbaa !9
  br label %44, !llvm.loop !11

73:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK7vraudio11AudioBuffer12num_channelsEv(ptr noundef nonnull align 8 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK7vraudio11AudioBuffer10num_framesEv(ptr noundef nonnull align 8 dereferenceable(68)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17)) #1 align 2

declare void @_ZN7vraudio17MultiplyPointwiseEmPKfS1_Pf(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare void @_ZN7vraudio30MultiplyAndAccumulatePointwiseEmPKfS1_Pf(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 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 = { "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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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"

%class.NullLogger = type { i8 }

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7vraudio16BufferCrossfader20ApplyLinearCrossfadeERKNS_11AudioBufferES3_PS1_(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(68) %1, ptr noundef nonnull align 8 dereferenceable(68) %2, ptr noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca %class.NullLogger, align 1
  %6 = alloca %class.NullLogger, align 1
  %7 = alloca %class.NullLogger, align 1
  %8 = alloca %class.NullLogger, align 1
  %9 = alloca %class.NullLogger, align 1
  %10 = alloca %class.NullLogger, align 1
  %11 = alloca %class.NullLogger, align 1
  %12 = alloca %class.NullLogger, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #4
  %13 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4
  %14 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #4
  %15 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %7)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  %16 = call noundef i64 @_ZNK7vraudio11AudioBuffer12num_channelsEv(ptr noundef nonnull align 8 dereferenceable(68) %1)
  %17 = call noundef i64 @_ZNK7vraudio11AudioBuffer10num_framesEv(ptr noundef nonnull align 8 dereferenceable(68) %1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #4
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #4
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #4
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #4
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %11)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #4
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10NullLogger9GetStreamEv(ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  %23 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %0, i64 noundef 0)
  %24 = call noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %23)
  %25 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %0, i64 noundef 1)
  %26 = call noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %25)
  %.not = icmp eq i64 %16, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %4
  ret void

.lr.ph:                                           ; preds = %4, %.lr.ph
  %.019 = phi i64 [ %33, %.lr.ph ], [ 0, %4 ]
  %27 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %1, i64 noundef %.019)
  %28 = call noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %27)
  %29 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %2, i64 noundef %.019)
  %30 = call noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %29)
  %31 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZN7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68) %3, i64 noundef %.019)
  %32 = call noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17) %31)
  call void @_ZN7vraudio17MultiplyPointwiseEmPKfS1_Pf(i64 noundef %17, ptr noundef %24, ptr noundef %28, ptr noundef %32)
  call void @_ZN7vraudio30MultiplyAndAccumulatePointwiseEmPKfS1_Pf(i64 noundef %17, ptr noundef %26, ptr noundef %30, ptr noundef %32)
  %33 = add nuw i64 %.019, 1
  %exitcond.not = icmp eq i64 %33, %16
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !5
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK7vraudio11AudioBuffer12num_channelsEv(ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK7vraudio11AudioBuffer10num_framesEv(ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(17) ptr @_ZNK7vraudio11AudioBufferixEm(ptr noundef nonnull align 8 dereferenceable(68), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7vraudio11ChannelView5beginEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #1 align 2

declare void @_ZN7vraudio17MultiplyPointwiseEmPKfS1_Pf(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN7vraudio30MultiplyAndAccumulatePointwiseEmPKfS1_Pf(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress 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 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 = { "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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass