; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/core/context.ll (ZN11ContextBase11allocVoicesEm)

; 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.std::_Swallow_assign" = type { i8 }
%"class.std::unique_ptr.69" = type { %"struct.std::__uniq_ptr_data.70" }
%"struct.std::__uniq_ptr_data.70" = type { %"class.std::__uniq_ptr_impl.71" }
%"class.std::__uniq_ptr_impl.71" = type { %"class.std::tuple.72" }
%"class.std::tuple.72" = type { %"struct.std::_Tuple_impl.73" }
%"struct.std::_Tuple_impl.73" = type { %"struct.std::_Head_base.76" }
%"struct.std::_Head_base.76" = type { ptr }
%"class.std::unique_ptr.77" = type { %"struct.std::__uniq_ptr_data.78" }
%"struct.std::__uniq_ptr_data.78" = type { %"class.std::__uniq_ptr_impl.79" }
%"class.std::__uniq_ptr_impl.79" = type { %"class.std::tuple.80" }
%"class.std::tuple.80" = type { %"struct.std::_Tuple_impl.81" }
%"struct.std::_Tuple_impl.81" = type { %"struct.std::_Head_base.84" }
%"struct.std::_Head_base.84" = type { ptr }
%"class.al::ptr_wrapper" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { i8 }
%struct.ContextBase = type { ptr, %"struct.std::atomic", %"struct.std::atomic.0", %"struct.std::atomic.0", float, %"struct.std::atomic.2", %"struct.std::atomic.4", %"struct.std::atomic.6", ptr, %"struct.std::atomic.8", %struct.ContextParams, %"class.al::atomic_unique_ptr", %"struct.std::atomic.13", %"class.al::atomic_unique_ptr.15", %"class.std::thread", %"class.al::semaphore", %"class.std::unique_ptr", %"struct.std::atomic.20", %"class.std::vector", %"class.std::vector.21", %"class.std::vector.26", %"class.std::vector.31", %"class.std::vector.36", %"class.std::vector.41" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"struct.std::atomic.0" = type { %"struct.std::__atomic_base.1" }
%"struct.std::__atomic_base.1" = type { i8 }
%"struct.std::atomic.2" = type { %"struct.std::__atomic_base.3" }
%"struct.std::__atomic_base.3" = type { ptr }
%"struct.std::atomic.4" = type { %"struct.std::__atomic_base.5" }
%"struct.std::__atomic_base.5" = type { ptr }
%"struct.std::atomic.6" = type { %"struct.std::__atomic_base.7" }
%"struct.std::__atomic_base.7" = type { ptr }
%"struct.std::atomic.8" = type { %"struct.std::__atomic_base.9" }
%"struct.std::__atomic_base.9" = type { ptr }
%struct.ContextParams = type <{ %"struct.std::atomic.2", [8 x i8], %"class.alu::Vector", %"class.alu::Matrix", %"class.alu::Vector", float, float, float, float, float, i8, i8, [10 x i8] }>
%"class.alu::Matrix" = type { %"struct.std::array.10" }
%"struct.std::array.10" = type { [16 x float] }
%"class.alu::Vector" = type { %"struct.std::array" }
%"struct.std::array" = type { [4 x float] }
%"class.al::atomic_unique_ptr" = type { %"struct.std::atomic.11" }
%"struct.std::atomic.11" = type { %"struct.std::__atomic_base.12" }
%"struct.std::__atomic_base.12" = type { ptr }
%"struct.std::atomic.13" = type { %"struct.std::__atomic_base.14" }
%"struct.std::__atomic_base.14" = type { i64 }
%"class.al::atomic_unique_ptr.15" = type { %"struct.std::atomic.16" }
%"struct.std::atomic.16" = type { %"struct.std::__atomic_base.17" }
%"struct.std::__atomic_base.17" = type { ptr }
%"class.std::thread" = type { %"class.std::thread::id" }
%"class.std::thread::id" = type { i64 }
%"class.al::semaphore" = type { %union.sem_t }
%union.sem_t = type { i64, [24 x i8] }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.19" }
%"struct.std::_Head_base.19" = type { ptr }
%"struct.std::atomic.20" = type { %"class.std::bitset" }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<VoiceChange, 128>>, std::allocator<std::unique_ptr<std::array<VoiceChange, 128>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<VoiceChange, 128>>, std::allocator<std::unique_ptr<std::array<VoiceChange, 128>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<VoiceChange, 128>>, std::allocator<std::unique_ptr<std::array<VoiceChange, 128>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<VoiceChange, 128>>, std::allocator<std::unique_ptr<std::array<VoiceChange, 128>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<Voice, 32>>, std::allocator<std::unique_ptr<std::array<Voice, 32>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<Voice, 32>>, std::allocator<std::unique_ptr<std::array<Voice, 32>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<Voice, 32>>, std::allocator<std::unique_ptr<std::array<Voice, 32>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<Voice, 32>>, std::allocator<std::unique_ptr<std::array<Voice, 32>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<VoicePropsItem, 32>>, std::allocator<std::unique_ptr<std::array<VoicePropsItem, 32>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<VoicePropsItem, 32>>, std::allocator<std::unique_ptr<std::array<VoicePropsItem, 32>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<VoicePropsItem, 32>>, std::allocator<std::unique_ptr<std::array<VoicePropsItem, 32>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<VoicePropsItem, 32>>, std::allocator<std::unique_ptr<std::array<VoicePropsItem, 32>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<EffectSlot, 4>>, std::allocator<std::unique_ptr<std::array<EffectSlot, 4>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<EffectSlot, 4>>, std::allocator<std::unique_ptr<std::array<EffectSlot, 4>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<EffectSlot, 4>>, std::allocator<std::unique_ptr<std::array<EffectSlot, 4>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<EffectSlot, 4>>, std::allocator<std::unique_ptr<std::array<EffectSlot, 4>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.36" = type { %"struct.std::_Vector_base.37" }
%"struct.std::_Vector_base.37" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<EffectSlotProps, 4>>, std::allocator<std::unique_ptr<std::array<EffectSlotProps, 4>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<EffectSlotProps, 4>>, std::allocator<std::unique_ptr<std::array<EffectSlotProps, 4>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<EffectSlotProps, 4>>, std::allocator<std::unique_ptr<std::array<EffectSlotProps, 4>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<EffectSlotProps, 4>>, std::allocator<std::unique_ptr<std::array<EffectSlotProps, 4>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.41" = type { %"struct.std::_Vector_base.42" }
%"struct.std::_Vector_base.42" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<ContextProps, 2>>, std::allocator<std::unique_ptr<std::array<ContextProps, 2>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<ContextProps, 2>>, std::allocator<std::unique_ptr<std::array<ContextProps, 2>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::array<ContextProps, 2>>, std::allocator<std::unique_ptr<std::array<ContextProps, 2>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::array<ContextProps, 2>>, std::allocator<std::unique_ptr<std::array<ContextProps, 2>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.7 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZSt6ignore = external dso_local constant %"struct.std::_Swallow_assign", align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_Z8al_print8LogLevelPKcz(i32 noundef, ptr noundef, ...) #1

; 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
define dso_local void @_ZN11ContextBase11allocVoicesEm(ptr noundef nonnull align 16 dereferenceable(432) %0, i64 noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca %"class.std::unique_ptr.69", align 8
  %9 = alloca %"class.std::unique_ptr.77", align 8
  %10 = alloca %"class.al::ptr_wrapper", align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.al::ptr_wrapper", align 8
  %16 = alloca %"class.al::ptr_wrapper", align 8
  %17 = alloca %class.anon, align 1
  %18 = alloca %"class.std::unique_ptr.77", align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %20 = load ptr, ptr %3, align 8
  %21 = load i64, ptr %4, align 8, !tbaa !9
  %22 = add i64 %21, 31
  %23 = udiv i64 %22, 32
  store i64 %23, ptr %4, align 8, !tbaa !9
  %24 = load i64, ptr %4, align 8, !tbaa !9
  %25 = icmp ne i64 %24, 0
  br i1 %25, label %33, label %26

26:                                               ; preds = %2
  %27 = getelementptr inbounds %struct.ContextBase, ptr %20, i32 0, i32 19
  %28 = call noundef zeroext i1 @_ZNKSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  br label %117

30:                                               ; preds = %26
  %31 = load i64, ptr %4, align 8, !tbaa !9
  %32 = add i64 %31, 1
  store i64 %32, ptr %4, align 8, !tbaa !9
  br label %33

33:                                               ; preds = %30, %2
  %34 = load i64, ptr %4, align 8, !tbaa !9
  %35 = call noundef i32 @_ZNSt14numeric_limitsIiE3maxEv() #9
  %36 = sext i32 %35 to i64
  %37 = udiv i64 %36, 32
  %38 = getelementptr inbounds %struct.ContextBase, ptr %20, i32 0, i32 19
  %39 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  %40 = sub i64 %37, %39
  %41 = icmp uge i64 %34, %40
  br i1 %41, label %42, label %49

42:                                               ; preds = %33
  %43 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef @.str.6)
          to label %44 unwind label %45

44:                                               ; preds = %42
  call void @__cxa_throw(ptr %43, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

45:                                               ; preds = %42
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %5, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %6, align 4
  call void @__cxa_free_exception(ptr %43) #9
  br label %120

49:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %50 = getelementptr inbounds %struct.ContextBase, ptr %20, i32 0, i32 19
  %51 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #9
  %52 = load i64, ptr %4, align 8, !tbaa !9
  %53 = add i64 %51, %52
  %54 = mul i64 %53, 32
  store i64 %54, ptr %7, align 8, !tbaa !9
  %55 = load i64, ptr %7, align 8, !tbaa !9
  call void (i32, ptr, ...) @_Z8al_print8LogLevelPKcz(i32 noundef 3, ptr noundef @.str.7, i64 noundef %55) #9
  br label %56

56:                                               ; preds = %62, %49
  %57 = load i64, ptr %4, align 8, !tbaa !9
  %58 = icmp ne i64 %57, 0
  br i1 %58, label %59, label %69

59:                                               ; preds = %56
  %60 = getelementptr inbounds %struct.ContextBase, ptr %20, i32 0, i32 19
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  call void @_ZSt11make_uniqueISt5arrayI5VoiceLm32EEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.69") align 8 %8)
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE12emplace_backIJS6_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %62 unwind label %65

62:                                               ; preds = %59
  call void @_ZNSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  %63 = load i64, ptr %4, align 8, !tbaa !9
  %64 = add i64 %63, -1
  store i64 %64, ptr %4, align 8, !tbaa !9
  br label %56, !llvm.loop !11

65:                                               ; preds = %59
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %5, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %6, align 4
  call void @_ZNSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %119

69:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %70 = load i64, ptr %7, align 8, !tbaa !9
  call void @_ZN2al9FlexArrayIP5VoiceLm8EE6CreateEm(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.77") align 8 %9, i64 noundef %70)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %71 = call noundef ptr @_ZNKSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  %72 = call ptr @_ZN2al9FlexArrayIP5VoiceLm8EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  %73 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %10, i32 0, i32 0
  store ptr %72, ptr %73, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %74 = getelementptr inbounds %struct.ContextBase, ptr %20, i32 0, i32 19
  store ptr %74, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = call ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  %77 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %76, ptr %77, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = call ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  %80 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %79, ptr %80, align 8
  br label %81

81:                                               ; preds = %97, %69
  %82 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  br i1 %82, label %84, label %83

83:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %103

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  store ptr %85, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  %87 = call noundef ptr @_ZNKSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #9
  %88 = call noundef ptr @_ZNSt5arrayI5VoiceLm32EE5beginEv(ptr noundef nonnull align 8 dereferenceable(23808) %87) #11
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = call noundef ptr @_ZNKSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %89) #9
  %91 = call noundef ptr @_ZNSt5arrayI5VoiceLm32EE3endEv(ptr noundef nonnull align 8 dereferenceable(23808) %90) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %10, i64 8, i1 false), !tbaa.struct !13
  %92 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %16, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8
  %94 = invoke ptr @"_ZSt9transformIP5VoiceN2al11ptr_wrapperIPS1_EEZN11ContextBase11allocVoicesEmE3$_0ET0_T_S9_S8_T1_"(ptr noundef %88, ptr noundef %91, ptr %93)
          to label %95 unwind label %99

95:                                               ; preds = %84
  %96 = getelementptr inbounds %"class.al::ptr_wrapper", ptr %15, i32 0, i32 0
  store ptr %94, ptr %96, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %15, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %97

97:                                               ; preds = %95
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br label %81

99:                                               ; preds = %84
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %5, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %118

103:                                              ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %104 = getelementptr inbounds %struct.ContextBase, ptr %20, i32 0, i32 11
  call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EE8exchangeEOSt10unique_ptrIS4_S6_ESt12memory_order(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.77") align 8 %18, ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 4) #9
  %105 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  br i1 %105, label %106, label %116

106:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %107 = getelementptr inbounds %struct.ContextBase, ptr %20, i32 0, i32 0
  %108 = load ptr, ptr %107, align 16, !tbaa !14
  %109 = call noundef i32 @_ZNK10DeviceBase10waitForMixEv(ptr noundef nonnull align 16 dereferenceable(107576) %108) #9
  store i32 %109, ptr %19, align 4, !tbaa !81
  %110 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt15_Swallow_assignaSIjEERKS_RKT_(ptr noundef nonnull align 1 dereferenceable(1) @_ZSt6ignore, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %111 unwind label %112

111:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %116

112:                                              ; preds = %106
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %5, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @_ZNSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %118

116:                                              ; preds = %111, %103
  call void @_ZNSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @_ZNSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %117

117:                                              ; preds = %116, %29
  ret void

118:                                              ; preds = %112, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @_ZNSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %119

119:                                              ; preds = %118, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %120

120:                                              ; preds = %119, %45
  %121 = load ptr, ptr %5, align 8
  %122 = load i32, ptr %6, align 4
  %123 = insertvalue { ptr, i32 } poison, ptr %121, 0
  %124 = insertvalue { ptr, i32 } %123, i32 %122, 1
  resume { ptr, i32 } %124
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNSt14numeric_limitsIiE3maxEv() #3 align 2

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

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE12emplace_backIJS6_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueISt5arrayI5VoiceLm32EEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.69") align 8) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2al9FlexArrayIP5VoiceLm8EE6CreateEm(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.77") align 8, i64 noundef) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN2al9FlexArrayIP5VoiceLm8EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden ptr @"_ZSt9transformIP5VoiceN2al11ptr_wrapperIPS1_EEZN11ContextBase11allocVoicesEmE3$_0ET0_T_S9_S8_T1_"(ptr noundef, ptr noundef, ptr) #3

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

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayI5VoiceLm32EE5beginEv(ptr noundef nonnull align 8 dereferenceable(23808)) #7 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayI5VoiceLm32EE3endEv(ptr noundef nonnull align 8 dereferenceable(23808)) #7 align 2

; 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) #8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EE8exchangeEOSt10unique_ptrIS4_S6_ESt12memory_order(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.77") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK10DeviceBase10waitForMixEv(ptr noundef nonnull align 16 dereferenceable(107576)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt15_Swallow_assignaSIjEERKS_RKT_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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 = { inlinehint 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 #6 = { inlinehint 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 #7 = { mustprogress nounwind willreturn memory(none) 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { nounwind willreturn memory(none) }

