	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_item                      ## -- Begin function load_item
	.p2align	4, 0x90
_load_item:                             ## @load_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movl	$5, %edi
	callq	_vkprintf
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bread
	leaq	4(%r14), %rdi
	movl	$2, %esi
	callq	_bread
	leaq	8(%r14), %rdi
	movl	$1, %esi
	callq	_bread
	leaq	12(%r14), %rdi
	movl	$1, %esi
	callq	_bread
	movl	8(%r14), %ebx
	shll	$2, %ebx
	movl	%ebx, %edi
	callq	_zzmalloc
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_bread
	movl	4(%r14), %edi
	callq	_popcount_short
	movslq	8(%r14), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
	callq	_assert
	testb	$-64, 5(%r14)
	je	LBB0_2
## %bb.1:
	movq	_idx_items_with_hash@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_2:
	addl	$12, %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"loading item..."

	.comm	_idx_items_with_hash,4,2        ## @idx_items_with_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_item                      ; -- Begin function load_item
	.p2align	2
_load_item:                             ; @load_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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #5
	bl	_vkprintf
	mov	x0, x19
	mov	w1, #8
	bl	_bread
	add	x0, x19, #4
	mov	w1, #2
	bl	_bread
	add	x0, x19, #8
	mov	w1, #1
	bl	_bread
	add	x0, x19, #12
	mov	w1, #1
	bl	_bread
	ldr	w8, [x19, #8]
	lsl	w20, w8, #2
	mov	x0, x20
	bl	_zzmalloc
	str	x0, [x19, #16]
	mov	x1, x20
	bl	_bread
	ldr	w0, [x19, #4]
	bl	_popcount_short
	ldrsw	x8, [x19, #8]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldrb	w8, [x19, #5]
	tst	w8, #0xc0
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _idx_items_with_hash@GOTPAGE
Lloh3:
	ldr	x8, [x8, _idx_items_with_hash@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_2:
	add	w0, w20, #12
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"loading item..."

	.comm	_idx_items_with_hash,4,2        ; @idx_items_with_hash
.subsections_via_symbols
