	.file	"extr_rcar_can.c_rcar_can_interrupt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rcar_can_interrupt, @function
rcar_can_interrupt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdi, rsi
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	netdev_priv@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR 8[rax]
	lea	rdi, 4[rax]
	call	readb@PLT
	test	DWORD PTR 0[rbp], eax
	je	.L20
	mov	ebx, eax
	test	DWORD PTR RCAR_CAN_ISR_ERSF[rip], eax
	jne	.L21
	test	DWORD PTR RCAR_CAN_ISR_TXFF[rip], ebx
	jne	.L22
.L5:
	test	DWORD PTR RCAR_CAN_ISR_RXFF[rip], ebx
	jne	.L23
.L7:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	lea	r12, 4[rbp]
	mov	rdi, r12
	call	napi_schedule_prep@PLT
	test	rax, rax
	je	.L7
	mov	edi, DWORD PTR RCAR_CAN_IER_RXFIE[rip]
	mov	rsi, QWORD PTR 8[rbp]
	not	edi
	and	edi, DWORD PTR 0[rbp]
	mov	DWORD PTR 0[rbp], edi
	call	writeb@PLT
	mov	rdi, r12
	call	__napi_schedule@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, r12
	call	rcar_can_tx_done@PLT
	test	DWORD PTR RCAR_CAN_ISR_RXFF[rip], ebx
	je	.L7
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, r12
	call	rcar_can_error@PLT
	test	DWORD PTR RCAR_CAN_ISR_TXFF[rip], ebx
	je	.L5
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L20:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR IRQ_NONE[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rcar_can_interrupt, .-rcar_can_interrupt
	.comm	RCAR_CAN_ISR_TXFF,4,4
	.comm	RCAR_CAN_ISR_RXFF,4,4
	.comm	RCAR_CAN_ISR_ERSF,4,4
	.comm	RCAR_CAN_IER_RXFIE,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_rcar_can.c_rcar_can_interrupt.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rcar_can_interrupt, %function
rcar_can_interrupt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r0, r1
	mov	r6, r1
	bl	netdev_priv
	mov	r5, r0
	ldr	r0, [r0, #8]
	add	r0, r0, #4
	bl	readb
	ldr	r3, [r5]
	tst	r0, r3
	beq	.L20
	ldr	r3, .L24
	mov	r4, r0
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L21
	ldr	r3, .L24+4
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L22
.L5:
	ldr	r3, .L24+8
	ldr	r3, [r3]
	tst	r4, r3
	bne	.L23
.L7:
	ldr	r3, .L24+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L23:
	add	r4, r5, #4
	mov	r0, r4
	bl	napi_schedule_prep
	cmp	r0, #0
	beq	.L7
	ldr	r3, .L24+16
	ldr	r0, [r5]
	ldr	r3, [r3]
	ldr	r1, [r5, #8]
	bic	r0, r0, r3
	str	r0, [r5]
	bl	writeb
	mov	r0, r4
	bl	__napi_schedule
	b	.L7
.L22:
	mov	r0, r6
	bl	rcar_can_tx_done
	ldr	r3, .L24+8
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L7
	b	.L23
.L21:
	mov	r0, r6
	bl	rcar_can_error
	ldr	r3, .L24+4
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L5
	b	.L22
.L20:
	ldr	r3, .L24+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L25:
	.align	2
.L24:
	.word	RCAR_CAN_ISR_ERSF
	.word	RCAR_CAN_ISR_TXFF
	.word	RCAR_CAN_ISR_RXFF
	.word	IRQ_HANDLED
	.word	RCAR_CAN_IER_RXFIE
	.word	IRQ_NONE
	.size	rcar_can_interrupt, .-rcar_can_interrupt
	.comm	RCAR_CAN_ISR_TXFF,4,4
	.comm	RCAR_CAN_ISR_RXFF,4,4
	.comm	RCAR_CAN_ISR_ERSF,4,4
	.comm	RCAR_CAN_IER_RXFIE,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
