	.file	"extr_bgmac.c_bgmac_interrupt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown IRQs: 0x%08X\n"
	.text
	.p2align 4
	.type	bgmac_interrupt, @function
bgmac_interrupt:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rdi, rsi
	call	netdev_priv@PLT
	mov	esi, DWORD PTR BGMAC_INT_STATUS[rip]
	mov	rbx, rax
	mov	rdi, rax
	call	bgmac_read@PLT
	and	eax, DWORD PTR [rbx]
	je	.L10
	mov	edx, DWORD PTR BGMAC_IS_TX0[rip]
	or	edx, DWORD PTR BGMAC_IS_RX[rip]
	not	edx
	and	edx, eax
	jne	.L11
.L4:
	mov	rdi, rbx
	call	bgmac_chip_intrs_off@PLT
	lea	rdi, 4[rbx]
	call	napi_schedule@PLT
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR IRQ_NONE[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bgmac_interrupt, .-bgmac_interrupt
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	BGMAC_IS_TX0,4,4
	.comm	BGMAC_IS_RX,4,4
	.comm	BGMAC_INT_STATUS,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_bgmac.c_bgmac_interrupt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown IRQs: 0x%08X\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bgmac_interrupt, %function
bgmac_interrupt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r0, r1
	bl	netdev_priv
	ldr	r3, .L12
	mov	r4, r0
	ldr	r1, [r3]
	bl	bgmac_read
	ldr	r2, [r4]
	ands	r0, r0, r2
	beq	.L10
	ldr	r2, .L12+4
	ldr	r3, .L12+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r2, r2, r3
	bics	r2, r0, r2
	bne	.L11
.L4:
	mov	r0, r4
	bl	bgmac_chip_intrs_off
	add	r0, r4, #4
	bl	napi_schedule
	ldr	r3, .L12+12
	ldr	r0, [r3]
	pop	{r4, pc}
.L11:
	ldr	r1, .L12+16
	ldr	r0, [r4, #8]
	bl	dev_err
	b	.L4
.L10:
	ldr	r3, .L12+20
	ldr	r0, [r3]
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	BGMAC_INT_STATUS
	.word	BGMAC_IS_TX0
	.word	BGMAC_IS_RX
	.word	IRQ_HANDLED
	.word	.LC0
	.word	IRQ_NONE
	.size	bgmac_interrupt, .-bgmac_interrupt
	.comm	IRQ_NONE,4,4
	.comm	IRQ_HANDLED,4,4
	.comm	BGMAC_IS_TX0,4,4
	.comm	BGMAC_IS_RX,4,4
	.comm	BGMAC_INT_STATUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
