	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_hash_item                  ## -- Begin function set_hash_item
	.p2align	4, 0x90
_set_hash_item:                         ## @set_hash_item
	.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
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	_FLAG_DELETED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_7
## %bb.2:
	movq	%rsi, %r14
	movl	$49152, %eax                    ## imm = 0xC000
	andl	4(%rbx), %eax
	cmpl	$49152, %eax                    ## imm = 0xC000
	jne	LBB0_4
## %bb.3:
	movl	16(%rbx), %ecx
	jmp	LBB0_6
LBB0_4:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	8(%rbx), %rdi
	movl	16(%rbx), %eax
	leal	8(,%rax,4), %edx
	movl	%eax, %esi
	shll	$2, %esi
	callq	_zzrealloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	orb	$-64, 5(%rbx)
	movl	16(%rbx), %ecx
	addl	$2, %ecx
	movl	%ecx, 16(%rbx)
	movq	%rax, 8(%rbx)
LBB0_6:
	xorl	%edi, %edi
	cmpl	$2, %ecx
	setge	%dil
	callq	_assert
	movq	%r14, %rax
	sarq	$32, %rax
	movq	8(%rbx), %rcx
	movslq	16(%rbx), %rdx
	movq	%rax, -8(%rcx,%rdx,8)
	movl	%r14d, %eax
	movq	%rax, -16(%rcx,%rdx,8)
	movl	$1, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_DELETED,4,2               ## @FLAG_DELETED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_hash_item                  ; -- Begin function set_hash_item
	.p2align	2
_set_hash_item:                         ; @set_hash_item
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FLAG_DELETED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAG_DELETED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_8
LBB0_3:
	mov	x19, x1
	ldr	w8, [x20, #4]
	and	w8, w8, #0xc000
	cmp	w8, #12, lsl #12                ; =49152
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x20, #16]
	b	LBB0_7
LBB0_5:
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	x0, [x20, #8]
	ldr	w8, [x20, #16]
	lsl	w1, w8, #2
	add	w2, w1, #8
	bl	_zzrealloc
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w8, [x20, #4]
	orr	w8, w8, #0xc000
	str	w8, [x20, #4]
	ldr	w8, [x20, #16]
	add	w8, w8, #2
	str	w8, [x20, #16]
	str	x0, [x20, #8]
LBB0_7:
	cmp	w8, #1
	cset	w0, gt
	bl	_assert
	asr	x8, x19, #32
	ldr	x9, [x20, #8]
	ldr	w10, [x20, #16]
	sub	w11, w10, #1
	str	x8, [x9, w11, sxtw #3]
	and	x8, x19, #0xffffffff
	sub	w10, w10, #2
	str	x8, [x9, w10, sxtw #3]
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_DELETED,4,2               ; @FLAG_DELETED
.subsections_via_symbols
