	.file	"extr_82571.c_e1000_clear_vfta_82571.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	e1000_clear_vfta_82571, @function
e1000_clear_vfta_82571:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	eax, DWORD PTR 8[rdi]
	add	eax, -128
	cmp	eax, 2
	ja	.L6
	mov	r12, QWORD PTR [rdi]
	xor	r13d, r13d
	test	r12, r12
	jne	.L13
.L2:
	cmp	QWORD PTR E1000_VLAN_FILTER_TBL_SIZE[rip], 0
	jle	.L1
	xor	ebx, ebx
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	r12, rbx
	mov	rcx, r14
	mov	esi, DWORD PTR E1000_VFTA[rip]
	mov	rdx, rbx
	cmove	rcx, r13
	mov	rdi, rbp
	add	rbx, 1
	call	E1000_WRITE_REG_ARRAY@PLT
	xor	eax, eax
	call	e1e_flush@PLT
	cmp	QWORD PTR E1000_VLAN_FILTER_TBL_SIZE[rip], rbx
	jg	.L5
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	r13d, r13d
	xor	r12d, r12d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rcx, QWORD PTR E1000_VFTA_ENTRY_SHIFT[rip]
	mov	rax, r12
	mov	r13d, 1
	sar	rax, cl
	mov	ecx, DWORD PTR E1000_VFTA_ENTRY_BIT_SHIFT_MASK[rip]
	and	rax, QWORD PTR E1000_VFTA_ENTRY_MASK[rip]
	and	ecx, r12d
	mov	r12, rax
	sal	r13d, cl
	movsx	r13, r13d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	e1000_clear_vfta_82571, .-e1000_clear_vfta_82571
	.comm	E1000_VLAN_FILTER_TBL_SIZE,8,8
	.comm	E1000_VFTA_ENTRY_SHIFT,8,8
	.comm	E1000_VFTA_ENTRY_MASK,8,8
	.comm	E1000_VFTA_ENTRY_BIT_SHIFT_MASK,4,4
	.comm	E1000_VFTA,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_82571.c_e1000_clear_vfta_82571.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_clear_vfta_82571, %function
e1000_clear_vfta_82571:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	r3, r3, #128
	cmp	r3, #2
	movhi	r8, #0
	mov	r5, r0
	movhi	r6, r8
	bhi	.L2
	ldr	r6, [r0]
	cmp	r6, #0
	moveq	r8, r6
	bne	.L12
.L2:
	ldr	r7, .L13
	ldr	r3, [r7]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r4, #0
	ldr	r9, .L13+4
.L5:
	cmp	r6, r4
	moveq	r3, r8
	movne	r3, #0
	mov	r2, r4
	ldr	r1, [r9]
	mov	r0, r5
	bl	E1000_WRITE_REG_ARRAY
	bl	e1e_flush
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	mov	r8, #1
	ldr	r3, .L13+8
	ldr	r1, .L13+12
	ldr	r2, .L13+16
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	and	r3, r3, r6
	lsl	r8, r8, r3
	and	r6, r2, r6, asr r1
	b	.L2
.L14:
	.align	2
.L13:
	.word	E1000_VLAN_FILTER_TBL_SIZE
	.word	E1000_VFTA
	.word	E1000_VFTA_ENTRY_BIT_SHIFT_MASK
	.word	E1000_VFTA_ENTRY_SHIFT
	.word	E1000_VFTA_ENTRY_MASK
	.size	e1000_clear_vfta_82571, .-e1000_clear_vfta_82571
	.comm	E1000_VLAN_FILTER_TBL_SIZE,4,4
	.comm	E1000_VFTA_ENTRY_SHIFT,4,4
	.comm	E1000_VFTA_ENTRY_MASK,4,4
	.comm	E1000_VFTA_ENTRY_BIT_SHIFT_MASK,4,4
	.comm	E1000_VFTA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
