	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecScanFetch
_ExecScanFetch:                         ## @ExecScanFetch
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	16(%rdi), %rbx
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movq	%r15, %rsi
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.1:
	movq	8(%r12), %rax
	movslq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_2
## %bb.4:
	movq	(%rbx), %rax
	cmpl	$0, -4(%rax,%r13,4)
	je	LBB0_6
## %bb.5:
	movq	(%r12), %rdi
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ExecClearTuple                 ## TAILCALL
LBB0_2:
	movq	(%r12), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	*%r14
	testl	%eax, %eax
	jne	LBB0_15
## %bb.3:
	movq	%r15, %rdi
	callq	_ExecClearTuple
	jmp	LBB0_15
LBB0_6:
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	-8(%rdx,%r13,8), %r15
	movq	-8(%rcx,%r13,8), %rcx
	testq	%r15, %r15
	je	LBB0_12
## %bb.7:
	xorl	%edi, %edi
	testq	%rcx, %rcx
	sete	%dil
	callq	_Assert
	movq	(%rbx), %rax
	movl	$1, -4(%rax,%r13,4)
LBB0_8:
	movq	%r15, %rdi
	callq	_TupIsNull
	testq	%rax, %rax
	je	LBB0_9
LBB0_14:
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_12:
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.13:
	movq	(%r12), %r15
	movl	$1, -4(%rax,%r13,4)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r15, %rdx
	callq	_EvalPlanQualFetchRowMark
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_14
LBB0_16:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rsi                           ## TAILCALL
LBB0_9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	*%r14
	testl	%eax, %eax
	je	LBB0_10
LBB0_15:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r15, %rdi
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ExecScanFetch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecScanFetch
_ExecScanFetch:                         ; @ExecScanFetch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x0
	ldr	x20, [x0, #16]
	bl	_CHECK_FOR_INTERRUPTS
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x22, [x20]
	cbz	x22, LBB0_13
; %bb.1:
	ldr	x8, [x21, #8]
	ldrsw	x1, [x8]
	cbz	w1, LBB0_5
; %bb.2:
	ldr	x8, [x22]
	sub	x23, x1, #1
	ldr	w9, [x8, x23, lsl #2]
	cbz	w9, LBB0_7
; %bb.3:
	ldr	x0, [x21]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ExecClearTuple
LBB0_5:
	ldr	x20, [x21]
	mov	x0, x21
	mov	x1, x20
	blr	x19
	cbnz	w0, LBB0_15
; %bb.6:
	mov	x0, x20
	bl	_ExecClearTuple
	b	LBB0_15
LBB0_7:
	lsl	x9, x23, #3
	ldp	x11, x10, [x22, #8]
	ldr	x20, [x10, x9]
	ldr	x9, [x11, x9]
	cbz	x20, LBB0_11
; %bb.8:
	cmp	x9, #0
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x22]
	mov	w9, #1
	str	w9, [x8, x23, lsl #2]
LBB0_9:
	mov	x0, x20
	bl	_TupIsNull
	cbz	x0, LBB0_14
LBB0_10:
	mov	x20, #0
	b	LBB0_15
LBB0_11:
	mov	x0, x2
	cbz	x9, LBB0_13
; %bb.12:
	ldr	x20, [x21]
	mov	w9, #1
	str	w9, [x8, x23, lsl #2]
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x20
	bl	_EvalPlanQualFetchRowMark
	cbnz	w0, LBB0_9
	b	LBB0_10
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	br	x2
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	blr	x19
	cbz	w0, LBB0_16
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
	mov	x0, x20
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ExecScanFetch
.subsections_via_symbols
