	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_blk_mq_issue_rq            ## -- Begin function mmc_blk_mq_issue_rq
	.p2align	4, 0x90
_mmc_blk_mq_issue_rq:                   ## @mmc_blk_mq_issue_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	8(%rax), %rdi
	movq	(%rdi), %r15
	movl	(%rax), %esi
	callq	_mmc_blk_part_switch
	testl	%eax, %eax
	je	LBB0_3
LBB0_1:
	movq	_MMC_REQ_FAILED_TO_START@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmc_issue_type
                                        ## kill: def $eax killed $eax def $rax
	leal	-136(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_8
## %bb.4:
	movq	%r14, %rdi
	callq	_req_op
	cmpl	$128, %eax
	je	LBB0_11
## %bb.5:
	cmpl	$130, %eax
	je	LBB0_11
## %bb.6:
	cmpl	$131, %eax
	jne	LBB0_13
## %bb.7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmc_blk_cqe_issue_flush
	testl	%eax, %eax
	jne	LBB0_14
LBB0_21:
	movq	_MMC_REQ_STARTED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	cmpl	$135, %eax
	jne	LBB0_19
## %bb.9:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mmc_blk_wait_for_idle
	testl	%eax, %eax
	jne	LBB0_10
## %bb.16:
	movq	%r14, %rdi
	callq	_req_op
                                        ## kill: def $eax killed $eax def $rax
	addl	$-129, %eax
	cmpl	$5, %eax
	ja	LBB0_19
## %bb.17:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_18:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmc_blk_issue_drv_op
	movq	_MMC_REQ_FINISHED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_19:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	jmp	LBB0_1
LBB0_11:
	cmpl	$0, (%rbx)
	je	LBB0_20
## %bb.12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmc_blk_cqe_issue_rw_rq
	testl	%eax, %eax
	je	LBB0_21
LBB0_14:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_1
LBB0_10:
	movq	_MMC_REQ_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_21
LBB0_20:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmc_blk_mq_issue_rw_rq
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_21
LBB0_22:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmc_blk_issue_secdiscard_rq
	movq	_MMC_REQ_FINISHED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_23:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmc_blk_issue_flush
	movq	_MMC_REQ_FINISHED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_24:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mmc_blk_issue_discard_rq
	movq	_MMC_REQ_FINISHED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_19
	.long	L0_0_set_23
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_MMC_REQ_FAILED_TO_START,4,2    ## @MMC_REQ_FAILED_TO_START
	.comm	_MMC_REQ_BUSY,4,2               ## @MMC_REQ_BUSY
	.comm	_MMC_REQ_FINISHED,4,2           ## @MMC_REQ_FINISHED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MMC_REQ_STARTED,4,2            ## @MMC_REQ_STARTED
	.comm	_EBUSY,4,2                      ## @EBUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mmc_blk_mq_issue_rq            ; -- Begin function mmc_blk_mq_issue_rq
	.p2align	2
_mmc_blk_mq_issue_rq:                   ; @mmc_blk_mq_issue_rq
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x0, [x8, #8]
	ldr	x21, [x0]
	ldr	w1, [x8]
	bl	_mmc_blk_part_switch
	cbz	w0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _MMC_REQ_FAILED_TO_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMC_REQ_FAILED_TO_START@GOTPAGEOFF]
LBB0_2:
	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_3:
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_issue_type
	sub	w8, w0, #136
	cmp	w8, #2
	b.hs	LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_req_op
	cmp	w0, #128
	b.eq	LBB0_12
; %bb.5:
	cmp	w0, #130
	b.eq	LBB0_12
; %bb.6:
	cmp	w0, #131
	b.ne	LBB0_15
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_blk_cqe_issue_flush
	cbnz	w0, LBB0_14
LBB0_8:
Lloh2:
	adrp	x8, _MMC_REQ_STARTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMC_REQ_STARTED@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
	cmp	w0, #135
	b.ne	LBB0_19
; %bb.10:
	mov	x0, x20
	mov	x1, x21
	bl	_mmc_blk_wait_for_idle
	cbz	w0, LBB0_16
; %bb.11:
Lloh4:
	adrp	x8, _MMC_REQ_BUSY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MMC_REQ_BUSY@GOTPAGEOFF]
	b	LBB0_2
LBB0_12:
	ldr	w8, [x20]
	cbz	w8, LBB0_20
; %bb.13:
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_blk_cqe_issue_rw_rq
	cbz	w0, LBB0_8
LBB0_14:
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh8:
	adrp	x9, _MMC_REQ_BUSY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MMC_REQ_BUSY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x10, _MMC_REQ_FAILED_TO_START@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MMC_REQ_FAILED_TO_START@GOTPAGEOFF]
	cmn	w0, w8
	csel	x8, x9, x10, eq
	b	LBB0_2
LBB0_15:
	mov	w0, #1
	bl	_WARN_ON_ONCE
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	cbnz	w0, LBB0_14
	b	LBB0_8
LBB0_16:
	mov	x0, x19
	bl	_req_op
	sub	w8, w0, #129
	cmp	w8, #5
	b.hi	LBB0_19
; %bb.17:
Lloh16:
	adrp	x9, lJTI0_0@PAGE
Lloh17:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_blk_issue_drv_op
	b	LBB0_24
LBB0_19:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	b	LBB0_1
LBB0_20:
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_blk_mq_issue_rw_rq
	cbnz	w0, LBB0_14
	b	LBB0_8
LBB0_21:
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_blk_issue_secdiscard_rq
	b	LBB0_24
LBB0_22:
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_blk_issue_flush
	b	LBB0_24
LBB0_23:
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_blk_issue_discard_rq
LBB0_24:
Lloh18:
	adrp	x8, _MMC_REQ_FINISHED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MMC_REQ_FINISHED@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_21-LBB0_18)>>2
	.byte	(LBB0_19-LBB0_18)>>2
	.byte	(LBB0_22-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_23-LBB0_18)>>2
                                        ; -- End function
	.comm	_MMC_REQ_FAILED_TO_START,4,2    ; @MMC_REQ_FAILED_TO_START
	.comm	_MMC_REQ_BUSY,4,2               ; @MMC_REQ_BUSY
	.comm	_MMC_REQ_FINISHED,4,2           ; @MMC_REQ_FINISHED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MMC_REQ_STARTED,4,2            ; @MMC_REQ_STARTED
	.comm	_EBUSY,4,2                      ; @EBUSY
.subsections_via_symbols
