	.file	"extr_cxgb_vsc8211.c_vsc8211_intr_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vsc8211_intr_handler, @function
vsc8211_intr_handler:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR VSC8211_INTR_STATUS[rip]
	xor	esi, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rcx, 4[rsp]
	call	mdio_read@PLT
	test	eax, eax
	jne	.L1
	mov	edx, DWORD PTR 4[rsp]
	mov	ecx, DWORD PTR VSC_INTR_RX_FIFO[rip]
	and	edx, DWORD PTR INTR_MASK[rip]
	test	DWORD PTR CFG_CHG_INTR_MASK[rip], edx
	cmovne	eax, DWORD PTR cphy_cause_link_change[rip]
	or	ecx, DWORD PTR VSC_INTR_TX_FIFO[rip]
	test	ecx, edx
	jne	.L12
.L1:
	mov	rsi, QWORD PTR 8[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L13
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	or	eax, DWORD PTR cphy_cause_fifo_error[rip]
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vsc8211_intr_handler, .-vsc8211_intr_handler
	.comm	cphy_cause_link_change,4,4
	.comm	cphy_cause_fifo_error,4,4
	.comm	VSC_INTR_TX_FIFO,4,4
	.comm	VSC_INTR_RX_FIFO,4,4
	.comm	VSC8211_INTR_STATUS,4,4
	.comm	INTR_MASK,4,4
	.comm	CFG_CHG_INTR_MASK,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_cxgb_vsc8211.c_vsc8211_intr_handler.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vsc8211_intr_handler, %function
vsc8211_intr_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r2, .L14
	sub	sp, sp, #12
	ldr	ip, .L14+4
	mov	r3, sp
	mov	r1, #0
	ldr	r2, [r2]
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	bl	mdio_read
	cmp	r0, #0
	bne	.L1
	ldr	r3, .L14+8
	ldr	r2, .L14+12
	ldr	r1, [r3]
	ldr	r3, [sp]
	ldr	r2, [r2]
	and	r3, r3, r1
	tst	r3, r2
	ldrne	r2, .L14+16
	ldr	r1, .L14+20
	ldrne	r0, [r2]
	ldr	r2, .L14+24
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r2, r2, r1
	tst	r2, r3
	ldrne	r3, .L14+28
	ldrne	r3, [r3]
	orrne	r0, r0, r3
.L1:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	VSC8211_INTR_STATUS
	.word	.LC0
	.word	INTR_MASK
	.word	CFG_CHG_INTR_MASK
	.word	cphy_cause_link_change
	.word	VSC_INTR_TX_FIFO
	.word	VSC_INTR_RX_FIFO
	.word	cphy_cause_fifo_error
	.size	vsc8211_intr_handler, .-vsc8211_intr_handler
	.comm	cphy_cause_link_change,4,4
	.comm	cphy_cause_fifo_error,4,4
	.comm	VSC_INTR_TX_FIFO,4,4
	.comm	VSC_INTR_RX_FIFO,4,4
	.comm	VSC8211_INTR_STATUS,4,4
	.comm	INTR_MASK,4,4
	.comm	CFG_CHG_INTR_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
