; LLVM IR from software-mansion/react-native-audio-api :: packages/react-native-audio-api/common/cpp/audioapi/core/sources/OscillatorNod_eba6c82b (8AudioBusEEi)

; 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.audioapi::AudioNode" = type { ptr, %"class.std::enable_shared_from_this", ptr, %"class.std::shared_ptr", i32, i32, i32, i32, i32, %"class.std::unordered_set", %"class.std::unordered_set.2", i32, i8, i8, i64, %"class.std::vector" }
%"class.std::enable_shared_from_this" = type { %"class.std::weak_ptr" }
%"class.std::weak_ptr" = type { %"class.std::__weak_ptr" }
%"class.std::__weak_ptr" = type { ptr, %"class.std::__weak_count" }
%"class.std::__weak_count" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_set.2" = type { %"class.std::_Hashtable.3" }
%"class.std::_Hashtable.3" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::shared_ptr<audioapi::AudioBus>, std::allocator<std::shared_ptr<audioapi::AudioBus>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<audioapi::AudioBus>, std::allocator<std::shared_ptr<audioapi::AudioBus>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<audioapi::AudioBus>, std::allocator<std::shared_ptr<audioapi::AudioBus>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<audioapi::AudioBus>, std::allocator<std::shared_ptr<audioapi::AudioBus>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.audioapi::OscillatorNode" = type { %"class.audioapi::AudioScheduledSourceNode", %"class.std::shared_ptr.25", %"class.std::shared_ptr.25", i32, float, %"class.std::shared_ptr.28" }
%"class.audioapi::AudioScheduledSourceNode" = type { %"class.audioapi::AudioNode", i32, %"class.std::function", double, double }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::shared_ptr.25" = type { %"class.std::__shared_ptr.26" }
%"class.std::__shared_ptr.26" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.28" = type { %"class.std::__shared_ptr.29" }
%"class.std::__shared_ptr.29" = type { ptr, %"class.std::__shared_count" }

