	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GinDataLeafPageGetItems        ## -- Begin function GinDataLeafPageGetItems
	.p2align	4, 0x90
_GinDataLeafPageGetItems:               ## @GinDataLeafPageGetItems
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	%edx, -44(%rbp)
	callq	_GinPageIsCompressed
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	%ebx, %edi
	callq	_GinDataLeafPageGetPostingList
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_GinDataLeafPageGetPostingListSize
	movq	%rax, %r15
	leaq	-44(%rbp), %rdi
	callq	_ItemPointerIsValid
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	addq	%r12, %r15
	movq	%r12, %rdi
	callq	_GinNextPostingListSegment
	cmpq	%rax, %r15
	jle	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	leaq	-44(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ginCompareItemPointers
	testq	%rax, %rax
	jg	LBB0_7
## %bb.4:
	leaq	-44(%rbp), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	movq	%rbx, %rdi
	callq	_GinNextPostingListSegment
	cmpq	%rax, %r15
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_ginCompareItemPointers
	testq	%rax, %rax
	jle	LBB0_6
LBB0_7:
	subq	%r12, %r15
LBB0_8:
	testq	%r15, %r15
	jle	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ginPostingListDecodeAllSegments
	movq	%rax, %rbx
	jmp	LBB0_12
LBB0_11:
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_dataLeafPageGetUncompressed
	movq	%rax, %r15
	movl	(%r14), %edi
	shll	$2, %edi
	callq	_palloc
	movq	%rax, %rbx
	movl	(%r14), %edx
	shll	$2, %edx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	jmp	LBB0_12
LBB0_10:
	movl	$0, (%r14)
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GinDataLeafPageGetItems        ; -- Begin function GinDataLeafPageGetItems
	.p2align	2
_GinDataLeafPageGetItems:               ; @GinDataLeafPageGetItems
	.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
	mov	x21, x0
	str	w2, [sp, #12]
	bl	_GinPageIsCompressed
	cbz	x0, LBB0_9
; %bb.1:
	mov	x0, x21
	bl	_GinDataLeafPageGetPostingList
	mov	x20, x0
	mov	x0, x21
	bl	_GinDataLeafPageGetPostingListSize
	mov	x21, x0
	add	x0, sp, #12
	bl	_ItemPointerIsValid
	cbz	x0, LBB0_7
; %bb.2:
	add	x22, x21, x20
	mov	x0, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_GinNextPostingListSegment
	cmp	x22, x0
	b.le	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	add	x1, sp, #12
	bl	_ginCompareItemPointers
	cmp	x0, #0
	b.gt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x21
	mov	x0, x21
	b	LBB0_3
LBB0_6:
	sub	x21, x22, x20
LBB0_7:
	cmp	x21, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_ginPostingListDecodeAllSegments
	mov	x20, x0
	b	LBB0_11
LBB0_9:
	mov	x0, x21
	mov	x1, x19
	bl	_dataLeafPageGetUncompressed
	mov	x21, x0
	ldr	w8, [x19]
	lsl	w0, w8, #2
	bl	_palloc
	mov	x20, x0
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	x1, x21
	bl	_memcpy
	b	LBB0_11
LBB0_10:
	mov	x20, #0
	str	wzr, [x19]
LBB0_11:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
