	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_hash_table
_build_hash_table:                      ## @build_hash_table
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	48(%rdi), %rcx
	movq	_AGG_HASHED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%dl
	movq	_AGG_MIXED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	movl	(%rcx), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_Assert
	cmpl	$0, 12(%rbx)
	jle	LBB0_6
## %bb.1:
	movl	8(%rbx), %eax
	shll	$2, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	32(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$32, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%r12,%r14), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	-12(%r12,%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	-16(%r12,%r14), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	-20(%r12,%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-24(%r12,%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-32(%r12,%r14), %rax
	movl	8(%rax), %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	32(%rbx), %rax
	movl	(%rax), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rax
	movl	(%rax), %r13d
	movl	16(%rbx), %edi
	callq	_DO_AGGSPLIT_SKIPFINAL
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	%r13
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	callq	_BuildTupleHashTableExt
	addq	$64, %rsp
	movq	%rax, (%r12,%r14)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	12(%rbx), %rax
	addq	$40, %r14
	cmpq	%rax, %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rbx), %r12
	movq	-32(%r12,%r14), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setg	%dil
	callq	_Assert
	movq	(%r12,%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_ResetTupleHashTable
	jmp	LBB0_5
LBB0_6:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AGG_HASHED,8,3                 ## @AGG_HASHED
	.comm	_AGG_MIXED,8,3                  ## @AGG_MIXED
	.no_dead_strip	_build_hash_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_hash_table
_build_hash_table:                      ; @build_hash_table
	.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	x19, x0
	ldr	x8, [x0, #48]
	ldr	w8, [x8]
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AGG_HASHED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AGG_HASHED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh3:
	adrp	x9, _AGG_MIXED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AGG_MIXED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x28, #0
	mov	x20, #0
	ldr	w8, [x19, #8]
	lsl	w8, w8, #2
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	add	x8, x19, #32
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #24]
	ldr	w9, [x8]
	ldr	w8, [x21, #20]
	stp	w8, w9, [sp, #56]               ; 8-byte Folded Spill
	ldp	w24, w8, [x21, #12]
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
	ldr	w25, [x21, #8]
	ldr	x8, [x21]
	ldr	w26, [x8, #8]
	ldr	x27, [x8]
	ldp	x9, x8, [x19, #24]
	ldr	w22, [x8]
	ldr	w23, [x9]
	ldr	w0, [x19, #16]
	bl	_DO_AGGSPLIT_SKIPFINAL
	ldp	w8, w3, [sp, #48]               ; 8-byte Folded Reload
	stp	w8, w0, [sp, #12]
	stp	w22, w23, [sp, #4]
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	str	w8, [sp]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	ldp	w2, w1, [sp, #56]               ; 8-byte Folded Reload
	mov	x4, x24
	mov	x5, x25
	mov	x6, x26
	mov	x7, x27
	bl	_BuildTupleHashTableExt
	str	x0, [x21, #32]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #12]
	add	x28, x28, #40
	cmp	x20, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x21, x8, x28
	ldr	x8, [x21]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, gt
	bl	_Assert
	ldr	x0, [x21, #32]
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_ResetTupleHashTable
	b	LBB0_3
LBB0_6:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AGG_HASHED,8,3                 ; @AGG_HASHED
	.comm	_AGG_MIXED,8,3                  ; @AGG_MIXED
	.no_dead_strip	_build_hash_table
.subsections_via_symbols
