; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/alc/alu.ll (ZN10DeviceBase13renderSamplesEj)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.DeviceBase::MixLock" = type <{ ptr, i32, [4 x i8] }>
%"class.std::chrono::duration" = type { i64 }
%"class.std::chrono::duration.110" = type { i64 }
%"class.al::span.24" = type { ptr, i64 }
%"class.al::span.120" = type { ptr }
%struct.DeviceBase = type { %"struct.std::atomic", i8, i32, i32, i32, i8, i8, i32, float, i8, i8, i8, %"class.std::__cxx11::basic_string", %"class.std::bitset.9", i8, i32, i8, float, %class.NfcFilter, %"struct.std::atomic.13", %"struct.std::atomic.15", %"class.std::chrono::duration", %"struct.std::array.16", %"struct.std::array.16", [8 x i8], %"struct.std::array.18", %"struct.std::array.19", %"struct.std::array.20", %"struct.std::array.21", %"struct.std::array.22", %"class.std::vector", %struct.MixParams, %"struct.std::array.25", %struct.RealMixParams, %"class.std::unique_ptr", %"class.al::intrusive_ptr", i32, %"class.std::unique_ptr.30", %"class.std::unique_ptr.38", %"class.std::unique_ptr.46", { i64, i64 }, %"class.std::unique_ptr.54", %"class.std::unique_ptr.62", float, i32, %"struct.std::atomic.13", %"class.al::atomic_unique_ptr", [8 x i8] }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i8 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::bitset.9" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }
%class.NfcFilter = type { %struct.NfcFilter1, %struct.NfcFilter2, %struct.NfcFilter3, %struct.NfcFilter4 }
%struct.NfcFilter1 = type { float, float, float, float, %"struct.std::array.10" }
%"struct.std::array.10" = type { [1 x float] }
%struct.NfcFilter2 = type { float, float, float, float, float, float, %"struct.std::array.11" }
%"struct.std::array.11" = type { [2 x float] }
%struct.NfcFilter3 = type { float, float, float, float, float, float, float, float, %"struct.std::array.12" }
%"struct.std::array.12" = type { [3 x float] }
%struct.NfcFilter4 = type { float, float, float, float, float, float, float, float, float, float, %"struct.std::array.0" }
%"struct.std::array.0" = type { [4 x float] }
%"struct.std::atomic.15" = type { %"class.std::chrono::duration" }
%"struct.std::array.16" = type { [16 x %"struct.std::array.17"] }
%"struct.std::array.17" = type { [16 x float] }
%"struct.std::array.18" = type { [20480 x float] }
%"struct.std::array.19" = type { [1328 x float] }
%"struct.std::array.20" = type { [1024 x float] }
%"struct.std::array.21" = type { [1088 x float] }
%"struct.std::array.22" = type { [1152 x %"struct.std::array.11"] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::array<float, 1024>, al::allocator<std::array<float, 1024>, 16>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<float, 1024>, al::allocator<std::array<float, 1024>, 16>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<float, 1024>, al::allocator<std::array<float, 1024>, 16>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<float, 1024>, al::allocator<std::array<float, 1024>, 16>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.MixParams = type { %"struct.std::array.23", %"class.al::span.24" }
%"struct.std::array.23" = type { [16 x %struct.BFChannelConfig] }
%struct.BFChannelConfig = type { float, i32 }
%"struct.std::array.25" = type { [4 x i32] }
%struct.RealMixParams = type { %"class.al::span.26", %"struct.std::array.27", %"class.al::span.24" }
%"class.al::span.26" = type { ptr, i64 }
%"struct.std::array.27" = type { [36 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.29" }
%"struct.std::_Head_base.29" = type { ptr }
%"class.al::intrusive_ptr" = type { ptr }
%"class.std::unique_ptr.30" = type { %"struct.std::__uniq_ptr_data.31" }
%"struct.std::__uniq_ptr_data.31" = type { %"class.std::__uniq_ptr_impl.32" }
%"class.std::__uniq_ptr_impl.32" = type { %"class.std::tuple.33" }
%"class.std::tuple.33" = type { %"struct.std::_Tuple_impl.34" }
%"struct.std::_Tuple_impl.34" = type { %"struct.std::_Head_base.37" }
%"struct.std::_Head_base.37" = type { ptr }
%"class.std::unique_ptr.38" = type { %"struct.std::__uniq_ptr_data.39" }
%"struct.std::__uniq_ptr_data.39" = type { %"class.std::__uniq_ptr_impl.40" }
%"class.std::__uniq_ptr_impl.40" = type { %"class.std::tuple.41" }
%"class.std::tuple.41" = type { %"struct.std::_Tuple_impl.42" }
%"struct.std::_Tuple_impl.42" = type { %"struct.std::_Head_base.45" }
%"struct.std::_Head_base.45" = type { ptr }
%"class.std::unique_ptr.46" = type { %"struct.std::__uniq_ptr_data.47" }
%"struct.std::__uniq_ptr_data.47" = type { %"class.std::__uniq_ptr_impl.48" }
%"class.std::__uniq_ptr_impl.48" = type { %"class.std::tuple.49" }
%"class.std::tuple.49" = type { %"struct.std::_Tuple_impl.50" }
%"struct.std::_Tuple_impl.50" = type { %"struct.std::_Head_base.53" }
%"struct.std::_Head_base.53" = type { ptr }
%"class.std::unique_ptr.54" = type { %"struct.std::__uniq_ptr_data.55" }
%"struct.std::__uniq_ptr_data.55" = type { %"class.std::__uniq_ptr_impl.56" }
%"class.std::__uniq_ptr_impl.56" = type { %"class.std::tuple.57" }
%"class.std::tuple.57" = type { %"struct.std::_Tuple_impl.58" }
%"struct.std::_Tuple_impl.58" = type { %"struct.std::_Head_base.61" }
%"struct.std::_Head_base.61" = type { ptr }
%"class.std::unique_ptr.62" = type { %"struct.std::__uniq_ptr_data.63" }
%"struct.std::__uniq_ptr_data.63" = type { %"class.std::__uniq_ptr_impl.64" }
%"class.std::__uniq_ptr_impl.64" = type { %"class.std::tuple.65" }
%"class.std::tuple.65" = type { %"struct.std::_Tuple_impl.66" }
%"struct.std::_Tuple_impl.66" = type { %"struct.std::_Head_base.69" }
%"struct.std::_Head_base.69" = type { ptr }
%"struct.std::atomic.13" = type { %"struct.std::__atomic_base.14" }
%"struct.std::__atomic_base.14" = type { i32 }
%"class.al::atomic_unique_ptr" = type { %"struct.std::atomic.70" }
%"struct.std::atomic.70" = type { %"struct.std::__atomic_base.71" }
%"struct.std::__atomic_base.71" = type { ptr }
%struct.DistanceComp = type { %"struct.std::array.121", %"struct.al::FlexArray.123" }
%"struct.std::array.121" = type { [16 x %"struct.DistanceComp::ChanData"] }
%"struct.DistanceComp::ChanData" = type <{ %"class.al::span.122", float, [4 x i8] }>
%"class.al::span.122" = type { ptr, i64 }
%"struct.al::FlexArray.123" = type { %"struct.al::FlexArrayStorage.124" }
%"struct.al::FlexArrayStorage.124" = type { %"class.al::span.122" }

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN10DeviceBase13renderSamplesEj(ptr noundef nonnull align 16 dereferenceable(107576) %0, i32 noundef %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca float, align 4
  %12 = alloca %"struct.DeviceBase::MixLock", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::chrono::duration", align 8
  %17 = alloca %"class.std::chrono::duration", align 8
  %18 = alloca %"class.std::chrono::duration.110", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::chrono::duration", align 8
  %21 = alloca %"class.al::span.24", align 8
  %22 = alloca %"class.al::span.120", align 8
  %23 = alloca %"class.al::span.24", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %24 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 1024, ptr %6, align 4, !tbaa !9
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %26 = load i32, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  store i32 %26, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %27 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 30
  store ptr %27, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call ptr @_ZNSt6vectorISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  %30 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %29, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = call ptr @_ZNSt6vectorISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #9
  %33 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %32, ptr %33, align 8
  br label %34

34:                                               ; preds = %40, %2
  %35 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIfLm1024EESt6vectorIS2_N2al9allocatorIS2_Lm16EEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  br i1 %35, label %37, label %36

36:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %42

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %38 = call noundef nonnull align 4 dereferenceable(4096) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIfLm1024EESt6vectorIS2_N2al9allocatorIS2_Lm16EEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  store ptr %38, ptr %10, align 8, !tbaa !5
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store float 0.000000e+00, ptr %11, align 4, !tbaa !11
  call void @_ZNSt5arrayIfLm1024EE4fillERKf(ptr noundef nonnull align 4 dereferenceable(4096) %39, ptr noundef nonnull align 4 dereferenceable(4) %11)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %40

40:                                               ; preds = %37
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIfLm1024EESt6vectorIS2_N2al9allocatorIS2_Lm16EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  br label %34

42:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #9
  call void @_ZN10DeviceBase15getWriteMixLockEv(ptr dead_on_unwind writable sret(%"struct.DeviceBase::MixLock") align 8 %12, ptr noundef nonnull align 16 dereferenceable(107576) %24) #9
  %43 = load i32, ptr %5, align 4, !tbaa !9
  invoke void @_ZN12_GLOBAL__N_115ProcessContextsEP10DeviceBasej(ptr noundef %24, i32 noundef %43)
          to label %44 unwind label %79

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %45 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 19
  %46 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %45, i32 noundef 0) #9
  %47 = load i32, ptr %5, align 4, !tbaa !9
  %48 = add i32 %46, %47
  store i32 %48, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %49 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 20
  %50 = call i64 @_ZNKSt6atomicINSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %49, i32 noundef 0) #9
  %51 = getelementptr inbounds %"class.std::chrono::duration", ptr %17, i32 0, i32 0
  store i64 %50, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %52 = load i32, ptr %15, align 4, !tbaa !9
  %53 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 2
  %54 = load i32, ptr %53, align 4, !tbaa !13
  %55 = udiv i32 %52, %54
  store i32 %55, ptr %19, align 4, !tbaa !9
  invoke void @_ZNSt6chrono8durationIlSt5ratioILl1ELl1EEEC2IjvEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %56 unwind label %83

56:                                               ; preds = %44
  %57 = invoke i64 @_ZNSt6chronoplIlSt5ratioILl1ELl1000000000EElS1_ILl1ELl1EEEENSt11common_typeIJNS_8durationIT_T0_EENS5_IT1_T2_EEEE4typeERKS8_RKSB_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %58 unwind label %83

58:                                               ; preds = %56
  %59 = getelementptr inbounds %"class.std::chrono::duration", ptr %16, i32 0, i32 0
  store i64 %57, ptr %59, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  %60 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 19
  %61 = load i32, ptr %15, align 4, !tbaa !9
  %62 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 2
  %63 = load i32, ptr %62, align 4, !tbaa !13
  %64 = urem i32 %61, %63
  call void @_ZNSt13__atomic_baseIjE5storeEjSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %60, i32 noundef %64, i32 noundef 0) #9
  %65 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 20
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %16, i64 8, i1 false), !tbaa.struct !100
  %66 = getelementptr inbounds %"class.std::chrono::duration", ptr %20, i32 0, i32 0
  %67 = load i64, ptr %66, align 8
  call void @_ZNSt6atomicINSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEE5storeES4_St12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %65, i64 %67, i32 noundef 0) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @_ZN10DeviceBase7MixLockD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  %68 = load i32, ptr %5, align 4, !tbaa !9
  %69 = zext i32 %68 to i64
  call void @_ZN10DeviceBase11postProcessEm(ptr noundef nonnull align 16 dereferenceable(107576) %24, i64 noundef %69)
  %70 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 41
  %71 = call noundef zeroext i1 @_ZNKSt10unique_ptrI10CompressorSt14default_deleteIS0_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %70) #9
  br i1 %71, label %72, label %88

