	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imxmci_irq
_imxmci_irq:                            ## @imxmci_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_MMC_REG_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	24(%rsi), %rdi
	callq	_readw
	movq	_INT_MASK_SDIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rbx), %edi
	movl	%eax, %r14d
	movq	_INT_MASK_AUTO_CARD_DETECT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MMC_REG_INT_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	24(%rbx), %rsi
	callq	_writew
	leaq	16(%rbx), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movl	%r14d, 12(%rbx)
	movq	_IMXMCI_PEND_IRQ_b@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %r14
	movq	%r14, %rsi
	callq	_set_bit
	movq	_IMXMCI_PEND_STARTED_b@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_tasklet_schedule
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_REG_STATUS,8,3             ## @MMC_REG_STATUS
	.comm	_INT_MASK_SDIO,4,2              ## @INT_MASK_SDIO
	.comm	_INT_MASK_AUTO_CARD_DETECT,4,2  ## @INT_MASK_AUTO_CARD_DETECT
	.comm	_MMC_REG_INT_MASK,8,3           ## @MMC_REG_INT_MASK
	.comm	_IMXMCI_PEND_IRQ_b,4,2          ## @IMXMCI_PEND_IRQ_b
	.comm	_IMXMCI_PEND_STARTED_b,4,2      ## @IMXMCI_PEND_STARTED_b
	.no_dead_strip	_imxmci_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imxmci_irq
_imxmci_irq:                            ; @imxmci_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x1, #24]
Lloh0:
	adrp	x9, _MMC_REG_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MMC_REG_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readw
	mov	x20, x0
Lloh3:
	adrp	x8, _INT_MASK_SDIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MASK_SDIO@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh6:
	adrp	x9, _INT_MASK_AUTO_CARD_DETECT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _INT_MASK_AUTO_CARD_DETECT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19, #24]
Lloh9:
	adrp	x9, _MMC_REG_INT_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MMC_REG_INT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writew
	add	x0, x19, #16
	mov	w1, #0
	bl	_atomic_set
	str	w20, [x19, #12]
Lloh12:
	adrp	x8, _IMXMCI_PEND_IRQ_b@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IMXMCI_PEND_IRQ_b@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	add	x20, x19, #8
	mov	x1, x20
	bl	_set_bit
Lloh15:
	adrp	x8, _IMXMCI_PEND_STARTED_b@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IMXMCI_PEND_STARTED_b@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	add	x0, x19, #4
	bl	_tasklet_schedule
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IRQ_RETVAL
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_REG_STATUS,8,3             ; @MMC_REG_STATUS
	.comm	_INT_MASK_SDIO,4,2              ; @INT_MASK_SDIO
	.comm	_INT_MASK_AUTO_CARD_DETECT,4,2  ; @INT_MASK_AUTO_CARD_DETECT
	.comm	_MMC_REG_INT_MASK,8,3           ; @MMC_REG_INT_MASK
	.comm	_IMXMCI_PEND_IRQ_b,4,2          ; @IMXMCI_PEND_IRQ_b
	.comm	_IMXMCI_PEND_STARTED_b,4,2      ; @IMXMCI_PEND_STARTED_b
	.no_dead_strip	_imxmci_irq
.subsections_via_symbols