; 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
define dso_local void @_ZN8audioapi14OscillatorNode11processNodeERKSt10shared_ptrINS_8AudioBusEEi(ptr noundef nonnull align 8 dereferenceable(336) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) unnamed_addr #1 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca i64, align 8
  %13 = alloca float, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %18 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 0, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !11
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %20 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN8audioapi24AudioScheduledSourceNode18updatePlaybackInfoERKSt10shared_ptrINS_8AudioBusEEiRmS6_(ptr noundef nonnull align 8 dereferenceable(280) %18, ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef %20, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %21 = call noundef zeroext i1 @_ZN8audioapi24AudioScheduledSourceNode9isPlayingEv(ptr noundef nonnull align 8 dereferenceable(280) %18)
  br i1 %21, label %27, label %22

22:                                               ; preds = %3
  %23 = call noundef zeroext i1 @_ZN8audioapi24AudioScheduledSourceNode15isStopScheduledEv(ptr noundef nonnull align 8 dereferenceable(280) %18)
  br i1 %23, label %27, label %24

24:                                               ; preds = %22
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @_ZN8audioapi8AudioBus4zeroEv(ptr noundef nonnull align 8 dereferenceable(40) %26)
  store i32 1, ptr %9, align 4
  br label %128

27:                                               ; preds = %22, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %28 = getelementptr inbounds %"class.audioapi::AudioNode", ptr %18, i32 0, i32 2
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %30 = call noundef float @_ZNK8audioapi16BaseAudioContext13getSampleRateEv(ptr noundef nonnull align 8 dereferenceable(128) %29)
  %31 = fpext float %30 to double
  %32 = fdiv double 1.000000e+00, %31
  store double %32, ptr %10, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %33 = getelementptr inbounds %"class.audioapi::AudioNode", ptr %18, i32 0, i32 2
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  %35 = call noundef double @_ZNK8audioapi16BaseAudioContext14getCurrentTimeEv(ptr noundef nonnull align 8 dereferenceable(128) %34)
  %36 = load i64, ptr %7, align 8, !tbaa !11
  %37 = uitofp i64 %36 to double
  %38 = load double, ptr %10, align 8, !tbaa !36
  %39 = call double @llvm.fmuladd.f64(double %37, double %38, double %35)
  store double %39, ptr %11, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %40 = load i64, ptr %7, align 8, !tbaa !11
  store i64 %40, ptr %12, align 8, !tbaa !11
  br label %41

41:                                               ; preds = %124, %27
  %42 = load i64, ptr %12, align 8, !tbaa !11
  %43 = load i64, ptr %8, align 8, !tbaa !11
  %44 = icmp ult i64 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %127

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %47 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 2
  %48 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi10AudioParamELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %47) #6
  %49 = load double, ptr %11, align 8, !tbaa !36
  %50 = call noundef float @_ZN8audioapi10AudioParam14getValueAtTimeEd(ptr noundef nonnull align 8 dereferenceable(152) %48, double noundef %49)
  %51 = fdiv float %50, 1.200000e+03
  %52 = call noundef float @_ZSt3powff(float noundef 2.000000e+00, float noundef %51)
  store float %52, ptr %13, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %53 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 1
  %54 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi10AudioParamELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %53) #6
  %55 = load double, ptr %11, align 8, !tbaa !36
  %56 = call noundef float @_ZN8audioapi10AudioParam14getValueAtTimeEd(ptr noundef nonnull align 8 dereferenceable(152) %54, double noundef %55)
  %57 = load float, ptr %13, align 4, !tbaa !38
  %58 = fmul float %56, %57
  %59 = fpext float %58 to double
  %60 = call double @llvm.round.f64(double %59)
  store double %60, ptr %14, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %61 = load double, ptr %14, align 8, !tbaa !36
  %62 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 5
  %63 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %62) #6
  %64 = call noundef float @_ZNK8audioapi12PeriodicWave8getScaleEv(ptr noundef nonnull align 8 dereferenceable(33) %63)
  %65 = fpext float %64 to double
  %66 = fmul double %61, %65
  store double %66, ptr %15, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %67 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 5
  %68 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %67) #6
  %69 = load double, ptr %14, align 8, !tbaa !36
  %70 = fptrunc double %69 to float
  %71 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 4
  %72 = load float, ptr %71, align 4, !tbaa !39
  %73 = load double, ptr %15, align 8, !tbaa !36
  %74 = fptrunc double %73 to float
  %75 = call noundef float @_ZN8audioapi12PeriodicWave9getSampleEfff(ptr noundef nonnull align 8 dereferenceable(33) %68, float noundef %70, float noundef %72, float noundef %74)
  store float %75, ptr %16, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %91, %46
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %78) #6
  %80 = call noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40) %79)
  %81 = icmp slt i32 %77, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %76
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %94

83:                                               ; preds = %76
  %84 = load float, ptr %16, align 4, !tbaa !38
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %85) #6
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = call noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40) %86, i32 noundef %87)
  %89 = load i64, ptr %12, align 8, !tbaa !11
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %88, i64 noundef %89)
  store float %84, ptr %90, align 4, !tbaa !38
  br label %91

91:                                               ; preds = %83
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %17, align 4, !tbaa !9
  br label %76, !llvm.loop !50

