	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RelationGetIndexScan           ## -- Begin function RelationGetIndexScan
	.p2align	4, 0x90
_RelationGetIndexScan:                  ## @RelationGetIndexScan
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %r12d
	movl	$4, %edi
	callq	_palloc
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 96(%rax)
	movl	%r12d, 92(%rax)
	movq	_InvalidSnapshot@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movl	%r15d, (%rbx)
	movl	%r14d, 4(%rbx)
	testl	%r15d, %r15d
	jle	LBB0_1
## %bb.2:
	shll	$2, %r15d
	movl	%r15d, %edi
	callq	_palloc
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 80(%rbx)
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.5:
	shll	$2, %r14d
	movl	%r14d, %edi
	callq	_palloc
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movq	%rax, 72(%rbx)
	movq	$0, 8(%rbx)
	xorl	%eax, %eax
	callq	_TransactionStartedDuringRecovery
	movl	%eax, 64(%rbx)
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movq	$0, 56(%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidSnapshot,4,2            ## @InvalidSnapshot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RelationGetIndexScan           ; -- Begin function RelationGetIndexScan
	.p2align	2
_RelationGetIndexScan:                  ; @RelationGetIndexScan
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w0, #4
	bl	_palloc
	mov	x19, x0
	stp	xzr, xzr, [x0, #96]
Lloh0:
	adrp	x8, _InvalidSnapshot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidSnapshot@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w22, [x0, #88]
	stp	w21, w20, [x0]
	cmp	w21, #1
	b.lt	LBB0_2
; %bb.1:
	lsl	w0, w21, #2
	bl	_palloc
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	str	x0, [x19, #80]
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.4:
	lsl	w0, w20, #2
	bl	_palloc
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	str	x0, [x19, #72]
	str	xzr, [x19, #8]
	bl	_TransactionStartedDuringRecovery
	str	w0, [x19, #64]
	cmp	w0, #0
	cset	w8, eq
	str	w8, [x19, #16]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #24]
	stur	q0, [x19, #40]
	str	xzr, [x19, #56]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidSnapshot,4,2            ; @InvalidSnapshot
.subsections_via_symbols
