	.file	"27548.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	version, @object
	.size	version, 99
version:
	.string	"mii-diag.c:v2.11 3/21/2005 Donald Becker (becker@scyld.com)\n http://www.scyld.com/diag/index.html\n"
	.section	.rodata
	.align 32
	.type	usage_msg, @object
	.size	usage_msg, 76
usage_msg:
	.string	"Usage: %s [--help] [-aDfrRvVw] [-AF <speed+duplex>] [--watch] <interface>.\n"
	.align 32
	.type	long_usage_msg, @object
	.size	long_usage_msg, 1796
long_usage_msg:
	.ascii	"Usage: %s [-aDfrRvVw] [-AF <speed+duplex>] [--watch] <interf"
	.ascii	"ace>.\n\n  This program configures and monitors the transcei"
	.ascii	"ver management registers\n  for network interfaces.  It uses"
	.ascii	" the Media Independent Interface (MII)\n  standard with addi"
	.ascii	"tional Linux-specific controls to communicate with the\n  un"
	.ascii	"derlying device driver.  The MII registers control and repor"
	.ascii	"t network\n  link settings and errors.  Examples are link sp"
	.ascii	"eed, duplex, capabilities\n  advertised to the link partner,"
	.ascii	" status LED indications and link error\n  counters.\n\n   Th"
	.ascii	"e common usage is\n      mii-diag eth0\n\n   The default int"
	.ascii	"erface is \"eth0\".\n Frequently used options are\n   -A  --"
	.ascii	"advertise <speed|setting>\n   -F  --fixed-speed <speed>\n\tS"
	.ascii	"peed is one of: 100baseT4, 100baseTx, 100baseTx-FD, 100baseT"
	.ascii	"x-HD,\n\t                 10baseT, 10baseT-FD, 10baseT-HD\n "
	.ascii	"  -s  --status     Return exit status 2 if there is no link "
	.ascii	"beat.\n\n Less frequently used options are\n   -a  --all-int"
	.ascii	"erfaces  Show the status all interfaces\n              (Not "
	.ascii	"recommended with options that change settings.)\n   -D  --de"
	.ascii	"bug\n   -g  --read-parameters \tGet driver-specific paramete"
	.ascii	"rs.\n   -G  --set-parameters PARMS\tSet driver-specific para"
	.ascii	"meters.\n       Parameters are comma separated, missing elem"
	.ascii	"ents retain existing value.\n   -M  --msg-level LEVEL \tSet "
	.ascii	"the driver message bit map.\n   -p  --phy ADDR\t\tSet the PH"
	.ascii	"Y (MII address) to report.\n   -r  --restart\tRestart the li"
	.ascii	"nk autonegotiation.\n   -R  --reset\t\tReset the transceiver"
	.ascii	".\n   -v  --verbose\tReport each action taken.\n   -V  --ver"
	.ascii	"sion\tEmit version informa"
	.string	"tion.\n   -w  --watch\t\tContinuously monitor the transceiver and report changes.\n\n   This command returns success (zero) if the interface information can be\n   read.  If the --status option is passed, a zero return means that the\n   interface has link beat.\n"
	.globl	shortopts
	.align 16
	.type	shortopts, @object
	.size	shortopts, 26
shortopts:
	.string	"aA:C:DfF:gG:hmM:p:rRsvVw?"
	.globl	longopts
.LC0:
	.string	"all-interfaces"
.LC1:
	.string	"advertise"
.LC2:
	.string	"BMCR"
.LC3:
	.string	"debug"
.LC4:
	.string	"force"
.LC5:
	.string	"fixed-speed"
.LC6:
	.string	"read-parameters"
.LC7:
	.string	"set-parameters"
.LC8:
	.string	"help"
.LC9:
	.string	"monitor"
.LC10:
	.string	"msg-level"
.LC11:
	.string	"phy"
.LC12:
	.string	"restart"
.LC13:
	.string	"reset"
.LC14:
	.string	"status"
.LC15:
	.string	"verbose"
.LC16:
	.string	"version"
.LC17:
	.string	"watch"
.LC18:
	.string	"error"
	.section	.data.rel.local,"aw"
	.align 32
	.type	longopts, @object
	.size	longopts, 640
longopts:
	.quad	.LC0
	.long	0
	.zero	4
	.quad	0
	.long	97
	.zero	4
	.quad	.LC1
	.long	1
	.zero	4
	.quad	0
	.long	65
	.zero	4
	.quad	.LC2
	.long	1
	.zero	4
	.quad	0
	.long	67
	.zero	4
	.quad	.LC3
	.long	0
	.zero	4
	.quad	0
	.long	68
	.zero	4
	.quad	.LC4
	.long	0
	.zero	4
	.quad	0
	.long	102
	.zero	4
	.quad	.LC5
	.long	1
	.zero	4
	.quad	0
	.long	70
	.zero	4
	.quad	.LC6
	.long	0
	.zero	4
	.quad	0
	.long	103
	.zero	4
	.quad	.LC7
	.long	1
	.zero	4
	.quad	0
	.long	71
	.zero	4
	.quad	.LC8
	.long	0
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	.LC9
	.long	0
	.zero	4
	.quad	0
	.long	109
	.zero	4
	.quad	.LC10
	.long	1
	.zero	4
	.quad	0
	.long	77
	.zero	4
	.quad	.LC11
	.long	1
	.zero	4
	.quad	0
	.long	112
	.zero	4
	.quad	.LC12
	.long	0
	.zero	4
	.quad	0
	.long	114
	.zero	4
	.quad	.LC13
	.long	0
	.zero	4
	.quad	0
	.long	82
	.zero	4
	.quad	.LC14
	.long	0
	.zero	4
	.quad	0
	.long	115
	.zero	4
	.quad	.LC15
	.long	0
	.zero	4
	.quad	0
	.long	118
	.zero	4
	.quad	.LC16
	.long	0
	.zero	4
	.quad	0
	.long	86
	.zero	4
	.quad	.LC17
	.long	0
	.zero	4
	.quad	0
	.long	119
	.zero	4
	.quad	.LC18
	.long	0
	.zero	4
	.quad	0
	.long	63
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.globl	opt_a
	.bss
	.align 4
	.type	opt_a, @object
	.size	opt_a, 4
opt_a:
	.zero	4
	.globl	opt_f
	.align 4
	.type	opt_f, @object
	.size	opt_f, 4
opt_f:
	.zero	4
	.globl	opt_g
	.align 4
	.type	opt_g, @object
	.size	opt_g, 4
opt_g:
	.zero	4
	.globl	opt_G
	.align 4
	.type	opt_G, @object
	.size	opt_G, 4
opt_G:
	.zero	4
	.globl	verbose
	.align 4
	.type	verbose, @object
	.size	verbose, 4
verbose:
	.zero	4
	.globl	debug
	.align 4
	.type	debug, @object
	.size	debug, 4
debug:
	.zero	4
	.globl	opt_version
	.align 4
	.type	opt_version, @object
	.size	opt_version, 4
opt_version:
	.zero	4
	.globl	opt_restart
	.align 4
	.type	opt_restart, @object
	.size	opt_restart, 4
opt_restart:
	.zero	4
	.globl	opt_reset
	.align 4
	.type	opt_reset, @object
	.size	opt_reset, 4
opt_reset:
	.zero	4
	.globl	opt_status
	.align 4
	.type	opt_status, @object
	.size	opt_status, 4
opt_status:
	.zero	4
	.globl	opt_watch
	.align 4
	.type	opt_watch, @object
	.size	opt_watch, 4
opt_watch:
	.zero	4
	.data
	.align 4
	.type	msg_level, @object
	.size	msg_level, 4
msg_level:
	.long	-1
	.align 4
	.type	set_BMCR, @object
	.size	set_BMCR, 4
set_BMCR:
	.long	-1
	.local	nway_advertise
	.comm	nway_advertise,4,4
	.align 4
	.type	fixed_speed, @object
	.size	fixed_speed, 4
fixed_speed:
	.long	-1
	.align 4
	.type	override_phy, @object
	.size	override_phy, 4
override_phy:
	.long	-1
	.globl	opt_G_string
	.bss
	.align 8
	.type	opt_G_string, @object
	.size	opt_G_string, 8
opt_G_string:
	.zero	8
	.globl	new_ioctl_nums
	.align 4
	.type	new_ioctl_nums, @object
	.size	new_ioctl_nums, 4
new_ioctl_nums:
	.zero	4
	.globl	skfd
	.data
	.align 4
	.type	skfd, @object
	.size	skfd, 4
skfd:
	.long	-1
	.globl	ifr
	.bss
	.align 32
	.type	ifr, @object
	.size	ifr, 40
ifr:
	.zero	40
	.section	.rodata
.LC19:
	.string	"socket"
	.align 8
.LC20:
	.string	"DEBUG: argc=%d, optind=%d and argv[optind] is %s.\n"
.LC21:
	.string	"eth0"
	.align 8
.LC22:
	.string	"Using the default interface 'eth0'.\n"
.LC23:
	.string	"SIOCGMIIPHY on %s failed: %s\n"
.LC24:
	.string	"new"
.LC25:
	.string	"old"
	.align 8
.LC26:
	.string	"  Using the %s SIOCGMIIPHY value on PHY %d (BMCR 0x%4.4x).\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 47
	mov	rdi, rax
	call	rindex@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 47
	mov	rdi, rax
	call	rindex@PLT
	add	rax, 1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
.L3:
	mov	QWORD PTR -24[rbp], rax
	jmp	.L4
.L28:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 63
	cmp	eax, 56
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L24-.L6
	.long	.L4-.L6
	.long	.L23-.L6
	.long	.L4-.L6
	.long	.L22-.L6
	.long	.L21-.L6
	.long	.L4-.L6
	.long	.L20-.L6
	.long	.L19-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L18-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L17-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L16-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L15-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L14-.L6
	.long	.L13-.L6
	.long	.L12-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L11-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L10-.L6
	.long	.L4-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
.L15:
	mov	eax, DWORD PTR opt_a[rip]
	add	eax, 1
	mov	DWORD PTR opt_a[rip], eax
	jmp	.L4
.L23:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	parse_advertise
	mov	edx, DWORD PTR nway_advertise[rip]
	or	eax, edx
	mov	DWORD PTR nway_advertise[rip], eax
	mov	eax, DWORD PTR nway_advertise[rip]
	cmp	eax, -1
	jne	.L4
	add	DWORD PTR -40[rbp], 1
	jmp	.L4
.L22:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	DWORD PTR set_BMCR[rip], eax
	jmp	.L4
.L21:
	mov	eax, DWORD PTR debug[rip]
	add	eax, 1
	mov	DWORD PTR debug[rip], eax
	jmp	.L4
.L14:
	mov	eax, DWORD PTR opt_f[rip]
	add	eax, 1
	mov	DWORD PTR opt_f[rip], eax
	jmp	.L4
