	.file	"extr_armada_crtc.c_armada_drm_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	armada_drm_irq, @function
armada_drm_irq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR LCD_SPU_IRQ_ISR[rip]
	add	rdi, QWORD PTR 8[rsi]
	call	readl_relaxed@PLT
	mov	rsi, QWORD PTR LCD_SPU_IRQ_ISR[rip]
	xor	edi, edi
	add	rsi, QWORD PTR 8[rbp]
	mov	r12d, eax
	call	writel_relaxed@PLT
	lea	rdi, 4[rbp]
	mov	esi, r12d
	call	trace_armada_drm_irq@PLT
	mov	eax, DWORD PTR VSYNC_IRQ[rip]
	or	eax, DWORD PTR GRA_FRAME_IRQ[rip]
	or	eax, DWORD PTR DUMB_FRAMEDONE[rip]
	and	eax, DWORD PTR 0[rbp]
	mov	r8d, DWORD PTR IRQ_NONE[rip]
	test	eax, r12d
	jne	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r8d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, r12d
	mov	rdi, rbp
	call	armada_drm_crtc_irq@PLT
	mov	r8d, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	armada_drm_irq, .-armada_drm_irq
	.comm	VSYNC_IRQ,4,4
	.comm	LCD_SPU_IRQ_ISR,8,8
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	GRA_FRAME_IRQ,4,4
	.comm	DUMB_FRAMEDONE,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_armada_crtc.c_armada_drm_irq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	armada_drm_irq, %function
armada_drm_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L7
	ldr	r0, [r1, #8]
	ldr	r3, [r6]
	mov	r4, r1
	add	r0, r0, r3
	bl	readl_relaxed
	mov	r5, r0
	ldr	r3, [r6]
	ldr	r1, [r4, #8]
	mov	r0, #0
	add	r1, r1, r3
	bl	writel_relaxed
	mov	r1, r5
	add	r0, r4, #4
	bl	trace_armada_drm_irq
	ldr	r3, .L7+4
	ldr	r2, .L7+8
	ldr	r1, .L7+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	orr	r3, r3, r2
	ldr	r2, [r4]
	orr	r3, r3, r1
	and	r3, r3, r2
	tst	r3, r5
	bne	.L6
	ldr	r3, .L7+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	mov	r1, r5
	mov	r0, r4
	bl	armada_drm_crtc_irq
	ldr	r3, .L7+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	LCD_SPU_IRQ_ISR
	.word	VSYNC_IRQ
	.word	GRA_FRAME_IRQ
	.word	DUMB_FRAMEDONE
	.word	IRQ_NONE
	.word	IRQ_HANDLED
	.size	armada_drm_irq, .-armada_drm_irq
	.comm	VSYNC_IRQ,4,4
	.comm	LCD_SPU_IRQ_ISR,4,4
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	GRA_FRAME_IRQ,4,4
	.comm	DUMB_FRAMEDONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