72:                                               ; preds = %58
  %73 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 41
  %74 = call noundef ptr @_ZNKSt10unique_ptrI10CompressorSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #9
  %75 = load i32, ptr %5, align 4, !tbaa !9
  %76 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 33
  %77 = getelementptr inbounds %struct.RealMixParams, ptr %76, i32 0, i32 2
  %78 = call noundef ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %77) #9
  call void @_ZN10Compressor7processEjPSt5arrayIfLm1024EE(ptr noundef nonnull align 16 dereferenceable(12400) %74, i32 noundef %75, ptr noundef %78)
  br label %88

79:                                               ; preds = %42
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %13, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %14, align 4
  br label %87

83:                                               ; preds = %56, %44
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %13, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %87

87:                                               ; preds = %83, %79
  call void @_ZN10DeviceBase7MixLockD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  br label %123

88:                                               ; preds = %72, %58
  %89 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 42
  %90 = call noundef zeroext i1 @_ZNKSt10unique_ptrI12DistanceCompSt14default_deleteIS0_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %89) #9
  br i1 %90, label %91, label %105

91:                                               ; preds = %88
  %92 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 33
  %93 = getelementptr inbounds %struct.RealMixParams, ptr %92, i32 0, i32 2
  call void @_ZN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEC2IRS3_TnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S2_EEbE4typeELb1EEEOS7_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %93)
  %94 = load i32, ptr %5, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 42
  %97 = call noundef ptr @_ZNKSt10unique_ptrI12DistanceCompSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %96) #9
  %98 = getelementptr inbounds %struct.DistanceComp, ptr %97, i32 0, i32 0
  call void @_ZN2al4spanIKN12DistanceComp8ChanDataELm16EEC2ILm16EEERSt5arrayIS2_XT_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(384) %98) #9
  %99 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %100 = load ptr, ptr %99, align 8
  %101 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %102 = load i64, ptr %101, align 8
  %103 = getelementptr inbounds %"class.al::span.120", ptr %22, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8
  call void @_ZN12_GLOBAL__N_117ApplyDistanceCompEN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEEmNS1_IKN12DistanceComp8ChanDataELm16EEE(ptr %100, i64 %102, i64 noundef %95, ptr %104)
  br label %105

