	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function entryLoadMoreItems
_entryLoadMoreItems:                    ## @entryLoadMoreItems
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	%edx, -44(%rbp)
	movq	16(%rsi), %rdi
	callq	_BufferIsValid
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	40(%rbx), %rdi
	leaq	-44(%rbp), %rsi
	callq	_ginCompareItemPointers
	movq	%rax, %r13
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	callq	_ReleaseBuffer
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	callq	_ItemPointerIsLossyPage
	movq	%rax, %r14
	leaq	36(%rbx), %r15
	movq	%r12, %rdi
	callq	_GinItemPointerGetBlockNumber
	movq	%rax, %r12
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	incq	%r12
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	jmp	LBB0_7
LBB0_1:
	movl	$1, (%rbx)
	jmp	LBB0_28
LBB0_3:
	movq	_GIN_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_8
LBB0_6:
	leaq	-44(%rbp), %rdi
	callq	_GinItemPointerGetOffsetNumber
	movl	%eax, %edi
	callq	_OffsetNumberNext
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
LBB0_7:
	callq	_ItemPointerSet
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	leaq	32(%rbx), %rdi
	movl	$0, 32(%rbx)
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_ginFindLeafPage
	movq	%rax, %r14
	movq	(%rax), %rdi
	movq	%rdi, 16(%rbx)
	callq	_IncrBufferRefCount
	movq	%r14, %rdi
	callq	_freeGinBtreeStack
LBB0_8:
	xorl	%r14d, %r14d
	testq	%r13, %r13
	setne	%r14b
	movq	_DEBUG2@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_GinItemPointerGetBlockNumber
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_GinItemPointerGetOffsetNumber
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	movl	%r14d, %r8d
	callq	_elog
	movq	16(%rbx), %rdi
	callq	_BufferGetPage
	movl	%eax, %r13d
	leaq	8(%rbx), %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_pfree
	movq	$0, 24(%rbx)
	movl	$0, 8(%rbx)
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r13d, %edi
	callq	_GinPageRightMost
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r14), %esi
	movq	_GIN_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ginStepRight
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_BufferGetPage
	movl	%eax, %r13d
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r13d, %edi
	callq	_GinPageGetOpaque
	movq	_GIN_DELETED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, %r15d
	testl	%ecx, (%rax)
	jne	LBB0_9
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%r13d, %edi
	callq	_GinPageRightMost
	testq	%rax, %rax
	je	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	-44(%rbp), %edx
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_GinDataLeafPageGetItems
	movq	%rax, 24(%rbx)
	cmpl	$0, 8(%rbx)
	jle	LBB0_9
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	-44(%rbp), %rdi
	movq	%rax, %rsi
	callq	_ginCompareItemPointers
	testq	%rax, %rax
	js	LBB0_20
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$4, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%r14
	movslq	(%r12), %rax
	cmpq	%rax, %r14
	jge	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=2
	movq	24(%rbx), %rsi
	addq	%r15, %rsi
	leaq	-44(%rbp), %rdi
	callq	_ginCompareItemPointers
	addq	$4, %r15
	testq	%rax, %rax
	jns	LBB0_24
	jmp	LBB0_21
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%r13d, %edi
	callq	_GinDataPageGetRightBound
	leaq	-44(%rbp), %rdi
	movq	%rax, %rsi
	callq	_ginCompareItemPointers
	testq	%rax, %rax
	jns	LBB0_9
	jmp	LBB0_18
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	$1, %r15d
	jmp	LBB0_9
LBB0_13:
	callq	_UnlockReleaseBuffer
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movl	$1, (%rbx)
	jmp	LBB0_28
LBB0_20:
	xorl	%r14d, %r14d
LBB0_21:
	movl	%r14d, 4(%rbx)
	movl	%r13d, %edi
	callq	_GinPageRightMost
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_27
## %bb.22:
	callq	_UnlockReleaseBuffer
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_28
LBB0_27:
	movq	_GIN_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
LBB0_28:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GIN_SHARE,4,2                  ## @GIN_SHARE
	.comm	_FirstOffsetNumber,4,2          ## @FirstOffsetNumber
	.comm	_DEBUG2,4,2                     ## @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entryLoadMoreItems, %u/%u, skip: %d"

	.comm	_InvalidOffsetNumber,4,2        ## @InvalidOffsetNumber
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_GIN_DELETED,4,2                ## @GIN_DELETED
	.comm	_GIN_UNLOCK,4,2                 ## @GIN_UNLOCK
	.no_dead_strip	_entryLoadMoreItems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function entryLoadMoreItems
