	.file	"extr_marvell.c_m88e1318_config_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	m88e1318_config_init, @function
m88e1318_config_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	phy_interrupt_is_valid@PLT
	test	rax, rax
	je	.L3
	mov	ecx, DWORD PTR MII_88E1318S_PHY_LED_TCR_FORCE_INT[rip]
	mov	edx, DWORD PTR MII_88E1318S_PHY_LED_TCR[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR MII_MARVELL_LED_PAGE[rip]
	mov	r8d, DWORD PTR MII_88E1318S_PHY_LED_TCR_INTn_ENABLE[rip]
	or	r8d, DWORD PTR MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW[rip]
	call	phy_modify_paged@PLT
	test	eax, eax
	js	.L6
.L3:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	marvell_config_init@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	m88e1318_config_init, .-m88e1318_config_init
	.comm	MII_MARVELL_LED_PAGE,4,4
	.comm	MII_88E1318S_PHY_LED_TCR_INTn_ENABLE,4,4
	.comm	MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW,4,4
	.comm	MII_88E1318S_PHY_LED_TCR_FORCE_INT,4,4
	.comm	MII_88E1318S_PHY_LED_TCR,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_marvell.c_m88e1318_config_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	m88e1318_config_init, %function
m88e1318_config_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	sub	sp, sp, #8
	mov	r4, r0
	bl	phy_interrupt_is_valid
	cmp	r0, #0
	beq	.L3
	ldr	r2, .L7
	ldr	r3, .L7+4
	ldr	ip, [r2]
	ldr	r3, [r3]
	ldr	r0, .L7+8
	orr	r3, r3, ip
	ldr	r2, .L7+12
	ldr	r1, .L7+16
	str	r3, [sp]
	ldr	r3, [r0]
	ldr	r2, [r2]
	mov	r0, r4
	ldr	r1, [r1]
	bl	phy_modify_paged
	cmp	r0, #0
	blt	.L6
.L3:
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, lr}
	b	marvell_config_init
.L6:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW
	.word	MII_88E1318S_PHY_LED_TCR_INTn_ENABLE
	.word	MII_88E1318S_PHY_LED_TCR_FORCE_INT
	.word	MII_88E1318S_PHY_LED_TCR
	.word	MII_MARVELL_LED_PAGE
	.size	m88e1318_config_init, .-m88e1318_config_init
	.comm	MII_MARVELL_LED_PAGE,4,4
	.comm	MII_88E1318S_PHY_LED_TCR_INTn_ENABLE,4,4
	.comm	MII_88E1318S_PHY_LED_TCR_INT_ACTIVE_LOW,4,4
	.comm	MII_88E1318S_PHY_LED_TCR_FORCE_INT,4,4
	.comm	MII_88E1318S_PHY_LED_TCR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
