	.file	"extr_meth.c_meth_check_link.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"full"
.LC1:
	.string	"Setting %s-duplex\n"
.LC2:
	.string	"Setting %dMbs mode\n"
.LC3:
	.string	"half"
	.text
	.p2align 4
	.type	meth_check_link, @function
meth_check_link:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	netdev_priv@PLT
	mov	esi, 4
	mov	rbp, rax
	mov	rdi, rax
	call	mdio_read@PLT
	mov	esi, 5
	mov	rdi, rbp
	mov	rbx, rax
	call	mdio_read@PLT
	mov	rdx, rax
	mov	rax, rbx
	and	rax, rdx
	cmp	rdx, 65535
	je	.L1
	mov	rdx, QWORD PTR 0[rbp]
	mov	r12, QWORD PTR METH_PHY_FDX[rip]
	mov	rbx, rax
	and	ebx, 896
	cmovne	rbx, QWORD PTR METH_100MBIT[rip]
	mov	r13, rdx
	and	r13, r12
	test	ah, 1
	jne	.L5
	and	eax, 448
	cmp	rax, 64
	je	.L5
	test	r13, r13
	je	.L7
.L6:
	lea	rsi, .LC3[rip]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	xor	r13d, r13d
	call	DPRINTK@PLT
	mov	rdx, QWORD PTR METH_PHY_FDX[rip]
	mov	rax, QWORD PTR mace[rip]
	not	rdx
	and	rdx, QWORD PTR 0[rbp]
	mov	QWORD PTR 0[rbp], rdx
	mov	QWORD PTR [rax], rdx
.L7:
	and	rdx, QWORD PTR METH_100MBIT[rip]
	cmp	rdx, rbx
	je	.L1
	cmp	rbx, 1
	lea	rdi, .LC2[rip]
	sbb	esi, esi
	xor	eax, eax
	and	esi, -90
	add	esi, 100
	call	DPRINTK@PLT
	test	r13, r13
	jne	.L24
	mov	rax, QWORD PTR METH_100MBIT[rip]
	not	rax
	and	rax, QWORD PTR 0[rbp]
.L11:
	mov	rdx, QWORD PTR mace[rip]
	mov	QWORD PTR 0[rbp], rax
	mov	QWORD PTR [rdx], rax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	r12, r13
	je	.L7
	test	r12, r12
	je	.L6
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	xor	eax, eax
	mov	r13, r12
	call	DPRINTK@PLT
	mov	rax, QWORD PTR mace[rip]
	mov	rdx, QWORD PTR 0[rbp]
	or	rdx, QWORD PTR METH_PHY_FDX[rip]
	mov	QWORD PTR 0[rbp], rdx
	mov	QWORD PTR [rax], rdx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR 0[rbp]
	or	rax, QWORD PTR METH_100MBIT[rip]
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	meth_check_link, .-meth_check_link
	.comm	mace,8,8
	.comm	METH_PHY_FDX,8,8
	.comm	METH_100MBIT,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_meth.c_meth_check_link.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"full\000"
	.align	2
.LC1:
	.ascii	"Setting %s-duplex\012\000"
	.align	2
.LC2:
	.ascii	"Setting %dMbs mode\012\000"
	.align	2
.LC3:
	.ascii	"half\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	meth_check_link, %function
meth_check_link:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	bl	netdev_priv
	mov	r1, #4
	mov	r5, r0
	bl	mdio_read
	mov	r1, #5
	mov	r4, r0
	mov	r0, r5
	bl	mdio_read
	ldr	r2, .L25
	and	r3, r4, r0
	cmp	r0, r2
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r8, .L25+4
	ldr	r7, .L25+8
	ands	r6, r3, #896
	ldr	r2, [r5]
	ldr	r1, [r8]
	ldrne	r6, [r7]
	tst	r3, #256
	and	r4, r2, r1
	bne	.L5
	and	r3, r3, #448
	cmp	r3, #64
	beq	.L5
	cmp	r4, #0
	beq	.L7
.L6:
	mov	r4, #0
	ldr	r1, .L25+12
	ldr	r0, .L25+16
	bl	DPRINTK
	ldr	r3, [r8]
	ldr	r2, [r5]
	bic	r2, r2, r3
	ldr	r3, .L25+20
	str	r2, [r5]
	ldr	r3, [r3]
	str	r2, [r3]
.L7:
	ldr	r3, [r7]
	and	r2, r2, r3
	cmp	r2, r6
	popeq	{r4, r5, r6, r7, r8, pc}
	cmp	r6, #0
	movne	r1, #100
	moveq	r1, #10
	ldr	r0, .L25+24
	bl	DPRINTK
	ldr	r2, [r7]
	ldr	r3, [r5]
	cmp	r4, #0
	orrne	r3, r3, r2
	biceq	r3, r3, r2
	ldr	r2, .L25+20
	str	r3, [r5]
	ldr	r2, [r2]
	str	r3, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	cmp	r1, r4
	beq	.L7
	cmp	r1, #0
	beq	.L6
	mov	r4, r1
	ldr	r0, .L25+16
	ldr	r1, .L25+28
	bl	DPRINTK
	ldr	r3, [r8]
	ldr	r2, [r5]
	orr	r2, r2, r3
	ldr	r3, .L25+20
	str	r2, [r5]
	ldr	r3, [r3]
	str	r2, [r3]
	b	.L7
.L26:
	.align	2
.L25:
	.word	65535
	.word	METH_PHY_FDX
	.word	METH_100MBIT
	.word	.LC3
	.word	.LC1
	.word	mace
	.word	.LC2
	.word	.LC0
	.size	meth_check_link, .-meth_check_link
	.comm	mace,4,4
	.comm	METH_PHY_FDX,4,4
	.comm	METH_100MBIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
