	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mxcmci_finish_request
_mxcmci_finish_request:                 ## @mxcmci_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	%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
	movl	48(%rdi), %r12d
	leaq	32(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	xorl	%esi, %esi
	cmpq	$0, 40(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_INT_SDIO_IRQ_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_2:
	orl	%r12d, %esi
	movq	_MMC_REG_INT_CNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mxcmci_writel
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
	movl	(%rbx), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmc_request_done               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_SDIO_IRQ_EN,4,2            ## @INT_SDIO_IRQ_EN
	.comm	_MMC_REG_INT_CNTR,4,2           ## @MMC_REG_INT_CNTR
	.no_dead_strip	_mxcmci_finish_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mxcmci_finish_request
_mxcmci_finish_request:                 ; @mxcmci_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, x1
	mov	x20, x0
	ldr	w22, [x0, #48]
	add	x21, x0, #32
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #40]
Lloh0:
	adrp	x9, _INT_SDIO_IRQ_EN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INT_SDIO_IRQ_EN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
	orr	w1, w8, w22
Lloh3:
	adrp	x8, _MMC_REG_INT_CNTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMC_REG_INT_CNTR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_mxcmci_writel
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	stp	xzr, xzr, [x20, #16]
	str	xzr, [x20, #8]
	ldr	w0, [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	_mmc_request_done
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_SDIO_IRQ_EN,4,2            ; @INT_SDIO_IRQ_EN
	.comm	_MMC_REG_INT_CNTR,4,2           ; @MMC_REG_INT_CNTR
	.no_dead_strip	_mxcmci_finish_request
.subsections_via_symbols
