	.file	"extr_cafe_nand.c_cafe_nand_interrupt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"irq, bits %x (%x)\n"
	.text
	.p2align 4
	.type	cafe_nand_interrupt, @function
cafe_nand_interrupt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	mtd_to_nand@PLT
	mov	rdi, rax
	call	nand_get_controller_data@PLT
	mov	esi, DWORD PTR NAND_IRQ[rip]
	mov	rdi, rax
	mov	rbx, rax
	call	cafe_readl@PLT
	mov	edx, DWORD PTR NAND_IRQ[rip]
	mov	rdi, rbx
	mov	esi, eax
	mov	r12d, eax
	and	esi, 1879048191
	call	cafe_writel@PLT
	mov	eax, DWORD PTR IRQ_NONE[rip]
	test	r12d, r12d
	je	.L1
	mov	esi, DWORD PTR NAND_IRQ[rip]
	mov	rdi, rbx
	call	cafe_readl@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	ecx, eax
	call	cafe_dev_dbg@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cafe_nand_interrupt, .-cafe_nand_interrupt
	.comm	NAND_IRQ,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,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_cafe_nand.c_cafe_nand_interrupt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"irq, bits %x (%x)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cafe_nand_interrupt, %function
cafe_nand_interrupt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, r1
	bl	mtd_to_nand
	bl	nand_get_controller_data
	ldr	r6, .L6
	mov	r5, r0
	ldr	r1, [r6]
	bl	cafe_readl
	mov	r4, r0
	ldr	r2, [r6]
	mov	r0, r5
	bic	r1, r4, #-1879048192
	bl	cafe_writel
	cmp	r4, #0
	bne	.L2
	ldr	r3, .L6+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r1, [r6]
	mov	r0, r5
	ldr	r7, [r5]
	bl	cafe_readl
	mov	r2, r4
	mov	r3, r0
	ldr	r1, .L6+8
	mov	r0, r7
	bl	cafe_dev_dbg
	ldr	r3, .L6+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	.align	2
.L6:
	.word	NAND_IRQ
	.word	IRQ_NONE
	.word	.LC0
	.word	IRQ_HANDLED
	.size	cafe_nand_interrupt, .-cafe_nand_interrupt
	.comm	NAND_IRQ,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
