	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function log_writes_dtr
_log_writes_dtr:                        ## @log_writes_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	leaq	32(%rbx), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irq
	leaq	8(%rbx), %r15
	leaq	12(%rbx), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_list_splice_init
	movq	%r13, %rdi
	callq	_spin_unlock_irq
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_log_mark
	movl	16(%rbx), %edi
	callq	_wake_up_process
	movl	28(%rbx), %r13d
	leaq	24(%rbx), %rdi
	callq	_atomic_read
	xorl	%esi, %esi
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	20(%rbx), %rdi
	callq	_atomic_read
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
LBB0_2:
	movl	%r13d, %edi
	callq	_wait_event
	movl	16(%rbx), %edi
	callq	_kthread_stop
	movq	%r12, %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	%r15, %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_dm_put_device
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_dm_put_device
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dm-log-writes-end"

	.no_dead_strip	_log_writes_dtr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function log_writes_dtr
_log_writes_dtr:                        ; @log_writes_dtr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldr	x19, [x0]
	add	x23, x19, #32
	mov	x0, x23
	bl	_spin_lock_irq
	add	x21, x19, #8
	add	x22, x19, #12
	mov	x0, x21
	mov	x1, x22
	bl	_list_splice_init
	mov	x0, x23
	bl	_spin_unlock_irq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_log_mark
	ldr	w0, [x19, #16]
	bl	_wake_up_process
	ldr	w23, [x19, #28]
	add	x0, x19, #24
	bl	_atomic_read
	cbz	w0, LBB0_2
; %bb.1:
	mov	w1, #0
	b	LBB0_3
LBB0_2:
	add	x0, x19, #20
	bl	_atomic_read
	cmp	w0, #0
	cset	w1, eq
LBB0_3:
	mov	x0, x23
	bl	_wait_event
	ldr	w0, [x19, #16]
	bl	_kthread_stop
	mov	x0, x22
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	mov	x0, x21
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_dm_put_device
	ldr	w1, [x19]
	mov	x0, x20
	bl	_dm_put_device
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dm-log-writes-end"

	.no_dead_strip	_log_writes_dtr
.subsections_via_symbols
