	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PredicateLockAcquire
_PredicateLockAcquire:                  ## @PredicateLockAcquire
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_PredicateLockExists
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_CoarserLockCovers
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_PredicateLockTargetTagHashCode
	movl	%eax, %r14d
	movq	_LocalPredicateLockHash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-20(%rbp), %r8
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_hash_search_with_hash_value
	movl	$1, (%rax)
	cmpl	$0, -20(%rbp)
	jne	LBB0_4
## %bb.3:
	movq	$0, 8(%rax)
LBB0_4:
	movq	_MySerializableXact@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_CreatePredicateLock
	movq	%rbx, %rdi
	callq	_CheckAndPromotePredicateLockRequest
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movl	(%rbx), %edi
	callq	_GET_PREDICATELOCKTARGETTAG_TYPE
	movq	_PREDLOCKTAG_TUPLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_DeleteChildTargetLocks
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LocalPredicateLockHash,4,2     ## @LocalPredicateLockHash
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.comm	_MySerializableXact,4,2         ## @MySerializableXact
	.comm	_PREDLOCKTAG_TUPLE,8,3          ## @PREDLOCKTAG_TUPLE
	.no_dead_strip	_PredicateLockAcquire
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PredicateLockAcquire
_PredicateLockAcquire:                  ; @PredicateLockAcquire
	.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, x0
	bl	_PredicateLockExists
	cbnz	x0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_CoarserLockCovers
	cbnz	x0, LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_PredicateLockTargetTagHashCode
	mov	x20, x0
Lloh0:
	adrp	x8, _LocalPredicateLockHash@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LocalPredicateLockHash@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x1, x19
	mov	x2, x20
	bl	_hash_search_with_hash_value
	mov	w8, #1
	str	w8, [x0]
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_4
; %bb.3:
	str	xzr, [x0, #8]
LBB0_4:
Lloh6:
	adrp	x8, _MySerializableXact@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MySerializableXact@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_CreatePredicateLock
	mov	x0, x19
	bl	_CheckAndPromotePredicateLockRequest
	cbnz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x19]
	bl	_GET_PREDICATELOCKTARGETTAG_TYPE
Lloh9:
	adrp	x8, _PREDLOCKTAG_TUPLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PREDLOCKTAG_TUPLE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_DeleteChildTargetLocks
LBB0_7:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LocalPredicateLockHash,4,2     ; @LocalPredicateLockHash
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.comm	_MySerializableXact,4,2         ; @MySerializableXact
	.comm	_PREDLOCKTAG_TUPLE,8,3          ; @PREDLOCKTAG_TUPLE
	.no_dead_strip	_PredicateLockAcquire
.subsections_via_symbols
