	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecReScanSort                 ## -- Begin function ExecReScanSort
	.p2align	4, 0x90
_ExecReScanSort:                        ## @ExecReScanSort
	.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
	cmpl	$0, (%rbx)
	je	LBB0_8
## %bb.1:
	movq	%rax, %r14
	movl	52(%rbx), %edi
	callq	_ExecClearTuple
	cmpq	$0, (%r14)
	jne	LBB0_5
## %bb.2:
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	jne	LBB0_5
## %bb.3:
	movq	24(%rbx), %rax
	cmpq	32(%rbx), %rax
	jne	LBB0_5
## %bb.4:
	cmpl	$0, 48(%rbx)
	je	LBB0_5
## %bb.7:
	movq	40(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tuplesort_rescan               ## TAILCALL
LBB0_5:
	movl	$0, (%rbx)
	movq	40(%rbx), %rdi
	callq	_tuplesort_end
	movq	$0, 40(%rbx)
	cmpq	$0, (%r14)
	je	LBB0_6
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ExecReScan                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecReScanSort                 ; -- Begin function ExecReScanSort
	.p2align	2
_ExecReScanSort:                        ; @ExecReScanSort
	.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
	ldr	w8, [x19]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	w0, [x19, #52]
	bl	_ExecClearTuple
	ldr	x8, [x20]
	cbnz	x8, LBB0_6
; %bb.2:
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldp	x8, x9, [x19, #24]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	ldr	w8, [x19, #48]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x0, [x19, #40]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tuplesort_rescan
LBB0_6:
	str	wzr, [x19]
	ldr	x0, [x19, #40]
	bl	_tuplesort_end
	str	xzr, [x19, #40]
	ldr	x8, [x20]
	cbz	x8, LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ExecReScan
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
