	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecutePlan
_ExecutePlan:                           ## @ExecutePlan
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	24(%rbp), %r14
	movl	32(%rbp), %eax
	movl	16(%rbp), %ecx
	movl	%ecx, 24(%rdi)
	testl	%eax, %eax
	cmovel	%eax, %edx
	movl	%edx, (%rdi)
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_EnterParallelMode
LBB0_2:
	leaq	-1(%r13), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ResetPerTupleExprContext
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ExecProcNode
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TupIsNull
	testq	%rax, %rax
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rsi
	callq	_ExecFilterJunk
	movq	%rax, %r12
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	*(%r14)
	testl	%eax, %eax
	je	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	_CMD_SELECT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	8(%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	subq	$1, %r15
	setb	%al
	testq	%r13, %r13
	je	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	%al, %al
	je	LBB0_3
LBB0_12:
	movq	_EXEC_FLAG_BACKWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_13
## %bb.14:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ExitParallelMode               ## TAILCALL
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ExecShutdownNode
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_16
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_SELECT,8,3                 ## @CMD_SELECT
	.comm	_EXEC_FLAG_BACKWARD,4,2         ## @EXEC_FLAG_BACKWARD
	.no_dead_strip	_ExecutePlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecutePlan
_ExecutePlan:                           ; @ExecutePlan
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x19, x1
	mov	x24, x0
	ldr	w8, [x29, #16]
	str	w6, [x0, #24]
	cmp	w8, #0
	csel	w26, wzr, w2, eq
	str	w26, [x0]
	cbz	w26, LBB0_2
; %bb.1:
	bl	_EnterParallelMode
LBB0_2:
	sub	x8, x21, #1
Lloh0:
	adrp	x27, _CMD_SELECT@GOTPAGE
Lloh1:
	ldr	x27, [x27, _CMD_SELECT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x28, x8
	mov	x0, x24
	bl	_ResetPerTupleExprContext
	mov	x0, x19
	bl	_ExecProcNode
	mov	x25, x0
	bl	_TupIsNull
	cbnz	x0, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x24, #16]
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x25
	bl	_ExecFilterJunk
	mov	x25, x0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w22, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	mov	x0, x25
	mov	x1, x20
	blr	x8
	cbz	w0, LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	cmp	x8, x23
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24, #8]
	add	w8, w8, #1
	str	w8, [x24, #8]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x28, #1
	cbz	x21, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x28, LBB0_3
LBB0_12:
	ldr	w8, [x24, #4]
Lloh2:
	adrp	x9, _EXEC_FLAG_BACKWARD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EXEC_FLAG_BACKWARD@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:
	cbz	w26, LBB0_16
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ExitParallelMode
LBB0_15:
	mov	x0, x19
	bl	_ExecShutdownNode
	cbnz	w26, LBB0_14
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_SELECT,8,3                 ; @CMD_SELECT
	.comm	_EXEC_FLAG_BACKWARD,4,2         ; @EXEC_FLAG_BACKWARD
	.no_dead_strip	_ExecutePlan
.subsections_via_symbols