94:                                               ; preds = %82
  %95 = load double, ptr %15, align 8, !tbaa !36
  %96 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 4
  %97 = load float, ptr %96, align 4, !tbaa !39
  %98 = fpext float %97 to double
  %99 = fadd double %98, %95
  %100 = fptrunc double %99 to float
  store float %100, ptr %96, align 4, !tbaa !39
  %101 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 4
  %102 = load float, ptr %101, align 4, !tbaa !39
  %103 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 5
  %104 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %103) #6
  %105 = call noundef i32 @_ZNK8audioapi12PeriodicWave19getPeriodicWaveSizeEv(ptr noundef nonnull align 8 dereferenceable(33) %104)
  %106 = sitofp i32 %105 to float
  %107 = fdiv float %102, %106
  %108 = fpext float %107 to double
  %109 = call double @llvm.floor.f64(double %108)
  %110 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 5
  %111 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %110) #6
  %112 = call noundef i32 @_ZNK8audioapi12PeriodicWave19getPeriodicWaveSizeEv(ptr noundef nonnull align 8 dereferenceable(33) %111)
  %113 = sitofp i32 %112 to float
  %114 = fpext float %113 to double
  %115 = getelementptr inbounds %"class.audioapi::OscillatorNode", ptr %18, i32 0, i32 4
  %116 = load float, ptr %115, align 4, !tbaa !39
  %117 = fpext float %116 to double
  %118 = fneg double %109
  %119 = call double @llvm.fmuladd.f64(double %118, double %114, double %117)
  %120 = fptrunc double %119 to float
  store float %120, ptr %115, align 4, !tbaa !39
  %121 = load double, ptr %10, align 8, !tbaa !36
  %122 = load double, ptr %11, align 8, !tbaa !36
  %123 = fadd double %122, %121
  store double %123, ptr %11, align 8, !tbaa !36
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %124

124:                                              ; preds = %94
  %125 = load i64, ptr %12, align 8, !tbaa !11
  %126 = add i64 %125, 1
  store i64 %126, ptr %12, align 8, !tbaa !11
  br label %41, !llvm.loop !52

127:                                              ; preds = %45
  call void @_ZN8audioapi24AudioScheduledSourceNode19handleStopScheduledEv(ptr noundef nonnull align 8 dereferenceable(280) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  store i32 0, ptr %9, align 4
  br label %128

128:                                              ; preds = %127, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  %129 = load i32, ptr %9, align 4
  switch i32 %129, label %131 [
    i32 0, label %130
    i32 1, label %130
  ]

130:                                              ; preds = %128, %128
  ret void

131:                                              ; preds = %128
  unreachable
}

declare void @_ZN8audioapi24AudioScheduledSourceNode18updatePlaybackInfoERKSt10shared_ptrINS_8AudioBusEEiRmS6_(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare noundef zeroext i1 @_ZN8audioapi24AudioScheduledSourceNode9isPlayingEv(ptr noundef nonnull align 8 dereferenceable(280)) #2

declare noundef zeroext i1 @_ZN8audioapi24AudioScheduledSourceNode15isStopScheduledEv(ptr noundef nonnull align 8 dereferenceable(280)) #2

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

declare void @_ZN8audioapi8AudioBus4zeroEv(ptr noundef nonnull align 8 dereferenceable(40)) #2

declare noundef float @_ZNK8audioapi16BaseAudioContext13getSampleRateEv(ptr noundef nonnull align 8 dereferenceable(128)) #2

declare noundef double @_ZNK8audioapi16BaseAudioContext14getCurrentTimeEv(ptr noundef nonnull align 8 dereferenceable(128)) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3powff(float noundef, float noundef) #5

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

declare noundef float @_ZN8audioapi10AudioParam14getValueAtTimeEd(ptr noundef nonnull align 8 dereferenceable(152), double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.round.f64(double) #4

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

declare noundef float @_ZNK8audioapi12PeriodicWave8getScaleEv(ptr noundef nonnull align 8 dereferenceable(33)) #2

declare noundef float @_ZN8audioapi12PeriodicWave9getSampleEfff(ptr noundef nonnull align 8 dereferenceable(33), float noundef, float noundef, float noundef) #2

declare noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40)) #2

declare noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #2

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #2

declare noundef i32 @_ZNK8audioapi12PeriodicWave19getPeriodicWaveSizeEv(ptr noundef nonnull align 8 dereferenceable(33)) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #4

