	.file	"extr_vf.c_e1000_check_for_link_vf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	e1000_check_for_link_vf, @function
e1000_check_for_link_vf:
.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, 24
	.cfi_def_cfa_offset 48
	mov	r12d, DWORD PTR E1000_SUCCESS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	[QWORD PTR 24[rdi]]
	test	eax, eax
	je	.L2
	mov	ecx, DWORD PTR 8[rbx]
	test	ecx, ecx
	je	.L2
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jne	.L4
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 24
	.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
.L2:
	.cfi_restore_state
	mov	DWORD PTR [rbx], 1
.L4:
	mov	edi, DWORD PTR STATUS[rip]
	call	er32@PLT
	test	DWORD PTR E1000_STATUS_LU[rip], eax
	je	.L1
	lea	rsi, 4[rsp]
	mov	edx, 1
	mov	rdi, rbx
	call	[QWORD PTR 16[rbx]]
	test	rax, rax
	jne	.L1
	mov	eax, DWORD PTR 4[rsp]
	test	DWORD PTR E1000_VT_MSGTYPE_CTS[rip], eax
	je	.L21
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	je	.L7
.L5:
	endbr64
	mov	DWORD PTR [rbx], 0
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	test	DWORD PTR E1000_VT_MSGTYPE_NACK[rip], eax
	je	.L1
.L7:
	mov	r12d, DWORD PTR E1000_ERR_MAC_INIT[rip]
	neg	r12d
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	e1000_check_for_link_vf, .-e1000_check_for_link_vf
	.comm	STATUS,4,4
	.comm	E1000_VT_MSGTYPE_NACK,4,4
	.comm	E1000_VT_MSGTYPE_CTS,4,4
	.comm	E1000_SUCCESS,4,4
	.comm	E1000_STATUS_LU,4,4
	.comm	E1000_ERR_MAC_INIT,4,4
	.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_vf.c_e1000_check_for_link_vf.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_check_for_link_vf, %function
e1000_check_for_link_vf:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #0
	push	{r4, r5, lr}
	sub	sp, sp, #12
	str	r1, [sp]
	ldr	r2, .L28
	ldr	r1, .L28+4
	ldr	r3, [r0, #12]
	mov	r4, r0
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	ldr	r5, [r2]
	blx	r3
	cmp	r0, #0
	beq	.L2
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L4
.L1:
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	mov	r3, #1
	str	r3, [r4]
.L4:
	ldr	r3, .L28+8
	ldr	r0, [r3]
	bl	er32
	ldr	r3, .L28+12
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L1
	mov	r2, #1
	mov	r1, sp
	mov	r0, r4
	ldr	r3, [r4, #8]
	blx	r3
	cmp	r0, #0
	bne	.L1
	ldr	r2, .L28+16
	ldr	r3, [sp]
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L27
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L7
.L5:
	str	r0, [r4]
	b	.L1
.L27:
	ldr	r2, .L28+20
	ldr	r2, [r2]
	tst	r3, r2
	beq	.L1
.L7:
	ldr	r3, .L28+24
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L26:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	E1000_SUCCESS
	.word	.LC0
	.word	STATUS
	.word	E1000_STATUS_LU
	.word	E1000_VT_MSGTYPE_CTS
	.word	E1000_VT_MSGTYPE_NACK
	.word	E1000_ERR_MAC_INIT
	.size	e1000_check_for_link_vf, .-e1000_check_for_link_vf
	.comm	STATUS,4,4
	.comm	E1000_VT_MSGTYPE_NACK,4,4
	.comm	E1000_VT_MSGTYPE_CTS,4,4
	.comm	E1000_SUCCESS,4,4
	.comm	E1000_STATUS_LU,4,4
	.comm	E1000_ERR_MAC_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
