	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ht_put                         ## -- Begin function ht_put
	.p2align	4, 0x90
_ht_put:                                ## @ht_put
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-64(%rbp), %r8
	leaq	-40(%rbp), %r9
	callq	_ht_find
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	16(%rdi), %r14
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rbx, 16(%rdi)
	jmp	LBB0_10
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.9:
	movl	$4, %edi
	callq	_malloc
	movq	%rax, -40(%rbp)
	xorl	%r14d, %r14d
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	-56(%rbp), %rax
	movq	-40(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	%r12, 24(%rcx)
	movq	%rbx, 16(%rcx)
	movq	-48(%rbp), %rax
	movq	(%rax), %rdx
	movq	%rdx, 8(%rcx)
	movq	%rcx, (%rax)
	incl	(%r15)
	jmp	LBB0_10
LBB0_3:
	movq	-64(%rbp), %rcx
	movq	8(%rdi), %rax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	%rax, 8(%rcx)
	jmp	LBB0_6
LBB0_8:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_5:
	movq	-48(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-40(%rbp), %rdi
LBB0_6:
	callq	_free
	decl	(%r15)
LBB0_10:
	movq	%r14, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	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	_ht_put                         ; -- Begin function ht_put
	.p2align	2
_ht_put:                                ; @ht_put
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x2, sp
	add	x3, sp, #24
	add	x4, sp, #16
	add	x5, sp, #8
	bl	_ht_find
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x20, [x0, #16]
	cbz	x21, LBB0_5
; %bb.2:
	str	x21, [x0, #16]
	b	LBB0_11
LBB0_3:
	cbz	x21, LBB0_7
; %bb.4:
	mov	w0, #4
	bl	_malloc
	str	x0, [sp, #8]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x20, #0
	ldp	x8, x9, [sp]
	str	x8, [x9]
	stp	x21, x22, [x9, #16]
	ldr	x8, [sp, #24]
	ldr	x10, [x8]
	str	x10, [x9, #8]
	str	x9, [x8]
	ldr	w8, [x19]
	add	w8, w8, #1
	b	LBB0_10
LBB0_5:
	ldr	x9, [sp, #16]
	ldr	x8, [x0, #8]
	cbz	x9, LBB0_8
; %bb.6:
	str	x8, [x9, #8]
	b	LBB0_9
LBB0_7:
	mov	x20, #0
	b	LBB0_11
LBB0_8:
	ldr	x9, [sp, #24]
	str	x8, [x9]
	ldr	x0, [sp, #8]
LBB0_9:
	bl	_free
	ldr	w8, [x19]
	sub	w8, w8, #1
LBB0_10:
	str	w8, [x19]
LBB0_11:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
