	.file	"extr_dm-writecache.c_writecache_dtr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	writecache_dtr, @function
writecache_dtr:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR [rdi]
	test	rbp, rbp
	je	.L1
	mov	r12, rdi
	mov	rdi, QWORD PTR 80[rbp]
	test	rdi, rdi
	jne	.L43
	mov	rdi, QWORD PTR 72[rbp]
	test	rdi, rdi
	jne	.L44
.L4:
	lea	rdi, 68[rbp]
	call	bioset_exit@PLT
	lea	rdi, 64[rbp]
	call	mempool_exit@PLT
	mov	rdi, QWORD PTR 56[rbp]
	test	rdi, rdi
	jne	.L45
.L5:
	mov	rsi, QWORD PTR 48[rbp]
	test	rsi, rsi
	jne	.L46
.L6:
	mov	rsi, QWORD PTR 40[rbp]
	test	rsi, rsi
	jne	.L47
.L7:
	mov	rdi, QWORD PTR 32[rbp]
	test	rdi, rdi
	jne	.L48
.L8:
	cmp	QWORD PTR 24[rbp], 0
	jne	.L49
.L9:
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	jne	.L50
.L11:
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	jne	.L51
.L12:
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	jne	.L52
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L43:
	.cfi_restore_state
	call	kthread_stop@PLT
	mov	rdi, QWORD PTR 72[rbp]
	test	rdi, rdi
	je	.L4
.L44:
	call	kthread_stop@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L52:
	call	vfree@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L51:
	.cfi_restore_state
	call	dm_io_client_destroy@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L50:
	call	dm_kcopyd_client_destroy@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L49:
	mov	rdi, rbp
	call	WC_MODE_PMEM@PLT
	test	rax, rax
	je	.L10
	mov	rdi, rbp
	call	persistent_memory_release@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L48:
	call	vfree@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L47:
	mov	rdi, r12
	call	dm_put_device@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L46:
	mov	rdi, r12
	call	dm_put_device@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L45:
	call	destroy_workqueue@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, QWORD PTR 24[rbp]
	call	vfree@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	writecache_dtr, .-writecache_dtr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dm-writecache.c_writecache_dtr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	writecache_dtr, %function
writecache_dtr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r0]
	cmp	r4, #0
	popeq	{r4, r5, r6, pc}
	mov	r5, r0
	ldr	r0, [r4, #44]
	cmp	r0, #0
	bne	.L46
	ldr	r0, [r4, #40]
	cmp	r0, #0
	bne	.L47
.L4:
	add	r0, r4, #36
	bl	bioset_exit
	add	r0, r4, #32
	bl	mempool_exit
	ldr	r0, [r4, #28]
	cmp	r0, #0
	bne	.L48
.L5:
	ldr	r1, [r4, #24]
	cmp	r1, #0
	bne	.L49
.L6:
	ldr	r1, [r4, #20]
	cmp	r1, #0
	bne	.L50
.L7:
	ldr	r0, [r4, #16]
	cmp	r0, #0
	bne	.L51
.L8:
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L52
.L9:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	bne	.L53
.L11:
	ldr	r0, [r4, #4]
	cmp	r0, #0
	bne	.L54
.L12:
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L55
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	kfree
.L46:
	bl	kthread_stop
	ldr	r0, [r4, #40]
	cmp	r0, #0
	beq	.L4
.L47:
	bl	kthread_stop
	b	.L4
.L55:
	bl	vfree
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	kfree
.L54:
	bl	dm_io_client_destroy
	b	.L12
.L53:
	bl	dm_kcopyd_client_destroy
	b	.L11
.L52:
	mov	r0, r4
	bl	WC_MODE_PMEM
	cmp	r0, #0
	beq	.L10
	mov	r0, r4
	bl	persistent_memory_release
	b	.L9
.L51:
	bl	vfree
	b	.L8
.L50:
	mov	r0, r5
	bl	dm_put_device
	b	.L7
.L49:
	mov	r0, r5
	bl	dm_put_device
	b	.L6
.L48:
	bl	destroy_workqueue
	b	.L5
.L10:
	ldr	r0, [r4, #12]
	bl	vfree
	b	.L9
	.size	writecache_dtr, .-writecache_dtr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
