	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm_mq_queue_rq
_dm_mq_queue_rq:                        ## @dm_mq_queue_rq
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_blk_mq_rq_to_pdu
	movq	%rax, %r15
	movq	8(%rax), %r12
	movq	(%r12), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-36(%rbp), %rsi
	movq	%r12, %rdi
	callq	_dm_get_live_table
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_dm_table_find_target
	movq	%rax, %rbx
	movl	-36(%rbp), %esi
	movq	%r12, %rdi
	callq	_dm_put_live_table
LBB0_2:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	*%rax
	testq	%rax, %rax
	jne	LBB0_7
LBB0_4:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dm_start_request
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_init_tio
	movq	%rbx, (%r15)
	movq	%r15, %rdi
	callq	_map_request
	movq	_DM_MAPIO_REQUEUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_rq_end_stats
	movq	%r12, %rdi
	callq	_rq_completed
LBB0_7:
	movq	_BLK_STS_RESOURCE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_BLK_STS_OK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_STS_RESOURCE,4,2           ## @BLK_STS_RESOURCE
	.comm	_DM_MAPIO_REQUEUE,8,3           ## @DM_MAPIO_REQUEUE
	.comm	_BLK_STS_OK,4,2                 ## @BLK_STS_OK
	.no_dead_strip	_dm_mq_queue_rq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm_mq_queue_rq
_dm_mq_queue_rq:                        ; @dm_mq_queue_rq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x1]
	mov	x0, x19
	bl	_blk_mq_rq_to_pdu
	mov	x21, x0
	ldr	x20, [x0, #8]
	ldr	x22, [x20]
	cmp	x22, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, sp, #12
	mov	x0, x20
	bl	_dm_get_live_table
	mov	w1, #0
	bl	_dm_table_find_target
	mov	x22, x0
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_dm_put_live_table
LBB0_2:
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x22
	blr	x8
	cbnz	x0, LBB0_6
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_dm_start_request
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_init_tio
	str	x22, [x21]
	mov	x0, x21
	bl	_map_request
Lloh0:
	adrp	x8, _DM_MAPIO_REQUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_MAPIO_REQUEUE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_rq_end_stats
	mov	x0, x20
	bl	_rq_completed
LBB0_6:
Lloh3:
	adrp	x8, _BLK_STS_RESOURCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLK_STS_RESOURCE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh5:
	adrp	x8, _BLK_STS_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BLK_STS_OK@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_STS_RESOURCE,4,2           ; @BLK_STS_RESOURCE
	.comm	_DM_MAPIO_REQUEUE,8,3           ; @DM_MAPIO_REQUEUE
	.comm	_BLK_STS_OK,4,2                 ; @BLK_STS_OK
	.no_dead_strip	_dm_mq_queue_rq
.subsections_via_symbols