declare void @_ZN8audioapi24AudioScheduledSourceNode19handleStopScheduledEv(ptr noundef nonnull align 8 dereferenceable(280)) #2

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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { 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 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 24}
!14 = !{!"_ZTSN8audioapi9AudioNodeE", !15, i64 8, !6, i64 24, !19, i64 32, !10, i64 48, !10, i64 52, !10, i64 56, !22, i64 60, !23, i64 64, !24, i64 72, !29, i64 128, !10, i64 184, !31, i64 188, !31, i64 189, !12, i64 192, !32, i64 200}
!15 = !{!"_ZTSSt23enable_shared_from_thisIN8audioapi9AudioNodeEE", !16, i64 0}
!16 = !{!"_ZTSSt8weak_ptrIN8audioapi9AudioNodeEE", !17, i64 0}
!17 = !{!"_ZTSSt10__weak_ptrIN8audioapi9AudioNodeELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !18, i64 8}
!18 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!19 = !{!"_ZTSSt10shared_ptrIN8audioapi8AudioBusEE", !20, i64 0}
!20 = !{!"_ZTSSt12__shared_ptrIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !21, i64 8}
!21 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!22 = !{!"_ZTSN8audioapi16ChannelCountModeE", !7, i64 0}
!23 = !{!"_ZTSN8audioapi21ChannelInterpretationE", !7, i64 0}
!24 = !{!"_ZTSSt13unordered_setIPN8audioapi9AudioNodeESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt10_HashtableIPN8audioapi9AudioNodeES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !12, i64 8, !26, i64 16, !12, i64 24, !27, i64 32, !6, i64 48}
!26 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!27 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !28, i64 0, !12, i64 8}
!28 = !{!"float", !7, i64 0}
!29 = !{!"_ZTSSt13unordered_setISt10shared_ptrIN8audioapi9AudioNodeEESt4hashIS3_ESt8equal_toIS3_ESaIS3_EE", !30, i64 0}
!30 = !{!"_ZTSSt10_HashtableISt10shared_ptrIN8audioapi9AudioNodeEES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !12, i64 8, !26, i64 16, !12, i64 24, !27, i64 32, !6, i64 48}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"_ZTSSt6vectorISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!37, !37, i64 0}
!37 = !{!"double", !7, i64 0}
!38 = !{!28, !28, i64 0}
!39 = !{!40, !28, i64 316}
!40 = !{!"_ZTSN8audioapi14OscillatorNodeE", !41, i64 0, !45, i64 280, !45, i64 296, !47, i64 312, !28, i64 316, !48, i64 320}
!41 = !{!"_ZTSN8audioapi24AudioScheduledSourceNodeE", !14, i64 0, !42, i64 224, !43, i64 232, !37, i64 264, !37, i64 272}
!42 = !{!"_ZTSN8audioapi24AudioScheduledSourceNode13PlaybackStateE", !7, i64 0}
!43 = !{!"_ZTSSt8functionIFvdEE", !44, i64 0, !6, i64 24}
!44 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!45 = !{!"_ZTSSt10shared_ptrIN8audioapi10AudioParamEE", !46, i64 0}
!46 = !{!"_ZTSSt12__shared_ptrIN8audioapi10AudioParamELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !21, i64 8}
!47 = !{!"_ZTSN8audioapi14OscillatorTypeE", !7, i64 0}
!48 = !{!"_ZTSSt10shared_ptrIN8audioapi12PeriodicWaveEE", !49, i64 0}
!49 = !{!"_ZTSSt12__shared_ptrIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !21, i64 8}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}
!52 = distinct !{!52, !51}


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

; 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
define dso_local void @_ZN8audioapi14OscillatorNode11processNodeERKSt10shared_ptrINS_8AudioBusEEi(ptr noundef nonnull align 8 dereferenceable(336) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2) unnamed_addr #1 align 2 {
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  store i64 0, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  store i64 0, ptr %5, align 8, !tbaa !5
  call void @_ZN8audioapi24AudioScheduledSourceNode18updatePlaybackInfoERKSt10shared_ptrINS_8AudioBusEEiRmS6_(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %6 = call noundef zeroext i1 @_ZN8audioapi24AudioScheduledSourceNode9isPlayingEv(ptr noundef nonnull align 8 dereferenceable(280) %0)
  br i1 %6, label %11, label %7

7:                                                ; preds = %3
  %8 = call noundef zeroext i1 @_ZN8audioapi24AudioScheduledSourceNode15isStopScheduledEv(ptr noundef nonnull align 8 dereferenceable(280) %0)
  br i1 %8, label %11, label %9

9:                                                ; preds = %7
  %10 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  call void @_ZN8audioapi8AudioBus4zeroEv(ptr noundef nonnull align 8 dereferenceable(40) %10)
  br label %79

11:                                               ; preds = %7, %3
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = call noundef float @_ZNK8audioapi16BaseAudioContext13getSampleRateEv(ptr noundef nonnull align 8 dereferenceable(128) %13)
  %15 = fpext float %14 to double
  %16 = fdiv double 1.000000e+00, %15
  %17 = load ptr, ptr %12, align 8, !tbaa !9
  %18 = call noundef double @_ZNK8audioapi16BaseAudioContext14getCurrentTimeEv(ptr noundef nonnull align 8 dereferenceable(128) %17)
  %19 = load i64, ptr %4, align 8, !tbaa !5
  %20 = load i64, ptr %5, align 8, !tbaa !5
  %21 = icmp ult i64 %19, %20
  br i1 %21, label %.lr.ph28, label %._crit_edge29

.lr.ph28:                                         ; preds = %11
  %22 = uitofp i64 %19 to double
  %23 = call double @llvm.fmuladd.f64(double %22, double %16, double %18)
  %24 = getelementptr inbounds i8, ptr %0, i64 296
  %25 = getelementptr inbounds i8, ptr %0, i64 280
  %26 = getelementptr inbounds i8, ptr %0, i64 320
  %27 = getelementptr inbounds i8, ptr %0, i64 316
  br label %28

._crit_edge29:                                    ; preds = %._crit_edge, %11
  call void @_ZN8audioapi24AudioScheduledSourceNode19handleStopScheduledEv(ptr noundef nonnull align 8 dereferenceable(280) %0)
  br label %79

28:                                               ; preds = %.lr.ph28, %._crit_edge
  %.02226 = phi double [ %23, %.lr.ph28 ], [ %68, %._crit_edge ]
  %.02325 = phi i64 [ %19, %.lr.ph28 ], [ %69, %._crit_edge ]
  %29 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi10AudioParamELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  %30 = call noundef float @_ZN8audioapi10AudioParam14getValueAtTimeEd(ptr noundef nonnull align 8 dereferenceable(152) %29, double noundef %.02226)
  %31 = fdiv float %30, 1.200000e+03
  %32 = call noundef float @_ZSt3powff(float noundef 2.000000e+00, float noundef %31)
  %33 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi10AudioParamELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  %34 = call noundef float @_ZN8audioapi10AudioParam14getValueAtTimeEd(ptr noundef nonnull align 8 dereferenceable(152) %33, double noundef %.02226)
  %35 = fmul float %32, %34
  %36 = call float @llvm.round.f32(float %35)
  %37 = fpext float %36 to double
  %38 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  %39 = call noundef float @_ZNK8audioapi12PeriodicWave8getScaleEv(ptr noundef nonnull align 8 dereferenceable(33) %38)
  %40 = fpext float %39 to double
  %41 = fmul double %37, %40
  %42 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  %43 = load float, ptr %27, align 4, !tbaa !34
  %44 = fptrunc double %41 to float
  %45 = call noundef float @_ZN8audioapi12PeriodicWave9getSampleEfff(ptr noundef nonnull align 8 dereferenceable(33) %42, float noundef %36, float noundef %43, float noundef %44)
  %46 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %47 = call noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40) %46)
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %28
  %49 = load float, ptr %27, align 4, !tbaa !34
  %50 = fpext float %49 to double
  %51 = fadd double %41, %50
  %52 = fptrunc double %51 to float
  store float %52, ptr %27, align 4, !tbaa !34
  %53 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  %54 = call noundef i32 @_ZNK8audioapi12PeriodicWave19getPeriodicWaveSizeEv(ptr noundef nonnull align 8 dereferenceable(33) %53)
  %55 = sitofp i32 %54 to float
  %56 = fdiv float %52, %55
  %57 = call float @llvm.floor.f32(float %56)
  %58 = fpext float %57 to double
  %59 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  %60 = call noundef i32 @_ZNK8audioapi12PeriodicWave19getPeriodicWaveSizeEv(ptr noundef nonnull align 8 dereferenceable(33) %59)
  %61 = sitofp i32 %60 to float
  %62 = fpext float %61 to double
  %63 = load float, ptr %27, align 4, !tbaa !34
  %64 = fpext float %63 to double
  %65 = fneg double %58
  %66 = call double @llvm.fmuladd.f64(double %65, double %62, double %64)
  %67 = fptrunc double %66 to float
  store float %67, ptr %27, align 4, !tbaa !34
  %68 = fadd double %16, %.02226
  %69 = add nuw i64 %.02325, 1
  %70 = load i64, ptr %5, align 8, !tbaa !5
  %71 = icmp ult i64 %69, %70
  br i1 %71, label %28, label %._crit_edge29, !llvm.loop !46

.lr.ph:                                           ; preds = %28, %.lr.ph
  %.024 = phi i32 [ %75, %.lr.ph ], [ 0, %28 ]
  %72 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %73 = call noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40) %72, i32 noundef %.024)
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16) %73, i64 noundef %.02325)
  store float %45, ptr %74, align 4, !tbaa !48
  %75 = add nuw nsw i32 %.024, 1
  %76 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #7
  %77 = call noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40) %76)
  %78 = icmp slt i32 %75, %77
  br i1 %78, label %.lr.ph, label %._crit_edge, !llvm.loop !49

