	.file	"extr_tg3.c_tg3_mdio_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tg3_mdio_start, @function
tg3_mdio_start:
.LFB0:
	.cfi_startproc
	endbr64
	mov	esi, DWORD PTR MAC_MI_MODE_AUTO_POLL[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	not	esi
	and	esi, DWORD PTR [rdi]
	mov	DWORD PTR [rdi], esi
	mov	edi, DWORD PTR MAC_MI_MODE[rip]
	call	tw32_f@PLT
	mov	edi, 80
	call	udelay@PLT
	mov	esi, DWORD PTR MDIOBUS_INITED[rip]
	mov	rdi, rbp
	call	tg3_flag@PLT
	test	rax, rax
	jne	.L7
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	call	tg3_asic_rev@PLT
	cmp	rax, QWORD PTR ASIC_REV_5785[rip]
	jne	.L1
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	tg3_mdio_config_5785@PLT
	.cfi_endproc
.LFE0:
	.size	tg3_mdio_start, .-tg3_mdio_start
	.comm	MDIOBUS_INITED,4,4
	.comm	MAC_MI_MODE_AUTO_POLL,4,4
	.comm	MAC_MI_MODE,4,4
	.comm	ASIC_REV_5785,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_tg3.c_tg3_mdio_start.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tg3_mdio_start, %function
tg3_mdio_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r3, .L7
	ldr	r1, [r0]
	ldr	r2, [r3]
	ldr	r3, .L7+4
	bic	r1, r1, r2
	str	r1, [r0]
	ldr	r0, [r3]
	bl	tw32_f
	mov	r0, #80
	bl	udelay
	ldr	r3, .L7+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	tg3_flag
	cmp	r0, #0
	popeq	{r4, pc}
	mov	r0, r4
	bl	tg3_asic_rev
	ldr	r3, .L7+12
	ldr	r3, [r3]
	cmp	r0, r3
	popne	{r4, pc}
	mov	r0, r4
	pop	{r4, lr}
	b	tg3_mdio_config_5785
.L8:
	.align	2
.L7:
	.word	MAC_MI_MODE_AUTO_POLL
	.word	MAC_MI_MODE
	.word	MDIOBUS_INITED
	.word	ASIC_REV_5785
	.size	tg3_mdio_start, .-tg3_mdio_start
	.comm	MDIOBUS_INITED,4,4
	.comm	MAC_MI_MODE_AUTO_POLL,4,4
	.comm	MAC_MI_MODE,4,4
	.comm	ASIC_REV_5785,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