.L20:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	parse_advertise
	mov	DWORD PTR fixed_speed[rip], eax
	mov	eax, DWORD PTR fixed_speed[rip]
	cmp	eax, -1
	jne	.L4
	add	DWORD PTR -40[rbp], 1
	jmp	.L4
.L13:
	mov	eax, DWORD PTR opt_g[rip]
	add	eax, 1
	mov	DWORD PTR opt_g[rip], eax
	jmp	.L4
.L19:
	mov	eax, DWORD PTR opt_G[rip]
	add	eax, 1
	mov	DWORD PTR opt_G[rip], eax
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR opt_G_string[rip], rax
	jmp	.L4
.L11:
	mov	eax, DWORD PTR opt_watch[rip]
	add	eax, 1
	mov	DWORD PTR opt_watch[rip], eax
	mov	eax, DWORD PTR opt_status[rip]
	add	eax, 1
	mov	DWORD PTR opt_status[rip], eax
	jmp	.L4
.L18:
	mov	rax, QWORD PTR optarg[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	DWORD PTR msg_level[rip], eax
	jmp	.L4
.L12:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, long_usage_msg[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L27
.L10:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR override_phy[rip], eax
	jmp	.L4
.L9:
	mov	eax, DWORD PTR opt_restart[rip]
	add	eax, 1
	mov	DWORD PTR opt_restart[rip], eax
	jmp	.L4
.L17:
	mov	eax, DWORD PTR opt_reset[rip]
	add	eax, 1
	mov	DWORD PTR opt_reset[rip], eax
	jmp	.L4
.L8:
	mov	eax, DWORD PTR opt_status[rip]
	add	eax, 1
	mov	DWORD PTR opt_status[rip], eax
	jmp	.L4
.L7:
	mov	eax, DWORD PTR verbose[rip]
	add	eax, 1
	mov	DWORD PTR verbose[rip], eax
	jmp	.L4
.L16:
	mov	eax, DWORD PTR opt_version[rip]
	add	eax, 1
	mov	DWORD PTR opt_version[rip], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR opt_watch[rip]
	add	eax, 1
	mov	DWORD PTR opt_watch[rip], eax
	jmp	.L4
.L24:
	add	DWORD PTR -40[rbp], 1
	nop
.L4:
	mov	rsi, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, 0
	lea	rcx, longopts[rip]
	lea	rdx, shortopts[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	jne	.L28
	cmp	DWORD PTR -40[rbp], 0
	je	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, usage_msg[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L27
.L29:
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	jne	.L30
	mov	eax, DWORD PTR opt_version[rip]
	test	eax, eax
	je	.L31
.L30:
	lea	rdi, version[rip]
	mov	eax, 0
	call	printf@PLT
.L31:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR skfd[rip], eax
	mov	eax, DWORD PTR skfd[rip]
	test	eax, eax
	jns	.L32
	lea	rdi, .LC19[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L27
.L32:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L33
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	ecx, DWORD PTR optind[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -52[rbp]
	mov	r8, rsi
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L33:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L34
	lea	rax, .LC21[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	jmp	.L35
.L34:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
.L35:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L36
	lea	rax, .LC21[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
.L36:
	lea	rax, ifr[rip+16]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 16
	mov	rsi, rax
	lea	rdi, ifr[rip]
	call	strncpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], 0
	mov	eax, DWORD PTR skfd[rip]
	lea	rdx, ifr[rip]
	mov	esi, 35143
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	js	.L37
	mov	DWORD PTR new_ioctl_nums[rip], 1
	jmp	.L38
.L37:
	mov	eax, DWORD PTR skfd[rip]
	lea	rdx, ifr[rip]
	mov	esi, 35312
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	js	.L39
	mov	DWORD PTR new_ioctl_nums[rip], 0
	jmp	.L38
.L39:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR skfd[rip]
	mov	edi, eax
	call	close@PLT
	mov	eax, 1
	jmp	.L27
.L38:
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	je	.L40
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	movzx	eax, WORD PTR [rax]
	movzx	ecx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	eax, DWORD PTR new_ioctl_nums[rip]
	test	eax, eax
	je	.L41
	lea	rax, .LC24[rip]
	jmp	.L42
.L41:
	lea	rax, .LC25[rip]
.L42:
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
.L40:
	mov	eax, DWORD PTR skfd[rip]
	mov	edi, eax
	call	do_one_xcvr
	mov	eax, DWORD PTR skfd[rip]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC27:
	.string	"Using the specified MII PHY index %d.\n"
.LC28:
	.string	"SIOCGPARAMS on %s failed: %s\n"
	.align 8
.LC29:
	.string	"Driver general parameter settings:"
.LC30:
	.string	" %d"
.LC31:
	.string	"."
	.align 8
.LC32:
	.string	" parse string '%s'  value %d end '%s'.\n"
	.align 8
.LC33:
	.string	"Invalid driver parameter '%s'.\n"
	.align 8
.LC34:
	.string	"Setting new driver general parameters:"
.LC35:
	.string	"SIOCSPARAMS on %s failed: %s\n"
.LC36:
	.string	"Resetting the transceiver..."
	.align 8
.LC37:
	.string	" Setting the media capability advertisement register of PHY #%d to 0x%4.4x.\n"
.LC38:
	.string	"Restarting negotiation..."
	.align 8
.LC39:
	.string	"Setting the speed to \"fixed\", Control register %4.4x.\n"
	.align 8
.LC40:
	.string	"Setting the Basic Mode Control Register to 0x%4.4x.\n"
	.align 8
.LC41:
	.string	" MII PHY #%d transceiver registers:"
.LC42:
	.string	"\n  "
.LC43:
	.string	""
.LC44:
	.string	"%s %4.4x"
	.text
	.globl	do_one_xcvr
	.type	do_one_xcvr, @function
do_one_xcvr:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, ifr[rip+16]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, ifr[rip+16]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR override_phy[rip]
	test	eax, eax
	js	.L44
	mov	eax, DWORD PTR override_phy[rip]
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR override_phy[rip]
	mov	DWORD PTR -68[rbp], eax
.L44:
	mov	eax, DWORD PTR opt_g[rip]
	test	eax, eax
	jne	.L45
	mov	eax, DWORD PTR opt_G[rip]
	test	eax, eax
	jne	.L45
	mov	eax, DWORD PTR msg_level[rip]
	test	eax, eax
	js	.L46
.L45:
	mov	eax, DWORD PTR -84[rbp]
	lea	rdx, ifr[rip]
	mov	esi, 35315
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L46
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, ifr[rip]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L47
.L46:
	mov	eax, DWORD PTR opt_g[rip]
	test	eax, eax
	je	.L48
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -64[rbp], 0
	jmp	.L49
.L50:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -64[rbp], 1
.L49:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 2
	cmp	rax, 23
	jbe	.L50
	lea	rdi, .LC31[rip]
	call	puts@PLT
.L48:
	mov	eax, DWORD PTR opt_G[rip]
	test	eax, eax
	je	.L51
	mov	rax, QWORD PTR opt_G_string[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L52
.L59:
	lea	rcx, -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L53
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
.L53:
	mov	rax, QWORD PTR -40[rbp]
	cmp	QWORD PTR -32[rbp], rax
	jne	.L54
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	jne	.L55
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	QWORD PTR -32[rbp], rax
	jmp	.L56
.L55:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -32[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 44
	mov	rdi, rax
	call	index@PLT
	mov	QWORD PTR -32[rbp], rax
	jmp	.L56
.L54:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	jne	.L57
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	QWORD PTR -32[rbp], rax
	jmp	.L56
.L57:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L56
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR [rdx], eax
	jmp	.L58
.L56:
	add	DWORD PTR -60[rbp], 1
.L52:
	cmp	QWORD PTR -32[rbp], 0
	je	.L58
	cmp	DWORD PTR -60[rbp], 3
	jle	.L59
.L58:
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -60[rbp], 0
	jmp	.L60
.L61:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -60[rbp], 1
.L60:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	sal	rax, 2
	cmp	rax, 23
	jbe	.L61
	lea	rdi, .LC31[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -84[rbp]
	lea	rdx, ifr[rip]
	mov	esi, 35316
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L51
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, ifr[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L47
.L51:
	mov	eax, DWORD PTR msg_level[rip]
	test	eax, eax
	js	.L62
	mov	eax, DWORD PTR msg_level[rip]
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -84[rbp]
	lea	rdx, ifr[rip]
	mov	esi, 35316
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L62
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, ifr[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L47
.L62:
	mov	eax, DWORD PTR opt_reset[rip]
	test	eax, eax
	je	.L63
	lea	rdi, .LC36[rip]
	call	puts@PLT
	mov	esi, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, 32768
	mov	edx, 0
	mov	edi, eax
	call	mdio_write
.L63:
	cmp	DWORD PTR -68[rbp], 63
	ja	.L64
	mov	eax, DWORD PTR nway_advertise[rip]
	test	eax, eax
	jle	.L64
	mov	eax, DWORD PTR nway_advertise[rip]
	or	eax, 1
	mov	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR nway_advertise[rip]
	or	eax, 1
	mov	edx, eax
	mov	esi, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, edx
	mov	edx, 4
	mov	edi, eax
	call	mdio_write
	mov	esi, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, 4096
	mov	edx, 0
	mov	edi, eax
	call	mdio_write
.L64:
	mov	eax, DWORD PTR opt_restart[rip]
	test	eax, eax
	je	.L65
	lea	rdi, .LC38[rip]
	call	puts@PLT
	mov	esi, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	mdio_write
	mov	esi, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, 4608
	mov	edx, 0
	mov	edi, eax
	call	mdio_write
.L65:
	mov	eax, DWORD PTR fixed_speed[rip]
	test	eax, eax
	js	.L66
	mov	DWORD PTR -56[rbp], 0
	mov	eax, DWORD PTR fixed_speed[rip]
	and	eax, 384
	test	eax, eax
	je	.L67
	or	DWORD PTR -56[rbp], 8192
.L67:
	mov	eax, DWORD PTR fixed_speed[rip]
	and	eax, 320
	test	eax, eax
	je	.L68
	mov	eax, DWORD PTR fixed_speed[rip]
	and	eax, 2080
	test	eax, eax
	jne	.L68
	or	DWORD PTR -56[rbp], 256
.L68:
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	edi, eax
	call	mdio_write
.L66:
	mov	eax, DWORD PTR set_BMCR[rip]
	test	eax, eax
	js	.L69
	mov	eax, DWORD PTR set_BMCR[rip]
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR set_BMCR[rip]
	mov	esi, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	edi, eax
	call	mdio_write
.L69:
	mov	eax, DWORD PTR opt_watch[rip]
	test	eax, eax
	je	.L70
	mov	eax, DWORD PTR opt_status[rip]
	test	eax, eax
	je	.L70
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	esi, edx
	mov	rdi, rax
	call	monitor_status
.L70:
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	esi, edx
	mov	rdi, rax
	call	show_basic_mii
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	jne	.L71
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L72
.L71:
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L73
.L76:
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	mdio_read
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L74
	lea	rax, .LC42[rip]
	jmp	.L75
.L74:
	lea	rax, .LC43[rip]
.L75:
	mov	edx, DWORD PTR -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -52[rbp], 1
.L73:
	cmp	DWORD PTR -52[rbp], 31
	jle	.L76
	mov	edi, 10
	call	putchar@PLT
.L72:
	mov	eax, DWORD PTR opt_watch[rip]
	test	eax, eax
	je	.L77
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	esi, edx
	mov	rdi, rax
	call	monitor_mii
.L77:
	mov	eax, DWORD PTR opt_status[rip]
	test	eax, eax
	je	.L78
	mov	ecx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	edi, eax
	call	mdio_read
	and	eax, 4
	test	eax, eax
	jne	.L78
	mov	edi, 2
	call	exit@PLT
.L78:
	mov	eax, 0
.L47:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	do_one_xcvr, .-do_one_xcvr
	.section	.rodata
.LC45:
	.string	"SIOCGMIIREG on %s failed: %s\n"
	.text
	.globl	mdio_read
	.type	mdio_read, @function
mdio_read:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	lea	rax, ifr[rip+16]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	mov	edx, DWORD PTR -28[rbp]
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR new_ioctl_nums[rip]
	test	eax, eax
	je	.L81
	mov	ecx, 35144
	jmp	.L82
.L81:
	mov	ecx, 35313
.L82:
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, ifr[rip]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L83
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, ifr[rip]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L84
.L83:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mdio_read, .-mdio_read
	.section	.rodata
.LC46:
	.string	"SIOCSMIIREG on %s failed: %s\n"
	.text
	.globl	mdio_write
	.type	mdio_write, @function
mdio_write:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	lea	rax, ifr[rip+16]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	mov	edx, DWORD PTR -28[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	edx, DWORD PTR -32[rbp]
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR new_ioctl_nums[rip]
	test	eax, eax
	je	.L86
	mov	ecx, 35145
	jmp	.L87
.L86:
	mov	ecx, 35314
.L87:
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, ifr[rip]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L89
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, ifr[rip]
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L89:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	mdio_write, .-mdio_write
	.section	.rodata
.LC47:
	.string	"100baseT4"
.LC48:
	.string	"100baseTx"
.LC49:
	.string	"100baseTx-FD"
.LC50:
	.string	"100baseTx-HD"
.LC51:
	.string	"10baseT"
.LC52:
	.string	"10baseT-FD"
.LC53:
	.string	"10baseT-HD"
	.align 8
.LC54:
	.string	"You passed -A 'NULL'.  You must provide a media list to advertise!\n"
.LC55:
	.string	"Advertise string is '%s'.\n"
	.align 8
.LC56:
	.string	"Invalid media advertisement value '%s'.\n  Either pass a numeric value or one of the following names:\n"
.LC57:
	.string	"   %-14s %3.3x\n"
	.text
	.type	parse_advertise, @function
parse_advertise:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC47[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, .LC48[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC49[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC50[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC51[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC52[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC53[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -112[rbp], 512
	mov	DWORD PTR -108[rbp], 384
	mov	DWORD PTR -104[rbp], 256
	mov	DWORD PTR -100[rbp], 128
	mov	DWORD PTR -96[rbp], 96
	mov	DWORD PTR -92[rbp], 64
	mov	DWORD PTR -88[rbp], 32
	cmp	QWORD PTR -136[rbp], 0
	jne	.L91
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 67
	mov	esi, 1
	lea	rdi, .LC54[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L100
.L91:
	mov	eax, DWORD PTR debug[rip]
	test	eax, eax
	je	.L93
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -136[rbp]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L93:
	mov	DWORD PTR -124[rbp], 0
	jmp	.L94
.L96:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	mov	rdx, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L95
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	jmp	.L100
.L95:
	add	DWORD PTR -124[rbp], 1
.L94:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	test	rax, rax
	jne	.L96
	lea	rcx, -120[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 65535
	jg	.L97
	mov	rax, QWORD PTR -120[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L97
	mov	eax, DWORD PTR -124[rbp]
	jmp	.L100
.L97:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -136[rbp]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -124[rbp], 0
	jmp	.L98
.L99:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	ecx, DWORD PTR -112[rbp+rax*4]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	rdx, QWORD PTR -80[rbp+rax*8]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -124[rbp], 1
.L98:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	test	rax, rax
	jne	.L99
	mov	eax, -1
.L100:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L101
	call	__stack_chk_fail@PLT
.L101:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	parse_advertise, .-parse_advertise
	.section	.rodata
.LC58:
	.string	"Flow-control"
	.section	.data.rel.local
	.align 32
	.type	media_names, @object
	.size	media_names, 56
media_names:
	.quad	.LC51
	.quad	.LC52
	.quad	.LC48
	.quad	.LC49
	.quad	.LC47
	.quad	.LC58
	.quad	0
	.section	.rodata
	.align 8
.LC59:
	.string	"  Internal Collision-Test enabled!\n"
	.align 8
.LC60:
	.string	"  Restarted auto-negotiation in progress!\n"
	.align 8
.LC61:
	.string	"  Transceiver isolated from the MII!\n"
.LC62:
	.string	"  Transceiver powered down!\n"
	.align 8
.LC63:
	.string	"  Transceiver in loopback mode!\n"
	.align 8
.LC64:
	.string	"  Transceiver currently being reset!\n"
	.section	.data.rel.local
	.align 32
	.type	bmcr_bits, @object
	.size	bmcr_bits, 72
bmcr_bits:
	.quad	.LC59
	.quad	.LC43
	.quad	.LC60
	.quad	.LC61
	.quad	.LC62
	.quad	.LC43
	.quad	.LC43
	.quad	.LC63
	.quad	.LC64
	.section	.rodata
	.align 8
.LC65:
	.string	"Basic registers of MII PHY #%d: "
.LC66:
	.string	" %4.4x"
	.align 8
.LC67:
	.string	"  No MII transceiver present!."
	.align 8
.LC68:
	.string	"  Use '--force' to view the information anyway."
	.align 8
.LC69:
	.string	" The autonegotiated capability is %4.4x.\n"
	.align 8
.LC70:
	.string	"The autonegotiated media type is %s.\n"
	.align 8
.LC71:
	.string	"No common media type was autonegotiated!\nThis is extremely unusual and typically indicates a configuration error.\nPerhaps the advertised capability set was intentionally limited."
	.align 8
.LC72:
	.string	" Basic mode control register 0x%4.4x:"
.LC73:
	.string	" Auto-negotiation enabled."
.LC74:
	.string	"full"
.LC75:
	.string	"half"
.LC76:
	.string	"0"
	.align 8
.LC77:
	.string	" Auto-negotiation disabled, with\n Speed fixed at 10%s mbps, %s-duplex.\n"
	.align 8
.LC78:
	.string	" You have link beat, and everything is working OK."
.LC79:
	.string	"previously broken, but now re"
.LC80:
	.string	"not "
	.align 8
.LC81:
	.string	" Basic mode status register 0x%4.4x ... %4.4x.\n   Link status: %sestablished.\n"
	.align 8
.LC82:
	.string	"   This transceiver is capable of "
.LC83:
	.string	" %s"
	.align 8
.LC84:
	.string	"<Warning! No media capabilities>"
.LC85:
	.string	"Able"
.LC86:
	.string	"Unable"
	.align 8
.LC87:
	.string	"   %s to perform Auto-negotiation, negotiation %scomplete.\n"
.LC88:
	.string	" Remote fault detected!"
.LC89:
	.string	"   *** Link Jabber! ***"
	.align 8
.LC90:
	.string	" Your link partner advertised %4.4x:"
.LC91:
	.string	", w/ 802.3X flow control"
.LC92:
	.string	"%s.\n"
	.align 8
.LC93:
	.string	" Your link partner is generating %s link beat  (no autonegotiation).\n"
	.align 8
.LC94:
	.string	" Link partner information is not exchanged when in fixed speed mode."
	.align 8
.LC95:
	.string	" Your link partner does not do autonegotiation, and this transceiver type\n  does not report the sensed link speed."
	.align 8
.LC96:
	.string	" Your link partner is strange, status %4.4x.\n"
	.align 8
.LC97:
	.string	"   End of basic transceiver information.\n"
	.text
	.globl	show_basic_mii
	.type	show_basic_mii, @function
show_basic_mii:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	DWORD PTR -156[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -128[rbp], 0
	jmp	.L103
.L104:
	mov	rax, QWORD PTR -152[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, DWORD PTR -156[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	mdio_read
	mov	edx, eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	mov	WORD PTR -80[rbp+rax*2], dx
	add	DWORD PTR -128[rbp], 1
.L103:
	cmp	DWORD PTR -128[rbp], 7
	jle	.L104
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	jne	.L105
	mov	eax, DWORD PTR -156[rbp]
	mov	esi, eax
	lea	rdi, .LC65[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -128[rbp], 0
	jmp	.L106
.L107:
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	movzx	eax, WORD PTR -80[rbp+rax*2]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -128[rbp], 1
.L106:
	cmp	DWORD PTR -128[rbp], 7
	jle	.L107
	lea	rdi, .LC31[rip]
	call	puts@PLT
.L105:
	movzx	eax, WORD PTR -80[rbp]
	cmp	ax, -1
	je	.L108
	movzx	eax, WORD PTR -78[rbp]
	test	ax, ax
	jne	.L109
.L108:
	lea	rdi, .LC67[rip]
	call	puts@PLT
	mov	eax, DWORD PTR opt_f[rip]
	test	eax, eax
	jne	.L109
	lea	rdi, .LC68[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L158
.L109:
	movzx	eax, WORD PTR -80[rbp]
	mov	WORD PTR -138[rbp], ax
	movzx	eax, WORD PTR -78[rbp]
	mov	WORD PTR -136[rbp], ax
	movzx	eax, WORD PTR -72[rbp]
	mov	WORD PTR -134[rbp], ax
	movzx	eax, WORD PTR -70[rbp]
	mov	WORD PTR -132[rbp], ax
	movzx	eax, WORD PTR -132[rbp]
	and	eax, 16384
	test	eax, eax
	je	.L111
	movzx	eax, WORD PTR -134[rbp]
	and	ax, WORD PTR -132[rbp]
	movzx	eax, ax
	and	eax, 992
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -112[rbp], 8
	mov	DWORD PTR -108[rbp], 9
	mov	DWORD PTR -104[rbp], 7
	mov	DWORD PTR -100[rbp], 6
	mov	DWORD PTR -96[rbp], 5
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC69[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -124[rbp], 0
	jmp	.L112
.L115:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	mov	edx, DWORD PTR -116[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L113
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	mov	DWORD PTR -120[rbp], eax
	jmp	.L114
.L113:
	add	DWORD PTR -124[rbp], 1
.L112:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	test	eax, eax
	jne	.L115
.L114:
	cmp	DWORD PTR -120[rbp], 0
	je	.L116
	mov	eax, DWORD PTR -120[rbp]
	sub	eax, 5
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, media_names[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC70[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L111
.L116:
	lea	rdi, .LC71[rip]
	call	puts@PLT
.L111:
	movzx	eax, WORD PTR -138[rbp]
	mov	esi, eax
	lea	rdi, .LC72[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -138[rbp]
	and	eax, 4096
	test	eax, eax
	je	.L118
	lea	rdi, .LC73[rip]
	call	puts@PLT
	jmp	.L119
.L118:
	movzx	eax, WORD PTR -138[rbp]
	and	eax, 256
	test	eax, eax
	je	.L120
	lea	rdx, .LC74[rip]
	jmp	.L121
.L120:
	lea	rdx, .LC75[rip]
.L121:
	movzx	eax, WORD PTR -138[rbp]
	and	eax, 8192
	test	eax, eax
	je	.L122
	lea	rax, .LC76[rip]
	jmp	.L123
.L122:
	lea	rax, .LC43[rip]
.L123:
	mov	rsi, rax
	lea	rdi, .LC77[rip]
	mov	eax, 0
	call	printf@PLT
.L119:
	mov	DWORD PTR -124[rbp], 0
	jmp	.L124
.L126:
	movzx	edx, WORD PTR -138[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, 128
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	and	eax, edx
	test	eax, eax
	je	.L125
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, bmcr_bits[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
.L125:
	add	DWORD PTR -124[rbp], 1
.L124:
	cmp	DWORD PTR -124[rbp], 8
	jle	.L126
	mov	rax, QWORD PTR -152[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -156[rbp]
	mov	edx, 1
	mov	esi, eax
	mov	edi, ecx
	call	mdio_read
	mov	WORD PTR -130[rbp], ax
	movzx	eax, WORD PTR -136[rbp]
	and	eax, 22
	cmp	eax, 4
	jne	.L127
	lea	rdi, .LC78[rip]
	call	puts@PLT
	jmp	.L128
.L127:
	movzx	eax, WORD PTR -136[rbp]
	and	eax, 4
	test	eax, eax
	jne	.L129
	movzx	eax, WORD PTR -130[rbp]
	and	eax, 4
	test	eax, eax
	je	.L130
	lea	rax, .LC79[rip]
	jmp	.L132
.L130:
	lea	rax, .LC80[rip]
	jmp	.L132
.L129:
	lea	rax, .LC43[rip]
.L132:
	movzx	edx, WORD PTR -130[rbp]
	movzx	esi, WORD PTR -136[rbp]
	mov	rcx, rax
	lea	rdi, .LC81[rip]
	mov	eax, 0
	call	printf@PLT
.L128:
	mov	eax, DWORD PTR verbose[rip]
	test	eax, eax
	je	.L133
	lea	rdi, .LC82[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -136[rbp]
	and	eax, 63488
	test	eax, eax
	je	.L134
	mov	DWORD PTR -124[rbp], 15
	jmp	.L135
.L137:
	movzx	edx, WORD PTR -136[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L136
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 11
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, media_names[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC83[rip]
	mov	eax, 0
	call	printf@PLT
.L136:
	sub	DWORD PTR -124[rbp], 1
.L135:
	cmp	DWORD PTR -124[rbp], 10
	jg	.L137
	jmp	.L138
.L134:
	lea	rdi, .LC84[rip]
	mov	eax, 0
	call	printf@PLT
.L138:
	lea	rdi, .LC31[rip]
	call	puts@PLT
	movzx	eax, WORD PTR -136[rbp]
	and	eax, 32
	test	eax, eax
	je	.L139
	lea	rdx, .LC43[rip]
	jmp	.L140
.L139:
	lea	rdx, .LC80[rip]
.L140:
	movzx	eax, WORD PTR -136[rbp]
	and	eax, 8
	test	eax, eax
	je	.L141
	lea	rax, .LC85[rip]
	jmp	.L142
.L141:
	lea	rax, .LC86[rip]
.L142:
	mov	rsi, rax
	lea	rdi, .LC87[rip]
	mov	eax, 0
	call	printf@PLT
.L133:
	movzx	eax, WORD PTR -136[rbp]
	and	eax, 16
	test	eax, eax
	je	.L143
	lea	rdi, .LC88[rip]
	call	puts@PLT
.L143:
	movzx	eax, WORD PTR -136[rbp]
	and	eax, 2
	test	eax, eax
	je	.L144
	lea	rdi, .LC89[rip]
	call	puts@PLT
.L144:
	movzx	eax, WORD PTR -132[rbp]
	and	eax, 16384
	test	eax, eax
	je	.L145
	movzx	eax, WORD PTR -132[rbp]
	mov	esi, eax
	lea	rdi, .LC90[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -124[rbp], 5
	jmp	.L146
.L148:
	movzx	edx, WORD PTR -132[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	esi, 32
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	and	eax, edx
	test	eax, eax
	je	.L147
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, media_names[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rsi, rax
	lea	rdi, .LC83[rip]
	mov	eax, 0
	call	printf@PLT
.L147:
	sub	DWORD PTR -124[rbp], 1
.L146:
	cmp	DWORD PTR -124[rbp], 0
	jns	.L148
	movzx	eax, WORD PTR -132[rbp]
	and	eax, 1024
	test	eax, eax
	je	.L149
	lea	rax, .LC91[rip]
	jmp	.L150
.L149:
	lea	rax, .LC43[rip]
.L150:
	mov	rsi, rax
	lea	rdi, .LC92[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L151
.L145:
	movzx	eax, WORD PTR -132[rbp]
	and	eax, 160
	test	eax, eax
	je	.L152
	movzx	eax, WORD PTR -132[rbp]
	and	eax, 128
	test	eax, eax
	je	.L153
	lea	rax, .LC48[rip]
	jmp	.L154
.L153:
	lea	rax, .LC51[rip]
.L154:
	mov	rsi, rax
	lea	rdi, .LC93[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L151
.L152:
	movzx	eax, WORD PTR -138[rbp]
	and	eax, 4096
	test	eax, eax
	jne	.L155
	lea	rdi, .LC94[rip]
	call	puts@PLT
	jmp	.L151
.L155:
	movzx	eax, WORD PTR -130[rbp]
	and	eax, 4
	test	eax, eax
	je	.L151
	cmp	WORD PTR -132[rbp], 1
	je	.L156
	cmp	WORD PTR -132[rbp], 0
	jne	.L157
.L156:
	lea	rdi, .LC95[rip]
	call	puts@PLT
	jmp	.L151
.L157:
	movzx	eax, WORD PTR -132[rbp]
	mov	esi, eax
	lea	rdi, .LC96[rip]
	mov	eax, 0
	call	printf@PLT
.L151:
	lea	rdi, .LC97[rip]
	call	puts@PLT
	mov	eax, 0
.L158:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L159
	call	__stack_chk_fail@PLT
.L159:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	show_basic_mii, .-show_basic_mii
	.section	.rodata
.LC98:
	.string	"unknown"
.LC99:
	.string	"up"
.LC100:
	.string	"negotiating"
.LC101:
	.string	"down"
.LC102:
	.string	"%-12s 0x%4.4x 0x%4.4x\n"
	.text
	.type	monitor_status, @function
monitor_status:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 1431655765
.L168:
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, 1
	mov	esi, eax
	mov	edi, ecx
	call	mdio_read
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L161
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, 5
	mov	esi, eax
	mov	edi, ecx
	call	mdio_read
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 4
	test	eax, eax
	je	.L162
	cmp	DWORD PTR -4[rbp], 65535
	jne	.L163
	lea	rax, .LC98[rip]
	jmp	.L165
.L163:
	lea	rax, .LC99[rip]
	jmp	.L165
.L162:
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 32
	test	eax, eax
	je	.L166
	lea	rax, .LC100[rip]
	jmp	.L165
.L166:
	lea	rax, .LC101[rip]
.L165:
	mov	edx, DWORD PTR -4[rbp]
	mov	rsi, rax
	lea	rdi, .LC102[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L161:
	mov	edi, 1
	call	sleep@PLT
	jmp	.L168
	.cfi_endproc
.LFE12:
	.size	monitor_status, .-monitor_status
	.section	.rodata
	.align 8
.LC103:
	.string	"\nThis version of 'mii-diag' has not been linked with the libmii.c library.\n  That library provides extended transceiver status reports."
	.text
	.weak	show_mii_details
	.type	show_mii_details, @function
show_mii_details:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L170
.L173:
	mov	eax, DWORD PTR skfd[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	mdio_read
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L171
	lea	rax, .LC42[rip]
	jmp	.L172
.L171:
	lea	rax, .LC43[rip]
.L172:
	mov	edx, DWORD PTR -4[rbp]
	mov	rsi, rax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L170:
	cmp	DWORD PTR -8[rbp], 31
	jle	.L173
	lea	rdi, .LC103[rip]
	call	puts@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	show_mii_details, .-show_mii_details
	.section	.rodata
	.align 8
.LC104:
	.string	"\nThis version of 'mii-diag' has not been linked with the libmii.c library \n  required for the media monitor option.\n"
	.text
	.weak	monitor_mii
	.type	monitor_mii, @function
monitor_mii:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 116
	mov	esi, 1
	lea	rdi, .LC104[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	monitor_mii, .-monitor_mii
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"27548.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"100baseT4\000"
	.align	2
.LC1:
	.ascii	"100baseTx\000"
	.align	2
.LC2:
	.ascii	"100baseTx-FD\000"
	.align	2
.LC3:
	.ascii	"100baseTx-HD\000"
	.align	2
.LC4:
	.ascii	"10baseT\000"
	.align	2
.LC5:
	.ascii	"10baseT-FD\000"
	.align	2
.LC6:
	.ascii	"10baseT-HD\000"
	.text
	.data
	.align	2
	.type	version, %object
	.size	version, 99
version:
	.ascii	"mii-diag.c:v2.11 3/21/2005 Donald Becker (becker@sc"
	.ascii	"yld.com)\012 http://www.scyld.com/diag/index.html\012"
	.ascii	"\000"
	.section	.rodata
	.align	2
	.type	usage_msg, %object
	.size	usage_msg, 76
usage_msg:
	.ascii	"Usage: %s [--help] [-aDfrRvVw] [-AF <speed+duplex>]"
	.ascii	" [--watch] <interface>.\012\000"
	.align	2
	.type	long_usage_msg, %object
	.size	long_usage_msg, 1796
long_usage_msg:
	.ascii	"Usage: %s [-aDfrRvVw] [-AF <speed+duplex>] [--watch"
	.ascii	"] <interface>.\012\012  This program configures and"
	.ascii	" monitors the transceiver management registers\012 "
	.ascii	" for network interfaces.  It uses the Media Indepen"
	.ascii	"dent Interface (MII)\012  standard with additional "
	.ascii	"Linux-specific controls to communicate with the\012"
	.ascii	"  underlying device driver.  The MII registers cont"
	.ascii	"rol and report network\012  link settings and error"
	.ascii	"s.  Examples are link speed, duplex, capabilities\012"
	.ascii	"  advertised to the link partner, status LED indica"
	.ascii	"tions and link error\012  counters.\012\012   The c"
	.ascii	"ommon usage is\012      mii-diag eth0\012\012   The"
	.ascii	" default interface is \"eth0\".\012 Frequently used"
	.ascii	" options are\012   -A  --advertise <speed|setting>\012"
	.ascii	"   -F  --fixed-speed <speed>\012\011Speed is one of"
	.ascii	": 100baseT4, 100baseTx, 100baseTx-FD, 100baseTx-HD,"
	.ascii	"\012\011                 10baseT, 10baseT-FD, 10bas"
	.ascii	"eT-HD\012   -s  --status     Return exit status 2 i"
	.ascii	"f there is no link beat.\012\012 Less frequently us"
	.ascii	"ed options are\012   -a  --all-interfaces  Show the"
	.ascii	" status all interfaces\012              (Not recomm"
	.ascii	"ended with options that change settings.)\012   -D "
	.ascii	" --debug\012   -g  --read-parameters \011Get driver"
	.ascii	"-specific parameters.\012   -G  --set-parameters PA"
	.ascii	"RMS\011Set driver-specific parameters.\012       Pa"
	.ascii	"rameters are comma separated, missing elements reta"
	.ascii	"in existing value.\012   -M  --msg-level LEVEL \011"
	.ascii	"Set the driver message bit map.\012   -p  --phy ADD"
	.ascii	"R\011\011Set the PHY (MII address) to report.\012  "
	.ascii	" -r  --restart\011Restart the link autonegotiation."
	.ascii	"\012   -R  --reset\011\011Reset the transceiver.\012"
	.ascii	"   -v  --verbose\011Report each action taken.\012  "
	.ascii	" -V  --version\011Emit version information.\012   -"
	.ascii	"w  --watch\011\011Continuously monitor the transcei"
	.ascii	"ver and report changes.\012\012   This command retu"
	.ascii	"rns success (zero) if the interface information can"
	.ascii	" be\012   read.  If the --status option is passed, "
	.ascii	"a zero return means that the\012   interface has li"
	.ascii	"nk beat.\012\000"
	.global	shortopts
	.align	2
	.type	shortopts, %object
	.size	shortopts, 26
shortopts:
	.ascii	"aA:C:DfF:gG:hmM:p:rRsvVw?\000"
	.global	longopts
	.align	2
.LC10:
	.ascii	"all-interfaces\000"
	.align	2
.LC11:
	.ascii	"advertise\000"
	.align	2
.LC12:
	.ascii	"BMCR\000"
	.align	2
.LC13:
	.ascii	"debug\000"
	.align	2
.LC14:
	.ascii	"force\000"
	.align	2
.LC15:
	.ascii	"fixed-speed\000"
	.align	2
.LC16:
	.ascii	"read-parameters\000"
	.align	2
.LC17:
	.ascii	"set-parameters\000"
	.align	2
.LC18:
	.ascii	"help\000"
	.align	2
.LC19:
	.ascii	"monitor\000"
	.align	2
.LC20:
	.ascii	"msg-level\000"
	.align	2
.LC21:
	.ascii	"phy\000"
	.align	2
.LC22:
	.ascii	"restart\000"
	.align	2
.LC23:
	.ascii	"reset\000"
	.align	2
.LC24:
	.ascii	"status\000"
	.align	2
.LC25:
	.ascii	"verbose\000"
	.align	2
.LC26:
	.ascii	"version\000"
	.align	2
.LC27:
	.ascii	"watch\000"
	.align	2
.LC28:
	.ascii	"error\000"
	.data
	.align	2
	.type	longopts, %object
	.size	longopts, 320
longopts:
	.word	.LC10
	.word	0
	.word	0
	.word	97
	.word	.LC11
	.word	1
	.word	0
	.word	65
	.word	.LC12
	.word	1
	.word	0
	.word	67
	.word	.LC13
	.word	0
	.word	0
	.word	68
	.word	.LC14
	.word	0
	.word	0
	.word	102
	.word	.LC15
	.word	1
	.word	0
	.word	70
	.word	.LC16
	.word	0
	.word	0
	.word	103
	.word	.LC17
	.word	1
	.word	0
	.word	71
	.word	.LC18
	.word	0
	.word	0
	.word	104
	.word	.LC19
	.word	0
	.word	0
	.word	109
	.word	.LC20
	.word	1
	.word	0
	.word	77
	.word	.LC21
	.word	1
	.word	0
	.word	112
	.word	.LC22
	.word	0
	.word	0
	.word	114
	.word	.LC23
	.word	0
	.word	0
	.word	82
	.word	.LC24
	.word	0
	.word	0
	.word	115
	.word	.LC25
	.word	0
	.word	0
	.word	118
	.word	.LC26
	.word	0
	.word	0
	.word	86
	.word	.LC27
	.word	0
	.word	0
	.word	119
	.word	.LC28
	.word	0
	.word	0
	.word	63
	.word	0
	.word	0
	.word	0
	.word	0
	.global	opt_a
	.bss
	.align	2
	.type	opt_a, %object
	.size	opt_a, 4
opt_a:
	.space	4
	.global	opt_f
	.align	2
	.type	opt_f, %object
	.size	opt_f, 4
opt_f:
	.space	4
	.global	opt_g
	.align	2
	.type	opt_g, %object
	.size	opt_g, 4
opt_g:
	.space	4
	.global	opt_G
	.align	2
	.type	opt_G, %object
	.size	opt_G, 4
opt_G:
	.space	4
	.global	verbose
	.align	2
	.type	verbose, %object
	.size	verbose, 4
verbose:
	.space	4
	.global	debug
	.align	2
	.type	debug, %object
	.size	debug, 4
debug:
	.space	4
	.global	opt_version
	.align	2
	.type	opt_version, %object
	.size	opt_version, 4
opt_version:
	.space	4
	.global	opt_restart
	.align	2
	.type	opt_restart, %object
	.size	opt_restart, 4
opt_restart:
	.space	4
	.global	opt_reset
	.align	2
	.type	opt_reset, %object
	.size	opt_reset, 4
opt_reset:
	.space	4
	.global	opt_status
	.align	2
	.type	opt_status, %object
	.size	opt_status, 4
opt_status:
	.space	4
	.global	opt_watch
	.align	2
	.type	opt_watch, %object
	.size	opt_watch, 4
opt_watch:
	.space	4
	.data
	.align	2
	.type	msg_level, %object
	.size	msg_level, 4
msg_level:
	.word	-1
	.align	2
	.type	set_BMCR, %object
	.size	set_BMCR, 4
set_BMCR:
	.word	-1
	.local	nway_advertise
	.comm	nway_advertise,4,4
	.align	2
	.type	fixed_speed, %object
	.size	fixed_speed, 4
fixed_speed:
	.word	-1
	.align	2
	.type	override_phy, %object
	.size	override_phy, 4
override_phy:
	.word	-1
	.global	opt_G_string
	.bss
	.align	2
	.type	opt_G_string, %object
	.size	opt_G_string, 4
opt_G_string:
	.space	4
	.comm	new_ioctl_nums,4,4
	.global	skfd
	.data
	.align	2
	.type	skfd, %object
	.size	skfd, 4
skfd:
	.word	-1
	.comm	ifr,32,4
	.section	.rodata
	.align	2
.LC29:
	.ascii	"socket\000"
	.align	2
.LC30:
	.ascii	"DEBUG: argc=%d, optind=%d and argv[optind] is %s.\012"
	.ascii	"\000"
	.align	2
.LC31:
	.ascii	"eth0\000"
	.align	2
.LC32:
	.ascii	"Using the default interface 'eth0'.\012\000"
	.align	2
.LC33:
	.ascii	"SIOCGMIIPHY on %s failed: %s\012\000"
	.align	2
.LC34:
	.ascii	"new\000"
	.align	2
.LC35:
	.ascii	"old\000"
	.align	2
.LC36:
	.ascii	"  Using the %s SIOCGMIIPHY value on PHY %d (BMCR 0x"
	.ascii	"%4.4x).\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, #47
	mov	r0, r3
	bl	rindex
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r1, #47
	mov	r0, r3
	bl	rindex
	mov	r3, r0
	add	r3, r3, #1
	b	.L3
.L2:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
.L3:
	str	r3, [fp, #-28]
	b	.L4
.L28:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #63
	cmp	r3, #56
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L24
	.word	.L4
	.word	.L23
	.word	.L4
	.word	.L22
	.word	.L21
	.word	.L4
	.word	.L20
	.word	.L19
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L18
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L17
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L16
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L15
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L11
	.word	.L4
	.word	.L4
	.word	.L10
	.word	.L4
	.word	.L9
	.word	.L8
	.word	.L4
	.word	.L4
	.word	.L7
	.word	.L5
.L15:
	ldr	r3, .L43
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43
	str	r3, [r2]
	b	.L4
.L23:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	parse_advertise
	mov	r2, r0
	ldr	r3, .L43+8
	ldr	r3, [r3]
	orr	r3, r2, r3
	ldr	r2, .L43+8
	str	r3, [r2]
	ldr	r3, .L43+8
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L4
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L4
.L22:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L43+12
	str	r2, [r3]
	b	.L4
.L21:
	ldr	r3, .L43+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+16
	str	r3, [r2]
	b	.L4
.L14:
	ldr	r3, .L43+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+20
	str	r3, [r2]
	b	.L4
.L20:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	parse_advertise
	mov	r3, r0
	ldr	r2, .L43+24
	str	r3, [r2]
	ldr	r3, .L43+24
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L4
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L4
.L13:
	ldr	r3, .L43+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+28
	str	r3, [r2]
	b	.L4
.L19:
	ldr	r3, .L43+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+32
	str	r3, [r2]
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L43+36
	str	r2, [r3]
	b	.L4
.L11:
	ldr	r3, .L43+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+40
	str	r3, [r2]
	ldr	r3, .L43+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+44
	str	r3, [r2]
	b	.L4
.L18:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L43+48
	str	r2, [r3]
	b	.L4
.L12:
	ldr	r3, .L43+52
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L43+56
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L27
.L10:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L43+60
	str	r3, [r2]
	b	.L4
.L9:
	ldr	r3, .L43+64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+64
	str	r3, [r2]
	b	.L4
.L17:
	ldr	r3, .L43+68
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+68
	str	r3, [r2]
	b	.L4
.L8:
	ldr	r3, .L43+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+44
	str	r3, [r2]
	b	.L4
.L7:
	ldr	r3, .L43+72
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+72
	str	r3, [r2]
	b	.L4
.L16:
	ldr	r3, .L43+76
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+76
	str	r3, [r2]
	b	.L4
.L5:
	ldr	r3, .L43+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+40
	str	r3, [r2]
	b	.L4
.L24:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	nop
.L4:
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L43+80
	ldr	r2, .L43+84
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	getopt_long
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	bne	.L28
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L29
	ldr	r3, .L43+52
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L43+88
	mov	r0, r3
	bl	fprintf
	mov	r3, #2
	b	.L27
.L29:
	ldr	r3, .L43+72
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L43+76
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L31
.L30:
	ldr	r0, .L43+92
	bl	printf
.L31:
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	mov	r3, r0
	ldr	r2, .L43+96
	str	r3, [r2]
	ldr	r3, .L43+96
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L32
	ldr	r0, .L43+100
	bl	perror
	mov	r3, #1
	b	.L27
.L32:
	ldr	r3, .L43+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L43+52
	ldr	r0, [r3]
	ldr	r3, .L43+104
	ldr	r1, [r3]
	ldr	r3, .L43+104
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-40]
	ldr	r1, .L43+108
	bl	fprintf
.L33:
	ldr	r3, .L43+104
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bne	.L34
	ldr	r3, .L43+112
	str	r3, [fp, #-32]
	ldr	r3, .L43+52
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L43+116
	bl	fwrite
	b	.L35
.L34:
	ldr	r3, .L43+104
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r2, r3, #4
	str	r2, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
.L35:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L36
	ldr	r3, .L43+112
	str	r3, [fp, #-32]
	ldr	r3, .L43+52
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L43+116
	bl	fwrite
.L36:
	ldr	r3, .L43+120
	str	r3, [fp, #-16]
	mov	r2, #16
	ldr	r1, [fp, #-32]
	ldr	r0, .L43+124
	bl	strncpy
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, .L43+96
	ldr	r3, [r3]
	ldr	r2, .L43+124
	ldr	r1, .L43+128
	mov	r0, r3
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	blt	.L37
	ldr	r3, .L43+132
	mov	r2, #1
	str	r2, [r3]
	b	.L38
.L37:
	ldr	r3, .L43+96
	ldr	r3, [r3]
	ldr	r2, .L43+124
	ldr	r1, .L43+136
	mov	r0, r3
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	blt	.L39
	ldr	r3, .L43+132
	mov	r2, #0
	str	r2, [r3]
	b	.L38
.L39:
	ldr	r3, .L43+52
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-32]
	ldr	r1, .L43+140
	mov	r0, r4
	bl	fprintf
	ldr	r3, .L43+96
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, #1
	b	.L27
.L38:
	ldr	r3, .L43+72
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L43+132
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L41
	ldr	r1, .L43+144
	b	.L42
.L41:
	ldr	r1, .L43+148
.L42:
	ldr	r3, [fp, #-16]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #6
	ldrh	r3, [r3]
	ldr	r0, .L43+152
	bl	printf
.L40:
	ldr	r3, .L43+96
	ldr	r3, [r3]
	mov	r0, r3
	bl	do_one_xcvr
	ldr	r3, .L43+96
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r3, #0
.L27:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L44:
	.align	2
.L43:
	.word	opt_a
	.word	optarg
	.word	nway_advertise
	.word	set_BMCR
	.word	debug
	.word	opt_f
	.word	fixed_speed
	.word	opt_g
	.word	opt_G
	.word	opt_G_string
	.word	opt_watch
	.word	opt_status
	.word	msg_level
	.word	stderr
	.word	long_usage_msg
	.word	override_phy
	.word	opt_restart
	.word	opt_reset
	.word	verbose
	.word	opt_version
	.word	longopts
	.word	shortopts
	.word	usage_msg
	.word	version
	.word	skfd
	.word	.LC29
	.word	optind
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	ifr+16
	.word	ifr
	.word	35143
	.word	new_ioctl_nums
	.word	35312
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	main, .-main
	.section	.rodata
	.align	2
.LC37:
	.ascii	"Using the specified MII PHY index %d.\012\000"
	.align	2
.LC38:
	.ascii	"SIOCGPARAMS on %s failed: %s\012\000"
	.align	2
.LC39:
	.ascii	"Driver general parameter settings:\000"
	.align	2
.LC40:
	.ascii	" %d\000"
	.align	2
.LC41:
	.ascii	".\000"
	.align	2
.LC42:
	.ascii	" parse string '%s'  value %d end '%s'.\012\000"
	.align	2
.LC43:
	.ascii	"Invalid driver parameter '%s'.\012\000"
	.align	2
.LC44:
	.ascii	"Setting new driver general parameters:\000"
	.align	2
.LC45:
	.ascii	"SIOCSPARAMS on %s failed: %s\012\000"
	.align	2
.LC46:
	.ascii	"Resetting the transceiver...\000"
	.align	2
.LC47:
	.ascii	" Setting the media capability advertisement registe"
	.ascii	"r of PHY #%d to 0x%4.4x.\012\000"
	.align	2
.LC48:
	.ascii	"Restarting negotiation...\000"
	.align	2
.LC49:
	.ascii	"Setting the speed to \"fixed\", Control register %4"
	.ascii	".4x.\012\000"
	.align	2
.LC50:
	.ascii	"Setting the Basic Mode Control Register to 0x%4.4x."
	.ascii	"\012\000"
	.align	2
.LC51:
	.ascii	" MII PHY #%d transceiver registers:\000"
	.align	2
.LC52:
	.ascii	"\012  \000"
	.align	2
.LC53:
	.ascii	"\000"
	.align	2
.LC54:
	.ascii	"%s %4.4x\000"
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_one_xcvr
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_one_xcvr, %function
do_one_xcvr:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	ldr	r3, .L82
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L82+4
	str	r3, [fp, #-32]
	ldr	r3, .L82+4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	ldrh	r3, [r3]
	str	r3, [fp, #-56]
	ldr	r3, .L82+8
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L46
	ldr	r3, .L82+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L82+12
	bl	printf
	ldr	r3, .L82+8
	ldr	r3, [r3]
	str	r3, [fp, #-56]
.L46:
	ldr	r3, .L82+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L47
	ldr	r3, .L82+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L47
	ldr	r3, .L82+24
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L48
.L47:
	ldr	r2, .L82+28
	ldr	r1, .L82+32
	ldr	r0, [fp, #-64]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L48
	ldr	r3, .L82+36
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L82+28
	ldr	r1, .L82+40
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L49
.L48:
	ldr	r3, .L82+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L50
	ldr	r0, .L82+44
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L51
.L52:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L82+48
	bl	printf
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L51:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	cmp	r3, #15
	bls	.L52
	ldr	r0, .L82+52
	bl	puts
.L50:
	ldr	r3, .L82+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L82+56
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L54
.L61:
	sub	r3, fp, #60
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	strtol
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L82+60
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-48]
	ldr	r0, .L82+64
	bl	printf
.L55:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bne	.L56
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L57
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L58
.L57:
	ldr	r3, .L82+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	ldr	r1, .L82+68
	mov	r0, r3
	bl	fprintf
	mov	r1, #44
	ldr	r0, [fp, #-48]
	bl	index
	str	r0, [fp, #-48]
	b	.L58
.L56:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L59
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L58
.L59:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L58
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	b	.L60
.L58:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L54:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	ble	.L61
.L60:
	ldr	r0, .L82+72
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L62
.L63:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L82+48
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L62:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	cmp	r3, #15
	bls	.L63
	ldr	r0, .L82+52
	bl	puts
	ldr	r2, .L82+28
	ldr	r1, .L82+76
	ldr	r0, [fp, #-64]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L53
	ldr	r3, .L82+36
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L82+28
	ldr	r1, .L82+80
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L49
.L53:
	ldr	r3, .L82+24
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L64
	ldr	r3, .L82+24
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r2, .L82+28
	ldr	r1, .L82+76
	ldr	r0, [fp, #-64]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L64
	ldr	r3, .L82+36
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L82+28
	ldr	r1, .L82+80
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L49
.L64:
	ldr	r3, .L82+84
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L65
	ldr	r0, .L82+88
	bl	puts
	ldr	r1, [fp, #-56]
	mov	r3, #32768
	mov	r2, #0
	ldr	r0, [fp, #-64]
	bl	mdio_write
.L65:
	ldr	r3, [fp, #-56]
	cmp	r3, #63
	bhi	.L66
	ldr	r3, .L82+92
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L66
	ldr	r3, .L82+92
	ldr	r3, [r3]
	orr	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-56]
	ldr	r0, .L82+96
	bl	printf
	ldr	r1, [fp, #-56]
	ldr	r3, .L82+92
	ldr	r3, [r3]
	orr	r3, r3, #1
	mov	r2, #4
	ldr	r0, [fp, #-64]
	bl	mdio_write
	ldr	r1, [fp, #-56]
	mov	r3, #4096
	mov	r2, #0
	ldr	r0, [fp, #-64]
	bl	mdio_write
.L66:
	ldr	r3, .L82+100
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L67
	ldr	r0, .L82+104
	bl	puts
	ldr	r1, [fp, #-56]
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-64]
	bl	mdio_write
	ldr	r1, [fp, #-56]
	mov	r3, #4608
	mov	r2, #0
	ldr	r0, [fp, #-64]
	bl	mdio_write
.L67:
	ldr	r3, .L82+108
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L68
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, .L82+108
	ldr	r3, [r3]
	and	r3, r3, #384
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-40]
	orr	r3, r3, #8192
	str	r3, [fp, #-40]
.L69:
	ldr	r3, .L82+108
	ldr	r3, [r3]
	and	r3, r3, #320
	cmp	r3, #0
	beq	.L70
	ldr	r3, .L82+108
	ldr	r3, [r3]
	and	r3, r3, #2080
	cmp	r3, #0
	bne	.L70
	ldr	r3, [fp, #-40]
	orr	r3, r3, #256
	str	r3, [fp, #-40]
.L70:
	ldr	r1, [fp, #-40]
	ldr	r0, .L82+112
	bl	printf
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	ldr	r0, [fp, #-64]
	bl	mdio_write
.L68:
	ldr	r3, .L82+116
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L71
	ldr	r3, .L82+116
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L82+120
	bl	printf
	ldr	r1, [fp, #-56]
	ldr	r3, .L82+116
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r0, [fp, #-64]
	bl	mdio_write
.L71:
	ldr	r3, .L82+124
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L72
	ldr	r3, .L82+128
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L72
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	monitor_status
.L72:
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	show_basic_mii
	ldr	r3, .L82+132
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L73
	ldr	r3, .L82+60
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L74
.L73:
	ldr	r1, [fp, #-56]
	ldr	r0, .L82+136
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L75
.L78:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-36]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	mdio_read
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-36]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L76
	ldr	r3, .L82+140
	b	.L77
.L76:
	ldr	r3, .L82+144
.L77:
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L82+148
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L75:
	ldr	r3, [fp, #-36]
	cmp	r3, #31
	ble	.L78
	mov	r0, #10
	bl	putchar
.L74:
	ldr	r3, .L82+124
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L79
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	monitor_mii
.L79:
	ldr	r3, .L82+128
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L80
	ldr	r3, [fp, #-56]
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	mdio_read
	mov	r3, r0
	and	r3, r3, #4
	cmp	r3, #0
	bne	.L80
	mov	r0, #2
	bl	exit
.L80:
	mov	r3, #0
.L49:
	ldr	r2, .L82
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC55
	.word	ifr+16
	.word	override_phy
	.word	.LC37
	.word	opt_g
	.word	opt_G
	.word	msg_level
	.word	ifr
	.word	35315
	.word	stderr
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	opt_G_string
	.word	debug
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	35316
	.word	.LC45
	.word	opt_reset
	.word	.LC46
	.word	nway_advertise
	.word	.LC47
	.word	opt_restart
	.word	.LC48
	.word	fixed_speed
	.word	.LC49
	.word	set_BMCR
	.word	.LC50
	.word	opt_watch
	.word	opt_status
	.word	verbose
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.size	do_one_xcvr, .-do_one_xcvr
	.section	.rodata
	.align	2
.LC56:
	.ascii	"SIOCGMIIREG on %s failed: %s\012\000"
	.text
	.align	2
	.global	mdio_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	mdio_read, %function
mdio_read:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L89
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-16]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldr	r2, [fp, #-32]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, .L89+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L85
	ldr	r3, .L89+8
	b	.L86
.L85:
	ldr	r3, .L89+12
.L86:
	ldr	r2, .L89+16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L87
	ldr	r3, .L89+20
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L89+16
	ldr	r1, .L89+24
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L88
.L87:
	ldr	r3, [fp, #-16]
	add	r3, r3, #6
	ldrh	r3, [r3]
.L88:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L90:
	.align	2
.L89:
	.word	ifr+16
	.word	new_ioctl_nums
	.word	35144
	.word	35313
	.word	ifr
	.word	stderr
	.word	.LC56
	.size	mdio_read, .-mdio_read
	.section	.rodata
	.align	2
.LC57:
	.ascii	"SIOCSMIIREG on %s failed: %s\012\000"
	.text
	.align	2
	.global	mdio_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	mdio_write, %function
mdio_write:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, .L96
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-16]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldr	r2, [fp, #-32]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, [fp, #-36]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, .L96+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L92
	ldr	r3, .L96+8
	b	.L93
.L92:
	ldr	r3, .L96+12
.L93:
	ldr	r2, .L96+16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L95
	ldr	r3, .L96+20
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L96+16
	ldr	r1, .L96+24
	mov	r0, r4
	bl	fprintf
.L95:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L97:
	.align	2
.L96:
	.word	ifr+16
	.word	new_ioctl_nums
	.word	35145
	.word	35314
	.word	ifr
	.word	stderr
	.word	.LC57
	.size	mdio_write, .-mdio_write
	.section	.rodata
	.align	2
.LC59:
	.ascii	"You passed -A 'NULL'.  You must provide a media lis"
	.ascii	"t to advertise!\012\000"
	.align	2
.LC60:
	.ascii	"Advertise string is '%s'.\012\000"
	.align	2
.LC61:
	.ascii	"Invalid media advertisement value '%s'.\012  Either"
	.ascii	" pass a numeric value or one of the following names"
	.ascii	":\012\000"
	.align	2
.LC62:
	.ascii	"   %-14s %3.3x\012\000"
	.align	2
.LC58:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	0
	.align	2
.LC8:
	.word	512
	.word	384
	.word	256
	.word	128
	.word	96
	.word	64
	.word	32
	.align	2
.LC63:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_advertise, %function
parse_advertise:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L110
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L110+4
	sub	ip, fp, #40
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L110+8
	sub	ip, fp, #68
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L99
	ldr	r3, .L110+12
	ldr	r3, [r3]
	mov	r2, #67
	mov	r1, #1
	ldr	r0, .L110+16
	bl	fwrite
	mvn	r3, #0
	b	.L108
.L99:
	ldr	r3, .L110+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L101
	ldr	r3, .L110+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	ldr	r1, .L110+24
	mov	r0, r3
	bl	fprintf
.L101:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L102
.L104:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	ldr	r1, [fp, #-80]
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L103
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-64]
	b	.L108
.L103:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L102:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	bne	.L104
	sub	r3, fp, #76
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	strtol
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #65536
	bge	.L105
	ldr	r3, [fp, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L105
	ldr	r3, [fp, #-72]
	b	.L108
.L105:
	ldr	r3, .L110+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	ldr	r1, .L110+28
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L106
.L107:
	ldr	r3, .L110+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-36]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-64]
	ldr	r1, .L110+32
	bl	fprintf
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L106:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	bne	.L107
	mvn	r3, #0
.L108:
	ldr	r2, .L110
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L109
	bl	__stack_chk_fail
.L109:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L111:
	.align	2
.L110:
	.word	.LC63
	.word	.LC58
	.word	.LC8
	.word	stderr
	.word	.LC59
	.word	debug
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.size	parse_advertise, .-parse_advertise
	.section	.rodata
	.align	2
.LC64:
	.ascii	"Flow-control\000"
	.data
	.align	2
	.type	media_names, %object
	.size	media_names, 28
media_names:
	.word	.LC4
	.word	.LC5
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.word	.LC64
	.word	0
	.section	.rodata
	.align	2
.LC65:
	.ascii	"  Internal Collision-Test enabled!\012\000"
	.align	2
.LC66:
	.ascii	"  Restarted auto-negotiation in progress!\012\000"
	.align	2
.LC67:
	.ascii	"  Transceiver isolated from the MII!\012\000"
	.align	2
.LC68:
	.ascii	"  Transceiver powered down!\012\000"
	.align	2
.LC69:
	.ascii	"  Transceiver in loopback mode!\012\000"
	.align	2
.LC70:
	.ascii	"  Transceiver currently being reset!\012\000"
	.data
	.align	2
	.type	bmcr_bits, %object
	.size	bmcr_bits, 36
bmcr_bits:
	.word	.LC65
	.word	.LC53
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC53
	.word	.LC53
	.word	.LC69
	.word	.LC70
	.section	.rodata
	.align	2
.LC71:
	.ascii	"Basic registers of MII PHY #%d: \000"
	.align	2
.LC72:
	.ascii	" %4.4x\000"
	.align	2
.LC73:
	.ascii	"  No MII transceiver present!.\000"
	.align	2
.LC74:
	.ascii	"  Use '--force' to view the information anyway.\000"
	.align	2
.LC75:
	.ascii	" The autonegotiated capability is %4.4x.\012\000"
	.align	2
.LC76:
	.ascii	"The autonegotiated media type is %s.\012\000"
	.align	2
.LC77:
	.ascii	"No common media type was autonegotiated!\012This is"
	.ascii	" extremely unusual and typically indicates a config"
	.ascii	"uration error.\012Perhaps the advertised capability"
	.ascii	" set was intentionally limited.\000"
	.align	2
.LC78:
	.ascii	" Basic mode control register 0x%4.4x:\000"
	.align	2
.LC79:
	.ascii	" Auto-negotiation enabled.\000"
	.align	2
.LC80:
	.ascii	"0\000"
	.align	2
.LC81:
	.ascii	"full\000"
	.align	2
.LC82:
	.ascii	"half\000"
	.align	2
.LC83:
	.ascii	" Auto-negotiation disabled, with\012 Speed fixed at"
	.ascii	" 10%s mbps, %s-duplex.\012\000"
	.align	2
.LC84:
	.ascii	" You have link beat, and everything is working OK.\000"
	.align	2
.LC85:
	.ascii	"previously broken, but now re\000"
	.align	2
.LC86:
	.ascii	"not \000"
	.align	2
.LC87:
	.ascii	" Basic mode status register 0x%4.4x ... %4.4x.\012 "
	.ascii	"  Link status: %sestablished.\012\000"
	.align	2
.LC88:
	.ascii	"   This transceiver is capable of \000"
	.align	2
.LC89:
	.ascii	" %s\000"
	.align	2
.LC90:
	.ascii	"<Warning! No media capabilities>\000"
	.align	2
.LC91:
	.ascii	"Able\000"
	.align	2
.LC92:
	.ascii	"Unable\000"
	.align	2
.LC93:
	.ascii	"   %s to perform Auto-negotiation, negotiation %sco"
	.ascii	"mplete.\012\000"
	.align	2
.LC94:
	.ascii	" Remote fault detected!\000"
	.align	2
.LC95:
	.ascii	"   *** Link Jabber! ***\000"
	.align	2
.LC96:
	.ascii	" Your link partner advertised %4.4x:\000"
	.align	2
.LC97:
	.ascii	", w/ 802.3X flow control\000"
	.align	2
.LC98:
	.ascii	"%s.\012\000"
	.align	2
.LC99:
	.ascii	" Your link partner is generating %s link beat  (no "
	.ascii	"autonegotiation).\012\000"
	.align	2
.LC100:
	.ascii	" Link partner information is not exchanged when in "
	.ascii	"fixed speed mode.\000"
	.align	2
.LC101:
	.ascii	" Your link partner does not do autonegotiation, and"
	.ascii	" this transceiver type\012  does not report the sen"
	.ascii	"sed link speed.\000"
	.align	2
.LC102:
	.ascii	" Your link partner is strange, status %4.4x.\012\000"
	.align	2
.LC103:
	.ascii	"   End of basic transceiver information.\012\000"
	.align	2
.LC9:
	.word	8
	.word	9
	.word	7
	.word	6
	.word	5
	.align	2
.LC104:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	show_basic_mii
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_basic_mii, %function
show_basic_mii:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	ldr	r3, .L170
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L113
.L114:
	ldr	r2, [fp, #-108]
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	mdio_read
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #1
	sub	r1, fp, #4
	add	r3, r1, r3
	sub	r3, r3, #68
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L113:
	ldr	r3, [fp, #-108]
	cmp	r3, #7
	ble	.L114
	ldr	r3, .L170+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L115
	ldr	r1, [fp, #-132]
	ldr	r0, .L170+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L116
.L117:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #68
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L170+12
	bl	printf
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L116:
	ldr	r3, [fp, #-108]
	cmp	r3, #7
	ble	.L117
	ldr	r0, .L170+16
	bl	puts
.L115:
	ldrh	r3, [fp, #-72]
	ldr	r2, .L170+20
	cmp	r3, r2
	beq	.L118
	ldrh	r3, [fp, #-70]
	cmp	r3, #0
	bne	.L119
.L118:
	ldr	r0, .L170+24
	bl	puts
	ldr	r3, .L170+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L119
	ldr	r0, .L170+32
	bl	puts
	mvn	r3, #0
	b	.L168
.L119:
	ldrh	r3, [fp, #-72]	@ movhi
	strh	r3, [fp, #-118]	@ movhi
	ldrh	r3, [fp, #-70]	@ movhi
	strh	r3, [fp, #-116]	@ movhi
	ldrh	r3, [fp, #-64]	@ movhi
	strh	r3, [fp, #-114]	@ movhi
	ldrh	r3, [fp, #-62]	@ movhi
	strh	r3, [fp, #-112]	@ movhi
	ldrh	r3, [fp, #-112]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L121
	ldrh	r2, [fp, #-114]	@ movhi
	ldrh	r3, [fp, #-112]	@ movhi
	and	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #992
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-100]
	ldr	r3, .L170+36
	sub	ip, fp, #92
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r1, [fp, #-96]
	ldr	r0, .L170+40
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L122
.L125:
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-88]
	ldr	r2, [fp, #-96]
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L123
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-88]
	str	r3, [fp, #-100]
	b	.L124
.L123:
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L122:
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-88]
	cmp	r3, #0
	bne	.L125
.L124:
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	beq	.L126
	ldr	r3, [fp, #-100]
	sub	r3, r3, #5
	ldr	r2, .L170+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L170+48
	bl	printf
	b	.L121
.L126:
	ldr	r0, .L170+52
	bl	puts
.L121:
	ldrh	r3, [fp, #-118]
	mov	r1, r3
	ldr	r0, .L170+56
	bl	printf
	ldrh	r3, [fp, #-118]
	and	r3, r3, #4096
	cmp	r3, #0
	beq	.L128
	ldr	r0, .L170+60
	bl	puts
	b	.L129
.L128:
	ldrh	r3, [fp, #-118]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L130
	ldr	r1, .L170+64
	b	.L131
.L130:
	ldr	r1, .L170+68
.L131:
	ldrh	r3, [fp, #-118]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L132
	ldr	r3, .L170+72
	b	.L133
.L132:
	ldr	r3, .L170+76
.L133:
	mov	r2, r3
	ldr	r0, .L170+80
	bl	printf
.L129:
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L134
.L136:
	ldrh	r2, [fp, #-118]
	mov	r1, #128
	ldr	r3, [fp, #-104]
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L135
	ldr	r2, .L170+84
	ldr	r3, [fp, #-104]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	printf
.L135:
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L134:
	ldr	r3, [fp, #-104]
	cmp	r3, #8
	ble	.L136
	mov	r2, #1
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-128]
	bl	mdio_read
	mov	r3, r0
	strh	r3, [fp, #-110]	@ movhi
	ldrh	r3, [fp, #-116]
	and	r3, r3, #22
	cmp	r3, #4
	bne	.L137
	ldr	r0, .L170+88
	bl	puts
	b	.L138
.L137:
	ldrh	r1, [fp, #-116]
	ldrh	r2, [fp, #-110]
	ldrh	r3, [fp, #-116]
	and	r3, r3, #4
	cmp	r3, #0
	bne	.L139
	ldrh	r3, [fp, #-110]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L140
	ldr	r3, .L170+92
	b	.L142
.L140:
	ldr	r3, .L170+96
	b	.L142
.L139:
	ldr	r3, .L170+68
.L142:
	ldr	r0, .L170+100
	bl	printf
.L138:
	ldr	r3, .L170+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L143
	ldr	r0, .L170+104
	bl	printf
	ldrh	r3, [fp, #-116]
	and	r3, r3, #63488
	cmp	r3, #0
	beq	.L144
	mov	r3, #15
	str	r3, [fp, #-104]
	b	.L145
.L147:
	ldrh	r2, [fp, #-116]
	ldr	r3, [fp, #-104]
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L146
	ldr	r3, [fp, #-104]
	sub	r3, r3, #11
	ldr	r2, .L170+44
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L170+108
	bl	printf
.L146:
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-104]
.L145:
	ldr	r3, [fp, #-104]
	cmp	r3, #10
	bgt	.L147
	b	.L148
.L144:
	ldr	r0, .L170+112
	bl	printf
.L148:
	ldr	r0, .L170+16
	bl	puts
	ldrh	r3, [fp, #-116]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L149
	ldr	r1, .L170+116
	b	.L150
.L149:
	ldr	r1, .L170+120
.L150:
	ldrh	r3, [fp, #-116]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L151
	ldr	r3, .L170+68
	b	.L152
.L151:
	ldr	r3, .L170+96
.L152:
	mov	r2, r3
	ldr	r0, .L170+124
	bl	printf
.L143:
	ldrh	r3, [fp, #-116]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L153
	ldr	r0, .L170+128
	bl	puts
.L153:
	ldrh	r3, [fp, #-116]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L154
	ldr	r0, .L170+132
	bl	puts
.L154:
	ldrh	r3, [fp, #-112]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L155
	ldrh	r3, [fp, #-112]
	mov	r1, r3
	ldr	r0, .L170+136
	bl	printf
	mov	r3, #5
	str	r3, [fp, #-104]
	b	.L156
.L158:
	ldrh	r2, [fp, #-112]
	mov	r1, #32
	ldr	r3, [fp, #-104]
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L157
	ldr	r2, .L170+44
	ldr	r3, [fp, #-104]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L170+108
	bl	printf
.L157:
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	str	r3, [fp, #-104]
.L156:
	ldr	r3, [fp, #-104]
	cmp	r3, #0
	bge	.L158
	ldrh	r3, [fp, #-112]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L159
	ldr	r3, .L170+140
	b	.L160
.L159:
	ldr	r3, .L170+68
.L160:
	mov	r1, r3
	ldr	r0, .L170+144
	bl	printf
	b	.L161
.L155:
	ldrh	r3, [fp, #-112]
	and	r3, r3, #160
	cmp	r3, #0
	beq	.L162
	ldrh	r3, [fp, #-112]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L163
	ldr	r3, .L170+148
	b	.L164
.L163:
	ldr	r3, .L170+152
.L164:
	mov	r1, r3
	ldr	r0, .L170+156
	bl	printf
	b	.L161
.L162:
	ldrh	r3, [fp, #-118]
	and	r3, r3, #4096
	cmp	r3, #0
	bne	.L165
	ldr	r0, .L170+160
	bl	puts
	b	.L161
.L165:
	ldrh	r3, [fp, #-110]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L161
	ldrh	r3, [fp, #-112]
	cmp	r3, #1
	beq	.L166
	ldrh	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L167
.L166:
	ldr	r0, .L170+164
	bl	puts
	b	.L161
.L167:
	ldrh	r3, [fp, #-112]
	mov	r1, r3
	ldr	r0, .L170+168
	bl	printf
.L161:
	ldr	r0, .L170+172
	bl	puts
	mov	r3, #0
.L168:
	ldr	r2, .L170
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L169
	bl	__stack_chk_fail
.L169:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L171:
	.align	2
.L170:
	.word	.LC104
	.word	verbose
	.word	.LC71
	.word	.LC72
	.word	.LC41
	.word	65535
	.word	.LC73
	.word	opt_f
	.word	.LC74
	.word	.LC9
	.word	.LC75
	.word	media_names
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC53
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	bmcr_bits
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	.LC87
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.word	.LC91
	.word	.LC92
	.word	.LC93
	.word	.LC94
	.word	.LC95
	.word	.LC96
	.word	.LC97
	.word	.LC98
	.word	.LC1
	.word	.LC4
	.word	.LC99
	.word	.LC100
	.word	.LC101
	.word	.LC102
	.word	.LC103
	.size	show_basic_mii, .-show_basic_mii
	.section	.rodata
	.align	2
.LC105:
	.ascii	"unknown\000"
	.align	2
.LC106:
	.ascii	"up\000"
	.align	2
.LC107:
	.ascii	"negotiating\000"
	.align	2
.LC108:
	.ascii	"down\000"
	.align	2
.LC109:
	.ascii	"%-12s 0x%4.4x 0x%4.4x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	monitor_status, %function
monitor_status:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L181
	str	r3, [fp, #-20]
.L180:
	mov	r2, #1
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	mdio_read
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	beq	.L173
	ldr	r3, [fp, #-16]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L174
	ldr	r3, [fp, #-16]
	ldr	r2, .L181+4
	cmp	r3, r2
	bne	.L175
	ldr	r4, .L181+8
	b	.L177
.L175:
	ldr	r4, .L181+12
	b	.L177
.L174:
	ldr	r3, [fp, #-16]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L178
	ldr	r4, .L181+16
	b	.L177
.L178:
	ldr	r4, .L181+20
.L177:
	mov	r2, #5
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	mdio_read
	mov	r3, r0
	ldr	r2, [fp, #-16]
	mov	r1, r4
	ldr	r0, .L181+24
	bl	printf
	ldr	r3, .L181+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
.L173:
	mov	r0, #1
	bl	sleep
	b	.L180
.L182:
	.align	2
.L181:
	.word	1431655765
	.word	65535
	.word	.LC105
	.word	.LC106
	.word	.LC107
	.word	.LC108
	.word	.LC109
	.word	stdout
	.size	monitor_status, .-monitor_status
	.section	.rodata
	.align	2
.LC110:
	.ascii	"\012This version of 'mii-diag' has not been linked "
	.ascii	"with the libmii.c library.\012  That library provid"
	.ascii	"es extended transceiver status reports.\000"
	.text
	.align	2
	.weak	show_mii_details
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_mii_details, %function
show_mii_details:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L189
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L184
.L187:
	ldr	r3, .L189+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	mdio_read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L185
	ldr	r3, .L189+8
	b	.L186
.L185:
	ldr	r3, .L189+12
.L186:
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L189+16
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L184:
	ldr	r3, [fp, #-12]
	cmp	r3, #31
	ble	.L187
	ldr	r0, .L189+20
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L190:
	.align	2
.L189:
	.word	.LC51
	.word	skfd
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC110
	.size	show_mii_details, .-show_mii_details
	.section	.rodata
	.align	2
.LC111:
	.ascii	"\012This version of 'mii-diag' has not been linked "
	.ascii	"with the libmii.c library \012  required for the me"
	.ascii	"dia monitor option.\012\000"
	.text
	.align	2
	.weak	monitor_mii
	.syntax unified
	.arm
	.fpu softvfp
	.type	monitor_mii, %function
monitor_mii:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L192
	ldr	r3, [r3]
	mov	r2, #116
	mov	r1, #1
	ldr	r0, .L192+4
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L193:
	.align	2
.L192:
	.word	stderr
	.word	.LC111
	.size	monitor_mii, .-monitor_mii
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
