	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function writecache_dtr
_writecache_dtr:                        ## @writecache_dtr
	.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), %rbx
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.1:
	movq	%rdi, %r14
	movq	80(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_kthread_stop
LBB0_3:
	movq	72(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_kthread_stop
LBB0_5:
	leaq	68(%rbx), %rdi
	callq	_bioset_exit
	leaq	64(%rbx), %rdi
	callq	_mempool_exit
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_destroy_workqueue
LBB0_7:
	movq	48(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_dm_put_device
LBB0_9:
	movq	40(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_dm_put_device
LBB0_11:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_vfree
LBB0_13:
	cmpq	$0, 24(%rbx)
	je	LBB0_17
## %bb.14:
	movq	%rbx, %rdi
	callq	_WC_MODE_PMEM
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	callq	_persistent_memory_release
	jmp	LBB0_17
LBB0_24:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_16:
	movq	24(%rbx), %rdi
	callq	_vfree
LBB0_17:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_dm_kcopyd_client_destroy
LBB0_19:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_dm_io_client_destroy
LBB0_21:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	callq	_vfree
LBB0_23:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_writecache_dtr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function writecache_dtr
_writecache_dtr:                        ; @writecache_dtr
	.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
	ldr	x19, [x0]
	cbz	x19, LBB0_23
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19, #80]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_kthread_stop
LBB0_3:
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_kthread_stop
LBB0_5:
	add	x0, x19, #68
	bl	_bioset_exit
	add	x0, x19, #64
	bl	_mempool_exit
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_destroy_workqueue
LBB0_7:
	ldr	x1, [x19, #48]
	cbz	x1, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_dm_put_device
LBB0_9:
	ldr	x1, [x19, #40]
	cbz	x1, LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_dm_put_device
LBB0_11:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_vfree
LBB0_13:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_16
; %bb.14:
	mov	x0, x19
	bl	_WC_MODE_PMEM
	cbz	x0, LBB0_24
; %bb.15:
	mov	x0, x19
	bl	_persistent_memory_release
LBB0_16:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_18
LBB0_17:
	bl	_dm_kcopyd_client_destroy
LBB0_18:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_20
; %bb.19:
	bl	_dm_io_client_destroy
LBB0_20:
	ldr	x0, [x19]
	cbz	x0, LBB0_22
; %bb.21:
	bl	_vfree
LBB0_22:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_23:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_24:
	ldr	x0, [x19, #24]
	bl	_vfree
	ldr	x0, [x19, #16]
	cbnz	x0, LBB0_17
	b	LBB0_18
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_writecache_dtr
.subsections_via_symbols
