	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function normal_end_io
_normal_end_io:                         ## @normal_end_io
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movq	%rsi, %rdi
	movl	$8, %esi
	callq	_dm_per_bio_data
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_bio_data_dir
	movq	_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.2:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	movq	_LOG_FLUSH_FLAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	addq	$4, %rbx
	leaq	12(%r14), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_list_splice_tail_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	jmp	LBB0_6
LBB0_4:
	movq	_LOG_FUA_FLAG@GOTPCREL(%rip), %rcx
	addq	$4, %rbx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.5:
	leaq	12(%r14), %rsi
	movq	%rbx, %rdi
LBB0_6:
	callq	_list_add_tail
	movl	8(%r14), %edi
	callq	_wake_up_process
LBB0_8:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_9:
	movq	_DM_ENDIO_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	4(%r14), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE,8,3                      ## @WRITE
	.comm	_LOG_FLUSH_FLAG,4,2             ## @LOG_FLUSH_FLAG
	.comm	_LOG_FUA_FLAG,4,2               ## @LOG_FUA_FLAG
	.comm	_DM_ENDIO_DONE,4,2              ## @DM_ENDIO_DONE
	.no_dead_strip	_normal_end_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function normal_end_io
_normal_end_io:                         ; @normal_end_io
	.cfi_startproc
; %bb.0:
	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
	mov	x21, x1
	ldr	x19, [x0]
	mov	x0, x1
	mov	w1, #8
	bl	_dm_per_bio_data
	mov	x20, x0
	mov	x0, x21
	bl	_bio_data_dir
Lloh0:
	adrp	x8, _WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
	ldr	x20, [x20]
	cbz	x20, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _LOG_FLUSH_FLAG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LOG_FLUSH_FLAG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	x20, x20, #4
	add	x21, x19, #12
	mov	x0, x20
	mov	x1, x21
	bl	_list_splice_tail_init
	mov	x0, x20
	mov	x1, x21
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x9, _LOG_FUA_FLAG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LOG_FUA_FLAG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	x0, x20, #4
	tst	w9, w8
	b.eq	LBB0_9
; %bb.5:
	add	x1, x19, #12
LBB0_6:
	bl	_list_add_tail
	ldr	w0, [x19, #8]
	bl	_wake_up_process
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_8:
Lloh9:
	adrp	x8, _DM_ENDIO_DONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DM_ENDIO_DONE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	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
	ret
LBB0_9:
	add	x1, x19, #4
	bl	_list_add_tail
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE,8,3                      ; @WRITE
	.comm	_LOG_FLUSH_FLAG,4,2             ; @LOG_FLUSH_FLAG
	.comm	_LOG_FUA_FLAG,4,2               ; @LOG_FUA_FLAG
	.comm	_DM_ENDIO_DONE,4,2              ; @DM_ENDIO_DONE
	.no_dead_strip	_normal_end_io
.subsections_via_symbols
