	.file	"extr_tg3.c_tg3_link_report.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"full"
.LC1:
	.string	"half"
.LC2:
	.string	"on"
.LC3:
	.string	"off"
.LC4:
	.string	"enabled"
.LC5:
	.string	"disabled"
.LC6:
	.string	"Link is down\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC7:
	.string	"Link is up at %d Mbps, %s duplex\n"
	.align 8
.LC8:
	.string	"Flow control is %s for TX and %s for RX\n"
	.section	.rodata.str1.1
.LC9:
	.string	"EEE is %s\n"
	.text
	.p2align 4
	.type	tg3_link_report, @function
tg3_link_report:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	edi, DWORD PTR 4[rdi]
	call	netif_carrier_ok@PLT
	test	rax, rax
	jne	.L2
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR link[rip]
	mov	rdi, rbx
	lea	rcx, .LC6[rip]
	call	netif_info@PLT
	mov	rdi, rbx
	call	tg3_ump_link_report@PLT
.L3:
	mov	edi, DWORD PTR 4[rbx]
	call	netif_carrier_ok@PLT
	mov	QWORD PTR 8[rbx], rax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbx
	call	netif_msg_link@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR DUPLEX_FULL[rip]
	lea	rcx, .LC0[rip]
	cmp	QWORD PTR 32[rbx], rax
	lea	rax, .LC1[rip]
	cmovne	rcx, rax
	mov	rax, QWORD PTR 24[rbx]
	cmp	rax, QWORD PTR SPEED_1000[rip]
	mov	edx, 1000
	je	.L5
	cmp	rax, QWORD PTR SPEED_100[rip]
	mov	edx, 100
	mov	eax, 10
	cmovne	edx, eax
.L5:
	mov	edi, DWORD PTR 4[rbx]
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	netdev_info@PLT
	lea	rax, .LC3[rip]
	mov	ecx, DWORD PTR 40[rbx]
	mov	edi, DWORD PTR 4[rbx]
	test	DWORD PTR FLOW_CTRL_RX[rip], ecx
	lea	rdx, .LC2[rip]
	mov	r8, rax
	cmovne	r8, rdx
	test	DWORD PTR FLOW_CTRL_TX[rip], ecx
	lea	rsi, .LC8[rip]
	cmove	rdx, rax
	xor	eax, eax
	mov	rcx, r8
	call	netdev_info@PLT
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR TG3_PHYFLG_EEE_CAP[rip], eax
	je	.L8
	cmp	QWORD PTR 16[rbx], 0
	lea	rax, .LC5[rip]
	mov	edi, DWORD PTR 4[rbx]
	lea	rdx, .LC4[rip]
	cmove	rdx, rax
	lea	rsi, .LC9[rip]
	xor	eax, eax
	call	netdev_info@PLT
.L8:
	mov	rdi, rbx
	call	tg3_ump_link_report@PLT
	mov	edi, DWORD PTR 4[rbx]
	call	netif_carrier_ok@PLT
	mov	QWORD PTR 8[rbx], rax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tg3_link_report, .-tg3_link_report
	.comm	link,4,4
	.comm	TG3_PHYFLG_EEE_CAP,4,4
	.comm	SPEED_1000,8,8
	.comm	SPEED_100,8,8
	.comm	FLOW_CTRL_TX,4,4
	.comm	FLOW_CTRL_RX,4,4
	.comm	DUPLEX_FULL,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_link_report.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"full\000"
	.align	2
.LC1:
	.ascii	"half\000"
	.align	2
.LC2:
	.ascii	"on\000"
	.align	2
.LC3:
	.ascii	"off\000"
	.align	2
.LC4:
	.ascii	"enabled\000"
	.align	2
.LC5:
	.ascii	"disabled\000"
	.align	2
.LC6:
	.ascii	"Link is down\012\000"
	.align	2
.LC7:
	.ascii	"Link is up at %d Mbps, %s duplex\012\000"
	.align	2
.LC8:
	.ascii	"Flow control is %s for TX and %s for RX\012\000"
	.align	2
.LC9:
	.ascii	"EEE is %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tg3_link_report, %function
tg3_link_report:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	bl	netif_carrier_ok
	cmp	r0, #0
	bne	.L2
	ldr	r2, .L24
	mov	r0, r4
	ldr	r1, [r2]
	ldr	r3, .L24+4
	ldr	r2, [r4, #4]
	bl	netif_info
	mov	r0, r4
	bl	tg3_ump_link_report
.L3:
	ldr	r0, [r4, #4]
	bl	netif_carrier_ok
	str	r0, [r4, #8]
	pop	{r4, pc}
.L2:
	mov	r0, r4
	bl	netif_msg_link
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L24+8
	ldr	r2, [r4, #16]
	ldr	r3, [r3]
	ldr	r0, [r4, #4]
	cmp	r2, r3
	moveq	r2, #1000
	beq	.L4
	ldr	r3, .L24+12
	ldr	r3, [r3]
	cmp	r2, r3
	moveq	r2, #100
	movne	r2, #10
.L4:
	ldr	r3, .L24+16
	ldr	lr, [r4, #20]
	ldr	r3, [r3]
	ldr	ip, .L24+20
	ldr	r1, .L24+24
	cmp	lr, r3
	moveq	r3, ip
	movne	r3, r1
	ldr	r1, .L24+28
	bl	netdev_info
	ldr	r3, .L24+32
	ldr	r1, .L24+36
	ldr	r2, [r3]
	ldr	ip, [r4, #24]
	ldr	r3, .L24+40
	ldr	r0, .L24+44
	ldr	lr, [r1]
	tst	ip, r2
	movne	r2, r0
	moveq	r2, r3
	tst	ip, lr
	movne	r3, r0
	ldr	r1, .L24+48
	ldr	r0, [r4, #4]
	bl	netdev_info
	ldr	r3, .L24+52
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L8
	ldr	r0, [r4, #12]
	ldr	r3, .L24+56
	cmp	r0, #0
	ldr	r2, .L24+60
	ldr	r1, .L24+64
	moveq	r2, r3
	ldr	r0, [r4, #4]
	bl	netdev_info
.L8:
	mov	r0, r4
	bl	tg3_ump_link_report
	b	.L3
.L25:
	.align	2
.L24:
	.word	link
	.word	.LC6
	.word	SPEED_1000
	.word	SPEED_100
	.word	DUPLEX_FULL
	.word	.LC0
	.word	.LC1
	.word	.LC7
	.word	FLOW_CTRL_TX
	.word	FLOW_CTRL_RX
	.word	.LC3
	.word	.LC2
	.word	.LC8
	.word	TG3_PHYFLG_EEE_CAP
	.word	.LC5
	.word	.LC4
	.word	.LC9
	.size	tg3_link_report, .-tg3_link_report
	.comm	link,4,4
	.comm	TG3_PHYFLG_EEE_CAP,4,4
	.comm	SPEED_1000,4,4
	.comm	SPEED_100,4,4
	.comm	FLOW_CTRL_TX,4,4
	.comm	FLOW_CTRL_RX,4,4
	.comm	DUPLEX_FULL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
