	.file	"extr_vitesse.c_vsc82xx_config_intr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vsc82xx_config_intr, @function
vsc82xx_config_intr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rax, QWORD PTR PHY_INTERRUPT_ENABLED[rip]
	mov	rbp, rdi
	cmp	QWORD PTR [rdi], rax
	jne	.L2
	mov	rax, QWORD PTR 8[rdi]
	mov	edx, DWORD PTR MII_VSC8221_IMASK_MASK[rip]
	mov	rcx, QWORD PTR PHY_ID_VSC8244[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L9
	mov	esi, DWORD PTR MII_VSC8244_IMASK[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	phy_write@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR MII_VSC8244_ISTAT[rip]
	call	phy_read@PLT
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR MII_VSC8244_IMASK[rip]
	mov	rdi, rbp
	xor	edx, edx
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	phy_write@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, DWORD PTR MII_VSC8244_IMASK_MASK[rip]
	mov	esi, DWORD PTR MII_VSC8244_IMASK[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	phy_write@PLT
	.cfi_endproc
.LFE0:
	.size	vsc82xx_config_intr, .-vsc82xx_config_intr
	.comm	PHY_INTERRUPT_ENABLED,8,8
	.comm	PHY_ID_VSC8244,8,8
	.comm	MII_VSC8244_ISTAT,4,4
	.comm	MII_VSC8244_IMASK_MASK,4,4
	.comm	MII_VSC8244_IMASK,4,4
	.comm	MII_VSC8221_IMASK_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_vitesse.c_vsc82xx_config_intr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vsc82xx_config_intr, %function
vsc82xx_config_intr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, lr}
	cmp	r2, r3
	mov	r4, r0
	bne	.L2
	pop	{r4, lr}
	ldr	r2, [r0, #4]
	ldr	r3, .L8+4
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L8+8
	cmp	r1, r2
	ldr	r1, [r3]
	ldreq	r3, .L8+12
	ldrne	r3, .L8+16
	ldr	r2, [r3]
	b	phy_write
.L2:
	ldr	r3, .L8+20
	ldr	r1, [r3]
	bl	phy_read
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r3, .L8+8
	mov	r0, r4
	pop	{r4, lr}
	mov	r2, #0
	ldr	r1, [r3]
	b	phy_write
.L9:
	.align	2
.L8:
	.word	PHY_INTERRUPT_ENABLED
	.word	PHY_ID_VSC8244
	.word	MII_VSC8244_IMASK
	.word	MII_VSC8244_IMASK_MASK
	.word	MII_VSC8221_IMASK_MASK
	.word	MII_VSC8244_ISTAT
	.size	vsc82xx_config_intr, .-vsc82xx_config_intr
	.comm	PHY_INTERRUPT_ENABLED,4,4
	.comm	PHY_ID_VSC8244,4,4
	.comm	MII_VSC8244_ISTAT,4,4
	.comm	MII_VSC8244_IMASK_MASK,4,4
	.comm	MII_VSC8244_IMASK,4,4
	.comm	MII_VSC8221_IMASK_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
