	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function startScanEntry
_startScanEntry:                        ## @startScanEntry
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	92(%rsi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 48(%rbx)
	callq	_tbm_free
	movq	$0, 40(%rbx)
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r14), %edi
	movq	_GIN_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movq	%r14, %rdi
	callq	_freeGinBtreeStack
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ItemPointerSetMin
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_pfree
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 24(%rbx)
	movl	$0, (%rbx)
	movq	$0, 40(%rbx)
	movq	$0, 80(%rbx)
	movq	$0, 4(%rbx)
	movl	72(%rbx), %edx
	movl	16(%rbx), %esi
	movl	56(%rbx), %ecx
	movq	%r12, %rdi
	movq	%r14, %r8
	callq	_ginPrepareEntryScan
	movq	%r12, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	callq	_ginFindLeafPage
	movq	%rax, %r14
	movl	4(%rax), %edi
	callq	_BufferGetPage
	movl	$1, 12(%rbx)
	cmpq	$0, 64(%rbx)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
	movl	56(%rbx), %eax
	movq	_GIN_CAT_EMPTY_QUERY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	*-64(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	callq	_collectMatchBitmap
	movq	40(%rbx), %rdi
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	48(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_tbm_end_iterate
	movq	40(%rbx), %rdi
	jmp	LBB0_1
LBB0_11:
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.12:
	callq	_tbm_is_empty
	testl	%eax, %eax
	jne	LBB0_21
## %bb.13:
	movq	40(%rbx), %rdi
	callq	_tbm_begin_iterate
	movq	%rax, 48(%rbx)
	jmp	LBB0_20
LBB0_14:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	*-64(%rbp)
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movl	8(%r14), %esi
	movl	%r15d, %edi
	callq	_PageGetItemId
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_PageGetItem
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_GinIsPostingTree
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movl	%r12d, %edi
	callq	_GinGetPostingTree
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	movl	%eax, %esi
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_PredicateLockPage
	movl	4(%r14), %edi
	movq	_GIN_UNLOCK@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_LockBuffer
	leaq	36(%rbx), %rdi
	movl	(%r15), %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	callq	_ginScanBeginPostingTree
	movq	%rax, %r15
	movl	4(%rax), %edi
	movl	%edi, 32(%rbx)
	callq	_IncrBufferRefCount
	movl	32(%rbx), %edi
	callq	_BufferGetPage
	movl	%eax, %r12d
	leaq	-72(%rbp), %rdi
	callq	_ItemPointerSetMin
	movl	-72(%rbp), %edx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_GinDataLeafPageGetItems
	movq	%rax, 24(%rbx)
	movl	(%rbx), %eax
	movl	32(%rbx), %edi
	imull	(%r15), %eax
	movl	%eax, 8(%rbx)
	movl	(%r13), %esi
	callq	_LockBuffer
	movq	%r15, %rdi
	callq	_freeGinBtreeStack
	movl	$0, 12(%rbx)
	jmp	LBB0_22
LBB0_17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ebx
	movl	4(%r14), %edi
	callq	_BufferGetBlockNumber
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_PredicateLockPage
	jmp	LBB0_21
LBB0_18:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %r13d
	movl	4(%r14), %edi
	callq	_BufferGetBlockNumber
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_PredicateLockPage
	movl	%r12d, %edi
	callq	_GinGetNPosting
	testq	%rax, %rax
	jle	LBB0_21
## %bb.19:
	movl	16(%rbx), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	callq	_ginReadTuple
	movq	%rax, 24(%rbx)
	movl	(%rbx), %eax
	movl	%eax, 8(%rbx)
LBB0_20:
	movl	$0, 12(%rbx)
LBB0_21:
	movl	4(%r14), %edi
	movq	_GIN_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
LBB0_22:
	movq	%r14, %rdi
	callq	_freeGinBtreeStack
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,4,2              ## @InvalidBuffer
	.comm	_InvalidOffsetNumber,4,2        ## @InvalidOffsetNumber
	.comm	_GIN_CAT_EMPTY_QUERY,4,2        ## @GIN_CAT_EMPTY_QUERY
	.comm	_GIN_UNLOCK,4,2                 ## @GIN_UNLOCK
	.no_dead_strip	_startScanEntry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function startScanEntry
_startScanEntry:                        ; @startScanEntry
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x26, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x26, [x26, _InvalidBuffer@GOTPAGEOFF]
Lloh2:
	adrp	x27, _InvalidOffsetNumber@GOTPAGE
Lloh3:
	ldr	x27, [x27, _InvalidOffsetNumber@GOTPAGEOFF]
	add	x23, x1, #92
	mov	w28, #1
Lloh4:
	adrp	x25, _GIN_UNLOCK@GOTPAGE
Lloh5:
	ldr	x25, [x25, _GIN_UNLOCK@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x19, #48]
	bl	_tbm_free
	str	xzr, [x19, #40]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #4]
	ldr	w1, [x25]
	bl	_LockBuffer
	mov	x0, x20
	bl	_freeGinBtreeStack
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26]
	str	w8, [x19, #32]
	mov	x0, x23
	bl	_ItemPointerSetMin
	ldr	w8, [x27]
	str	w8, [x19, #88]
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_pfree
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x19, #24]
	str	xzr, [x19, #40]
	str	xzr, [x19, #80]
	str	wzr, [x19, #8]
	str	xzr, [x19]
	ldr	w1, [x19, #16]
	ldr	w2, [x19, #72]
	ldr	w3, [x19, #56]
	add	x0, sp, #8
	mov	x4, x22
	bl	_ginPrepareEntryScan
	add	x0, sp, #8
	mov	w1, #1
	mov	w2, #0
	mov	x3, x21
	bl	_ginFindLeafPage
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_BufferGetPage
	str	w28, [x19, #12]
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #56]
Lloh6:
	adrp	x9, _GIN_CAT_EMPTY_QUERY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GIN_CAT_EMPTY_QUERY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_14
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x20
	blr	x8
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_collectMatchBitmap
	mov	x8, x0
	ldr	x0, [x19, #40]
	cbnz	w8, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x8
	bl	_tbm_end_iterate
	ldr	x0, [x19, #40]
	b	LBB0_1
LBB0_11:
	cbz	x0, LBB0_20
; %bb.12:
	bl	_tbm_is_empty
	cbnz	w0, LBB0_20
; %bb.13:
	ldr	x0, [x19, #40]
	bl	_tbm_begin_iterate
	str	x0, [x19, #48]
	str	wzr, [x19, #12]
	b	LBB0_20
LBB0_14:
	mov	x24, x0
	ldr	x8, [sp, #8]
	add	x0, sp, #8
	mov	x1, x20
	blr	x8
	cbz	x0, LBB0_17
; %bb.15:
	ldr	w1, [x20, #8]
	mov	x0, x24
	bl	_PageGetItemId
	mov	x1, x0
	mov	x0, x24
	bl	_PageGetItem
	mov	x23, x0
	bl	_GinIsPostingTree
	cbz	x0, LBB0_18
; %bb.16:
	mov	x0, x23
	bl	_GinGetPostingTree
	mov	x23, x0
	ldr	w0, [x22]
	mov	x1, x23
	mov	x2, x21
	bl	_PredicateLockPage
	ldr	w0, [x20, #4]
	ldr	w1, [x25]
	bl	_LockBuffer
	add	x0, x19, #36
	ldr	w1, [x22]
	mov	x2, x23
	mov	x3, x21
	bl	_ginScanBeginPostingTree
	mov	x21, x0
	ldr	w0, [x0, #4]
	str	w0, [x19, #32]
	bl	_IncrBufferRefCount
	ldr	w0, [x19, #32]
	bl	_BufferGetPage
	mov	x22, x0
	add	x0, sp, #4
	bl	_ItemPointerSetMin
	ldr	w2, [sp, #4]
	mov	x0, x22
	mov	x1, x19
	bl	_GinDataLeafPageGetItems
	str	x0, [x19, #24]
	ldr	w8, [x21]
	ldr	w9, [x19]
	mul	w8, w9, w8
	str	w8, [x19, #8]
	ldr	w0, [x19, #32]
	ldr	w1, [x25]
	bl	_LockBuffer
	mov	x0, x21
	bl	_freeGinBtreeStack
	str	wzr, [x19, #12]
	b	LBB0_21
LBB0_17:
	ldr	w19, [x22]
	ldr	w0, [x20, #4]
	bl	_BufferGetBlockNumber
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_PredicateLockPage
	b	LBB0_20
LBB0_18:
	ldr	w24, [x22]
	ldr	w0, [x20, #4]
	bl	_BufferGetBlockNumber
	mov	x1, x0
	mov	x0, x24
	mov	x2, x21
	bl	_PredicateLockPage
	mov	x0, x23
	bl	_GinGetNPosting
	cmp	x0, #1
	b.lt	LBB0_20
; %bb.19:
	ldr	w1, [x19, #16]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x19
	bl	_ginReadTuple
	str	x0, [x19, #24]
	ldr	w8, [x19]
	stp	w8, wzr, [x19, #8]
LBB0_20:
	ldr	w0, [x20, #4]
	ldr	w1, [x25]
	bl	_LockBuffer
LBB0_21:
	mov	x0, x20
	bl	_freeGinBtreeStack
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,4,2              ; @InvalidBuffer
	.comm	_InvalidOffsetNumber,4,2        ; @InvalidOffsetNumber
	.comm	_GIN_CAT_EMPTY_QUERY,4,2        ; @GIN_CAT_EMPTY_QUERY
	.comm	_GIN_UNLOCK,4,2                 ; @GIN_UNLOCK
	.no_dead_strip	_startScanEntry
.subsections_via_symbols
