	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scanPostingTree
_scanPostingTree:                       ## @scanPostingTree
	.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, %r15d
	leaq	-44(%rbp), %rdi
	movl	%r15d, %esi
	callq	_ginScanBeginPostingTree
	movq	%rax, %rbx
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_IncrBufferRefCount
	movq	%rbx, %rdi
	callq	_freeGinBtreeStack
	movq	_GIN_DELETED@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GinPageGetOpaque
	movl	(%r13), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r14), %esi
	movl	%ebx, %edi
	callq	_GinDataLeafPageGetItemsToTbm
	addl	%eax, (%r14)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_GinPageRightMost
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_GIN_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_ginStepRight
	movl	%eax, %r12d
	jmp	LBB0_1
LBB0_5:
	movl	%r12d, %edi
	callq	_UnlockReleaseBuffer
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GIN_DELETED,4,2                ## @GIN_DELETED
	.comm	_GIN_SHARE,4,2                  ## @GIN_SHARE
	.no_dead_strip	_scanPostingTree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scanPostingTree
_scanPostingTree:                       ; @scanPostingTree
	.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	x19, x1
	mov	x20, x0
	add	x0, sp, #12
	mov	x1, x20
	bl	_ginScanBeginPostingTree
	mov	x22, x0
	ldr	w21, [x0]
	mov	x0, x21
	bl	_IncrBufferRefCount
	mov	x0, x22
	bl	_freeGinBtreeStack
Lloh0:
	adrp	x23, _GIN_DELETED@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GIN_DELETED@GOTPAGEOFF]
Lloh2:
	adrp	x24, _GIN_SHARE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _GIN_SHARE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_BufferGetPage
	mov	x22, x0
	bl	_GinPageGetOpaque
	ldr	w8, [x0]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x19, #4]
	mov	x0, x22
	bl	_GinDataLeafPageGetItemsToTbm
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	bl	_GinPageRightMost
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [x24]
	mov	x0, x21
	mov	x1, x20
	bl	_ginStepRight
	mov	x21, x0
	b	LBB0_1
LBB0_5:
	mov	x0, x21
	bl	_UnlockReleaseBuffer
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GIN_DELETED,4,2                ; @GIN_DELETED
	.comm	_GIN_SHARE,4,2                  ; @GIN_SHARE
	.no_dead_strip	_scanPostingTree
.subsections_via_symbols
