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

; 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.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }
%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::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 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [92 x i8], align 1
@__PRETTY_FUNCTION__._ZN11ContextBaseC2EP10DeviceBase = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ContextBaseC2EP10DeviceBase(ptr noundef nonnull align 16 dereferenceable(432) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::bitset", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 0
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %10, ptr %9, align 16, !tbaa !9
  %11 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 1
  call void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef 0) #6
  %12 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 2
  call void @_ZNSt6atomicIbEC2Eb(ptr noundef nonnull align 1 dereferenceable(1) %12, i1 noundef zeroext false) #6
  %13 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 3
  call void @_ZNSt6atomicIbEC2Eb(ptr noundef nonnull align 1 dereferenceable(1) %13, i1 noundef zeroext true) #6
  %14 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 4
  store float 1.000000e+00, ptr %14, align 16, !tbaa !77
  %15 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 5
  call void @_ZNSt6atomicIP12ContextPropsEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef null) #6
  %16 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 6
  call void @_ZNSt6atomicIP14VoicePropsItemEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef null) #6
  %17 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 7
  call void @_ZNSt6atomicIP15EffectSlotPropsEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef null) #6
  %18 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 8
  store ptr null, ptr %18, align 16, !tbaa !78
  %19 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 9
  call void @llvm.memset.p0.i64(ptr align 8 %19, i8 0, i64 8, i1 false)
  %20 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 10
  call void @_ZN13ContextParamsC2Ev(ptr noundef nonnull align 16 dereferenceable(134) %20) #6
  %21 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 11
  call void @llvm.memset.p0.i64(ptr align 16 %21, i8 0, i64 8, i1 false)
  call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  %22 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 12
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 8, i1 false)
  %23 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 13
  call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP10EffectSlotLm8EEESt14default_deleteIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  %24 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 14
  call void @_ZNSt6threadC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %25 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 15
  invoke void @_ZN2al9semaphoreC1Ej(ptr noundef nonnull align 8 dereferenceable(32) %25, i32 noundef 0)
          to label %26 unwind label %42

26:                                               ; preds = %2
  %27 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 16
  call void @_ZNSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %28 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 17
  call void @_ZNSt6bitsetILm3EEC2Ey(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef 0) #6
  %29 = getelementptr inbounds %"class.std::bitset", ptr %7, i32 0, i32 0
  %30 = getelementptr inbounds %"struct.std::_Base_bitset", ptr %29, i32 0, i32 0
  %31 = load i64, ptr %30, align 8
  call void @_ZNSt6atomicISt6bitsetILm3EEEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8) %28, i64 %31) #6
  %32 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 18
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %33 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 19
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  %34 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 20
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  %35 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 21
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  %36 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 22
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %37 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 23
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  %38 = getelementptr inbounds %struct.ContextBase, ptr %8, i32 0, i32 17
  %39 = call noundef zeroext i1 @_ZNKSt6atomicISt6bitsetILm3EEE12is_lock_freeEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #6
  br i1 %39, label %40, label %41

40:                                               ; preds = %26
  br label %47

41:                                               ; preds = %26
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 26, ptr noundef @__PRETTY_FUNCTION__._ZN11ContextBaseC2EP10DeviceBase) #7
  unreachable

42:                                               ; preds = %2
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %5, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %6, align 4
  call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP10EffectSlotLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  br label %48

46:                                               ; No predecessors!
  br label %47

47:                                               ; preds = %46, %40
  ret void

48:                                               ; preds = %42
  %49 = load ptr, ptr %5, align 8
  %50 = load i32, ptr %6, align 4
  %51 = insertvalue { ptr, i32 } poison, ptr %49, 0
  %52 = insertvalue { ptr, i32 } %51, i32 %50, 1
  resume { ptr, i32 } %52
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicIbEC2Eb(ptr noundef nonnull align 1 dereferenceable(1), i1 noundef zeroext) unnamed_addr #1 align 2

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13ContextParamsC2Ev(ptr noundef nonnull align 16 dereferenceable(134)) unnamed_addr #3 align 2

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

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

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

declare void @_ZN2al9semaphoreC1Ej(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm3EEC2Ey(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicISt6bitsetILm3EEEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8), i64) unnamed_addr #1 align 2

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

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

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

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

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