!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"}
!13 = !{i64 0, i64 8, !5}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTS11ContextBase", !6, i64 0, !16, i64 8, !19, i64 12, !19, i64 13, !22, i64 16, !23, i64 24, !25, i64 32, !27, i64 40, !6, i64 48, !29, i64 56, !31, i64 64, !37, i64 208, !40, i64 216, !42, i64 224, !45, i64 232, !47, i64 240, !48, i64 272, !54, i64 280, !57, i64 288, !61, i64 312, !65, i64 336, !69, i64 360, !73, i64 384, !77, i64 408}
!16 = !{!"_ZTSSt6atomicIjE", !17, i64 0}
!17 = !{!"_ZTSSt13__atomic_baseIjE", !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSSt6atomicIbE", !20, i64 0}
!20 = !{!"_ZTSSt13__atomic_baseIbE", !21, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSSt6atomicIP12ContextPropsE", !24, i64 0}
!24 = !{!"_ZTSSt13__atomic_baseIP12ContextPropsE", !6, i64 0}
!25 = !{!"_ZTSSt6atomicIP14VoicePropsItemE", !26, i64 0}
!26 = !{!"_ZTSSt13__atomic_baseIP14VoicePropsItemE", !6, i64 0}
!27 = !{!"_ZTSSt6atomicIP15EffectSlotPropsE", !28, i64 0}
!28 = !{!"_ZTSSt13__atomic_baseIP15EffectSlotPropsE", !6, i64 0}
!29 = !{!"_ZTSSt6atomicIP11VoiceChangeE", !30, i64 0}
!30 = !{!"_ZTSSt13__atomic_baseIP11VoiceChangeE", !6, i64 0}
!31 = !{!"_ZTS13ContextParams", !23, i64 0, !32, i64 16, !34, i64 32, !32, i64 96, !22, i64 112, !22, i64 116, !22, i64 120, !22, i64 124, !22, i64 128, !21, i64 132, !36, i64 133}
!32 = !{!"_ZTSN3alu6VectorE", !33, i64 0}
!33 = !{!"_ZTSSt5arrayIfLm4EE", !7, i64 0}
!34 = !{!"_ZTSN3alu6MatrixE", !35, i64 0}
!35 = !{!"_ZTSSt5arrayIfLm16EE", !7, i64 0}
!36 = !{!"_ZTS13DistanceModel", !7, i64 0}
!37 = !{!"_ZTSN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEE", !38, i64 0}
!38 = !{!"_ZTSSt6atomicIPN2al9FlexArrayIP5VoiceLm8EEEE", !39, i64 0}
!39 = !{!"_ZTSSt13__atomic_baseIPN2al9FlexArrayIP5VoiceLm8EEEE", !6, i64 0}
!40 = !{!"_ZTSSt6atomicImE", !41, i64 0}
!41 = !{!"_ZTSSt13__atomic_baseImE", !10, i64 0}
!42 = !{!"_ZTSN2al17atomic_unique_ptrINS_9FlexArrayIP10EffectSlotLm8EEESt14default_deleteIS4_EEE", !43, i64 0}
!43 = !{!"_ZTSSt6atomicIPN2al9FlexArrayIP10EffectSlotLm8EEEE", !44, i64 0}
!44 = !{!"_ZTSSt13__atomic_baseIPN2al9FlexArrayIP10EffectSlotLm8EEEE", !6, i64 0}
!45 = !{!"_ZTSSt6thread", !46, i64 0}
!46 = !{!"_ZTSNSt6thread2idE", !10, i64 0}
!47 = !{!"_ZTSN2al9semaphoreE", !7, i64 0}
!48 = !{!"_ZTSSt10unique_ptrI10RingBufferSt14default_deleteIS0_EE", !49, i64 0}
!49 = !{!"_ZTSSt15__uniq_ptr_dataI10RingBufferSt14default_deleteIS0_ELb1ELb1EE", !50, i64 0}
!50 = !{!"_ZTSSt15__uniq_ptr_implI10RingBufferSt14default_deleteIS0_EE", !51, i64 0}
!51 = !{!"_ZTSSt5tupleIJP10RingBufferSt14default_deleteIS0_EEE", !52, i64 0}
!52 = !{!"_ZTSSt11_Tuple_implILm0EJP10RingBufferSt14default_deleteIS0_EEE", !53, i64 0}
!53 = !{!"_ZTSSt10_Head_baseILm0EP10RingBufferLb0EE", !6, i64 0}
!54 = !{!"_ZTSSt6atomicISt6bitsetILm3EEE", !55, i64 0}
!55 = !{!"_ZTSSt6bitsetILm3EE", !56, i64 0}
!56 = !{!"_ZTSSt12_Base_bitsetILm1EE", !10, i64 0}
!57 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!61 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE", !62, i64 0}
!62 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!65 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EE", !66, i64 0}
!66 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!69 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EE", !70, i64 0}
!70 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EE", !71, i64 0}
!71 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!73 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EE", !74, i64 0}
!74 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !76, i64 0}
!76 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!77 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EE", !78, i64 0}
!78 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EE", !79, i64 0}
!79 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !80, i64 0}
!80 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!81 = !{!18, !18, 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"

%"struct.std::_Swallow_assign" = type { i8 }
%"class.std::unique_ptr.69" = type { %"struct.std::__uniq_ptr_data.70" }
%"struct.std::__uniq_ptr_data.70" = type { %"class.std::__uniq_ptr_impl.71" }
%"class.std::__uniq_ptr_impl.71" = type { %"class.std::tuple.72" }
%"class.std::tuple.72" = type { %"struct.std::_Tuple_impl.73" }
%"struct.std::_Tuple_impl.73" = type { %"struct.std::_Head_base.76" }
%"struct.std::_Head_base.76" = type { ptr }
%"class.std::unique_ptr.77" = type { %"struct.std::__uniq_ptr_data.78" }
%"struct.std::__uniq_ptr_data.78" = type { %"class.std::__uniq_ptr_impl.79" }
%"class.std::__uniq_ptr_impl.79" = type { %"class.std::tuple.80" }
%"class.std::tuple.80" = type { %"struct.std::_Tuple_impl.81" }
%"struct.std::_Tuple_impl.81" = type { %"struct.std::_Head_base.84" }
%"struct.std::_Head_base.84" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.6 = external hidden unnamed_addr constant [27 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.7 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZSt6ignore = external dso_local constant %"struct.std::_Swallow_assign", align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_Z8al_print8LogLevelPKcz(i32 noundef, 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ContextBase11allocVoicesEm(ptr noundef nonnull align 16 dereferenceable(432) %0, i64 noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::unique_ptr.69", align 8
  %4 = alloca %"class.std::unique_ptr.77", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.std::unique_ptr.77", align 8
  %8 = alloca i32, align 4
  %9 = add i64 %1, 31
  %10 = lshr i64 %9, 5
  %.not = icmp ult i64 %9, 32
  br i1 %.not, label %11, label %14

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %0, i64 312
  %13 = tail call noundef zeroext i1 @_ZNKSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br i1 %13, label %14, label %55

14:                                               ; preds = %11, %2
  %.0 = phi i64 [ %10, %2 ], [ 1, %11 ]
  %15 = tail call noundef i32 @_ZNSt14numeric_limitsIiE3maxEv() #8
  %16 = sext i32 %15 to i64
  %17 = lshr i64 %16, 5
  %18 = getelementptr inbounds i8, ptr %0, i64 312
  %19 = tail call noundef i64 @_ZNKSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %20 = sub i64 %17, %19
  %.not21 = icmp ult i64 %.0, %20
  br i1 %.not21, label %26, label %21

21:                                               ; preds = %14
  %22 = tail call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull @.str.6)
          to label %23 unwind label %24

23:                                               ; preds = %21
  tail call void @__cxa_throw(ptr nonnull %22, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
  unreachable

24:                                               ; preds = %21
  %25 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %22) #8
  br label %56

26:                                               ; preds = %14
  %27 = tail call noundef i64 @_ZNKSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  %28 = add i64 %27, %.0
  %29 = shl i64 %28, 5
  tail call void (i32, ptr, ...) @_Z8al_print8LogLevelPKcz(i32 noundef 3, ptr noundef nonnull @.str.7, i64 noundef %29) #8
  %.not2224 = icmp eq i64 %.0, 0
  br i1 %.not2224, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %26, %31
  %.125 = phi i64 [ %32, %31 ], [ %.0, %26 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  call void @_ZSt11make_uniqueISt5arrayI5VoiceLm32EEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.69") align 8 %3)
  %30 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE12emplace_backIJS6_EEERS6_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %31 unwind label %33

31:                                               ; preds = %.lr.ph
  call void @_ZNSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  %32 = add nsw i64 %.125, -1
  %.not22 = icmp eq i64 %32, 0
  br i1 %.not22, label %._crit_edge, label %.lr.ph, !llvm.loop !5

33:                                               ; preds = %.lr.ph
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %56

._crit_edge:                                      ; preds = %31, %26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  call void @_ZN2al9FlexArrayIP5VoiceLm8EE6CreateEm(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.77") align 8 %4, i64 noundef %29)
  %35 = call noundef ptr @_ZNKSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %36 = call ptr @_ZN2al9FlexArrayIP5VoiceLm8EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %35) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %37 = call ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  store ptr %37, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %38 = call ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  store ptr %38, ptr %6, align 8
  %39 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br i1 %39, label %.lr.ph28, label %._crit_edge29

._crit_edge29:                                    ; preds = %.lr.ph28, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %40 = getelementptr inbounds i8, ptr %0, i64 208
  call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EE8exchangeEOSt10unique_ptrIS4_S6_ESt12memory_order(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.77") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 4) #8
  %41 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  br i1 %41, label %50, label %54

.lr.ph28:                                         ; preds = %._crit_edge, %.lr.ph28
  %.sroa.05.026 = phi ptr [ %47, %.lr.ph28 ], [ %36, %._crit_edge ]
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %43 = call noundef ptr @_ZNKSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  %44 = call noundef ptr @_ZNSt5arrayI5VoiceLm32EE5beginEv(ptr noundef nonnull align 8 dereferenceable(23808) %43) #10
  %45 = call noundef ptr @_ZNKSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  %46 = call noundef ptr @_ZNSt5arrayI5VoiceLm32EE3endEv(ptr noundef nonnull align 8 dereferenceable(23808) %45) #10
  %47 = call ptr @"_ZSt9transformIP5VoiceN2al11ptr_wrapperIPS1_EEZN11ContextBase11allocVoicesEmE3$_0ET0_T_S9_S8_T1_"(ptr noundef %44, ptr noundef %46, ptr %.sroa.05.026)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %49 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br i1 %49, label %.lr.ph28, label %._crit_edge29

50:                                               ; preds = %._crit_edge29
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  %51 = load ptr, ptr %0, align 16, !tbaa !7
  %52 = call noundef i32 @_ZNK10DeviceBase10waitForMixEv(ptr noundef nonnull align 16 dereferenceable(107576) %51) #8
  store i32 %52, ptr %8, align 4, !tbaa !78
  %53 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt15_Swallow_assignaSIjEERKS_RKT_(ptr noundef nonnull align 1 dereferenceable(1) @_ZSt6ignore, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  br label %54

54:                                               ; preds = %50, %._crit_edge29
  call void @_ZNSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @_ZNSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %55

55:                                               ; preds = %11, %54
  ret void

56:                                               ; preds = %33, %24
  %.pn = phi { ptr, i32 } [ %25, %24 ], [ %34, %33 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNSt14numeric_limitsIiE3maxEv() local_unnamed_addr #3 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_uniqueISt5arrayI5VoiceLm32EEJEENSt8__detail9_MakeUniqIT_E15__single_objectEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.69") align 8) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2al9FlexArrayIP5VoiceLm8EE6CreateEm(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.77") align 8, i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN2al9FlexArrayIP5VoiceLm8EE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden ptr @"_ZSt9transformIP5VoiceN2al11ptr_wrapperIPS1_EEZN11ContextBase11allocVoicesEmE3$_0ET0_T_S9_S8_T1_"(ptr noundef, ptr noundef, ptr) local_unnamed_addr #3

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayI5VoiceLm32EE5beginEv(ptr noundef nonnull align 8 dereferenceable(23808)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayI5VoiceLm32EE3endEv(ptr noundef nonnull align 8 dereferenceable(23808)) local_unnamed_addr #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EE8exchangeEOSt10unique_ptrIS4_S6_ESt12memory_order(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.77") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK10DeviceBase10waitForMixEv(ptr noundef nonnull align 16 dereferenceable(107576)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt15_Swallow_assignaSIjEERKS_RKT_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrIN2al9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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 = { inlinehint 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 #6 = { inlinehint 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 #7 = { mustprogress nofree nosync nounwind willreturn memory(none) 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 #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { nounwind willreturn memory(none) }

!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, !9, i64 0}
!8 = !{!"_ZTS11ContextBase", !9, i64 0, !12, i64 8, !15, i64 12, !15, i64 13, !18, i64 16, !19, i64 24, !21, i64 32, !23, i64 40, !9, i64 48, !25, i64 56, !27, i64 64, !33, i64 208, !36, i64 216, !39, i64 224, !42, i64 232, !44, i64 240, !45, i64 272, !51, i64 280, !54, i64 288, !58, i64 312, !62, i64 336, !66, i64 360, !70, i64 384, !74, i64 408}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSSt6atomicIjE", !13, i64 0}
!13 = !{!"_ZTSSt13__atomic_baseIjE", !14, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!"_ZTSSt6atomicIbE", !16, i64 0}
!16 = !{!"_ZTSSt13__atomic_baseIbE", !17, i64 0}
!17 = !{!"bool", !10, i64 0}
!18 = !{!"float", !10, i64 0}
!19 = !{!"_ZTSSt6atomicIP12ContextPropsE", !20, i64 0}
!20 = !{!"_ZTSSt13__atomic_baseIP12ContextPropsE", !9, i64 0}
!21 = !{!"_ZTSSt6atomicIP14VoicePropsItemE", !22, i64 0}
!22 = !{!"_ZTSSt13__atomic_baseIP14VoicePropsItemE", !9, i64 0}
!23 = !{!"_ZTSSt6atomicIP15EffectSlotPropsE", !24, i64 0}
!24 = !{!"_ZTSSt13__atomic_baseIP15EffectSlotPropsE", !9, i64 0}
!25 = !{!"_ZTSSt6atomicIP11VoiceChangeE", !26, i64 0}
!26 = !{!"_ZTSSt13__atomic_baseIP11VoiceChangeE", !9, i64 0}
!27 = !{!"_ZTS13ContextParams", !19, i64 0, !28, i64 16, !30, i64 32, !28, i64 96, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !17, i64 132, !32, i64 133}
!28 = !{!"_ZTSN3alu6VectorE", !29, i64 0}
!29 = !{!"_ZTSSt5arrayIfLm4EE", !10, i64 0}
!30 = !{!"_ZTSN3alu6MatrixE", !31, i64 0}
!31 = !{!"_ZTSSt5arrayIfLm16EE", !10, i64 0}
!32 = !{!"_ZTS13DistanceModel", !10, i64 0}
!33 = !{!"_ZTSN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEE", !34, i64 0}
!34 = !{!"_ZTSSt6atomicIPN2al9FlexArrayIP5VoiceLm8EEEE", !35, i64 0}
!35 = !{!"_ZTSSt13__atomic_baseIPN2al9FlexArrayIP5VoiceLm8EEEE", !9, i64 0}
!36 = !{!"_ZTSSt6atomicImE", !37, i64 0}
!37 = !{!"_ZTSSt13__atomic_baseImE", !38, i64 0}
!38 = !{!"long", !10, i64 0}
!39 = !{!"_ZTSN2al17atomic_unique_ptrINS_9FlexArrayIP10EffectSlotLm8EEESt14default_deleteIS4_EEE", !40, i64 0}
!40 = !{!"_ZTSSt6atomicIPN2al9FlexArrayIP10EffectSlotLm8EEEE", !41, i64 0}
!41 = !{!"_ZTSSt13__atomic_baseIPN2al9FlexArrayIP10EffectSlotLm8EEEE", !9, i64 0}
!42 = !{!"_ZTSSt6thread", !43, i64 0}
!43 = !{!"_ZTSNSt6thread2idE", !38, i64 0}
!44 = !{!"_ZTSN2al9semaphoreE", !10, i64 0}
!45 = !{!"_ZTSSt10unique_ptrI10RingBufferSt14default_deleteIS0_EE", !46, i64 0}
!46 = !{!"_ZTSSt15__uniq_ptr_dataI10RingBufferSt14default_deleteIS0_ELb1ELb1EE", !47, i64 0}
!47 = !{!"_ZTSSt15__uniq_ptr_implI10RingBufferSt14default_deleteIS0_EE", !48, i64 0}
!48 = !{!"_ZTSSt5tupleIJP10RingBufferSt14default_deleteIS0_EEE", !49, i64 0}
!49 = !{!"_ZTSSt11_Tuple_implILm0EJP10RingBufferSt14default_deleteIS0_EEE", !50, i64 0}
!50 = !{!"_ZTSSt10_Head_baseILm0EP10RingBufferLb0EE", !9, i64 0}
!51 = !{!"_ZTSSt6atomicISt6bitsetILm3EEE", !52, i64 0}
!52 = !{!"_ZTSSt6bitsetILm3EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Base_bitsetILm1EE", !38, i64 0}
!54 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!58 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!62 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EE", !63, i64 0}
!63 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!66 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EE", !67, i64 0}
!67 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EE", !68, i64 0}
!68 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !69, i64 0}
!69 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!70 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EE", !71, i64 0}
!71 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!74 = !{!"_ZTSSt6vectorISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EE", !75, i64 0}
!75 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EE", !76, i64 0}
!76 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EE12_Vector_implE", !77, i64 0}
!77 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!78 = !{!14, !14, i64 0}


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