	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_endscan                  ## -- Begin function index_endscan
	.p2align	4, 0x90
_index_endscan:                         ## @index_endscan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_amendscan@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CHECK_SCAN_PROCEDURE
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_table_index_fetch_end
	movq	$0, 24(%rbx)
LBB0_2:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	16(%rbx), %rdi
	callq	_RelationDecrementReferenceCount
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	callq	_UnregisterSnapshot
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_IndexScanEnd                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCAN_CHECKS,4,2                ## @SCAN_CHECKS
	.comm	_amendscan,4,2                  ## @amendscan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_endscan                  ; -- Begin function index_endscan
	.p2align	2
_index_endscan:                         ; @index_endscan
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _amendscan@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amendscan@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CHECK_SCAN_PROCEDURE
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_table_index_fetch_end
	str	xzr, [x19, #24]
LBB0_2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldr	x0, [x19, #16]
	bl	_RelationDecrementReferenceCount
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	bl	_UnregisterSnapshot
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IndexScanEnd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCAN_CHECKS,4,2                ; @SCAN_CHECKS
	.comm	_amendscan,4,2                  ; @amendscan
.subsections_via_symbols
