	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecReScanMaterial             ## -- Begin function ExecReScanMaterial
	.p2align	4, 0x90
_ExecReScanMaterial:                    ## @ExecReScanMaterial
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_outerPlanState
	movq	%rax, %r14
	movl	16(%rbx), %edi
	callq	_ExecClearTuple
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.2:
	cmpq	$0, (%r14)
	je	LBB0_3
LBB0_4:
	callq	_tuplestore_end
	movq	$0, 8(%rbx)
LBB0_5:
	cmpq	$0, (%r14)
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_ExecReScan
LBB0_7:
	movl	$0, 4(%rbx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_EXEC_FLAG_REWIND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tuplestore_rescan              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EXEC_FLAG_REWIND,4,2           ## @EXEC_FLAG_REWIND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecReScanMaterial             ; -- Begin function ExecReScanMaterial
	.p2align	2
_ExecReScanMaterial:                    ; @ExecReScanMaterial
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_outerPlanState
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_ExecClearTuple
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x9, [x20]
	cbz	x9, LBB0_8
LBB0_3:
	bl	_tuplestore_end
	str	xzr, [x19, #8]
LBB0_4:
	ldr	x8, [x20]
	cbnz	x8, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_ExecReScan
LBB0_6:
	str	wzr, [x19, #4]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh0:
	adrp	x9, _EXEC_FLAG_REWIND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXEC_FLAG_REWIND@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tuplestore_rescan
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXEC_FLAG_REWIND,4,2           ; @EXEC_FLAG_REWIND
.subsections_via_symbols