105:                                              ; preds = %91, %88
  %106 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 43
  %107 = load float, ptr %106, align 16, !tbaa !102
  %108 = fcmp ogt float %107, 0.000000e+00
  br i1 %108, label %109, label %121

109:                                              ; preds = %105
  %110 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 33
  %111 = getelementptr inbounds %struct.RealMixParams, ptr %110, i32 0, i32 2
  call void @_ZN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEC2IRS3_TnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S2_EEbE4typeELb1EEEOS7_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %111)
  %112 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 44
  %113 = getelementptr inbounds %struct.DeviceBase, ptr %24, i32 0, i32 43
  %114 = load float, ptr %113, align 16, !tbaa !102
  %115 = load i32, ptr %5, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %120 = load i64, ptr %119, align 8
  call void @_ZN12_GLOBAL__N_111ApplyDitherEN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEEPjfm(ptr %118, i64 %120, ptr noundef %112, float noundef %114, i64 noundef %116)
  br label %121

121:                                              ; preds = %109, %105
  %122 = load i32, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  ret i32 %122

123:                                              ; preds = %87
  %124 = load ptr, ptr %13, align 8
  %125 = load i32, ptr %14, align 4
  %126 = insertvalue { ptr, i32 } poison, ptr %124, 0
  %127 = insertvalue { ptr, i32 } %126, i32 %125, 1
  resume { ptr, i32 } %127
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5arrayIfLm1024EE4fillERKf(ptr noundef nonnull align 4 dereferenceable(4096), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10DeviceBase15getWriteMixLockEv(ptr dead_on_unwind noalias writable sret(%"struct.DeviceBase::MixLock") align 8, ptr noundef nonnull align 16 dereferenceable(107576)) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_115ProcessContextsEP10DeviceBasej(ptr noundef, i32 noundef) #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #4 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicINSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEE5storeES4_St12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i64, i32 noundef) #3 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) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10DeviceBase11postProcessEm(ptr noundef nonnull align 16 dereferenceable(107576), i64 noundef) #6 align 2

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

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

declare void @_ZN10Compressor7processEjPSt5arrayIfLm1024EE(ptr noundef nonnull align 16 dereferenceable(12400), i32 noundef, ptr noundef) #7

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_117ApplyDistanceCompEN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEEmNS1_IKN12DistanceComp8ChanDataELm16EEE(ptr, i64, i64 noundef, ptr) #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_111ApplyDitherEN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEEPjfm(ptr, i64, ptr noundef, float noundef, i64 noundef) #8

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !10, i64 4}
!14 = !{!"_ZTS10DeviceBase", !15, i64 0, !18, i64 1, !10, i64 4, !10, i64 8, !10, i64 12, !19, i64 16, !20, i64 17, !10, i64 20, !12, i64 24, !17, i64 28, !21, i64 29, !22, i64 30, !23, i64 32, !26, i64 64, !28, i64 72, !10, i64 76, !29, i64 80, !12, i64 84, !30, i64 88, !39, i64 240, !41, i64 248, !42, i64 256, !43, i64 264, !43, i64 1288, !44, i64 2320, !45, i64 84240, !46, i64 89552, !47, i64 93648, !48, i64 98000, !49, i64 107216, !53, i64 107240, !56, i64 107384, !57, i64 107400, !60, i64 107472, !66, i64 107480, !10, i64 107488, !67, i64 107496, !73, i64 107504, !79, i64 107512, !7, i64 107520, !85, i64 107536, !91, i64 107544, !12, i64 107552, !10, i64 107556, !39, i64 107560, !97, i64 107568}
!15 = !{!"_ZTSSt6atomicIbE", !16, i64 0}
!16 = !{!"_ZTSSt13__atomic_baseIbE", !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTS10DeviceType", !7, i64 0}
!19 = !{!"_ZTS14DevFmtChannels", !7, i64 0}
!20 = !{!"_ZTS10DevFmtType", !7, i64 0}
!21 = !{!"_ZTS13DevAmbiLayout", !7, i64 0}
!22 = !{!"_ZTS14DevAmbiScaling", !7, i64 0}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !25, i64 8, !7, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSSt6bitsetILm6EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Base_bitsetILm1EE", !25, i64 0}
!28 = !{!"_ZTS11DeviceState", !7, i64 0}
!29 = !{!"_ZTS10RenderMode", !7, i64 0}
!30 = !{!"_ZTS9NfcFilter", !31, i64 0, !33, i64 20, !35, i64 52, !37, i64 96}
!31 = !{!"_ZTS10NfcFilter1", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !32, i64 16}
!32 = !{!"_ZTSSt5arrayIfLm1EE", !7, i64 0}
!33 = !{!"_ZTS10NfcFilter2", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !34, i64 24}
!34 = !{!"_ZTSSt5arrayIfLm2EE", !7, i64 0}
!35 = !{!"_ZTS10NfcFilter3", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !36, i64 32}
!36 = !{!"_ZTSSt5arrayIfLm3EE", !7, i64 0}
!37 = !{!"_ZTS10NfcFilter4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !38, i64 40}
!38 = !{!"_ZTSSt5arrayIfLm4EE", !7, i64 0}
!39 = !{!"_ZTSSt6atomicIjE", !40, i64 0}
!40 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!41 = !{!"_ZTSSt6atomicINSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEE", !42, i64 0}
!42 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !25, i64 0}
!43 = !{!"_ZTSSt5arrayIS_IfLm16EELm16EE", !7, i64 0}
!44 = !{!"_ZTSSt5arrayIfLm20480EE", !7, i64 0}
!45 = !{!"_ZTSSt5arrayIfLm1328EE", !7, i64 0}
!46 = !{!"_ZTSSt5arrayIfLm1024EE", !7, i64 0}
!47 = !{!"_ZTSSt5arrayIfLm1088EE", !7, i64 0}
!48 = !{!"_ZTSSt5arrayIS_IfLm2EELm1152EE", !7, i64 0}
!49 = !{!"_ZTSSt6vectorISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!53 = !{!"_ZTS9MixParams", !54, i64 0, !55, i64 128}
!54 = !{!"_ZTSSt5arrayI15BFChannelConfigLm16EE", !7, i64 0}
!55 = !{!"_ZTSN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEE", !6, i64 0, !25, i64 8}
!56 = !{!"_ZTSSt5arrayIjLm4EE", !7, i64 0}
!57 = !{!"_ZTS13RealMixParams", !58, i64 0, !59, i64 16, !55, i64 56}
!58 = !{!"_ZTSN2al4spanIK13InputRemixMapLm18446744073709551615EEE", !6, i64 0, !25, i64 8}
!59 = !{!"_ZTSSt5arrayIhLm36EE", !7, i64 0}
!60 = !{!"_ZTSSt10unique_ptrI15DirectHrtfStateSt14default_deleteIS0_EE", !61, i64 0}
!61 = !{!"_ZTSSt15__uniq_ptr_dataI15DirectHrtfStateSt14default_deleteIS0_ELb1ELb1EE", !62, i64 0}
!62 = !{!"_ZTSSt15__uniq_ptr_implI15DirectHrtfStateSt14default_deleteIS0_EE", !63, i64 0}
!63 = !{!"_ZTSSt5tupleIJP15DirectHrtfStateSt14default_deleteIS0_EEE", !64, i64 0}
!64 = !{!"_ZTSSt11_Tuple_implILm0EJP15DirectHrtfStateSt14default_deleteIS0_EEE", !65, i64 0}
!65 = !{!"_ZTSSt10_Head_baseILm0EP15DirectHrtfStateLb0EE", !6, i64 0}
!66 = !{!"_ZTSN2al13intrusive_ptrI9HrtfStoreEE", !6, i64 0}
!67 = !{!"_ZTSSt10unique_ptrI14UhjEncoderBaseSt14default_deleteIS0_EE", !68, i64 0}
!68 = !{!"_ZTSSt15__uniq_ptr_dataI14UhjEncoderBaseSt14default_deleteIS0_ELb1ELb1EE", !69, i64 0}
!69 = !{!"_ZTSSt15__uniq_ptr_implI14UhjEncoderBaseSt14default_deleteIS0_EE", !70, i64 0}
!70 = !{!"_ZTSSt5tupleIJP14UhjEncoderBaseSt14default_deleteIS0_EEE", !71, i64 0}
!71 = !{!"_ZTSSt11_Tuple_implILm0EJP14UhjEncoderBaseSt14default_deleteIS0_EEE", !72, i64 0}
!72 = !{!"_ZTSSt10_Head_baseILm0EP14UhjEncoderBaseLb0EE", !6, i64 0}
!73 = !{!"_ZTSSt10unique_ptrI10BFormatDecSt14default_deleteIS0_EE", !74, i64 0}
!74 = !{!"_ZTSSt15__uniq_ptr_dataI10BFormatDecSt14default_deleteIS0_ELb1ELb1EE", !75, i64 0}
!75 = !{!"_ZTSSt15__uniq_ptr_implI10BFormatDecSt14default_deleteIS0_EE", !76, i64 0}
!76 = !{!"_ZTSSt5tupleIJP10BFormatDecSt14default_deleteIS0_EEE", !77, i64 0}
!77 = !{!"_ZTSSt11_Tuple_implILm0EJP10BFormatDecSt14default_deleteIS0_EEE", !78, i64 0}
!78 = !{!"_ZTSSt10_Head_baseILm0EP10BFormatDecLb0EE", !6, i64 0}
!79 = !{!"_ZTSSt10unique_ptrIN4Bs2b4bs2bESt14default_deleteIS1_EE", !80, i64 0}
!80 = !{!"_ZTSSt15__uniq_ptr_dataIN4Bs2b4bs2bESt14default_deleteIS1_ELb1ELb1EE", !81, i64 0}
!81 = !{!"_ZTSSt15__uniq_ptr_implIN4Bs2b4bs2bESt14default_deleteIS1_EE", !82, i64 0}
!82 = !{!"_ZTSSt5tupleIJPN4Bs2b4bs2bESt14default_deleteIS1_EEE", !83, i64 0}
!83 = !{!"_ZTSSt11_Tuple_implILm0EJPN4Bs2b4bs2bESt14default_deleteIS1_EEE", !84, i64 0}
!84 = !{!"_ZTSSt10_Head_baseILm0EPN4Bs2b4bs2bELb0EE", !6, i64 0}
!85 = !{!"_ZTSSt10unique_ptrI10CompressorSt14default_deleteIS0_EE", !86, i64 0}
!86 = !{!"_ZTSSt15__uniq_ptr_dataI10CompressorSt14default_deleteIS0_ELb1ELb1EE", !87, i64 0}
!87 = !{!"_ZTSSt15__uniq_ptr_implI10CompressorSt14default_deleteIS0_EE", !88, i64 0}
!88 = !{!"_ZTSSt5tupleIJP10CompressorSt14default_deleteIS0_EEE", !89, i64 0}
!89 = !{!"_ZTSSt11_Tuple_implILm0EJP10CompressorSt14default_deleteIS0_EEE", !90, i64 0}
!90 = !{!"_ZTSSt10_Head_baseILm0EP10CompressorLb0EE", !6, i64 0}
!91 = !{!"_ZTSSt10unique_ptrI12DistanceCompSt14default_deleteIS0_EE", !92, i64 0}
!92 = !{!"_ZTSSt15__uniq_ptr_dataI12DistanceCompSt14default_deleteIS0_ELb1ELb1EE", !93, i64 0}
!93 = !{!"_ZTSSt15__uniq_ptr_implI12DistanceCompSt14default_deleteIS0_EE", !94, i64 0}
!94 = !{!"_ZTSSt5tupleIJP12DistanceCompSt14default_deleteIS0_EEE", !95, i64 0}
!95 = !{!"_ZTSSt11_Tuple_implILm0EJP12DistanceCompSt14default_deleteIS0_EEE", !96, i64 0}
!96 = !{!"_ZTSSt10_Head_baseILm0EP12DistanceCompLb0EE", !6, i64 0}
!97 = !{!"_ZTSN2al17atomic_unique_ptrINS_9FlexArrayIP11ContextBaseLm8EEESt14default_deleteIS4_EEE", !98, i64 0}
!98 = !{!"_ZTSSt6atomicIPN2al9FlexArrayIP11ContextBaseLm8EEEE", !99, i64 0}
!99 = !{!"_ZTSSt13__atomic_baseIPN2al9FlexArrayIP11ContextBaseLm8EEEE", !6, i64 0}
!100 = !{i64 0, i64 8, !101}
!101 = !{!25, !25, i64 0}
!102 = !{!14, !12, i64 107552}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.DeviceBase::MixLock" = type <{ ptr, i32, [4 x i8] }>
%"class.std::chrono::duration" = type { i64 }
%"class.std::chrono::duration.110" = type { i64 }
%"class.al::span.24" = type { ptr, i64 }
%"class.al::span.120" = type { ptr }

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN10DeviceBase13renderSamplesEj(ptr noundef nonnull align 16 dereferenceable(107576) %0, i32 noundef %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca float, align 4
  %8 = alloca %"struct.DeviceBase::MixLock", align 8
  %9 = alloca %"class.std::chrono::duration", align 8
  %10 = alloca %"class.std::chrono::duration.110", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.al::span.24", align 8
  %13 = alloca %"class.al::span.120", align 8
  %14 = alloca %"class.al::span.24", align 8
  store i32 %1, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  store i32 1024, ptr %4, align 4, !tbaa !5
  %15 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIjERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %16 = load i32, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  %17 = getelementptr inbounds i8, ptr %0, i64 107216
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %18 = call ptr @_ZNSt6vectorISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  store ptr %18, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %19 = call ptr @_ZNSt6vectorISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  store ptr %19, ptr %6, align 8
  %20 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIfLm1024EESt6vectorIS2_N2al9allocatorIS2_Lm16EEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br i1 %20, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %2
  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 16, ptr nonnull %8) #8
  call void @_ZN10DeviceBase15getWriteMixLockEv(ptr dead_on_unwind nonnull writable sret(%"struct.DeviceBase::MixLock") align 8 %8, ptr noundef nonnull align 16 dereferenceable(107576) %0) #8
  invoke void @_ZN12_GLOBAL__N_115ProcessContextsEP10DeviceBasej(ptr noundef nonnull %0, i32 noundef %16)
          to label %24 unwind label %44

.lr.ph:                                           ; preds = %2, %.lr.ph
  %21 = call noundef nonnull align 4 dereferenceable(4096) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIfLm1024EESt6vectorIS2_N2al9allocatorIS2_Lm16EEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  store float 0.000000e+00, ptr %7, align 4, !tbaa !9
  call void @_ZNSt5arrayIfLm1024EE4fillERKf(ptr noundef nonnull align 4 dereferenceable(4096) %21, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIfLm1024EESt6vectorIS2_N2al9allocatorIS2_Lm16EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %23 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIfLm1024EESt6vectorIS2_N2al9allocatorIS2_Lm16EEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  br i1 %23, label %.lr.ph, label %._crit_edge

24:                                               ; preds = %._crit_edge
  %25 = getelementptr inbounds i8, ptr %0, i64 240
  %26 = call noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef 0) #8
  %27 = add i32 %26, %16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %28 = getelementptr inbounds i8, ptr %0, i64 248
  %29 = call i64 @_ZNKSt6atomicINSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEE4loadESt12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %28, i32 noundef 0) #8
  store i64 %29, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #8
  %30 = getelementptr inbounds i8, ptr %0, i64 4
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = udiv i32 %27, %31
  store i32 %32, ptr %11, align 4, !tbaa !5
  call void @_ZNSt6chrono8durationIlSt5ratioILl1ELl1EEEC2IjvEERKT_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %33 = invoke i64 @_ZNSt6chronoplIlSt5ratioILl1ELl1000000000EElS1_ILl1ELl1EEEENSt11common_typeIJNS_8durationIT_T0_EENS5_IT1_T2_EEEE4typeERKS8_RKSB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %34 unwind label %46

34:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  %35 = load i32, ptr %30, align 4, !tbaa !11
  %36 = urem i32 %27, %35
  call void @_ZNSt13__atomic_baseIjE5storeEjSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef %36, i32 noundef 0) #8
  call void @_ZNSt6atomicINSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEE5storeES4_St12memory_order(ptr noundef nonnull align 8 dereferenceable(8) %28, i64 %33, i32 noundef 0) #8
  call void @_ZN10DeviceBase7MixLockD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  %37 = zext i32 %16 to i64
  call void @_ZN10DeviceBase11postProcessEm(ptr noundef nonnull align 16 dereferenceable(107576) %0, i64 noundef %37)
  %38 = getelementptr inbounds i8, ptr %0, i64 107536
  %39 = call noundef zeroext i1 @_ZNKSt10unique_ptrI10CompressorSt14default_deleteIS0_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  br i1 %39, label %40, label %49

