	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BuildTupleHashTableExt         ## -- Begin function BuildTupleHashTableExt
	.p2align	4, 0x90
_BuildTupleHashTableExt:                ## @BuildTupleHashTableExt
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	64(%rbp), %r13d
	movq	24(%rbp), %r14
	movq	32(%rbp), %rbx
	addq	$4, %rbx
	xorl	%edi, %edi
	testq	%r14, %r14
	setg	%dil
	callq	_Assert
	movq	_work_mem@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$10, %rax
	movq	%rax, %rcx
	orq	%rbx, %rcx
	shrq	$32, %rcx
	je	LBB0_1
## %bb.2:
	cqto
	idivq	%rbx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_Min
	movq	%rax, %r12
	movq	40(%rbp), %rdi
	callq	_MemoryContextSwitchTo
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$4, %edi
	callq	_palloc
	movq	%rax, %r14
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 104(%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 96(%r14)
	movq	16(%rbp), %rax
	movq	%rax, 88(%r14)
	movq	48(%rbp), %rax
	movq	%rax, 80(%r14)
	movq	56(%rbp), %rax
	movq	%rax, 72(%r14)
	movq	%rbx, 8(%r14)
	movq	$0, 24(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r14)
	movq	$0, 64(%r14)
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.5:
	movq	_ParallelWorkerNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_murmurhash32
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
LBB0_6:
	movq	%rax, 40(%r14)
	movq	40(%rbp), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_tuplehash_create
	movl	%eax, 32(%r14)
	movl	%r15d, %edi
	callq	_CreateTupleDescCopy
	movq	_TTSOpsMinimalTuple@GOTPCREL(%rip), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_MakeSingleTupleTableSlot
	movq	%rax, 24(%r14)
	xorl	%ecx, %ecx
	cmpq	48(%rbp), %r13
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmoveq	%rcx, %rax
	subq	$8, %rsp
	movl	%r15d, %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	pushq	16(%rbp)
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_ExecBuildGroupingEqual
	addq	$32, %rsp
	movl	%eax, 20(%r14)
	xorl	%eax, %eax
	callq	_CreateStandaloneExprContext
	movl	%eax, 16(%r14)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_MemoryContextSwitchTo
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_work_mem,8,3                   ## @work_mem
	.comm	_ParallelWorkerNumber,4,2       ## @ParallelWorkerNumber
	.comm	_TTSOpsMinimalTuple,4,2         ## @TTSOpsMinimalTuple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BuildTupleHashTableExt         ; -- Begin function BuildTupleHashTableExt
	.p2align	2
_BuildTupleHashTableExt:                ; @BuildTupleHashTableExt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x25, x7
	mov	x24, x6
	str	x5, [sp, #8]                    ; 8-byte Folded Spill
	str	x4, [sp, #56]                   ; 8-byte Folded Spill
	mov	x28, x3
	mov	x19, x2
	mov	x23, x1
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w8, [x29, #48]
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldp	x20, x21, [x29, #32]
	ldp	x8, x26, [x29, #16]
	add	x22, x8, #4
	cmp	x7, #0
	cset	w0, gt
	bl	_Assert
Lloh0:
	adrp	x8, _work_mem@GOTPAGE
Lloh1:
	ldr	x8, [x8, _work_mem@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	x8, x8, #10
	sdiv	x1, x8, x22
	mov	x0, x25
	bl	_Min
	mov	x25, x0
	mov	x0, x26
	bl	_MemoryContextSwitchTo
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	w0, #4
	bl	_palloc
	mov	x27, x0
	str	w19, [sp, #44]                  ; 4-byte Folded Spill
	str	w19, [x0]
	mov	x19, x20
	str	x28, [sp, #48]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	stp	x8, x28, [x0, #96]
	mov	x28, x24
	stp	x20, x24, [x0, #80]
	str	x22, [x0, #8]
	str	xzr, [x0, #24]
	stp	xzr, x21, [x0, #64]
	stp	xzr, xzr, [x0, #48]
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ParallelWorkerNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ParallelWorkerNumber@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_murmurhash32
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	str	x0, [x27, #40]
	mov	x0, x26
	mov	x1, x25
	mov	x2, x27
	bl	_tuplehash_create
	str	w0, [x27, #32]
	mov	x0, x23
	bl	_CreateTupleDescCopy
Lloh6:
	adrp	x20, _TTSOpsMinimalTuple@GOTPAGE
Lloh7:
	ldr	x20, [x20, _TTSOpsMinimalTuple@GOTPAGEOFF]
	mov	x1, x20
	bl	_MakeSingleTupleTableSlot
	str	x0, [x27, #24]
	cmp	x26, x19
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	csel	x8, xzr, x8, eq
	str	x8, [sp]
	mov	x0, x23
	mov	x1, x23
	mov	x2, x20
	mov	x3, x20
	ldr	w4, [sp, #44]                   ; 4-byte Folded Reload
	ldp	x5, x6, [sp, #48]               ; 16-byte Folded Reload
	mov	x7, x28
	bl	_ExecBuildGroupingEqual
	str	w0, [x27, #20]
	bl	_CreateStandaloneExprContext
	str	w0, [x27, #16]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_MemoryContextSwitchTo
	mov	x0, x27
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_work_mem,8,3                   ; @work_mem
	.comm	_ParallelWorkerNumber,4,2       ; @ParallelWorkerNumber
	.comm	_TTSOpsMinimalTuple,4,2         ; @TTSOpsMinimalTuple
.subsections_via_symbols
