	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PredicateLockTwoPhaseFinish    ## -- Begin function PredicateLockTwoPhaseFinish
	.p2align	4, 0x90
_PredicateLockTwoPhaseFinish:           ## @PredicateLockTwoPhaseFinish
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, -32(%rbp)
	movq	_SerializableXactHashLock@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_SerializableXidHash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_LWLockRelease
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	movq	_MySerializableXact@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_MyXactDidWrite@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_ReleasePredicateLocks
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SerializableXactHashLock,4,2   ## @SerializableXactHashLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_SerializableXidHash,4,2        ## @SerializableXidHash
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
	.comm	_MySerializableXact,4,2         ## @MySerializableXact
	.comm	_MyXactDidWrite,4,2             ## @MyXactDidWrite
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PredicateLockTwoPhaseFinish    ; -- Begin function PredicateLockTwoPhaseFinish
	.p2align	2
_PredicateLockTwoPhaseFinish:           ; @PredicateLockTwoPhaseFinish
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	str	w0, [sp, #8]
Lloh0:
	adrp	x21, _SerializableXactHashLock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SerializableXactHashLock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh5:
	adrp	x8, _SerializableXidHash@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SerializableXidHash@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _HASH_FIND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HASH_FIND@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x3, #0
	bl	_hash_search
	mov	x20, x0
	ldr	w0, [x21]
	bl	_LWLockRelease
	cbz	x20, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _MySerializableXact@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MySerializableXact@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh13:
	str	w9, [x8]
Lloh14:
	adrp	x8, _MyXactDidWrite@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MyXactDidWrite@GOTPAGEOFF]
	mov	w9, #1
Lloh16:
	str	w9, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_ReleasePredicateLocks
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SerializableXactHashLock,4,2   ; @SerializableXactHashLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_SerializableXidHash,4,2        ; @SerializableXidHash
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
	.comm	_MySerializableXact,4,2         ; @MySerializableXact
	.comm	_MyXactDidWrite,4,2             ; @MyXactDidWrite
.subsections_via_symbols
