	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ConditionalLockPage            ## -- Begin function ConditionalLockPage
	.p2align	4, 0x90
_ConditionalLockPage:                   ## @ConditionalLockPage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	movl	%esi, %ecx
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	callq	_SET_LOCKTAG_PAGE
	leaq	-12(%rbp), %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_LockAcquire
	movq	_LOCKACQUIRE_NOT_AVAIL@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCKACQUIRE_NOT_AVAIL,8,3      ## @LOCKACQUIRE_NOT_AVAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ConditionalLockPage            ; -- Begin function ConditionalLockPage
	.p2align	2
_ConditionalLockPage:                   ; @ConditionalLockPage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x3, x1
	ldp	w2, w1, [x0]
	bl	_SET_LOCKTAG_PAGE
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #0
	mov	w3, #1
	bl	_LockAcquire
Lloh0:
	adrp	x8, _LOCKACQUIRE_NOT_AVAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOCKACQUIRE_NOT_AVAIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCKACQUIRE_NOT_AVAIL,8,3      ; @LOCKACQUIRE_NOT_AVAIL
.subsections_via_symbols
