	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecEndIndexOnlyScan           ## -- Begin function ExecEndIndexOnlyScan
	.p2align	4, 0x90
_ExecEndIndexOnlyScan:                  ## @ExecEndIndexOnlyScan
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %r14
	movq	(%rdi), %rdi
	movq	32(%rbx), %r15
	movq	_InvalidBuffer@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rdi
	je	LBB0_2
## %bb.1:
	callq	_ReleaseBuffer
	movq	(%r12), %rax
	movq	%rax, (%rbx)
LBB0_2:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_ExecClearTuple
LBB0_4:
	movq	8(%rbx), %rdi
	callq	_ExecClearTuple
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_index_endscan
LBB0_6:
	testq	%r14, %r14
	je	LBB0_7
## %bb.8:
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_index_close                    ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_NoLock,4,2                     ## @NoLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecEndIndexOnlyScan           ; -- Begin function ExecEndIndexOnlyScan
	.p2align	2
_ExecEndIndexOnlyScan:                  ; @ExecEndIndexOnlyScan
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	ldp	x20, x19, [x0, #32]
	ldr	x0, [x0]
Lloh0:
	adrp	x22, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x22, [x22, _InvalidBuffer@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	bl	_ReleaseBuffer
	ldr	x8, [x22]
	str	x8, [x21]
LBB0_2:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_ExecClearTuple
LBB0_4:
	ldr	x0, [x21, #8]
	bl	_ExecClearTuple
	cbz	x20, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_index_endscan
LBB0_6:
	cbz	x19, LBB0_8
; %bb.7:
Lloh2:
	adrp	x8, _NoLock@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_index_close
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_NoLock,4,2                     ; @NoLock
.subsections_via_symbols
