	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Hashtable_put                  ## -- Begin function Hashtable_put
	.p2align	4, 0x90
_Hashtable_put:                         ## @Hashtable_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	(%rdi)
                                        ## kill: def $edx killed $edx def $rdx
	movq	24(%rdi), %rax
	leaq	(%rax,%rdx,8), %rbx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpl	%esi, (%rax)
	je	LBB0_7
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.6:
	addq	$8, %rbx
LBB0_7:
	cmpq	$0, 8(%r15)
	je	LBB0_9
## %bb.8:
	movq	16(%rax), %rdi
	callq	_free
	movq	(%rbx), %rax
LBB0_9:
	movq	%r14, 16(%rax)
	jmp	LBB0_10
LBB0_3:
	addq	$8, %rbx
LBB0_4:
	movl	%esi, %edi
	movq	%r14, %rsi
	callq	_HashtableItem_new
	movq	%rax, (%rbx)
	incl	16(%r15)
LBB0_10:
	movq	%r15, %rdi
	callq	_Hashtable_isConsistent
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Hashtable_put                  ; -- Begin function Hashtable_put
	.p2align	2
_Hashtable_put:                         ; @Hashtable_put
	.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, x2
	mov	x19, x0
	ldr	w8, [x0]
	udiv	w9, w1, w8
	msub	w8, w9, w8, w1
	ldr	x9, [x0, #24]
	add	x21, x9, w8, uxtw #3
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	w9, [x8]
	cmp	w9, w1
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x8]
	cmp	w10, w1
	b.ne	LBB0_2
; %bb.4:
	add	x21, x9, #8
LBB0_5:
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x0, [x8, #16]
	bl	_free
	ldr	x8, [x21]
LBB0_7:
	str	x20, [x8, #16]
	b	LBB0_10
LBB0_8:
	add	x21, x9, #8
LBB0_9:
	mov	x0, x1
	mov	x1, x20
	bl	_HashtableItem_new
	str	x0, [x21]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_10:
	mov	x0, x19
	bl	_Hashtable_isConsistent
	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
	b	_assert
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
