	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gather_getnext
_gather_getnext:                        ## @gather_getnext
	.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	%rdi, %r12
	callq	_outerPlanState
	movq	%rax, %r15
	movq	32(%r12), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	jg	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 8(%r12)
	je	LBB0_14
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	cmpq	$0, (%r12)
	jle	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_gather_readnext
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	jne	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 8(%r12)
	je	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rax
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r12), %r13
	movq	%rax, (%r13)
	movq	%r15, %rdi
	callq	_ExecProcNode
	movq	%rax, %rbx
	movq	$0, (%r13)
	movq	%rax, %rdi
	callq	_TupIsNull
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, 8(%r12)
	jmp	LBB0_1
LBB0_5:
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_ExecStoreHeapTuple
	jmp	LBB0_6
LBB0_12:
	movq	%rbx, %r14
LBB0_6:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ExecClearTuple                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gather_getnext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gather_getnext
_gather_getnext:                        ; @gather_getnext
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	bl	_outerPlanState
	mov	x21, x0
	ldr	x19, [x20, #32]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	cmp	x8, #0
	b.gt	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_13
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_CHECK_FOR_INTERRUPTS
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_gather_readnext
	mov	x22, x0
	bl	_HeapTupleIsValid
	cbnz	x0, LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x8]
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x23, [x20, #24]
	str	x8, [x23]
	mov	x0, x21
	bl	_ExecProcNode
	mov	x22, x0
	str	xzr, [x23]
	bl	_TupIsNull
	cbz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	str	wzr, [x20, #8]
	b	LBB0_1
LBB0_10:
	mov	x0, x22
	mov	x1, x19
	mov	w2, #1
	bl	_ExecStoreHeapTuple
	b	LBB0_12
LBB0_11:
	mov	x19, x22
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ExecClearTuple
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gather_getnext
.subsections_via_symbols
