	.file	"extr_realtek.c_rtl8211_config_aneg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtl8211_config_aneg, @function
rtl8211_config_aneg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	genphy_config_aneg@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR SPEED_100[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L3
	mov	rax, QWORD PTR AUTONEG_DISABLE[rip]
	cmp	QWORD PTR 8[rbp], rax
	je	.L6
.L3:
	mov	edx, 8456
	mov	esi, 23
	mov	rdi, rbp
	call	phy_write@PLT
	xor	edx, edx
	mov	esi, 14
	mov	rdi, rbp
	call	phy_write@PLT
	xor	eax, eax
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	mov	edx, 8504
	mov	esi, 23
	call	phy_write@PLT
	mov	rdi, rbp
	mov	edx, 608
	mov	esi, 14
	call	phy_write@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rtl8211_config_aneg, .-rtl8211_config_aneg
	.comm	SPEED_100,8,8
	.comm	AUTONEG_DISABLE,8,8
	.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_realtek.c_rtl8211_config_aneg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl8211_config_aneg, %function
rtl8211_config_aneg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	genphy_config_aneg
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r3, .L7
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
	ldr	r3, .L7+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L6
.L3:
	mov	r1, #23
	mov	r0, r4
	ldr	r2, .L7+8
	bl	phy_write
	mov	r0, r4
	mov	r2, #0
	mov	r1, #14
	bl	phy_write
	mov	r0, #0
	pop	{r4, pc}
.L6:
	mov	r1, #23
	mov	r0, r4
	ldr	r2, .L7+12
	bl	phy_write
	mov	r0, r4
	mov	r2, #608
	mov	r1, #14
	bl	phy_write
	mov	r0, #0
	pop	{r4, pc}
.L8:
	.align	2
.L7:
	.word	SPEED_100
	.word	AUTONEG_DISABLE
	.word	8456
	.word	8504
	.size	rtl8211_config_aneg, .-rtl8211_config_aneg
	.comm	SPEED_100,4,4
	.comm	AUTONEG_DISABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
