	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lock_for_pointer
_lock_for_pointer:                      ## @lock_for_pointer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	sarq	$4, %rax
	movq	_SPINLOCK_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%rcx, %rax
	sarq	$20, %rdi
	xorq	%rdi, %rax
	movq	_locks@GOTPCREL(%rip), %rdx
	andq	%rcx, %rax
	shlq	$2, %rax
	addq	(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPINLOCK_MASK,8,3              ## @SPINLOCK_MASK
	.comm	_locks,8,3                      ## @locks
	.no_dead_strip	_lock_for_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lock_for_pointer
_lock_for_pointer:                      ; @lock_for_pointer
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _SPINLOCK_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPINLOCK_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	and	x9, x8, x0, asr #4
	eor	x9, x9, x0, asr #20
Lloh3:
	adrp	x10, _locks@GOTPAGE
Lloh4:
	ldr	x10, [x10, _locks@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	and	x8, x9, x8
	add	x0, x10, x8, lsl #2
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPINLOCK_MASK,8,3              ; @SPINLOCK_MASK
	.comm	_locks,8,3                      ; @locks
	.no_dead_strip	_lock_for_pointer
.subsections_via_symbols
