	.file	"extr_imxmmc.c_imxmci_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	imxmci_irq, @function
imxmci_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR MMC_REG_STATUS[rip]
	add	rdi, QWORD PTR 24[rsi]
	call	readw@PLT
	mov	rsi, QWORD PTR MMC_REG_INT_MASK[rip]
	add	rsi, QWORD PTR 24[rbx]
	mov	edi, DWORD PTR INT_MASK_SDIO[rip]
	or	edi, DWORD PTR INT_MASK_AUTO_CARD_DETECT[rip]
	mov	ebp, eax
	or	edi, DWORD PTR [rbx]
	call	writew@PLT
	lea	rdi, 16[rbx]
	xor	esi, esi
	call	atomic_set@PLT
	mov	DWORD PTR 12[rbx], ebp
	mov	edi, DWORD PTR IMXMCI_PEND_IRQ_b[rip]
	lea	rbp, 8[rbx]
	mov	rsi, rbp
	call	set_bit@PLT
	mov	edi, DWORD PTR IMXMCI_PEND_STARTED_b[rip]
	mov	rsi, rbp
	call	set_bit@PLT
	lea	rdi, 4[rbx]
	call	tasklet_schedule@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, 1
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	IRQ_RETVAL@PLT
	.cfi_endproc
.LFE0:
	.size	imxmci_irq, .-imxmci_irq
	.comm	MMC_REG_STATUS,8,8
	.comm	MMC_REG_INT_MASK,8,8
	.comm	INT_MASK_SDIO,4,4
	.comm	INT_MASK_AUTO_CARD_DETECT,4,4
	.comm	IMXMCI_PEND_STARTED_b,4,4
	.comm	IMXMCI_PEND_IRQ_b,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_imxmmc.c_imxmci_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	imxmci_irq, %function
imxmci_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	ldr	r0, [r1, #20]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	add	r0, r0, r3
	mov	r4, r1
	mov	r6, r1
	bl	readw
	mov	r5, r0
	ldr	r3, .L4+4
	ldr	r1, .L4+8
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, .L4+12
	orr	r3, r3, r1
	ldr	r2, [r2]
	ldr	r0, [r6], #16
	ldr	r1, [r4, #20]
	orr	r0, r3, r0
	add	r1, r1, r2
	bl	writew
	mov	r0, r6
	mov	r1, #0
	bl	atomic_set
	ldr	r3, .L4+16
	add	r6, r4, #8
	mov	r1, r6
	ldr	r0, [r3]
	str	r5, [r4, #12]
	bl	set_bit
	ldr	r3, .L4+20
	mov	r1, r6
	ldr	r0, [r3]
	bl	set_bit
	add	r0, r4, #4
	bl	tasklet_schedule
	pop	{r4, r5, r6, lr}
	mov	r0, #1
	b	IRQ_RETVAL
.L5:
	.align	2
.L4:
	.word	MMC_REG_STATUS
	.word	INT_MASK_SDIO
	.word	INT_MASK_AUTO_CARD_DETECT
	.word	MMC_REG_INT_MASK
	.word	IMXMCI_PEND_IRQ_b
	.word	IMXMCI_PEND_STARTED_b
	.size	imxmci_irq, .-imxmci_irq
	.comm	MMC_REG_STATUS,4,4
	.comm	MMC_REG_INT_MASK,4,4
	.comm	INT_MASK_SDIO,4,4
	.comm	INT_MASK_AUTO_CARD_DETECT,4,4
	.comm	IMXMCI_PEND_STARTED_b,4,4
	.comm	IMXMCI_PEND_IRQ_b,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