_entryLoadMoreItems:                    ; @entryLoadMoreItems
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
	str	w2, [sp, #12]
	ldr	x0, [x1, #16]
	bl	_BufferIsValid
	cbz	w0, LBB0_23
; %bb.1:
	add	x0, x19, #40
	add	x1, sp, #12
	bl	_ginCompareItemPointers
	mov	x21, x0
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x26, _GIN_SHARE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GIN_SHARE@GOTPAGEOFF]
	cbz	x21, LBB0_4
; %bb.2:
	bl	_ReleaseBuffer
	add	x0, sp, #12
	bl	_ItemPointerIsLossyPage
	mov	x25, x0
	add	x23, x19, #36
	add	x0, sp, #12
	bl	_GinItemPointerGetBlockNumber
	mov	x24, x0
	cbz	x25, LBB0_5
; %bb.3:
	add	x1, x24, #1
Lloh2:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x23
	b	LBB0_6
LBB0_4:
	ldr	w1, [x26]
	bl	_LockBuffer
	mov	w25, #1
	b	LBB0_7
LBB0_5:
	add	x0, sp, #12
	bl	_GinItemPointerGetOffsetNumber
	bl	_OffsetNumberNext
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
LBB0_6:
	bl	_ItemPointerSet
	mov	x23, x19
	str	wzr, [x23, #32]!
	mov	x0, x23
	mov	w1, #1
	mov	w2, #0
	mov	x3, x22
	bl	_ginFindLeafPage
	mov	x22, x0
	ldr	x0, [x0]
	stur	x0, [x23, #-16]
	bl	_IncrBufferRefCount
	mov	x0, x22
	bl	_freeGinBtreeStack
	mov	w25, #0
LBB0_7:
	cmp	x21, #0
	cset	w21, ne
Lloh5:
	adrp	x8, _DEBUG2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEBUG2@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	add	x0, sp, #12
	bl	_GinItemPointerGetBlockNumber
	mov	x23, x0
	add	x0, sp, #12
	bl	_GinItemPointerGetOffsetNumber
	mov	x3, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	mov	x4, x21
	bl	_elog
	ldr	x0, [x19, #16]
	bl	_BufferGetPage
	mov	x22, x0
	add	x21, x19, #8
Lloh10:
	adrp	x23, _InvalidOffsetNumber@GOTPAGE
Lloh11:
	ldr	x23, [x23, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh12:
	adrp	x24, _GIN_DELETED@GOTPAGE
Lloh13:
	ldr	x24, [x24, _GIN_DELETED@GOTPAGEOFF]
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	w8, [x23]
	str	w8, [x19, #4]
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_pfree
	str	xzr, [x19, #24]
	str	wzr, [x19, #8]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	w25, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_GinPageRightMost
	mov	x8, x0
	ldr	x0, [x19, #16]
	cbnz	x8, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x20]
	ldr	w2, [x26]
	bl	_ginStepRight
	str	x0, [x19, #16]
	bl	_BufferGetPage
	mov	x22, x0
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_GinPageGetOpaque
	ldr	w8, [x0]
	ldr	w9, [x24]
	mov	w25, #1
	tst	w9, w8
	b.ne	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_GinPageRightMost
	cbz	x0, LBB0_20
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [sp, #12]
	mov	x0, x22
	mov	x1, x21
	bl	_GinDataLeafPageGetItems
	str	x0, [x19, #24]
	ldr	w8, [x19, #8]
	mov	w25, #1
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x0
	add	x0, sp, #12
	bl	_ginCompareItemPointers
	tbnz	x0, #63, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, #0
	mov	w27, #4
LBB0_18:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x25, x25, #1
	ldrsw	x8, [x21]
	cmp	x25, x8
	b.ge	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	x8, [x19, #24]
	add	x1, x8, x27
	add	x0, sp, #12
	bl	_ginCompareItemPointers
	add	x27, x27, #4
	tbz	x0, #63, LBB0_18
	b	LBB0_25
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_GinDataPageGetRightBound
	mov	x1, x0
	add	x0, sp, #12
	bl	_ginCompareItemPointers
	mov	w25, #1
	tbz	x0, #63, LBB0_8
	b	LBB0_15
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w25, #1
	b	LBB0_8
LBB0_22:
	bl	_UnlockReleaseBuffer
Lloh14:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh15:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_23:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_28
LBB0_24:
	mov	w25, #0
LBB0_25:
	str	w25, [x19, #4]
	mov	x0, x22
	bl	_GinPageRightMost
	mov	x8, x0
	ldr	x0, [x19, #16]
	cbz	x8, LBB0_27
; %bb.26:
	bl	_UnlockReleaseBuffer
Lloh17:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh18:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	b	LBB0_28
LBB0_27:
Lloh20:
	adrp	x8, _GIN_UNLOCK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GIN_UNLOCK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_LockBuffer
LBB0_28:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GIN_SHARE,4,2                  ; @GIN_SHARE
	.comm	_FirstOffsetNumber,4,2          ; @FirstOffsetNumber
	.comm	_DEBUG2,4,2                     ; @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entryLoadMoreItems, %u/%u, skip: %d"

	.comm	_InvalidOffsetNumber,4,2        ; @InvalidOffsetNumber
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_GIN_DELETED,4,2                ; @GIN_DELETED
	.comm	_GIN_UNLOCK,4,2                 ; @GIN_UNLOCK
	.no_dead_strip	_entryLoadMoreItems
.subsections_via_symbols
