	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delete_item
_delete_item:                           ## @delete_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
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_get_item_f
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movl	(%rax), %eax
	movq	_FLAG_DELETED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_3
## %bb.2:
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	32(%rbx), %rdi
	movl	4(%rbx), %esi
	shll	$2, %esi
	callq	_zzfree
	movl	$0, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movq	16(%rbx), %rdi
	movl	8(%rbx), %esi
	incl	%esi
	callq	_zzfree
	movl	8(%rbx), %eax
	movq	_deleted_text_bytes@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movl	$0, 8(%rbx)
	movq	$0, 16(%rbx)
	movq	_del_items@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	$1, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_DELETED,4,2               ## @FLAG_DELETED
	.comm	_deleted_text_bytes,4,2         ## @deleted_text_bytes
	.comm	_del_items,4,2                  ## @del_items
	.no_dead_strip	_delete_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delete_item
_delete_item:                           ; @delete_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	w1, #0
	bl	_get_item_f
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, 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_4
LBB0_3:
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x0, [x19, #32]
	ldr	w8, [x19, #4]
	lsl	w1, w8, #2
	bl	_zzfree
	str	wzr, [x19, #4]
	stp	xzr, xzr, [x19, #24]
	ldr	x0, [x19, #16]
	ldr	w8, [x19, #8]
	add	w1, w8, #1
	bl	_zzfree
Lloh3:
	adrp	x8, _deleted_text_bytes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _deleted_text_bytes@GOTPAGEOFF]
	ldr	w9, [x19, #8]
	ldr	w10, [x8]
	add	w9, w10, w9
	str	w9, [x8]
	str	wzr, [x19, #8]
	str	xzr, [x19, #16]
Lloh5:
	adrp	x8, _del_items@GOTPAGE
Lloh6:
	ldr	x8, [x8, _del_items@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_DELETED,4,2               ; @FLAG_DELETED
	.comm	_deleted_text_bytes,4,2         ; @deleted_text_bytes
	.comm	_del_items,4,2                  ; @del_items
	.no_dead_strip	_delete_item
.subsections_via_symbols
