	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_table_add                 ## -- Begin function hash_table_add
	.p2align	4, 0x90
_hash_table_add:                        ## @hash_table_add
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rsi), %edi
	movl	(%rbx), %esi
	callq	_hash_table_hash
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	movl	16(%rbx), %edi
	shll	$2, %esi
	callq	_pool_alloc
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_assert
	movq	8(%rbx), %rdi
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rax
LBB0_2:
	movl	%r15d, %ecx
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	je	LBB0_3
## %bb.4:
	movq	(%rax,%rcx), %rdx
	jmp	LBB0_5
LBB0_3:
	leaq	(%rax,%rcx), %rdx
	addq	$8, %rdx
LBB0_5:
	movq	%r14, (%rdx)
	movq	%r14, (%rax,%rcx)
	movq	$0, (%r14)
	incl	4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hash_table_add                 ; -- Begin function hash_table_add
	.p2align	2
_hash_table_add:                        ; @hash_table_add
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #8]
	ldr	w1, [x19]
	bl	_hash_table_hash
	mov	x21, x0
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	ldr	w8, [x19]
	lsl	w1, w8, #2
	bl	_pool_alloc
	str	x0, [x19, #8]
	bl	_assert
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19, #8]
LBB0_2:
	mov	w10, w21
	add	x9, x8, w21, uxtw #4
	ldr	x11, [x9, #8]!
	lsl	x10, x10, #4
	cbz	x11, LBB0_4
; %bb.3:
	ldr	x9, [x8, x10]
LBB0_4:
	str	x20, [x9]
	str	x20, [x8, x10]
	str	xzr, [x20]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
