	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecParallelHashEnsureBatchAccessors
_ExecParallelHashEnsureBatchAccessors:  ## @ExecParallelHashEnsureBatchAccessors
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.1:
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	je	LBB0_8
## %bb.2:
	movq	%r14, %rdi
	callq	_ExecParallelHashCloseBatchAccessors
LBB0_3:
	movl	16(%rbx), %edi
	callq	_DsaPointerIsValid
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	20(%r14), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	shll	$3, %eax
	leal	(%rax,%rax,4), %edi
	callq	_palloc0
	movq	%rax, 8(%r14)
	movl	16(%r14), %edi
	movl	16(%rbx), %esi
	callq	_dsa_get_address
	cmpq	$0, (%r14)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_7
## %bb.5:
	movq	%rax, %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$32, %r15d
	xorl	%ebx, %ebx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_NthParallelHashJoinBatch
	movq	%rax, %r14
	movq	%rax, (%r12,%r15)
	movq	$0, -8(%r12,%r15)
	movl	$0, -32(%r12,%r15)
	movq	%rax, %rdi
	callq	_ParallelHashJoinBatchInner
	movq	_ParallelWorkerNumber@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	incq	%rsi
	movl	%eax, %edi
	movq	%r13, %rdx
	callq	_sts_attach
	movq	%rax, -16(%r12,%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %esi
	movq	%r14, %rdi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	callq	_ParallelHashJoinBatchOuter
	movq	_ParallelWorkerNumber@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	incq	%rsi
	movl	%eax, %edi
	movq	%r13, %rdx
	callq	_sts_attach
	movq	%rax, -24(%r12,%r15)
	incq	%rbx
	addq	$40, %r15
	cmpq	%rbx, (%r14)
	jg	LBB0_6
LBB0_7:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ParallelWorkerNumber,8,3       ## @ParallelWorkerNumber
	.no_dead_strip	_ExecParallelHashEnsureBatchAccessors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecParallelHashEnsureBatchAccessors
_ExecParallelHashEnsureBatchAccessors:  ; @ExecParallelHashEnsureBatchAccessors
	.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	x19, x0
	ldr	x25, [x0, #24]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_ExecParallelHashCloseBatchAccessors
LBB0_3:
	ldr	w0, [x25, #16]
	bl	_DsaPointerIsValid
	cbz	w0, LBB0_8
; %bb.4:
	ldr	w0, [x19, #20]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	ldr	x8, [x25]
	str	x8, [x19]
	add	w8, w8, w8, lsl #2
	lsl	w0, w8, #3
	bl	_palloc0
	str	x0, [x19, #8]
	ldr	w0, [x19, #16]
	ldr	w1, [x25, #16]
	bl	_dsa_get_address
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x21, x0
	mov	x26, #0
	mov	x22, #0
	add	x23, x25, #8
Lloh0:
	adrp	x27, _ParallelWorkerNumber@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ParallelWorkerNumber@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x19, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_NthParallelHashJoinBatch
	mov	x24, x0
	add	x28, x28, x26
	stp	xzr, x0, [x28, #24]
	str	wzr, [x28]
	bl	_ParallelHashJoinBatchInner
	ldr	x8, [x27]
	add	x1, x8, #1
	mov	x2, x23
	bl	_sts_attach
	str	x0, [x28, #16]
	ldr	w1, [x25, #12]
	mov	x0, x24
	bl	_ParallelHashJoinBatchOuter
	ldr	x8, [x27]
	add	x1, x8, #1
	mov	x2, x23
	bl	_sts_attach
	str	x0, [x28, #8]
	add	x22, x22, #1
	ldr	x8, [x19]
	add	x26, x26, #40
	cmp	x8, x22
	b.gt	LBB0_6
LBB0_7:
	mov	x0, x20
	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	_MemoryContextSwitchTo
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ParallelWorkerNumber,8,3       ; @ParallelWorkerNumber
	.no_dead_strip	_ExecParallelHashEnsureBatchAccessors
.subsections_via_symbols
