	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PredicateLockPageSplit         ## -- Begin function PredicateLockPageSplit
	.p2align	4, 0x90
_PredicateLockPageSplit:                ## @PredicateLockPageSplit
	.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	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_PredXact@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_PredicateLockingNeededForRelation
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	xorl	%edi, %edi
	cmpl	%r14d, %r15d
	setne	%dil
	callq	_Assert
	movl	%r15d, %edi
	callq	_BlockNumberIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	%r14d, %edi
	callq	_BlockNumberIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	%r15d, %ecx
	callq	_SET_PREDICATELOCKTARGETTAG_PAGE
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	%r14d, %ecx
	callq	_SET_PREDICATELOCKTARGETTAG_PAGE
	movq	_SerializablePredicateLockListLock@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	xorl	%edx, %edx
	callq	_TransferPredicateLocksToNewTarget
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	-32(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	_GetParentPredicateLockTag
	movl	%eax, %edi
	callq	_Assert
	movl	-32(%rbp), %edi
	movl	-28(%rbp), %esi
	movl	$1, %edx
	callq	_TransferPredicateLocksToNewTarget
	movl	%eax, %edi
	callq	_Assert
LBB0_4:
	movl	(%rbx), %edi
	callq	_LWLockRelease
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PredXact,8,3                   ## @PredXact
	.comm	_SerializablePredicateLockListLock,4,2 ## @SerializablePredicateLockListLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PredicateLockPageSplit         ; -- Begin function PredicateLockPageSplit
	.p2align	2
_PredicateLockPageSplit:                ; @PredicateLockPageSplit
	.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, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PredXact@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PredXact@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_PredicateLockingNeededForRelation
	cbz	w0, LBB0_5
; %bb.2:
	cmp	w21, w19
	cset	w0, ne
	bl	_Assert
	mov	x0, x21
	bl	_BlockNumberIsValid
	bl	_Assert
	mov	x0, x19
	bl	_BlockNumberIsValid
	bl	_Assert
	ldp	w2, w1, [x20]
	mov	x3, x21
	bl	_SET_PREDICATELOCKTARGETTAG_PAGE
	ldp	w2, w1, [x20]
	mov	x3, x19
	bl	_SET_PREDICATELOCKTARGETTAG_PAGE
Lloh3:
	adrp	x19, _SerializablePredicateLockListLock@GOTPAGE
Lloh4:
	ldr	x19, [x19, _SerializablePredicateLockListLock@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	mov	w2, #0
	bl	_TransferPredicateLocksToNewTarget
	cbnz	w0, LBB0_4
; %bb.3:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_GetParentPredicateLockTag
	bl	_Assert
	ldp	w1, w0, [sp, #8]
	mov	w2, #1
	bl	_TransferPredicateLocksToNewTarget
	bl	_Assert
LBB0_4:
	ldr	w0, [x19]
	bl	_LWLockRelease
LBB0_5:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PredXact,8,3                   ; @PredXact
	.comm	_SerializablePredicateLockListLock,4,2 ; @SerializablePredicateLockListLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
.subsections_via_symbols