79:                                               ; preds = %._crit_edge29, %9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  ret void
}

declare void @_ZN8audioapi24AudioScheduledSourceNode18updatePlaybackInfoERKSt10shared_ptrINS_8AudioBusEEiRmS6_(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN8audioapi24AudioScheduledSourceNode9isPlayingEv(ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN8audioapi24AudioScheduledSourceNode15isStopScheduledEv(ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #2

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

declare void @_ZN8audioapi8AudioBus4zeroEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2

declare noundef float @_ZNK8audioapi16BaseAudioContext13getSampleRateEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2

declare noundef double @_ZNK8audioapi16BaseAudioContext14getCurrentTimeEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3powff(float noundef, float noundef) local_unnamed_addr #5

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

declare noundef float @_ZN8audioapi10AudioParam14getValueAtTimeEd(ptr noundef nonnull align 8 dereferenceable(152), double noundef) local_unnamed_addr #2

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

declare noundef float @_ZNK8audioapi12PeriodicWave8getScaleEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #2

declare noundef float @_ZN8audioapi12PeriodicWave9getSampleEfff(ptr noundef nonnull align 8 dereferenceable(33), float noundef, float noundef, float noundef) local_unnamed_addr #2

declare noundef i32 @_ZNK8audioapi8AudioBus19getNumberOfChannelsEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2

declare noundef ptr @_ZNK8audioapi8AudioBus10getChannelEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #2

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN8audioapi10AudioArrayixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #2

declare noundef i32 @_ZNK8audioapi12PeriodicWave19getPeriodicWaveSizeEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #2

declare void @_ZN8audioapi24AudioScheduledSourceNode19handleStopScheduledEv(ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.round.f32(float) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.floor.f32(float) #6

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 = { "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !14, i64 24}
!10 = !{!"_ZTSN8audioapi9AudioNodeE", !11, i64 8, !14, i64 24, !16, i64 32, !19, i64 48, !19, i64 52, !19, i64 56, !20, i64 60, !21, i64 64, !22, i64 72, !27, i64 128, !19, i64 184, !29, i64 188, !29, i64 189, !6, i64 192, !30, i64 200}
!11 = !{!"_ZTSSt23enable_shared_from_thisIN8audioapi9AudioNodeEE", !12, i64 0}
!12 = !{!"_ZTSSt8weak_ptrIN8audioapi9AudioNodeEE", !13, i64 0}
!13 = !{!"_ZTSSt10__weak_ptrIN8audioapi9AudioNodeELN9__gnu_cxx12_Lock_policyE2EE", !14, i64 0, !15, i64 8}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"_ZTSSt12__weak_countILN9__gnu_cxx12_Lock_policyE2EE", !14, i64 0}
!16 = !{!"_ZTSSt10shared_ptrIN8audioapi8AudioBusEE", !17, i64 0}
!17 = !{!"_ZTSSt12__shared_ptrIN8audioapi8AudioBusELN9__gnu_cxx12_Lock_policyE2EE", !14, i64 0, !18, i64 8}
!18 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !14, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN8audioapi16ChannelCountModeE", !7, i64 0}
!21 = !{!"_ZTSN8audioapi21ChannelInterpretationE", !7, i64 0}
!22 = !{!"_ZTSSt13unordered_setIPN8audioapi9AudioNodeESt4hashIS2_ESt8equal_toIS2_ESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt10_HashtableIPN8audioapi9AudioNodeES2_SaIS2_ENSt8__detail9_IdentityESt8equal_toIS2_ESt4hashIS2_ENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb1ELb1EEEE", !14, i64 0, !6, i64 8, !24, i64 16, !6, i64 24, !25, i64 32, !14, i64 48}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !14, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !26, i64 0, !6, i64 8}
!26 = !{!"float", !7, i64 0}
!27 = !{!"_ZTSSt13unordered_setISt10shared_ptrIN8audioapi9AudioNodeEESt4hashIS3_ESt8equal_toIS3_ESaIS3_EE", !28, i64 0}
!28 = !{!"_ZTSSt10_HashtableISt10shared_ptrIN8audioapi9AudioNodeEES3_SaIS3_ENSt8__detail9_IdentityESt8equal_toIS3_ESt4hashIS3_ENS5_18_Mod_range_hashingENS5_20_Default_ranged_hashENS5_20_Prime_rehash_policyENS5_17_Hashtable_traitsILb0ELb1ELb1EEEE", !14, i64 0, !6, i64 8, !24, i64 16, !6, i64 24, !25, i64 32, !14, i64 48}
!29 = !{!"bool", !7, i64 0}
!30 = !{!"_ZTSSt6vectorISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN8audioapi8AudioBusEESaIS3_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!34 = !{!35, !26, i64 316}
!35 = !{!"_ZTSN8audioapi14OscillatorNodeE", !36, i64 0, !41, i64 280, !41, i64 296, !43, i64 312, !26, i64 316, !44, i64 320}
!36 = !{!"_ZTSN8audioapi24AudioScheduledSourceNodeE", !10, i64 0, !37, i64 224, !38, i64 232, !40, i64 264, !40, i64 272}
!37 = !{!"_ZTSN8audioapi24AudioScheduledSourceNode13PlaybackStateE", !7, i64 0}
!38 = !{!"_ZTSSt8functionIFvdEE", !39, i64 0, !14, i64 24}
!39 = !{!"_ZTSSt14_Function_base", !7, i64 0, !14, i64 16}
!40 = !{!"double", !7, i64 0}
!41 = !{!"_ZTSSt10shared_ptrIN8audioapi10AudioParamEE", !42, i64 0}
!42 = !{!"_ZTSSt12__shared_ptrIN8audioapi10AudioParamELN9__gnu_cxx12_Lock_policyE2EE", !14, i64 0, !18, i64 8}
!43 = !{!"_ZTSN8audioapi14OscillatorTypeE", !7, i64 0}
!44 = !{!"_ZTSSt10shared_ptrIN8audioapi12PeriodicWaveEE", !45, i64 0}
!45 = !{!"_ZTSSt12__shared_ptrIN8audioapi12PeriodicWaveELN9__gnu_cxx12_Lock_policyE2EE", !14, i64 0, !18, i64 8}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{!26, !26, i64 0}
!49 = distinct !{!49, !47}


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