	.file	"extr_at91_can.c_at91_poll_err_frame.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CERR irq\n"
.LC1:
	.string	"SERR irq\n"
.LC2:
	.string	"AERR irq\n"
.LC3:
	.string	"FERR irq\n"
.LC4:
	.string	"BERR irq\n"
	.text
	.p2align 4
	.type	at91_poll_err_frame, @function
at91_poll_err_frame:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	mov	r12, rax
	test	DWORD PTR AT91_IRQ_CERR[rip], ebp
	jne	.L24
	test	DWORD PTR AT91_IRQ_SERR[rip], ebp
	jne	.L25
.L3:
	test	DWORD PTR AT91_IRQ_AERR[rip], ebp
	jne	.L26
.L4:
	test	DWORD PTR AT91_IRQ_FERR[rip], ebp
	jne	.L27
.L5:
	test	DWORD PTR AT91_IRQ_BERR[rip], ebp
	jne	.L28
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	netdev_dbg@PLT
	add	DWORD PTR 4[rbx], 1
	add	DWORD PTR [r12], 1
	mov	eax, DWORD PTR CAN_ERR_PROT[rip]
	or	eax, DWORD PTR CAN_ERR_BUSERROR[rip]
	or	DWORD PTR 0[r13], eax
	test	DWORD PTR AT91_IRQ_SERR[rip], ebp
	je	.L3
.L25:
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	call	netdev_dbg@PLT
	add	DWORD PTR 4[rbx], 1
	add	DWORD PTR [r12], 1
	mov	eax, DWORD PTR CAN_ERR_PROT[rip]
	or	eax, DWORD PTR CAN_ERR_BUSERROR[rip]
	or	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 8[r13]
	mov	edx, DWORD PTR CAN_ERR_PROT_STUFF[rip]
	or	DWORD PTR 8[rax], edx
	test	DWORD PTR AT91_IRQ_AERR[rip], ebp
	je	.L4
.L26:
	lea	rsi, .LC2[rip]
	mov	rdi, rbx
	call	netdev_dbg@PLT
	add	DWORD PTR [rbx], 1
	mov	eax, DWORD PTR CAN_ERR_ACK[rip]
	or	DWORD PTR 0[r13], eax
	test	DWORD PTR AT91_IRQ_FERR[rip], ebp
	je	.L5
.L27:
	lea	rsi, .LC3[rip]
	mov	rdi, rbx
	call	netdev_dbg@PLT
	add	DWORD PTR 4[rbx], 1
	add	DWORD PTR [r12], 1
	mov	eax, DWORD PTR CAN_ERR_PROT[rip]
	or	eax, DWORD PTR CAN_ERR_BUSERROR[rip]
	or	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 8[r13]
	mov	edx, DWORD PTR CAN_ERR_PROT_FORM[rip]
	or	DWORD PTR 8[rax], edx
	test	DWORD PTR AT91_IRQ_BERR[rip], ebp
	je	.L1
.L28:
	mov	rdi, rbx
	lea	rsi, .LC4[rip]
	call	netdev_dbg@PLT
	add	DWORD PTR [rbx], 1
	add	DWORD PTR [r12], 1
	mov	eax, DWORD PTR CAN_ERR_PROT[rip]
	or	eax, DWORD PTR CAN_ERR_BUSERROR[rip]
	or	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 8[r13]
	mov	edx, DWORD PTR CAN_ERR_PROT_BIT[rip]
	or	DWORD PTR 8[rax], edx
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	at91_poll_err_frame, .-at91_poll_err_frame
	.comm	CAN_ERR_PROT_STUFF,4,4
	.comm	CAN_ERR_PROT_FORM,4,4
	.comm	CAN_ERR_PROT_BIT,4,4
	.comm	CAN_ERR_PROT,4,4
	.comm	CAN_ERR_BUSERROR,4,4
	.comm	CAN_ERR_ACK,4,4
	.comm	AT91_IRQ_SERR,4,4
	.comm	AT91_IRQ_FERR,4,4
	.comm	AT91_IRQ_CERR,4,4
	.comm	AT91_IRQ_BERR,4,4
	.comm	AT91_IRQ_AERR,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_at91_can.c_at91_poll_err_frame.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CERR irq\012\000"
	.align	2
.LC1:
	.ascii	"SERR irq\012\000"
	.align	2
.LC2:
	.ascii	"AERR irq\012\000"
	.align	2
.LC3:
	.ascii	"FERR irq\012\000"
	.align	2
.LC4:
	.ascii	"BERR irq\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	at91_poll_err_frame, %function
