	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_clone_endio@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rsi)
	movq	%rdx, (%rsi)
	movq	(%rdx), %rdi
	addq	$16, %rdi
	callq	_atomic_inc
	movl	20(%rbx), %r15d
	movq	(%r12), %rax
	leaq	8(%r14), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
	movq	_DM_MAPIO_REMAPPED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.5:
	movl	16(%rbx), %edi
	callq	_bdev_get_queue
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	%r15d, %ecx
	callq	_trace_block_remap
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_generic_make_request           ## TAILCALL
LBB0_1:
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movq	_DM_MAPIO_REQUEUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.3:
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DMWARN
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
LBB0_6:
	movq	(%r14), %rdi
	movq	(%rdi), %r15
	movl	%eax, %esi
	callq	_dec_pending
	movq	$0, 8(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_bio_put
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free_tio                       ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clone_endio,8,3                ## @clone_endio
	.comm	_DM_MAPIO_REMAPPED,4,2          ## @DM_MAPIO_REMAPPED
	.comm	_DM_MAPIO_REQUEUE,4,2           ## @DM_MAPIO_REQUEUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unimplemented target map return value: %d"

	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _clone_endio@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clone_endio@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x2, x8, [x1]
	mov	x23, x2
	ldr	x8, [x23], #8
	add	x0, x8, #16
	bl	_atomic_inc
	ldr	w21, [x19, #20]
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	blr	x8
Lloh3:
	adrp	x8, _DM_MAPIO_REMAPPED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DM_MAPIO_REMAPPED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	bl	_bdev_get_queue
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x1, x19
	mov	x3, x21
	bl	_trace_block_remap
	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	_generic_make_request
LBB0_2:
	mov	x1, x0
	tbnz	w0, #31, LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _DM_MAPIO_REQUEUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_MAPIO_REQUEUE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w1, w8
	b.eq	LBB0_6
; %bb.4:
	cbz	w1, LBB0_7
; %bb.5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMWARN
	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	_BUG
LBB0_6:
	ldr	x0, [x20]
	ldr	x21, [x0]
	bl	_dec_pending
	ldr	x8, [x21]
	stp	x8, xzr, [x19]
	mov	x0, x19
	bl	_bio_put
	mov	x0, x21
	mov	x1, x20
	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	_free_tio
LBB0_7:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_clone_endio,8,3                ; @clone_endio
	.comm	_DM_MAPIO_REMAPPED,4,2          ; @DM_MAPIO_REMAPPED
	.comm	_DM_MAPIO_REQUEUE,4,2           ; @DM_MAPIO_REQUEUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unimplemented target map return value: %d"

	.no_dead_strip	___map_bio
.subsections_via_symbols
