	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function removeHistHashTable
_removeHistHashTable:                   ## @removeHistHashTable
	.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	_histHashTable@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_16
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_16
## %bb.2:
	movq	_histHashTableLength@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_hash2tableIndex
	movq	%rax, %r13
	movq	(%r14), %rax
	movl	%r13d, %ecx
	movq	(%rax,%rcx,8), %rdx
	movq	_emptyHTE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rdx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %rdx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
	movl	(%r15), %esi
	movl	%r13d, %edi
	callq	_hash2tableIndex
	movq	%rax, %r13
	movq	(%r14), %rax
	movl	%r13d, %ecx
	movq	(%rax,%rcx,8), %rdx
	cmpq	(%r12), %rdx
	jne	LBB0_4
LBB0_6:
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_7:
	movq	_deletedHTE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movl	$1, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %r15
	movq	(%r14), %r14
	leal	(%r12,%r13), %edi
	movq	_histHashTableLength@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hash2tableIndex
	movq	(%r14,%rax,8), %rax
	movq	%r15, %r14
	incl	%r12d
	decl	%ebx
	movq	_deletedHTE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.9:
	movq	(%r14), %r12
	movq	_histHashTableLength@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	subl	%ebx, %edi
	callq	_hash2tableIndex
	movq	(%r12,%rax,8), %r12
	xorl	%edx, %edx
	movq	_emptyHTE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_15
## %bb.10:
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.11:
	movl	%ebx, %eax
	negl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r14), %r14
	movl	%ebx, %edi
	notl	%edi
	addl	%r13d, %edi
	movq	_histHashTableLength@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hash2tableIndex
	movq	%r12, (%r14,%rax,8)
	cmpl	$-1, %ebx
	je	LBB0_14
## %bb.12:
	addl	$-2, %r13d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ebx
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	_emptyHTE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%r14), %r12
	leal	(%rbx,%r13), %edi
	movq	_histHashTableLength@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_hash2tableIndex
	movq	%r15, (%r12,%rax,8)
	decl	%ebx
	cmpl	$1, %ebx
	jne	LBB0_13
LBB0_14:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_15:
	movq	_hashStats@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subl	%edx, %ecx
	incl	%ecx
	movl	%ecx, (%rax)
	incl	4(%rax)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_histHashTable,8,3              ## @histHashTable
	.comm	_histHashTableLength,4,2        ## @histHashTableLength
	.comm	_emptyHTE,8,3                   ## @emptyHTE
	.comm	_deletedHTE,8,3                 ## @deletedHTE
	.comm	_hashStats,8,2                  ## @hashStats
	.no_dead_strip	_removeHistHashTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function removeHistHashTable
_removeHistHashTable:                   ; @removeHistHashTable
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x21, _histHashTable@GOTPAGE
Lloh1:
	ldr	x21, [x21, _histHashTable@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #0
	ccmp	w0, #0, #4, ne
	b.eq	LBB0_14
; %bb.1:
Lloh2:
	adrp	x22, _histHashTableLength@GOTPAGE
Lloh3:
	ldr	x22, [x22, _histHashTableLength@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_hash2tableIndex
	mov	x19, x0
	ldr	x8, [x21]
	ldr	x9, [x8, w19, uxtw #3]
Lloh4:
	adrp	x23, _emptyHTE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _emptyHTE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x23]
	cmp	x9, x10
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x9, x20
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w0, w19, #1
	ldr	w1, [x22]
	bl	_hash2tableIndex
	mov	x19, x0
	ldr	x8, [x21]
	ldr	x9, [x8, w19, uxtw #3]
	b	LBB0_2
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_assert
LBB0_6:
	and	x9, x19, #0xffffffff
	mov	w24, #0
Lloh6:
	adrp	x20, _deletedHTE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _deletedHTE@GOTPAGEOFF]
	ldr	x10, [x20]
	str	x10, [x8, x9, lsl #3]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x21]
	add	w8, w19, w24
	add	w0, w8, #1
	ldr	w1, [x22]
	bl	_hash2tableIndex
	ldr	x8, [x25, x0, lsl #3]
	ldr	x9, [x20]
	add	w24, w24, #1
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.8:
	ldr	x25, [x21]
	ldr	w1, [x22]
	add	w20, w19, w24
	mov	x0, x20
	bl	_hash2tableIndex
	ldr	x25, [x25, x0, lsl #3]
	ldr	x8, [x23]
	cmp	x25, x8
	ccmp	w24, #0, #4, eq
	b.ne	LBB0_10
; %bb.9:
	mov	w24, #0
	b	LBB0_13
LBB0_10:
	ldr	x26, [x21]
	sub	w0, w20, #1
	ldr	w1, [x22]
	bl	_hash2tableIndex
	str	x25, [x26, x0, lsl #3]
	cmp	w24, #1
	b.eq	LBB0_13
; %bb.11:
	sub	w19, w19, #2
	mov	x20, x24
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x23]
	ldr	x26, [x21]
	add	w0, w19, w20
	ldr	w1, [x22]
	bl	_hash2tableIndex
	str	x25, [x26, x0, lsl #3]
	sub	w20, w20, #1
	cmp	w20, #1
	b.ne	LBB0_12
LBB0_13:
	mov	w8, #1
	sub	w8, w8, w24
Lloh8:
	adrp	x9, _hashStats@GOTPAGE
Lloh9:
	ldr	x9, [x9, _hashStats@GOTPAGEOFF]
	ldr	d0, [x9]
	movi.2s	v1, #1
	mov.s	v1[0], w8
	add.2s	v0, v1, v0
	str	d0, [x9]
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_histHashTable,8,3              ; @histHashTable
	.comm	_histHashTableLength,4,2        ; @histHashTableLength
	.comm	_emptyHTE,8,3                   ; @emptyHTE
	.comm	_deletedHTE,8,3                 ; @deletedHTE
	.comm	_hashStats,8,2                  ; @hashStats
	.no_dead_strip	_removeHistHashTable
.subsections_via_symbols
