	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecParallelReinitialize       ## -- Begin function ExecParallelReinitialize
	.p2align	4, 0x90
_ExecParallelReinitialize:              ## @ExecParallelReinitialize
	.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	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	(%rsi), %edi
	callq	_Assert
	movq	%r15, %rdi
	callq	_GetPerTupleExprContext
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ExecSetParamPlanMulti
	movq	8(%rbx), %rdi
	callq	_ReinitializeParallelDSM
	movq	8(%rbx), %rdi
	movl	$1, %esi
	callq	_ExecParallelSetupTupleQueues
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	movl	$0, (%rbx)
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	_PARALLEL_KEY_EXECUTOR_FIXED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_shm_toc_lookup
	movq	%rax, %r13
	movl	(%rax), %edi
	callq	_DsaPointerIsValid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rdi
	movl	(%r13), %esi
	callq	_dsa_free
	movq	_InvalidDsaPointer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
LBB0_2:
	movq	%r12, %rdi
	callq	_bms_is_empty
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	16(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_SerializeParamExecParams
	movl	%eax, 24(%rbx)
	movl	%eax, (%r13)
LBB0_4:
	movq	16(%rbx), %rax
	movq	%rax, (%r15)
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ExecParallelReInitializeDSM
	movq	$0, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARALLEL_KEY_EXECUTOR_FIXED,4,2 ## @PARALLEL_KEY_EXECUTOR_FIXED
	.comm	_InvalidDsaPointer,4,2          ## @InvalidDsaPointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecParallelReinitialize       ; -- Begin function ExecParallelReinitialize
	.p2align	2
_ExecParallelReinitialize:              ; @ExecParallelReinitialize
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0]
	ldr	w0, [x1]
	bl	_Assert
	mov	x0, x19
	bl	_GetPerTupleExprContext
	mov	x1, x0
	mov	x0, x22
	bl	_ExecSetParamPlanMulti
	ldr	x0, [x21, #8]
	bl	_ReinitializeParallelDSM
	ldr	x0, [x21, #8]
	mov	w1, #1
	bl	_ExecParallelSetupTupleQueues
	str	w0, [x21, #40]
	str	xzr, [x21, #32]
	str	wzr, [x21]
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x8, _PARALLEL_KEY_EXECUTOR_FIXED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PARALLEL_KEY_EXECUTOR_FIXED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_shm_toc_lookup
	mov	x23, x0
	ldr	w0, [x0]
	bl	_DsaPointerIsValid
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x21, #16]
	ldr	w1, [x23]
	bl	_dsa_free
Lloh3:
	adrp	x8, _InvalidDsaPointer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidDsaPointer@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x23]
LBB0_2:
	mov	x0, x22
	bl	_bms_is_empty
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x2, [x21, #16]
	mov	x0, x19
	mov	x1, x22
	bl	_SerializeParamExecParams
	str	w0, [x21, #24]
	str	w0, [x23]
LBB0_4:
	ldp	x1, x8, [x21, #8]
	str	x8, [x19]
	mov	x0, x20
	bl	_ExecParallelReInitializeDSM
	str	xzr, [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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PARALLEL_KEY_EXECUTOR_FIXED,4,2 ; @PARALLEL_KEY_EXECUTOR_FIXED
	.comm	_InvalidDsaPointer,4,2          ; @InvalidDsaPointer
.subsections_via_symbols
