	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxcmci_request
_mxcmci_request:                        ## @mxcmci_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, %r14
	callq	_mmc_priv
	movq	%rax, %rbx
	movl	(%rax), %r15d
	xorl	%edi, %edi
	cmpq	$0, 16(%rax)
	setne	%dil
	callq	_WARN_ON
	movq	%r14, 16(%rbx)
	movq	_CMD_DAT_CONT_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movl	$1, 4(%rbx)
LBB0_2:
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.3:
	movq	%rbx, %rdi
	callq	_mxcmci_setup_data
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	(%r14), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_5
LBB0_6:
	movq	_CMD_DAT_CONT_DATA_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	8(%r14), %rax
	movq	_MMC_DATA_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_CMD_DAT_CONT_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_8:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_mxcmci_start_cmd
	testl	%eax, %eax
	je	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mxcmci_finish_request          ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_DAT_CONT_INIT,4,2          ## @CMD_DAT_CONT_INIT
	.comm	_CMD_DAT_CONT_DATA_ENABLE,4,2   ## @CMD_DAT_CONT_DATA_ENABLE
	.comm	_MMC_DATA_WRITE,4,2             ## @MMC_DATA_WRITE
	.comm	_CMD_DAT_CONT_WRITE,4,2         ## @CMD_DAT_CONT_WRITE
	.no_dead_strip	_mxcmci_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxcmci_request
_mxcmci_request:                        ; @mxcmci_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, x1
	bl	_mmc_priv
	mov	x20, x0
	ldr	w21, [x0]
	ldr	x8, [x0, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_WARN_ON
Lloh0:
	adrp	x8, _CMD_DAT_CONT_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_DAT_CONT_INIT@GOTPAGEOFF]
	str	x19, [x20, #16]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20, #4]
LBB0_2:
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_mxcmci_setup_data
	cbz	w0, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	str	w0, [x8]
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _CMD_DAT_CONT_DATA_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_DAT_CONT_DATA_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w21, w8, w21
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MMC_DATA_WRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMC_DATA_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _CMD_DAT_CONT_WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CMD_DAT_CONT_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w21, w8, w21
LBB0_7:
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, x21
	bl	_mxcmci_start_cmd
	cbz	w0, LBB0_9
LBB0_8:
	mov	x0, x20
	mov	x1, 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	_mxcmci_finish_request
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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_DAT_CONT_INIT,4,2          ; @CMD_DAT_CONT_INIT
	.comm	_CMD_DAT_CONT_DATA_ENABLE,4,2   ; @CMD_DAT_CONT_DATA_ENABLE
	.comm	_MMC_DATA_WRITE,4,2             ; @MMC_DATA_WRITE
	.comm	_CMD_DAT_CONT_WRITE,4,2         ; @CMD_DAT_CONT_WRITE
	.no_dead_strip	_mxcmci_request
.subsections_via_symbols
