	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multipath_end_io
_multipath_end_io:                      ## @multipath_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	%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	%rdx, %rbx
	movq	%rdi, %r13
	movq	%rcx, %rdi
	callq	_get_mpio
	movq	%rax, %r14
	movq	8(%rax), %r12
	movq	_DM_ENDIO_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.1:
	movq	%rbx, %rdi
	callq	_blk_path_error
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	_BLK_STS_RESOURCE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_DM_ENDIO_DELAY_REQUEUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_DM_ENDIO_REQUEUE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%r13), %r13
	movl	(%rax), %r15d
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_fail_path
LBB0_7:
	movq	%r13, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:
	movq	%r13, %rdi
	callq	_must_push_back_rq
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:
	movq	_BLK_STS_IOERR@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	callq	_dm_report_EIO
LBB0_11:
	movq	_DM_ENDIO_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_12:
	testq	%r12, %r12
	je	LBB0_15
## %bb.13:
	movq	8(%r12), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	(%r14), %edx
	movq	%r12, %rsi
	callq	*%rax
LBB0_15:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_ENDIO_DONE,4,2              ## @DM_ENDIO_DONE
	.comm	_BLK_STS_RESOURCE,8,3           ## @BLK_STS_RESOURCE
	.comm	_DM_ENDIO_DELAY_REQUEUE,4,2     ## @DM_ENDIO_DELAY_REQUEUE
	.comm	_DM_ENDIO_REQUEUE,4,2           ## @DM_ENDIO_REQUEUE
	.comm	_BLK_STS_IOERR,8,3              ## @BLK_STS_IOERR
	.no_dead_strip	_multipath_end_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multipath_end_io
_multipath_end_io:                      ; @multipath_end_io
	.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	x22, x2
	mov	x23, x0
	mov	x0, x3
	bl	_get_mpio
	mov	x20, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x24, _DM_ENDIO_DONE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _DM_ENDIO_DONE@GOTPAGEOFF]
	ldr	w21, [x24]
	cbz	x22, LBB0_9
; %bb.1:
	mov	x0, x22
	bl	_blk_path_error
	cbz	x0, LBB0_9
; %bb.2:
	ldr	x23, [x23]
Lloh2:
	adrp	x8, _BLK_STS_RESOURCE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BLK_STS_RESOURCE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _DM_ENDIO_DELAY_REQUEUE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DM_ENDIO_DELAY_REQUEUE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x10, _DM_ENDIO_REQUEUE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _DM_ENDIO_REQUEUE@GOTPAGEOFF]
	cmp	x8, x22
	csel	x8, x9, x10, eq
	ldr	w21, [x8]
	cbz	x19, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_fail_path
LBB0_4:
	mov	x0, x23
	bl	_atomic_read
	cbnz	x0, LBB0_9
; %bb.5:
	mov	x0, x23
	bl	_must_push_back_rq
	cbnz	w0, LBB0_9
; %bb.6:
Lloh9:
	adrp	x8, _BLK_STS_IOERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BLK_STS_IOERR@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x23
	bl	_dm_report_EIO
LBB0_8:
	ldr	w21, [x24]
LBB0_9:
	cbz	x19, LBB0_12
; %bb.10:
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w2, [x20]
	mov	x1, x19
	blr	x8
LBB0_12:
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_ENDIO_DONE,4,2              ; @DM_ENDIO_DONE
	.comm	_BLK_STS_RESOURCE,8,3           ; @BLK_STS_RESOURCE
	.comm	_DM_ENDIO_DELAY_REQUEUE,4,2     ; @DM_ENDIO_DELAY_REQUEUE
	.comm	_DM_ENDIO_REQUEUE,4,2           ; @DM_ENDIO_REQUEUE
	.comm	_BLK_STS_IOERR,8,3              ; @BLK_STS_IOERR
	.no_dead_strip	_multipath_end_io
.subsections_via_symbols
