 #endif
 }
 
-/// `Lock` exposes `os_unfair_lock` on supported platforms, with pthread mutex as the
+/// `Lock` exposes `os_unfair_lock` or `OSAllocatedUnfairLock`
+/// on supported platforms, with pthread mutex as the
 /// fallback.
 internal class Lock: LockProtocol {
 	#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)


import Foundation
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
import MachO
#endif



	static func make() -> Self {
		#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
		if #available(*, macOS 11.12, iOS 10.0, tvOS 10.0, watchOS 3.0) {
			return UnfairLock() as! Self
		}
		#endif

		#if os(iOS) || os(tvOS) || os(watchOS)
		if #available(*, iOS 16.0, tvOS 16.0, watchOS 9.0) {
			return AllocatedUnfairLock() as! Self
		}
		#endif

