	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_spanhash
_add_spanhash:                          ## @add_spanhash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movb	(%rdi), %cl
	movl	$1, %r8d
	shll	%cl, %r8d
	leal	-1(%r8), %ecx
	andl	%esi, %ecx
	movq	16(%rdi), %r9
	movslq	%ecx, %rax
	movl	(%r9,%rax,8), %r10d
	testl	%r10d, %r10d
	je	LBB0_4
## %bb.1:
	cmpl	%esi, 4(%r9,%rax,8)
	je	LBB0_7
## %bb.2:
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	cmpl	%ecx, %r8d
	cmovlel	%r11d, %ecx
	movslq	%ecx, %rax
	movl	(%r9,%rax,8), %r10d
	testl	%r10d, %r10d
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%esi, 4(%r9,%rax,8)
	jne	LBB0_3
LBB0_7:
	addl	%edx, %r10d
	movl	%r10d, (%r9,%rax,8)
	jmp	LBB0_8
LBB0_4:
	movl	%esi, 4(%r9,%rax,8)
	movl	%edx, (%r9,%rax,8)
	movq	8(%rdi), %rax
	leaq	-1(%rax), %rcx
	movq	%rcx, 8(%rdi)
	testq	%rax, %rax
	jle	LBB0_5
LBB0_8:
	movq	%rdi, %rax
	popq	%rbp
	retq
LBB0_5:
	popq	%rbp
	jmp	_spanhash_rehash                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_spanhash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_spanhash
_add_spanhash:                          ; @add_spanhash
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	mov	w9, #1
	lsl	w10, w9, w8
	sub	w8, w10, #1
	and	w13, w8, w1
	ldr	x8, [x0, #16]
	sxtw	x11, w13
	add	x9, x8, w13, sxtw #3
	ldr	w12, [x9]
	cbz	w12, LBB0_6
; %bb.1:
	add	x11, x8, x11, lsl #3
	ldr	w11, [x11, #4]
	cmp	w11, w1
	b.eq	LBB0_5
; %bb.2:
                                        ; kill: def $w13 killed $w13 killed $x13 def $x13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w13, #1
	cmp	w10, w9
	csinc	w13, wzr, w13, le
	sxtw	x11, w13
	add	x9, x8, w13, sxtw #3
	ldr	w12, [x9]
	cbz	w12, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x8, x11, lsl #3
	ldr	w11, [x11, #4]
	cmp	w11, w1
	b.ne	LBB0_3
LBB0_5:
	add	w8, w12, w2
	str	w8, [x9]
	b	LBB0_7
LBB0_6:
	add	x8, x8, x11, lsl #3
	str	w1, [x8, #4]
	str	w2, [x9]
	ldr	x8, [x0, #8]
	sub	x9, x8, #1
	str	x9, [x0, #8]
	cmp	x8, #0
	b.le	LBB0_8
LBB0_7:
	ret
LBB0_8:
	b	_spanhash_rehash
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_spanhash
.subsections_via_symbols
