	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecParallelHashTableInsert    ## -- Begin function ExecParallelHashTableInsert
	.p2align	4, 0x90
_ExecParallelHashTableInsert:           ## @ExecParallelHashTableInsert
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rax
	movq	%rdi, %r13
	movl	%edx, -60(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ExecFetchSlotMinimalTuple
	movq	%rax, %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r13), %rdi
	callq	_BarrierPhase
	xorl	%edi, %edi
	movq	_PHJ_BUILD_HASHING_INNER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	(%r14), %rsi
	movq	_HJTUPLE_OVERHEAD@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r13, %rdi
	leaq	-52(%rbp), %rdx
	callq	_ExecParallelHashTupleAlloc
	testq	%rax, %rax
	jne	LBB0_3
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	leaq	-48(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_ExecHashGetBucketAndBatch
	cmpl	$0, -44(%rbp)
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rdi
	movq	_HJTUPLE_OVERHEAD@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_MAXALIGN
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpl	$0, -44(%rbp)
	setg	%dil
	callq	_Assert
	movq	(%r13), %rax
	movslq	-44(%rbp), %rsi
	movq	%rsi, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rax
	cmpq	%r12, %rax
	jae	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r12, %rdx
	callq	_ExecParallelHashTuplePrealloc
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movq	(%r13), %rax
	movslq	-44(%rbp), %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rax
LBB0_7:
	xorl	%edi, %edi
	cmpq	%r12, %rax
	setae	%dil
	callq	_Assert
	movq	(%r13), %rax
	movslq	-44(%rbp), %rcx
	shlq	$4, %rcx
	subq	%r12, (%rax,%rcx)
	movl	12(%rax,%rcx), %edi
	leaq	-60(%rbp), %rsi
	movq	%r14, %rdx
	callq	_sts_puttuple
	jmp	LBB0_8
LBB0_3:
	movq	%rax, %rbx
	movl	%r15d, (%rax)
	movq	%rax, %rdi
	callq	_HJTUPLE_MINTUPLE
	movq	(%r14), %rdx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_memcpy
	movslq	-48(%rbp), %rdi
	shlq	$2, %rdi
	addq	8(%r13), %rdi
	movl	-52(%rbp), %edx
	movq	%rbx, %rsi
	callq	_ExecParallelHashPushTuple
LBB0_8:
	movq	(%r13), %rax
	movslq	-44(%rbp), %rcx
	shlq	$4, %rcx
	incl	8(%rax,%rcx)
	cmpl	$0, -56(%rbp)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_heap_free_minimal_tuple
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHJ_BUILD_HASHING_INNER,8,3    ## @PHJ_BUILD_HASHING_INNER
	.comm	_HJTUPLE_OVERHEAD,8,3           ## @HJTUPLE_OVERHEAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecParallelHashTableInsert    ; -- Begin function ExecParallelHashTableInsert
	.p2align	2
_ExecParallelHashTableInsert:           ; @ExecParallelHashTableInsert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x2
	mov	x8, x1
	mov	x20, x0
	str	w2, [sp, #28]
	add	x1, sp, #24
	mov	x0, x8
	bl	_ExecFetchSlotMinimalTuple
	mov	x19, x0
Lloh0:
	adrp	x23, _PHJ_BUILD_HASHING_INNER@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PHJ_BUILD_HASHING_INNER@GOTPAGEOFF]
Lloh2:
	adrp	x24, _HJTUPLE_OVERHEAD@GOTPAGE
Lloh3:
	ldr	x24, [x24, _HJTUPLE_OVERHEAD@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #16]
	bl	_BarrierPhase
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x24]
	ldr	x9, [x19]
	add	x1, x9, x8
	add	x2, sp, #20
	mov	x0, x20
	bl	_ExecParallelHashTupleAlloc
	cbnz	x0, LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_ExecHashGetBucketAndBatch
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x19]
	add	x0, x9, x8
	bl	_MAXALIGN
	mov	x22, x0
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x8, [x20]
	ldrsw	x1, [sp, #12]
	lsl	x9, x1, #4
	ldr	x8, [x8, x9]
	cmp	x8, x22
	b.hs	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x22
	bl	_ExecParallelHashTuplePrealloc
	cbz	w0, LBB0_2
; %bb.5:
	ldr	x8, [x20]
	ldrsw	x9, [sp, #12]
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
LBB0_6:
	cmp	x8, x22
	cset	w0, hs
	bl	_Assert
	ldr	x8, [x20]
	ldrsw	x9, [sp, #12]
	add	x8, x8, x9, lsl #4
	ldr	x9, [x8]
	sub	x9, x9, x22
	str	x9, [x8]
	ldr	w0, [x8, #12]
	add	x1, sp, #28
	mov	x2, x19
	bl	_sts_puttuple
	b	LBB0_8
LBB0_7:
	mov	x22, x0
	str	w21, [x0]
	bl	_HJTUPLE_MINTUPLE
	ldr	x2, [x19]
	mov	x1, x19
	bl	_memcpy
	ldr	x8, [x20, #8]
	ldp	w9, w2, [sp, #16]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x0, x8, x9, lsl #2
	mov	x1, x22
	bl	_ExecParallelHashPushTuple
LBB0_8:
	ldr	x8, [x20]
	ldrsw	x9, [sp, #12]
	add	x8, x8, x9, lsl #4
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_heap_free_minimal_tuple
LBB0_10:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PHJ_BUILD_HASHING_INNER,8,3    ; @PHJ_BUILD_HASHING_INNER
	.comm	_HJTUPLE_OVERHEAD,8,3           ; @HJTUPLE_OVERHEAD
.subsections_via_symbols