at91_poll_err_frame:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r6, r1
	mov	r5, r0
	bl	netdev_priv
	ldr	r3, .L28
	mov	r7, r0
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L24
.L2:
	ldr	r3, .L28+4
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L25
.L3:
	ldr	r3, .L28+8
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L26
.L4:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L27
.L5:
	ldr	r3, .L28+16
	ldr	r3, [r3]
	tst	r4, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r1, .L28+20
	mov	r0, r5
	bl	netdev_dbg
	ldr	r2, [r5]
	ldr	r3, [r7]
	add	r2, r2, #1
	add	r3, r3, #1
	ldr	r0, .L28+24
	ldr	r1, .L28+28
	str	r2, [r5]
	str	r3, [r7]
	ldr	r1, [r1]
	ldr	r2, [r0]
	ldr	r3, [r6]
	orr	r2, r2, r1
	orr	r3, r3, r2
	ldr	r1, .L28+32
	ldr	r2, [r6, #4]
	str	r3, [r6]
	ldr	r3, [r2, #8]
	ldr	r1, [r1]
	orr	r3, r3, r1
	str	r3, [r2, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L27:
	ldr	r1, .L28+36
	mov	r0, r5
	bl	netdev_dbg
	ldr	r2, [r5, #4]
	ldr	r3, [r7]
	add	r2, r2, #1
	add	r3, r3, #1
	ldr	r0, .L28+24
	ldr	r1, .L28+28
	str	r2, [r5, #4]
	str	r3, [r7]
	ldr	r1, [r1]
	ldr	r2, [r0]
	ldr	r3, [r6]
	orr	r2, r2, r1
	orr	r3, r3, r2
	ldr	r1, .L28+40
	ldr	r2, [r6, #4]
	str	r3, [r6]
	ldr	r3, [r2, #8]
	ldr	r1, [r1]
	orr	r3, r3, r1
	str	r3, [r2, #8]
	b	.L5
.L26:
	ldr	r1, .L28+44
	mov	r0, r5
	bl	netdev_dbg
	ldr	r2, .L28+48
	ldr	r3, [r6]
	ldr	r1, [r2]
	ldr	r2, [r5]
	orr	r3, r3, r1
	add	r2, r2, #1
	str	r2, [r5]
	str	r3, [r6]
	b	.L4
.L25:
	ldr	r1, .L28+52
	mov	r0, r5
	bl	netdev_dbg
	ldr	r2, [r5, #4]
	ldr	r3, [r7]
	add	r2, r2, #1
	add	r3, r3, #1
	ldr	r0, .L28+24
	ldr	r1, .L28+28
	str	r2, [r5, #4]
	str	r3, [r7]
	ldr	r1, [r1]
	ldr	r2, [r0]
	ldr	r3, [r6]
	orr	r2, r2, r1
	orr	r3, r3, r2
	ldr	r1, .L28+56
	ldr	r2, [r6, #4]
	str	r3, [r6]
	ldr	r3, [r2, #8]
	ldr	r1, [r1]
	orr	r3, r3, r1
	str	r3, [r2, #8]
	b	.L3
.L24:
	ldr	r1, .L28+60
	mov	r0, r5
	bl	netdev_dbg
	ldr	r2, [r5, #4]
	ldr	r3, [r7]
	add	r2, r2, #1
	add	r3, r3, #1
	ldr	r0, .L28+24
	ldr	r1, .L28+28
	str	r2, [r5, #4]
	str	r3, [r7]
	ldr	r2, [r0]
	ldr	r1, [r1]
	ldr	r3, [r6]
	orr	r2, r2, r1
	orr	r3, r3, r2
	str	r3, [r6]
	b	.L2
.L29:
	.align	2
.L28:
	.word	AT91_IRQ_CERR
	.word	AT91_IRQ_SERR
	.word	AT91_IRQ_AERR
	.word	AT91_IRQ_FERR
	.word	AT91_IRQ_BERR
	.word	.LC4
	.word	CAN_ERR_PROT
	.word	CAN_ERR_BUSERROR
	.word	CAN_ERR_PROT_BIT
	.word	.LC3
	.word	CAN_ERR_PROT_FORM
	.word	.LC2
	.word	CAN_ERR_ACK
	.word	.LC1
	.word	CAN_ERR_PROT_STUFF
	.word	.LC0
	.size	at91_poll_err_frame, .-at91_poll_err_frame
	.comm	CAN_ERR_PROT_STUFF,4,4
	.comm	CAN_ERR_PROT_FORM,4,4
	.comm	CAN_ERR_PROT_BIT,4,4
	.comm	CAN_ERR_PROT,4,4
	.comm	CAN_ERR_BUSERROR,4,4
	.comm	CAN_ERR_ACK,4,4
	.comm	AT91_IRQ_SERR,4,4
	.comm	AT91_IRQ_FERR,4,4
	.comm	AT91_IRQ_CERR,4,4
	.comm	AT91_IRQ_BERR,4,4
	.comm	AT91_IRQ_AERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
