	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __map_bio
___map_bio:                             ## @__map_bio
	.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	%rsi, %r15
	movq	%rdi, %r13
	movl	16(%rdi), %edi
	callq	_READ_ONCE
	movq	%rax, %rbx
	movq	_MPATHF_QUEUE_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r13), %r14
	movq	%r14, %rsi
	callq	_test_bit
	movl	%eax, %r12d
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	testl	%r12d, %r12d
	jne	LBB0_3
LBB0_2:
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_choose_pgpath
	movq	%rax, %rbx
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	testl	%r12d, %r12d
	je	LBB0_5
LBB0_9:
	leaq	8(%r13), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	leaq	12(%r13), %rdi
	movq	%r15, %rsi
	callq	_bio_list_add
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	testl	%r12d, %r12d
	jne	LBB0_11
## %bb.10:
	movq	_MPATHF_PG_INIT_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_12
LBB0_11:
	movq	%r13, %rdi
	callq	_pg_init_all_paths
LBB0_13:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_MPATHF_QUEUE_IF_NO_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_12:
	movq	_kmultipathd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_queue_work
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_MPATHF_QUEUE_IO,4,2            ## @MPATHF_QUEUE_IO
	.comm	_MPATHF_QUEUE_IF_NO_PATH,4,2    ## @MPATHF_QUEUE_IF_NO_PATH
	.comm	_MPATHF_PG_INIT_REQUIRED,4,2    ## @MPATHF_PG_INIT_REQUIRED
	.comm	_kmultipathd,4,2                ## @kmultipathd
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	___map_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __map_bio
___map_bio:                             ; @__map_bio
	.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	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_READ_ONCE
	mov	x23, x0
Lloh0:
	adrp	x8, _MPATHF_QUEUE_IO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPATHF_QUEUE_IO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_bit
	mov	x22, x0
	cmp	x23, #0
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_choose_pgpath
	mov	x23, x0
LBB0_2:
	cmp	x23, #0
	ccmp	w22, #0, #4, ne
	b.ne	LBB0_6
; %bb.3:
	cbz	x23, LBB0_5
LBB0_4:
	mov	x0, x23
	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
LBB0_5:
Lloh3:
	adrp	x8, _MPATHF_QUEUE_IF_NO_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPATHF_QUEUE_IF_NO_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_11
LBB0_6:
	add	x23, x19, #8
	mov	x0, x23
	bl	_spin_lock_irqsave
	add	x0, x19, #12
	mov	x1, x21
	bl	_bio_list_add
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	cbnz	w22, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _MPATHF_PG_INIT_REQUIRED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPATHF_PG_INIT_REQUIRED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_pg_init_all_paths
LBB0_9:
Lloh9:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	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	_ERR_PTR
LBB0_10:
Lloh12:
	adrp	x8, _kmultipathd@GOTPAGE
Lloh13:
	ldr	x8, [x8, _kmultipathd@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_queue_work
	b	LBB0_9
LBB0_11:
	mov	x23, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MPATHF_QUEUE_IO,4,2            ; @MPATHF_QUEUE_IO
	.comm	_MPATHF_QUEUE_IF_NO_PATH,4,2    ; @MPATHF_QUEUE_IF_NO_PATH
	.comm	_MPATHF_PG_INIT_REQUIRED,4,2    ; @MPATHF_PG_INIT_REQUIRED
	.comm	_kmultipathd,4,2                ; @kmultipathd
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	___map_bio
.subsections_via_symbols
