	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DoPortalRewind
_DoPortalRewind:                        ## @DoPortalRewind
	.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
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movl	32(%rbx), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	movq	24(%rbx), %rdi
	callq	_tuplestore_rescan
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
LBB0_2:
	movq	16(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	callq	_PushActiveSnapshot
	movq	%r14, %rdi
	callq	_ExecutorRewind
	xorl	%eax, %eax
	callq	_PopActiveSnapshot
LBB0_4:
	movq	$1, (%rbx)
	movq	$0, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_DoPortalRewind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function DoPortalRewind
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_DoPortalRewind:                        ; @DoPortalRewind
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #32]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	ldr	x0, [x19, #24]
	bl	_tuplestore_rescan
	mov	x0, x20
	bl	_MemoryContextSwitchTo
LBB0_2:
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_PushActiveSnapshot
	mov	x0, x20
	bl	_ExecutorRewind
	bl	_PopActiveSnapshot
LBB0_4:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_DoPortalRewind
.subsections_via_symbols