40:                                               ; preds = %34
  %41 = call noundef ptr @_ZNKSt10unique_ptrI10CompressorSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  %42 = getelementptr inbounds i8, ptr %0, i64 107456
  %43 = call noundef ptr @_ZNK2al4spanISt5arrayIfLm1024EELm18446744073709551615EE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %42) #8
  call void @_ZN10Compressor7processEjPSt5arrayIfLm1024EE(ptr noundef nonnull align 16 dereferenceable(12400) %41, i32 noundef %16, ptr noundef %43)
  br label %49

44:                                               ; preds = %._crit_edge
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %24
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %48

48:                                               ; preds = %46, %44
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @_ZN10DeviceBase7MixLockD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  resume { ptr, i32 } %.pn

49:                                               ; preds = %40, %34
  %50 = getelementptr inbounds i8, ptr %0, i64 107544
  %51 = call noundef zeroext i1 @_ZNKSt10unique_ptrI12DistanceCompSt14default_deleteIS0_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  br i1 %51, label %52, label %59

52:                                               ; preds = %49
  %53 = getelementptr inbounds i8, ptr %0, i64 107456
  call void @_ZN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEC2IRS3_TnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S2_EEbE4typeELb1EEEOS7_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %53)
  %54 = call noundef ptr @_ZNKSt10unique_ptrI12DistanceCompSt14default_deleteIS0_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  call void @_ZN2al4spanIKN12DistanceComp8ChanDataELm16EEC2ILm16EEERSt5arrayIS2_XT_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(384) %54) #8
  %55 = load ptr, ptr %12, align 8
  %56 = getelementptr inbounds i8, ptr %12, i64 8
  %57 = load i64, ptr %56, align 8
  %58 = load ptr, ptr %13, align 8
  call void @_ZN12_GLOBAL__N_117ApplyDistanceCompEN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEEmNS1_IKN12DistanceComp8ChanDataELm16EEE(ptr %55, i64 %57, i64 noundef %37, ptr %58)
  br label %59

