	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_omap_cmd_done
_mmc_omap_cmd_done:                     ## @mmc_omap_cmd_done
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, 40(%rdi)
	addq	$32, %rdi
	callq	_del_timer
	movl	(%r14), %eax
	movq	_MMC_RSP_PRESENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	_MMC_RSP_136@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_RSP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	movl	%eax, %r15d
	movq	_RSP1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	shll	$16, %eax
	orl	%r15d, %eax
	leaq	8(%r14), %r12
	movq	8(%r14), %rcx
	movl	%eax, 12(%rcx)
	movq	_RSP2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	movl	%eax, %r15d
	movq	_RSP3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	shll	$16, %eax
	orl	%r15d, %eax
	movq	8(%r14), %rcx
	movl	%eax, 8(%rcx)
	movq	_RSP4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	movl	%eax, %r15d
	movq	_RSP5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	shll	$16, %eax
	orl	%r15d, %eax
	movq	8(%r14), %rcx
	movl	%eax, 4(%rcx)
	movq	_RSP6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	movl	%eax, %r15d
	movq	_RSP7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	shll	$16, %eax
	orl	%r15d, %eax
	jmp	LBB0_4
LBB0_3:
	movq	_RSP6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	movl	%eax, %r15d
	movq	_RSP7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_OMAP_MMC_READ
	shll	$16, %eax
	orl	%r15d, %eax
	leaq	8(%r14), %r12
LBB0_4:
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
LBB0_5:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.6:
	cmpq	$0, 24(%r14)
	je	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_mmc_omap_abort_xfer
LBB0_8:
	movq	$0, 16(%rbx)
	movq	8(%rbx), %r15
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_mmc_omap_release_slot
	movl	16(%r14), %esi
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmc_request_done               ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_RSP_PRESENT,4,2            ## @MMC_RSP_PRESENT
	.comm	_MMC_RSP_136,4,2                ## @MMC_RSP_136
	.comm	_RSP0,4,2                       ## @RSP0
	.comm	_RSP1,4,2                       ## @RSP1
	.comm	_RSP2,4,2                       ## @RSP2
	.comm	_RSP3,4,2                       ## @RSP3
	.comm	_RSP4,4,2                       ## @RSP4
	.comm	_RSP5,4,2                       ## @RSP5
	.comm	_RSP6,4,2                       ## @RSP6
	.comm	_RSP7,4,2                       ## @RSP7
	.no_dead_strip	_mmc_omap_cmd_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_omap_cmd_done
_mmc_omap_cmd_done:                     ; @mmc_omap_cmd_done
	.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
	str	xzr, [x0, #40]
	add	x0, x0, #32
	bl	_del_timer
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MMC_RSP_PRESENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_RSP_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _MMC_RSP_136@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMC_RSP_136@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _RSP0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSP0@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	mov	x21, x0
Lloh9:
	adrp	x8, _RSP1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RSP1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	orr	w8, w21, w0, lsl #16
	mov	x22, x19
	ldr	x9, [x22, #8]!
	str	w8, [x9, #12]
Lloh12:
	adrp	x8, _RSP2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSP2@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	mov	x21, x0
Lloh15:
	adrp	x8, _RSP3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RSP3@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	orr	w8, w21, w0, lsl #16
	ldr	x9, [x22]
	str	w8, [x9, #8]
Lloh18:
	adrp	x8, _RSP4@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RSP4@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	mov	x21, x0
Lloh21:
	adrp	x8, _RSP5@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RSP5@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	orr	w8, w21, w0, lsl #16
	ldr	x9, [x22]
	str	w8, [x9, #4]
Lloh24:
	adrp	x8, _RSP6@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RSP6@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	mov	x21, x0
Lloh27:
	adrp	x8, _RSP7@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RSP7@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	orr	w8, w21, w0, lsl #16
	b	LBB0_4
LBB0_3:
Lloh30:
	adrp	x8, _RSP6@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RSP6@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	mov	x21, x0
Lloh33:
	adrp	x8, _RSP7@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RSP7@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OMAP_MMC_READ
	orr	w8, w21, w0, lsl #16
	add	x22, x19, #8
LBB0_4:
	ldr	x9, [x22]
	str	w8, [x9]
LBB0_5:
	ldr	x1, [x20, #24]
	cbz	x1, LBB0_8
; %bb.6:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_mmc_omap_abort_xfer
LBB0_8:
	str	xzr, [x20, #16]
	ldr	x21, [x20, #8]
	ldr	w0, [x20]
	mov	w1, #1
	bl	_mmc_omap_release_slot
	ldr	w1, [x19, #16]
	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	_mmc_request_done
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_RSP_PRESENT,4,2            ; @MMC_RSP_PRESENT
	.comm	_MMC_RSP_136,4,2                ; @MMC_RSP_136
	.comm	_RSP0,4,2                       ; @RSP0
	.comm	_RSP1,4,2                       ; @RSP1
	.comm	_RSP2,4,2                       ; @RSP2
	.comm	_RSP3,4,2                       ; @RSP3
	.comm	_RSP4,4,2                       ; @RSP4
	.comm	_RSP5,4,2                       ; @RSP5
	.comm	_RSP6,4,2                       ; @RSP6
	.comm	_RSP7,4,2                       ; @RSP7
	.no_dead_strip	_mmc_omap_cmd_done
.subsections_via_symbols
