	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_restrpos                 ## -- Begin function index_restrpos
	.p2align	4, 0x90
_index_restrpos:                        ## @index_restrpos
	.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
	movl	24(%rdi), %edi
	callq	_IsMVCCSnapshot
	movl	%eax, %edi
	callq	_Assert
	movq	_amrestrpos@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CHECK_SCAN_PROCEDURE
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_table_index_fetch_reset
LBB0_2:
	movq	$0, (%rbx)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCAN_CHECKS,4,2                ## @SCAN_CHECKS
	.comm	_amrestrpos,4,2                 ## @amrestrpos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_restrpos                 ; -- Begin function index_restrpos
	.p2align	2
_index_restrpos:                        ; @index_restrpos
	.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
	ldr	w0, [x0, #24]
	bl	_IsMVCCSnapshot
	bl	_Assert
Lloh0:
	adrp	x8, _amrestrpos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amrestrpos@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CHECK_SCAN_PROCEDURE
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_table_index_fetch_reset
LBB0_2:
	str	xzr, [x19]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCAN_CHECKS,4,2                ; @SCAN_CHECKS
	.comm	_amrestrpos,4,2                 ; @amrestrpos
.subsections_via_symbols
