	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmz_release_mblock
_dmz_release_mblock:                    ## @dmz_release_mblock
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_spin_lock
	decq	(%rbx)
	jne	LBB0_6
## %bb.2:
	movq	_DMZ_META_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	16(%rbx), %rdi
	leaq	8(%r14), %rsi
	callq	_rb_erase
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dmz_free_mblock
	jmp	LBB0_6
LBB0_7:
	retq
LBB0_4:
	movq	_DMZ_META_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	addq	$8, %rbx
	leaq	4(%r14), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_dmz_shrink_mblock_cache
LBB0_6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMZ_META_ERROR,4,2             ## @DMZ_META_ERROR
	.comm	_DMZ_META_DIRTY,4,2             ## @DMZ_META_DIRTY
	.no_dead_strip	_dmz_release_mblock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmz_release_mblock
_dmz_release_mblock:                    ; @dmz_release_mblock
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	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
	.cfi_remember_state
	mov	x20, x1
	mov	x19, x0
	bl	_spin_lock
	ldr	x8, [x20]
	subs	x8, x8, #1
	str	x8, [x20]
	b.ne	LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _DMZ_META_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMZ_META_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x20, #12
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.3:
	add	x0, x20, #16
	add	x1, x19, #8
	bl	_rb_erase
	mov	x0, x19
	mov	x1, x20
	bl	_dmz_free_mblock
	b	LBB0_7
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
LBB0_5:
	.cfi_restore_state
Lloh3:
	adrp	x8, _DMZ_META_DIRTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMZ_META_DIRTY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_7
; %bb.6:
	add	x0, x20, #8
	add	x1, x19, #4
	bl	_list_add_tail
	mov	x0, x19
	mov	w1, #1
	bl	_dmz_shrink_mblock_cache
LBB0_7:
	mov	x0, x19
	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	_spin_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DMZ_META_ERROR,4,2             ; @DMZ_META_ERROR
	.comm	_DMZ_META_DIRTY,4,2             ; @DMZ_META_DIRTY
	.no_dead_strip	_dmz_release_mblock
.subsections_via_symbols