; 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.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }

@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [92 x i8], align 1
@__PRETTY_FUNCTION__._ZN11ContextBaseC2EP10DeviceBase = external hidden unnamed_addr constant [39 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ContextBaseC2EP10DeviceBase(ptr noundef nonnull align 16 dereferenceable(432) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::bitset", align 8
  store ptr %1, ptr %0, align 16, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %4, i32 noundef 0) #6
  %5 = getelementptr inbounds i8, ptr %0, i64 12
  tail call void @_ZNSt6atomicIbEC2Eb(ptr noundef nonnull align 1 dereferenceable(1) %5, i1 noundef zeroext false) #6
  %6 = getelementptr inbounds i8, ptr %0, i64 13
  tail call void @_ZNSt6atomicIbEC2Eb(ptr noundef nonnull align 1 dereferenceable(1) %6, i1 noundef zeroext true) #6
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  store float 1.000000e+00, ptr %7, align 16, !tbaa !76
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNSt6atomicIP12ContextPropsEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef null) #6
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZNSt6atomicIP14VoicePropsItemEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef null) #6
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt6atomicIP15EffectSlotPropsEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef null) #6
  %11 = getelementptr inbounds i8, ptr %0, i64 48
  %12 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  tail call void @_ZN13ContextParamsC2Ev(ptr noundef nonnull align 16 dereferenceable(134) %12) #6
  %13 = getelementptr inbounds i8, ptr %0, i64 208
  store i64 0, ptr %13, align 16
  tail call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %14 = getelementptr inbounds i8, ptr %0, i64 216
  store i64 0, ptr %14, align 8
  %15 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP10EffectSlotLm8EEESt14default_deleteIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %16 = getelementptr inbounds i8, ptr %0, i64 232
  tail call void @_ZNSt6threadC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 240
  invoke void @_ZN2al9semaphoreC1Ej(ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 0)
          to label %18 unwind label %30

18:                                               ; preds = %2
  %19 = getelementptr inbounds i8, ptr %0, i64 272
  tail call void @_ZNSt10unique_ptrI10RingBufferSt14default_deleteIS0_EEC2IS2_vEEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %20 = getelementptr inbounds i8, ptr %0, i64 280
  call void @_ZNSt6bitsetILm3EEC2Ey(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0) #6
  %21 = load i64, ptr %3, align 8
  call void @_ZNSt6atomicISt6bitsetILm3EEEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 %21) #6
  %22 = getelementptr inbounds i8, ptr %0, i64 288
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI11VoiceChangeLm128EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  %23 = getelementptr inbounds i8, ptr %0, i64 312
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI5VoiceLm32EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 336
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI14VoicePropsItemLm32EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  %25 = getelementptr inbounds i8, ptr %0, i64 360
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI10EffectSlotLm4EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  %26 = getelementptr inbounds i8, ptr %0, i64 384
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI15EffectSlotPropsLm4EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  %27 = getelementptr inbounds i8, ptr %0, i64 408
  call void @_ZNSt6vectorISt10unique_ptrISt5arrayI12ContextPropsLm2EESt14default_deleteIS3_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %28 = call noundef zeroext i1 @_ZNKSt6atomicISt6bitsetILm3EEE12is_lock_freeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br i1 %28, label %32, label %29

29:                                               ; preds = %18
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 26, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11ContextBaseC2EP10DeviceBase) #7
  unreachable

30:                                               ; preds = %2
  %31 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZNSt6threadD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  tail call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP10EffectSlotLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  tail call void @_ZN2al17atomic_unique_ptrINS_9FlexArrayIP5VoiceLm8EEESt14default_deleteIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  resume { ptr, i32 } %31

32:                                               ; preds = %18
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicIjEC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicIbEC2Eb(ptr noundef nonnull align 1 dereferenceable(1), i1 noundef zeroext) unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN13ContextParamsC2Ev(ptr noundef nonnull align 16 dereferenceable(134)) unnamed_addr #3 align 2

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

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

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

declare void @_ZN2al9semaphoreC1Ej(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm3EEC2Ey(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicISt6bitsetILm3EEEC2ES1_(ptr noundef nonnull align 8 dereferenceable(8), i64) unnamed_addr #1 align 2

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

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

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

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass