	.file	"extr_pch_uart.c_pch_uart_err_ir.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Error data in FIFO\n"
.LC1:
	.string	"  Framing Error\n"
.LC2:
	.string	"  Parity Error\n"
.LC3:
	.string	"  Overrun Error\n"
	.text
	.p2align 4
	.type	pch_uart_err_ir, @function
pch_uart_err_ir:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rdi, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	tty_port_tty_get@PLT
	pxor	xmm0, xmm0
	xor	edx, edx
	mov	QWORD PTR 32[rsp], 0
	mov	rdi, rax
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	test	DWORD PTR PCH_UART_LSR_ERR[rip], ebp
	je	.L2
	lea	rax, .LC0[rip]
	mov	edx, 1
	mov	QWORD PTR [rsp], rax
.L2:
	test	DWORD PTR UART_LSR_FE[rip], ebp
	je	.L3
	movsx	rax, edx
	lea	rcx, .LC1[rip]
	add	DWORD PTR 16[rbx], 1
	add	edx, 1
	mov	QWORD PTR [rsp+rax*8], rcx
.L3:
	test	DWORD PTR UART_LSR_PE[rip], ebp
	je	.L4
	movsx	rax, edx
	lea	rcx, .LC2[rip]
	add	DWORD PTR 12[rbx], 1
	add	edx, 1
	mov	QWORD PTR [rsp+rax*8], rcx
.L4:
	test	DWORD PTR UART_LSR_OE[rip], ebp
	je	.L5
	movsx	rdx, edx
	lea	rax, .LC3[rip]
	add	DWORD PTR 8[rbx], 1
	mov	QWORD PTR [rsp+rdx*8], rax
.L5:
	test	rdi, rdi
	je	.L30
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L28
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	tty_kref_put@PLT
	.p2align 4,,10
	.p2align 3
.L30:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rsp]
	mov	rbp, rsp
	test	rsi, rsi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, QWORD PTR [rbx]
	add	rbp, 8
	call	dev_err@PLT
	mov	rsi, QWORD PTR 0[rbp]
	test	rsi, rsi
	jne	.L9
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L28
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L28:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pch_uart_err_ir, .-pch_uart_err_ir
	.comm	UART_LSR_PE,4,4
	.comm	UART_LSR_OE,4,4
	.comm	UART_LSR_FE,4,4
	.comm	PCH_UART_LSR_ERR,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_pch_uart.c_pch_uart_err_ir.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error data in FIFO\012\000"
	.align	2
.LC1:
	.ascii	"  Framing Error\012\000"
	.align	2
.LC2:
	.ascii	"  Parity Error\012\000"
	.align	2
.LC3:
	.ascii	"  Overrun Error\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pch_uart_err_ir, %function
pch_uart_err_ir:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L28
	sub	sp, sp, #28
	mov	r5, r1
	mov	r4, r0
	ldr	r0, [r0, #16]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	tty_port_tty_get
	mov	r2, #0
	ldr	r3, .L28+4
	str	r2, [sp]
	ldr	r3, [r3]
	str	r2, [sp, #4]
	ands	r3, r5, r3
	str	r2, [sp, #8]
	str	r2, [sp, #12]
	str	r2, [sp, #16]
	ldrne	r2, .L28+8
	movne	r3, #1
	strne	r2, [sp]
	ldr	r2, .L28+12
	ldr	r2, [r2]
	tst	r5, r2
	beq	.L3
	ldr	r2, [r4, #12]
	ldr	ip, .L28+16
	add	r1, sp, #24
	add	r1, r1, r3, lsl #2
	add	r2, r2, #1
	str	r2, [r4, #12]
	str	ip, [r1, #-24]
	add	r3, r3, #1
.L3:
	ldr	r2, .L28+20
	ldr	r2, [r2]
	tst	r5, r2
	beq	.L4
	ldr	r2, [r4, #8]
	ldr	ip, .L28+24
	add	r1, sp, #24
	add	r1, r1, r3, lsl #2
	add	r2, r2, #1
	str	r2, [r4, #8]
	str	ip, [r1, #-24]
	add	r3, r3, #1
.L4:
	ldr	r2, .L28+28
	ldr	r2, [r2]
	tst	r5, r2
	beq	.L5
	ldr	r2, [r4, #4]
	ldr	r1, .L28+32
	add	ip, sp, #24
	add	r3, ip, r3, lsl #2
	add	r2, r2, #1
	str	r1, [r3, #-24]
	str	r2, [r4, #4]
.L5:
	cmp	r0, #0
	beq	.L27
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, lr}
	b	tty_kref_put
.L27:
	ldr	r1, [sp]
	cmp	r1, #0
	beq	.L1
	add	r5, sp, #4
.L9:
	ldr	r0, [r4]
	bl	dev_err
	ldr	r1, [r5], #4
	cmp	r1, #0
	bne	.L9
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L25:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC4
	.word	PCH_UART_LSR_ERR
	.word	.LC0
	.word	UART_LSR_FE
	.word	.LC1
	.word	UART_LSR_PE
	.word	.LC2
	.word	UART_LSR_OE
	.word	.LC3
	.size	pch_uart_err_ir, .-pch_uart_err_ir
	.comm	UART_LSR_PE,4,4
	.comm	UART_LSR_OE,4,4
	.comm	UART_LSR_FE,4,4
	.comm	PCH_UART_LSR_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
