	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$5, %edi
	callq	_vkprintf
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bread
	leaq	8(%rbx), %rdi
	movl	$2, %esi
	callq	_bread
	leaq	16(%rbx), %rdi
	movl	$1, %esi
	callq	_bread
	leaq	24(%rbx), %rdi
	movl	$1, %esi
	callq	_bread
	movl	16(%rbx), %r15d
	leal	(,%r15,4), %r14d
	movl	%r14d, %edi
	callq	_zmalloc
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_bread
	movq	8(%rbx), %rdi
	callq	_popcount_short
	xorl	%edi, %edi
	cmpq	16(%rbx), %rax
	sete	%dil
	callq	_assert
	leal	12(,%r15,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"loading item..."

.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, #8
	mov	w1, #2
	bl	_bread
	add	x0, x19, #16
	mov	w1, #1
	bl	_bread
	add	x0, x19, #24
	mov	w1, #1
	bl	_bread
	ldr	w8, [x19, #16]
	lsl	w20, w8, #2
	mov	x0, x20
	bl	_zmalloc
	str	x0, [x19, #32]
	mov	x1, x20
	bl	_bread
	ldr	x0, [x19, #8]
	bl	_popcount_short
	ldr	x8, [x19, #16]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"loading item..."

.subsections_via_symbols