59:                                               ; preds = %52, %49
  %60 = getelementptr inbounds i8, ptr %0, i64 107552
  %61 = load float, ptr %60, align 16, !tbaa !99
  %62 = fcmp ogt float %61, 0.000000e+00
  br i1 %62, label %63, label %70

63:                                               ; preds = %59
  %64 = getelementptr inbounds i8, ptr %0, i64 107456
  call void @_ZN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEC2IRS3_TnNSt9enable_ifIXsr7detail_E18is_valid_containerIT_S2_EEbE4typeELb1EEEOS7_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %64)
  %65 = getelementptr inbounds i8, ptr %0, i64 107556
  %66 = load float, ptr %60, align 16, !tbaa !99
  %67 = load ptr, ptr %14, align 8
  %68 = getelementptr inbounds i8, ptr %14, i64 8
  %69 = load i64, ptr %68, align 8
  call void @_ZN12_GLOBAL__N_111ApplyDitherEN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEEPjfm(ptr %67, i64 %69, ptr noundef nonnull %65, float noundef %66, i64 noundef %37)
  br label %70

70:                                               ; preds = %63, %59
  ret i32 %16
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE3endEv(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_cxxneIPSt5arrayIfLm1024EESt6vectorIS2_N2al9allocatorIS2_Lm16EEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5arrayIfLm1024EE4fillERKf(ptr noundef nonnull align 4 dereferenceable(4096), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10DeviceBase15getWriteMixLockEv(ptr dead_on_unwind noalias writable sret(%"struct.DeviceBase::MixLock") align 8, ptr noundef nonnull align 16 dereferenceable(107576)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_115ProcessContextsEP10DeviceBasej(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNKSt13__atomic_baseIjE4loadESt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZNSt13__atomic_baseIjE5storeEjSt12memory_order(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6atomicINSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEE5storeES4_St12memory_order(ptr noundef nonnull align 8 dereferenceable(8), i64, i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10DeviceBase11postProcessEm(ptr noundef nonnull align 16 dereferenceable(107576), i64 noundef) local_unnamed_addr #5 align 2

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

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

declare void @_ZN10Compressor7processEjPSt5arrayIfLm1024EE(ptr noundef nonnull align 16 dereferenceable(12400), i32 noundef, ptr noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_117ApplyDistanceCompEN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEEmNS1_IKN12DistanceComp8ChanDataELm16EEE(ptr, i64, i64 noundef, ptr) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_111ApplyDitherEN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEEPjfm(ptr, i64, ptr noundef, float noundef, i64 noundef) local_unnamed_addr #7

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"_ZTS10DeviceBase", !13, i64 0, !16, i64 1, !6, i64 4, !6, i64 8, !6, i64 12, !17, i64 16, !18, i64 17, !6, i64 20, !10, i64 24, !15, i64 28, !19, i64 29, !20, i64 30, !21, i64 32, !25, i64 64, !27, i64 72, !6, i64 76, !28, i64 80, !10, i64 84, !29, i64 88, !38, i64 240, !40, i64 248, !41, i64 256, !42, i64 264, !42, i64 1288, !43, i64 2320, !44, i64 84240, !45, i64 89552, !46, i64 93648, !47, i64 98000, !48, i64 107216, !52, i64 107240, !55, i64 107384, !56, i64 107400, !59, i64 107472, !65, i64 107480, !6, i64 107488, !66, i64 107496, !72, i64 107504, !78, i64 107512, !7, i64 107520, !84, i64 107536, !90, i64 107544, !10, i64 107552, !6, i64 107556, !38, i64 107560, !96, i64 107568}
!13 = !{!"_ZTSSt6atomicIbE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseIbE", !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS10DeviceType", !7, i64 0}
!17 = !{!"_ZTS14DevFmtChannels", !7, i64 0}
!18 = !{!"_ZTS10DevFmtType", !7, i64 0}
!19 = !{!"_ZTS13DevAmbiLayout", !7, i64 0}
!20 = !{!"_ZTS14DevAmbiScaling", !7, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !24, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !23, i64 0}
!23 = !{!"any pointer", !7, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!"_ZTSSt6bitsetILm6EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Base_bitsetILm1EE", !24, i64 0}
!27 = !{!"_ZTS11DeviceState", !7, i64 0}
!28 = !{!"_ZTS10RenderMode", !7, i64 0}
!29 = !{!"_ZTS9NfcFilter", !30, i64 0, !32, i64 20, !34, i64 52, !36, i64 96}
!30 = !{!"_ZTS10NfcFilter1", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !31, i64 16}
!31 = !{!"_ZTSSt5arrayIfLm1EE", !7, i64 0}
!32 = !{!"_ZTS10NfcFilter2", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !33, i64 24}
!33 = !{!"_ZTSSt5arrayIfLm2EE", !7, i64 0}
!34 = !{!"_ZTS10NfcFilter3", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !35, i64 32}
!35 = !{!"_ZTSSt5arrayIfLm3EE", !7, i64 0}
!36 = !{!"_ZTS10NfcFilter4", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !37, i64 40}
!37 = !{!"_ZTSSt5arrayIfLm4EE", !7, i64 0}
!38 = !{!"_ZTSSt6atomicIjE", !39, i64 0}
!39 = !{!"_ZTSSt13__atomic_baseIjE", !6, i64 0}
!40 = !{!"_ZTSSt6atomicINSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEEE", !41, i64 0}
!41 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !24, i64 0}
!42 = !{!"_ZTSSt5arrayIS_IfLm16EELm16EE", !7, i64 0}
!43 = !{!"_ZTSSt5arrayIfLm20480EE", !7, i64 0}
!44 = !{!"_ZTSSt5arrayIfLm1328EE", !7, i64 0}
!45 = !{!"_ZTSSt5arrayIfLm1024EE", !7, i64 0}
!46 = !{!"_ZTSSt5arrayIfLm1088EE", !7, i64 0}
!47 = !{!"_ZTSSt5arrayIS_IfLm2EELm1152EE", !7, i64 0}
!48 = !{!"_ZTSSt6vectorISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseISt5arrayIfLm1024EEN2al9allocatorIS1_Lm16EEEE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!52 = !{!"_ZTS9MixParams", !53, i64 0, !54, i64 128}
!53 = !{!"_ZTSSt5arrayI15BFChannelConfigLm16EE", !7, i64 0}
!54 = !{!"_ZTSN2al4spanISt5arrayIfLm1024EELm18446744073709551615EEE", !23, i64 0, !24, i64 8}
!55 = !{!"_ZTSSt5arrayIjLm4EE", !7, i64 0}
!56 = !{!"_ZTS13RealMixParams", !57, i64 0, !58, i64 16, !54, i64 56}
!57 = !{!"_ZTSN2al4spanIK13InputRemixMapLm18446744073709551615EEE", !23, i64 0, !24, i64 8}
!58 = !{!"_ZTSSt5arrayIhLm36EE", !7, i64 0}
!59 = !{!"_ZTSSt10unique_ptrI15DirectHrtfStateSt14default_deleteIS0_EE", !60, i64 0}
!60 = !{!"_ZTSSt15__uniq_ptr_dataI15DirectHrtfStateSt14default_deleteIS0_ELb1ELb1EE", !61, i64 0}
!61 = !{!"_ZTSSt15__uniq_ptr_implI15DirectHrtfStateSt14default_deleteIS0_EE", !62, i64 0}
!62 = !{!"_ZTSSt5tupleIJP15DirectHrtfStateSt14default_deleteIS0_EEE", !63, i64 0}
!63 = !{!"_ZTSSt11_Tuple_implILm0EJP15DirectHrtfStateSt14default_deleteIS0_EEE", !64, i64 0}
!64 = !{!"_ZTSSt10_Head_baseILm0EP15DirectHrtfStateLb0EE", !23, i64 0}
!65 = !{!"_ZTSN2al13intrusive_ptrI9HrtfStoreEE", !23, i64 0}
!66 = !{!"_ZTSSt10unique_ptrI14UhjEncoderBaseSt14default_deleteIS0_EE", !67, i64 0}
!67 = !{!"_ZTSSt15__uniq_ptr_dataI14UhjEncoderBaseSt14default_deleteIS0_ELb1ELb1EE", !68, i64 0}
!68 = !{!"_ZTSSt15__uniq_ptr_implI14UhjEncoderBaseSt14default_deleteIS0_EE", !69, i64 0}
!69 = !{!"_ZTSSt5tupleIJP14UhjEncoderBaseSt14default_deleteIS0_EEE", !70, i64 0}
!70 = !{!"_ZTSSt11_Tuple_implILm0EJP14UhjEncoderBaseSt14default_deleteIS0_EEE", !71, i64 0}
!71 = !{!"_ZTSSt10_Head_baseILm0EP14UhjEncoderBaseLb0EE", !23, i64 0}
!72 = !{!"_ZTSSt10unique_ptrI10BFormatDecSt14default_deleteIS0_EE", !73, i64 0}
!73 = !{!"_ZTSSt15__uniq_ptr_dataI10BFormatDecSt14default_deleteIS0_ELb1ELb1EE", !74, i64 0}
!74 = !{!"_ZTSSt15__uniq_ptr_implI10BFormatDecSt14default_deleteIS0_EE", !75, i64 0}
!75 = !{!"_ZTSSt5tupleIJP10BFormatDecSt14default_deleteIS0_EEE", !76, i64 0}
!76 = !{!"_ZTSSt11_Tuple_implILm0EJP10BFormatDecSt14default_deleteIS0_EEE", !77, i64 0}
!77 = !{!"_ZTSSt10_Head_baseILm0EP10BFormatDecLb0EE", !23, i64 0}
!78 = !{!"_ZTSSt10unique_ptrIN4Bs2b4bs2bESt14default_deleteIS1_EE", !79, i64 0}
!79 = !{!"_ZTSSt15__uniq_ptr_dataIN4Bs2b4bs2bESt14default_deleteIS1_ELb1ELb1EE", !80, i64 0}
!80 = !{!"_ZTSSt15__uniq_ptr_implIN4Bs2b4bs2bESt14default_deleteIS1_EE", !81, i64 0}
!81 = !{!"_ZTSSt5tupleIJPN4Bs2b4bs2bESt14default_deleteIS1_EEE", !82, i64 0}
!82 = !{!"_ZTSSt11_Tuple_implILm0EJPN4Bs2b4bs2bESt14default_deleteIS1_EEE", !83, i64 0}
!83 = !{!"_ZTSSt10_Head_baseILm0EPN4Bs2b4bs2bELb0EE", !23, i64 0}
!84 = !{!"_ZTSSt10unique_ptrI10CompressorSt14default_deleteIS0_EE", !85, i64 0}
!85 = !{!"_ZTSSt15__uniq_ptr_dataI10CompressorSt14default_deleteIS0_ELb1ELb1EE", !86, i64 0}
!86 = !{!"_ZTSSt15__uniq_ptr_implI10CompressorSt14default_deleteIS0_EE", !87, i64 0}
!87 = !{!"_ZTSSt5tupleIJP10CompressorSt14default_deleteIS0_EEE", !88, i64 0}
!88 = !{!"_ZTSSt11_Tuple_implILm0EJP10CompressorSt14default_deleteIS0_EEE", !89, i64 0}
!89 = !{!"_ZTSSt10_Head_baseILm0EP10CompressorLb0EE", !23, i64 0}
!90 = !{!"_ZTSSt10unique_ptrI12DistanceCompSt14default_deleteIS0_EE", !91, i64 0}
!91 = !{!"_ZTSSt15__uniq_ptr_dataI12DistanceCompSt14default_deleteIS0_ELb1ELb1EE", !92, i64 0}
!92 = !{!"_ZTSSt15__uniq_ptr_implI12DistanceCompSt14default_deleteIS0_EE", !93, i64 0}
!93 = !{!"_ZTSSt5tupleIJP12DistanceCompSt14default_deleteIS0_EEE", !94, i64 0}
!94 = !{!"_ZTSSt11_Tuple_implILm0EJP12DistanceCompSt14default_deleteIS0_EEE", !95, i64 0}
!95 = !{!"_ZTSSt10_Head_baseILm0EP12DistanceCompLb0EE", !23, i64 0}
!96 = !{!"_ZTSN2al17atomic_unique_ptrINS_9FlexArrayIP11ContextBaseLm8EEESt14default_deleteIS4_EEE", !97, i64 0}
!97 = !{!"_ZTSSt6atomicIPN2al9FlexArrayIP11ContextBaseLm8EEEE", !98, i64 0}
!98 = !{!"_ZTSSt13__atomic_baseIPN2al9FlexArrayIP11ContextBaseLm8EEEE", !23, i64 0}
!99 = !{!12, !10, i64 107552}


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