	.file	"extr_igb_main.c_igb_has_link.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	igb_has_link
	.type	igb_has_link, @function
igb_has_link:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR 16[rdi]
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	jne	.L7
	mov	edx, DWORD PTR 40[rdi]
	mov	r12d, 1
	test	edx, edx
	je	.L1
.L2:
	lea	rdi, 16[rbx]
	xor	r12d, r12d
	call	[QWORD PTR 48[rbx]]
	mov	eax, DWORD PTR 40[rbx]
	test	eax, eax
	sete	r12b
.L3:
	mov	rax, QWORD PTR 32[rbx]
	cmp	rax, QWORD PTR e1000_i210[rip]
	je	.L5
	cmp	rax, QWORD PTR e1000_i211[rip]
	je	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rax, QWORD PTR I210_I_PHY_ID[rip]
	cmp	QWORD PTR 24[rbx], rax
	jne	.L1
	mov	edi, DWORD PTR 8[rbx]
	call	netif_carrier_ok@PLT
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR IGB_FLAG_NEED_LINK_UPDATE[rip]
	not	eax
	and	DWORD PTR [rbx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	xor	r12d, r12d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR [rbx]
	mov	edx, DWORD PTR IGB_FLAG_NEED_LINK_UPDATE[rip]
	test	eax, edx
	jne	.L1
	or	eax, edx
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR jiffies[rip]
	mov	DWORD PTR 4[rbx], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	igb_has_link, .-igb_has_link
	.comm	jiffies,4,4
	.comm	e1000_i211,8,8
	.comm	e1000_i210,8,8
	.comm	IGB_FLAG_NEED_LINK_UPDATE,4,4
	.comm	I210_I_PHY_ID,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_igb_main.c_igb_has_link.c"
	.text
	.align	2
	.global	igb_has_link
	.syntax unified
	.arm
	.fpu softvfp
	.type	igb_has_link, %function
igb_has_link:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, lr}
	cmp	r3, #129
	mov	r4, r0
	beq	.L2
	cmp	r3, #130
	bne	.L7
	ldr	r3, [r0, #24]
	cmp	r3, #0
	moveq	r5, #1
	beq	.L1
.L2:
	ldr	r3, [r4, #28]
	add	r0, r4, #12
	blx	r3
	ldr	r5, [r4, #24]
	clz	r5, r5
	lsr	r5, r5, #5
.L3:
	ldr	r2, .L14
	ldr	r3, [r4, #20]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L5
	ldr	r2, .L14+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L5
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, .L14+8
	ldr	r2, [r4, #16]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L1
	ldr	r0, [r4, #8]
	bl	netif_carrier_ok
	ldr	r2, .L14+12
	ldr	r3, [r4]
	ldr	r2, [r2]
	cmp	r0, #0
	biceq	r3, r3, r2
	streq	r3, [r4]
	beq	.L1
	tst	r3, r2
	ldreq	r1, .L14+16
	orreq	r3, r3, r2
	ldreq	r2, [r1]
	streq	r3, [r4]
	streq	r2, [r4, #4]
	b	.L1
.L7:
	mov	r5, #0
	b	.L3
.L15:
	.align	2
.L14:
	.word	e1000_i210
	.word	e1000_i211
	.word	I210_I_PHY_ID
	.word	IGB_FLAG_NEED_LINK_UPDATE
	.word	jiffies
	.size	igb_has_link, .-igb_has_link
	.comm	jiffies,4,4
	.comm	e1000_i211,4,4
	.comm	e1000_i210,4,4
	.comm	IGB_FLAG_NEED_LINK_UPDATE,4,4
	.comm	I210_I_PHY_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
