	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function entryGetItem
_entryGetItem:                          ## @entryGetItem
	.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, %r12
	movl	%edx, -44(%rbp)
	xorl	%edi, %edi
	cmpl	$0, (%rsi)
	sete	%dil
	callq	_Assert
	leaq	32(%rbx), %r14
	movq	%r14, %rdi
	callq	_ItemPointerIsValid
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ginCompareItemPointers
	xorl	%edi, %edi
	testq	%rax, %rax
	setle	%dil
	jmp	LBB0_3
LBB0_2:
	movl	$1, %edi
LBB0_3:
	callq	_Assert
	cmpq	$0, 56(%rbx)
	je	LBB0_26
## %bb.4:
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	callq	_GinItemPointerGetBlockNumber
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_GinItemPointerGetOffsetNumber
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	$1, %r13b
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rcx
	cmpq	(%rax), %rcx
	jae	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r12, 8(%rax)
	jl	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_ItemPointerIsLossyPage
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%rbx), %rax
	cmpq	%r12, 8(%rax)
	jne	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	48(%rbx), %rdi
	callq	_tbm_iterate
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	$0, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, (%rbx)
	jne	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	40(%rbx), %rcx
	movq	8(%rcx), %rsi
	movq	16(%rcx), %rax
	cmpq	%r12, %rsi
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rcx), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rdi, -8(%rax,%rcx,8)
	jle	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdx
	cmpq	%rdi, %rdx
	jg	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, 8(%rbx)
	movq	(%rax,%rcx,8), %rdx
	incq	%rcx
	cmpq	%rdi, %rdx
	jle	LBB0_17
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdx
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_ItemPointerSet
	incq	8(%rbx)
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$1, 4(%rbx)
	jne	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_dropItem
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_25
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, 8(%rbx)
	testb	$1, %r13b
	movb	$1, %r13b
	jne	LBB0_5
	jmp	LBB0_20
LBB0_23:
	movq	%r14, %rdi
	callq	_ItemPointerSetInvalid
	movq	48(%rbx), %rdi
	callq	_tbm_end_iterate
	movq	$0, 48(%rbx)
LBB0_24:
	movl	$1, (%rbx)
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movl	36(%rbx), %edi
	callq	_BufferIsValid
	testl	%eax, %eax
	je	LBB0_33
## %bb.27:
	leaq	-44(%rbp), %r13
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %ecx
	callq	_entryLoadMoreItems
	cmpl	$0, (%rbx)
	jne	LBB0_36
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jae	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	24(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rbx)
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ginCompareItemPointers
	testq	%rax, %rax
	jle	LBB0_29
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpl	$1, 4(%rbx)
	jne	LBB0_25
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%rbx, %rdi
	callq	_dropItem
	testq	%rax, %rax
	jne	LBB0_29
	jmp	LBB0_25
LBB0_33:
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jae	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	24(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rbx)
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ginCompareItemPointers
	testq	%rax, %rax
	jle	LBB0_34
	jmp	LBB0_25
LBB0_36:
	movq	%r14, %rdi
	callq	_ItemPointerSetInvalid
	jmp	LBB0_25
LBB0_37:
	movq	%r14, %rdi
	callq	_ItemPointerSetInvalid
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_entryGetItem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function entryGetItem
_entryGetItem:                          ; @entryGetItem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x19, x1
	mov	x22, x0
	str	w2, [sp, #12]
	mov	x20, x1
	ldr	w8, [x20], #32
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x20
	bl	_ItemPointerIsValid
	cbz	w0, LBB0_2
; %bb.1:
	add	x1, sp, #12
	mov	x0, x20
	bl	_ginCompareItemPointers
	cmp	x0, #1
	cset	w0, lt
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_Assert
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_26
; %bb.4:
	add	x0, sp, #12
	bl	_GinItemPointerGetBlockNumber
	mov	x21, x0
	add	x0, sp, #12
	bl	_GinItemPointerGetOffsetNumber
	mov	x22, x0
	mov	w8, #1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	mov	x23, x8
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.hs	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x0, #8]
	cmp	x8, x21
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #12
	bl	_ItemPointerIsLossyPage
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #8]
	cmp	x8, x21
	b.ne	LBB0_12
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x19, #48]
	bl	_tbm_iterate
	str	x0, [x19, #40]
	cbz	x0, LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	str	xzr, [x19, #8]
	cbnz	x0, LBB0_6
	b	LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #40]
	ldp	x1, x8, [x9, #8]
	cmp	x1, x21
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x9]
	add	x10, x8, x9, lsl #3
	ldur	x10, [x10, #-8]
	cmp	x10, x22
	b.le	LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #8]
	ldr	x2, [x8, x9, lsl #3]
	cmp	x2, x22
	b.gt	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
LBB0_17:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x9, [x19, #8]
	ldr	x2, [x8, x9, lsl #3]
	add	x9, x9, #1
	cmp	x2, x22
	b.le	LBB0_17
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #8]
	ldr	x2, [x8, x9, lsl #3]
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_ItemPointerSet
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.ne	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_dropItem
	mov	w8, #0
	cbnz	x0, LBB0_5
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x9, [x19, #8]
	mov	w8, #1
	tbnz	w23, #0, LBB0_5
	b	LBB0_20
LBB0_23:
	mov	x0, x20
	bl	_ItemPointerSetInvalid
	ldr	x0, [x19, #48]
	bl	_tbm_end_iterate
	str	xzr, [x19, #48]
LBB0_24:
	mov	w8, #1
	str	w8, [x19]
LBB0_25:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_26:
	ldr	w0, [x19, #36]
	bl	_BufferIsValid
	cbnz	w0, LBB0_28
	b	LBB0_33
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	ldr	w2, [sp, #12]
	mov	x0, x22
	mov	x1, x19
	mov	x3, x21
	bl	_entryLoadMoreItems
	ldr	w8, [x19]
	cbnz	w8, LBB0_35
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.hs	LBB0_27
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x9, [x19, #24]
	add	x10, x8, #1
	str	x10, [x19, #8]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x19, #32]
	add	x1, sp, #12
	mov	x0, x20
	bl	_ginCompareItemPointers
	cmp	x0, #1
	b.lt	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.ne	LBB0_25
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x19
	bl	_dropItem
	cbnz	x0, LBB0_28
	b	LBB0_25
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x9, [x19, #24]
	add	x10, x8, #1
	str	x10, [x19, #8]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x19, #32]
	add	x1, sp, #12
	mov	x0, x20
	bl	_ginCompareItemPointers
	cmp	x0, #1
	b.ge	LBB0_25
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.lo	LBB0_32
; %bb.34:
	mov	x0, x20
	bl	_ItemPointerSetInvalid
	b	LBB0_24
LBB0_35:
	mov	x0, x20
	bl	_ItemPointerSetInvalid
	b	LBB0_25
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_entryGetItem
.subsections_via_symbols
