	.file	"extr_mvebu-uart.c_mvebu_uart_isr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mvebu_uart_isr, @function
mvebu_uart_isr:
.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 UART_STAT[rip]
	add	rdi, QWORD PTR [rsi]
	call	readl@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	STAT_RX_RDY@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR STAT_OVR_ERR[rip]
	or	eax, DWORD PTR STAT_FRM_ERR[rip]
	or	eax, DWORD PTR STAT_BRK_DET[rip]
	or	eax, r8d
	test	eax, r12d
	jne	.L12
	mov	rdi, rbp
	call	STAT_TX_RDY@PLT
	test	eax, r12d
	jne	.L13
.L3:
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, rbp
	mov	esi, r12d
	call	mvebu_uart_rx_chars@PLT
	mov	rdi, rbp
	call	STAT_TX_RDY@PLT
	test	eax, r12d
	je	.L3
.L13:
	mov	esi, r12d
	mov	rdi, rbp
	call	mvebu_uart_tx_chars@PLT
	mov	eax, 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
	ret
	.cfi_endproc
.LFE0:
	.size	mvebu_uart_isr, .-mvebu_uart_isr
	.comm	UART_STAT,8,8
	.comm	STAT_OVR_ERR,4,4
	.comm	STAT_FRM_ERR,4,4
	.comm	STAT_BRK_DET,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_mvebu-uart.c_mvebu_uart_isr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mvebu_uart_isr, %function
mvebu_uart_isr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	ldr	r0, [r1]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	add	r0, r0, r3
	mov	r4, r1
	bl	readl
	mov	r5, r0
	mov	r0, r4
	bl	STAT_RX_RDY
	ldr	r3, .L14+4
	ldr	r1, .L14+8
	ldr	r2, .L14+12
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r1
	orr	r3, r3, r2
	orr	r3, r3, r0
	tst	r3, r5
	bne	.L12
	mov	r0, r4
	bl	STAT_TX_RDY
	tst	r0, r5
	bne	.L13
.L3:
	ldr	r3, .L14+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L12:
	mov	r1, r5
	mov	r0, r4
	bl	mvebu_uart_rx_chars
	mov	r0, r4
	bl	STAT_TX_RDY
	tst	r0, r5
	beq	.L3
.L13:
	mov	r1, r5
	mov	r0, r4
	bl	mvebu_uart_tx_chars
	b	.L3
.L15:
	.align	2
.L14:
	.word	UART_STAT
	.word	STAT_OVR_ERR
	.word	STAT_FRM_ERR
	.word	STAT_BRK_DET
	.word	IRQ_HANDLED
	.size	mvebu_uart_isr, .-mvebu_uart_isr
	.comm	UART_STAT,4,4
	.comm	STAT_OVR_ERR,4,4
	.comm	STAT_FRM_ERR,4,4
	.comm	STAT_BRK_DET,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
