	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function entryPreparePage
_entryPreparePage:                      ## @entryPreparePage
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movl	%esi, %r12d
	movl	(%rcx), %edi
	callq	_Assert
	movl	%r12d, %edi
	callq	_GinPageIsData
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	callq	_GinPageIsLeaf
	movl	%eax, %edi
	callq	_Assert
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_PageIndexTupleDelete
LBB0_2:
	movl	%r12d, %edi
	callq	_GinPageIsLeaf
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_4
## %bb.5:
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_PageGetItemId
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_PageGetItem
	movl	%eax, %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GinSetDownlink                 ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
	.no_dead_strip	_entryPreparePage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function entryPreparePage
_entryPreparePage:                      ; @entryPreparePage
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	ldr	w0, [x3]
	bl	_Assert
	mov	x0, x20
	bl	_GinPageIsData
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_GinPageIsLeaf
	bl	_Assert
	mov	x0, x20
	mov	x1, x21
	bl	_PageIndexTupleDelete
LBB0_2:
	mov	x0, x20
	bl	_GinPageIsLeaf
	cbnz	w0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_PageGetItemId
	mov	x1, x0
	mov	x0, x20
	bl	_PageGetItem
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_GinSetDownlink
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
	.no_dead_strip	_entryPreparePage
.subsections_via_symbols
