	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecGetRangeTableRelation      ## -- Begin function ExecGetRangeTableRelation
	.p2align	4, 0x90
_ExecGetRangeTableRelation:             ## @ExecGetRangeTableRelation
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testl	%esi, %esi
	jle	LBB0_2
## %bb.1:
	cmpl	%ebx, (%r14)
	setge	%dil
LBB0_2:
	callq	_Assert
	movq	8(%r14), %rax
	movslq	%ebx, %r13
	movq	-8(%rax,%r13,8), %r12
	testq	%r12, %r12
	jne	LBB0_9
## %bb.3:
	decq	%r13
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_exec_rt_fetch
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_RTE_RELATION@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	xorl	%eax, %eax
	callq	_IsParallelWorker
	movl	16(%r15), %edi
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	movq	8(%r15), %rsi
	callq	_table_open
	movq	%rax, %r12
	jmp	LBB0_8
LBB0_4:
	movq	_NoLock@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_table_open
	movq	%rax, %r12
	movq	8(%r15), %rsi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	$1, %edi
	cmpq	(%rax), %rsi
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_CheckRelationLockedByMe
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_6:
	callq	_Assert
LBB0_8:
	movq	8(%r14), %rax
	movq	%r12, (%rax,%r13,8)
LBB0_9:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTE_RELATION,8,3               ## @RTE_RELATION
	.comm	_NoLock,8,3                     ## @NoLock
	.comm	_AccessShareLock,8,3            ## @AccessShareLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecGetRangeTableRelation      ; -- Begin function ExecGetRangeTableRelation
	.p2align	2
_ExecGetRangeTableRelation:             ; @ExecGetRangeTableRelation
	.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, x1
	mov	x19, x0
	subs	w22, w1, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, w21
	cset	w0, ge
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_Assert
	ldr	x8, [x19, #8]
	ldr	x20, [x8, w22, sxtw #3]
	cbnz	x20, LBB0_11
; %bb.4:
	sxtw	x22, w22
	mov	x0, x21
	mov	x1, x19
	bl	_exec_rt_fetch
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RTE_RELATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTE_RELATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	bl	_IsParallelWorker
	mov	x8, x0
	ldr	w0, [x21, #16]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x1, [x21, #8]
	bl	_table_open
	mov	x20, x0
	b	LBB0_10
LBB0_6:
Lloh3:
	adrp	x8, _NoLock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	bl	_table_open
	mov	x20, x0
	ldr	x1, [x21, #8]
Lloh6:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	mov	w2, #0
	bl	_CheckRelationLockedByMe
	cmp	x0, #0
	cset	w0, ne
LBB0_9:
	bl	_Assert
LBB0_10:
	ldr	x8, [x19, #8]
	str	x20, [x8, x22, lsl #3]
LBB0_11:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RTE_RELATION,8,3               ; @RTE_RELATION
	.comm	_NoLock,8,3                     ; @NoLock
	.comm	_AccessShareLock,8,3            ; @AccessShareLock
.subsections_via_symbols
