	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmio_mmc_finish_request
_tmio_mmc_finish_request:               ## @tmio_mmc_finish_request
	.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	%rdi, %rbx
	leaq	32(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_1
## %bb.13:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_1:
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_3
## %bb.2:
	movq	$0, (%rbx)
	movq	$0, 40(%rbx)
	movq	$0, 16(%rbx)
LBB0_3:
	leaq	36(%rbx), %rdi
	callq	_cancel_delayed_work
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	8(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	callq	_tmio_mmc_abort_dma
LBB0_7:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	8(%rbx), %edi
	callq	_mmc_retune_needed
LBB0_10:
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.11:
	movq	8(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_14
LBB0_12:
	movl	8(%rbx), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmc_request_done               ## TAILCALL
LBB0_4:
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpq	$0, (%rax)
	jne	LBB0_6
	jmp	LBB0_7
LBB0_14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tmio_process_mrq               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tmio_mmc_finish_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmio_mmc_finish_request
_tmio_mmc_finish_request:               ; @tmio_mmc_finish_request
	.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, x0
	add	x21, x0, #32
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x20, [x19, #16]
	mov	x0, x20
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	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
	b	_spin_unlock_irqrestore
LBB0_2:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	str	xzr, [x19]
	str	xzr, [x19, #40]
	str	xzr, [x19, #16]
LBB0_4:
	add	x0, x19, #36
	bl	_cancel_delayed_work
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
LBB0_5:
	mov	x0, x19
	bl	_tmio_mmc_abort_dma
LBB0_6:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x19, #8]
	bl	_mmc_retune_needed
LBB0_9:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_14
LBB0_11:
	ldr	w0, [x19, #8]
	mov	x1, x20
	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
	b	_mmc_request_done
LBB0_12:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.13:
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
	b	LBB0_6
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	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
	b	_tmio_process_mrq
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tmio_mmc_finish_request
.subsections_via_symbols
