	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmci_request
_mmci_request:                          ## @mmci_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	%rsi, %rbx
	movq	%rdi, %r15
	callq	_mmc_priv
	movq	%rax, %r14
	xorl	%edi, %edi
	cmpq	$0, 16(%rax)
	setne	%dil
	callq	_WARN_ON
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	callq	_mmci_validate_data
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmc_request_done               ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, 16(%r14)
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movq	%r14, %rdi
	callq	_mmci_get_next_data
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.3:
	movq	8(%r14), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_MMC_DATA_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	callq	_mmci_start_data
LBB0_6:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_8
## %bb.7:
	movq	(%rbx), %rsi
LBB0_8:
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_mmci_start_command
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_DATA_READ,4,2              ## @MMC_DATA_READ
	.no_dead_strip	_mmci_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmci_request
_mmci_request:                          ; @mmci_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	x20, x1
	mov	x21, x0
	bl	_mmc_priv
	mov	x19, x0
	ldr	x8, [x0, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_WARN_ON
	ldr	x1, [x20, #16]
	mov	x0, x19
	bl	_mmci_validate_data
	ldr	x8, [x20]
	str	w0, [x8]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x21
	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_2:
	mov	x0, x19
	bl	_spin_lock_irqsave
	str	x20, [x19, #16]
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_mmci_get_next_data
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_7
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _MMC_DATA_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_DATA_READ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_mmci_start_data
LBB0_7:
	ldr	x1, [x20, #8]
	cbnz	x1, LBB0_9
; %bb.8:
	ldr	x1, [x20]
LBB0_9:
	mov	x0, x19
	mov	w2, #0
	bl	_mmci_start_command
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_DATA_READ,4,2              ; @MMC_DATA_READ
	.no_dead_strip	_mmci_request
.subsections_via_symbols
