	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ConditionalLockRelationOid     ## -- Begin function ConditionalLockRelationOid
	.p2align	4, 0x90
_ConditionalLockRelationOid:            ## @ConditionalLockRelationOid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %esi
	leaq	-36(%rbp), %r15
	movq	%r15, %rdi
	callq	_SetLocktagRelationOid
	xorl	%ebx, %ebx
	leaq	-32(%rbp), %r9
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_LockAcquireExtended
	movq	_LOCKACQUIRE_NOT_AVAIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movq	_LOCKACQUIRE_ALREADY_CLEAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_AcceptInvalidationMessages
	movq	-32(%rbp), %rdi
	callq	_MarkLockClear
LBB0_3:
	movl	$1, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCKACQUIRE_NOT_AVAIL,8,3      ## @LOCKACQUIRE_NOT_AVAIL
	.comm	_LOCKACQUIRE_ALREADY_CLEAR,8,3  ## @LOCKACQUIRE_ALREADY_CLEAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ConditionalLockRelationOid     ; -- Begin function ConditionalLockRelationOid
	.p2align	2
_ConditionalLockRelationOid:            ; @ConditionalLockRelationOid
	.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, x1
	mov	x1, x0
	add	x0, sp, #12
	bl	_SetLocktagRelationOid
	add	x0, sp, #12
	mov	x5, sp
	mov	x1, x19
	mov	w2, #0
	mov	w3, #1
	mov	w4, #1
	bl	_LockAcquireExtended
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x9, _LOCKACQUIRE_NOT_AVAIL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LOCKACQUIRE_NOT_AVAIL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _LOCKACQUIRE_ALREADY_CLEAR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LOCKACQUIRE_ALREADY_CLEAR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	bl	_AcceptInvalidationMessages
	ldr	x0, [sp]
	bl	_MarkLockClear
LBB0_3:
	mov	w0, #1
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCKACQUIRE_NOT_AVAIL,8,3      ; @LOCKACQUIRE_NOT_AVAIL
	.comm	_LOCKACQUIRE_ALREADY_CLEAR,8,3  ; @LOCKACQUIRE_ALREADY_CLEAR
.subsections_via_symbols
