	.file	"extr_ixgbe_main.c_ixgbe_set_rx_mode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ixgbe_set_rx_mode
	.type	ixgbe_set_rx_mode, @function
ixgbe_set_rx_mode:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	netdev_priv@PLT
	mov	esi, DWORD PTR IXGBE_FCTRL[rip]
	mov	r13d, DWORD PTR IXGBE_VMOLR_BAM[rip]
	lea	r14, 16[rax]
	mov	rbp, rax
	or	r13d, DWORD PTR IXGBE_VMOLR_AUPE[rip]
	mov	rdi, r14
	call	IXGBE_READ_REG@PLT
	mov	r12d, DWORD PTR IXGBE_FCTRL_BAM[rip]
	or	r12d, DWORD PTR IXGBE_FCTRL_DPF[rip]
	or	r12d, DWORD PTR IXGBE_FCTRL_PMCF[rip]
	mov	ecx, DWORD PTR IXGBE_FCTRL_MPE[rip]
	or	r12d, eax
	mov	eax, DWORD PTR IXGBE_FCTRL_UPE[rip]
	mov	edx, DWORD PTR [rbx]
	or	eax, ecx
	test	DWORD PTR IFF_PROMISC[rip], edx
	je	.L2
	or	r12d, eax
	mov	eax, DWORD PTR IXGBE_VMOLR_ROPE[rip]
	or	eax, DWORD PTR IXGBE_VMOLR_MPE[rip]
	mov	rdi, rbp
	or	r13d, eax
	mov	DWORD PTR 32[rbp], 1
	mov	eax, DWORD PTR IXGBE_FLAG_VMDQ_ENABLED[rip]
	or	eax, DWORD PTR IXGBE_FLAG_SRIOV_ENABLED[rip]
	test	DWORD PTR 0[rbp], eax
	jne	.L3
	call	ixgbe_vlan_filter_disable@PLT
	mov	rdi, rbx
	call	ixgbe_write_uc_addr_list@PLT
	test	eax, eax
	js	.L15
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, rbx
	mov	rdi, r14
	call	[QWORD PTR 24[rbp]]
	cmp	QWORD PTR 8[rbp], 0
	mov	r15d, DWORD PTR IXGBE_VMOLR_ROMPE[rip]
	jne	.L16
.L7:
	mov	rax, QWORD PTR ixgbe_mac_82598EB[rip]
	cmp	QWORD PTR 16[rbp], rax
	je	.L8
	xor	edi, edi
	or	r13d, r15d
	call	VMDQ_P@PLT
	mov	edi, eax
	call	IXGBE_VMOLR@PLT
	mov	rdi, r14
	mov	esi, eax
	call	IXGBE_READ_REG@PLT
	xor	edi, edi
	mov	r8d, eax
	mov	eax, DWORD PTR IXGBE_VMOLR_MPE[rip]
	or	eax, DWORD PTR IXGBE_VMOLR_ROMPE[rip]
	or	eax, DWORD PTR IXGBE_VMOLR_ROPE[rip]
	not	eax
	and	eax, r8d
	or	r13d, eax
	call	VMDQ_P@PLT
	mov	edi, eax
	call	IXGBE_VMOLR@PLT
	mov	edx, r13d
	mov	rdi, r14
	mov	esi, eax
	call	IXGBE_WRITE_REG@PLT
.L8:
	mov	esi, DWORD PTR IXGBE_FCTRL[rip]
	mov	rdi, r14
	mov	edx, r12d
	call	IXGBE_WRITE_REG@PLT
	mov	eax, DWORD PTR 4[rbx]
	mov	rdi, rbp
	test	DWORD PTR NETIF_F_HW_VLAN_RX[rip], eax
	je	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ixgbe_vlan_strip_enable@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	not	eax
	and	r12d, eax
	test	DWORD PTR IFF_ALLMULTI[rip], edx
	jne	.L17
.L5:
	mov	rdi, rbp
	call	ixgbe_vlan_filter_enable@PLT
	mov	DWORD PTR 32[rbp], 0
.L4:
	mov	rdi, rbx
	call	ixgbe_write_uc_addr_list@PLT
	test	eax, eax
	jns	.L6
.L15:
	or	r12d, DWORD PTR IXGBE_FCTRL_UPE[rip]
	or	r13d, DWORD PTR IXGBE_VMOLR_ROPE[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ixgbe_vlan_strip_disable@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	or	r12d, ecx
	or	r13d, DWORD PTR IXGBE_VMOLR_MPE[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	call	ixgbe_vlan_filter_enable@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, rbp
	call	ixgbe_restore_vf_multicasts@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	ixgbe_set_rx_mode, .-ixgbe_set_rx_mode
	.comm	ixgbe_mac_82598EB,8,8
	.comm	NETIF_F_HW_VLAN_RX,4,4
	.comm	IXGBE_VMOLR_ROPE,4,4
	.comm	IXGBE_VMOLR_ROMPE,4,4
	.comm	IXGBE_VMOLR_MPE,4,4
	.comm	IXGBE_VMOLR_BAM,4,4
	.comm	IXGBE_VMOLR_AUPE,4,4
	.comm	IXGBE_FLAG_VMDQ_ENABLED,4,4
	.comm	IXGBE_FLAG_SRIOV_ENABLED,4,4
	.comm	IXGBE_FCTRL_UPE,4,4
	.comm	IXGBE_FCTRL_PMCF,4,4
	.comm	IXGBE_FCTRL_MPE,4,4
	.comm	IXGBE_FCTRL_DPF,4,4
	.comm	IXGBE_FCTRL_BAM,4,4
	.comm	IXGBE_FCTRL,4,4
	.comm	IFF_PROMISC,4,4
	.comm	IFF_ALLMULTI,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_ixgbe_main.c_ixgbe_set_rx_mode.c"
	.text
	.align	2
	.global	ixgbe_set_rx_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_set_rx_mode, %function
ixgbe_set_rx_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	bl	netdev_priv
	ldr	r3, .L19
	ldr	r2, .L19+4
	ldr	r8, .L19+8
	ldr	r6, [r2]
	add	r7, r0, #8
	ldr	r2, [r3]
	ldr	r1, [r8]
	mov	r10, r0
	mov	r0, r7
	orr	r6, r6, r2
	bl	IXGBE_READ_REG
	ldr	ip, .L19+12
	ldr	r2, .L19+16
	ldr	r3, .L19+20
	ldr	r4, [ip]
	ldr	ip, [r2]
	ldr	r3, [r3]
	ldr	r1, .L19+24
	ldr	r2, .L19+28
	ldr	r9, .L19+32
	orr	r4, r4, ip
	orr	r4, r4, r3
	ldr	r1, [r1]
	ldr	r3, [r5]
	ldr	r2, [r2]
	orr	r4, r4, r0
	ldr	r0, [r9]
	tst	r3, r1
	orr	r0, r2, r0
	beq	.L2
	mov	r1, #1
	ldr	r2, .L19+36
	ldr	r3, .L19+40
	ldr	ip, [r2]
	ldr	lr, .L19+44
	ldr	r2, [r3]
	ldr	r3, .L19+48
	orr	r2, ip, r2
	ldr	r3, [r3]
	ldr	ip, [r10]
	orr	r4, r0, r4
	ldr	r0, [lr]
	tst	r2, ip
	orr	r3, r3, r0
	orr	r6, r6, r3
	mov	r0, r10
	str	r1, [r10, #16]
	bne	.L3
	bl	ixgbe_vlan_filter_disable
	b	.L4
.L2:
	ldr	r1, .L19+52
	bic	r4, r4, r0
	ldr	r1, [r1]
	mov	r0, r10
	tst	r3, r1
	ldrne	r3, .L19+44
	orrne	r4, r4, r2
	ldrne	r3, [r3]
	orrne	r6, r6, r3
	bl	ixgbe_vlan_filter_enable
	mov	r3, #0
	str	r3, [r10, #16]
.L4:
	mov	r0, r5
	bl	ixgbe_write_uc_addr_list
	cmp	r0, #0
	ldrlt	r3, .L19+48
	ldrlt	r2, [r9]
	ldrlt	r3, [r3]
	mov	r1, r5
	orrlt	r6, r6, r3
	mov	r0, r7
	ldr	r3, [r10, #12]
	orrlt	r4, r4, r2
	blx	r3
	ldr	r3, [r10, #4]
	ldr	fp, .L19+56
	cmp	r3, #0
	ldr	r9, [fp]
	bne	.L18
.L7:
	ldr	r3, .L19+60
	ldr	r2, [r10, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L8
	mov	r0, #0
	bl	VMDQ_P
	bl	IXGBE_VMOLR
	mov	r1, r0
	mov	r0, r7
	bl	IXGBE_READ_REG
	ldr	r2, .L19+44
	ldr	r3, .L19+48
	ldr	r1, [fp]
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r2, r2, r1
	orr	r2, r2, r3
	orr	r9, r9, r6
	bic	r6, r0, r2
	mov	r0, #0
	bl	VMDQ_P
	bl	IXGBE_VMOLR
	orr	r6, r6, r9
	mov	r1, r0
	mov	r2, r6
	mov	r0, r7
	bl	IXGBE_WRITE_REG
.L8:
	mov	r2, r4
	mov	r0, r7
	ldr	r1, [r8]
	bl	IXGBE_WRITE_REG
	ldr	r3, .L19+64
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	mov	r0, r10
	tst	r2, r3
	beq	.L9
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ixgbe_vlan_strip_enable
.L9:
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ixgbe_vlan_strip_disable
.L3:
	bl	ixgbe_vlan_filter_enable
	b	.L4
.L18:
	mov	r0, r10
	bl	ixgbe_restore_vf_multicasts
	b	.L7
.L20:
	.align	2
.L19:
	.word	IXGBE_VMOLR_AUPE
	.word	IXGBE_VMOLR_BAM
	.word	IXGBE_FCTRL
	.word	IXGBE_FCTRL_BAM
	.word	IXGBE_FCTRL_DPF
	.word	IXGBE_FCTRL_PMCF
	.word	IFF_PROMISC
	.word	IXGBE_FCTRL_MPE
	.word	IXGBE_FCTRL_UPE
	.word	IXGBE_FLAG_VMDQ_ENABLED
	.word	IXGBE_FLAG_SRIOV_ENABLED
	.word	IXGBE_VMOLR_MPE
	.word	IXGBE_VMOLR_ROPE
	.word	IFF_ALLMULTI
	.word	IXGBE_VMOLR_ROMPE
	.word	ixgbe_mac_82598EB
	.word	NETIF_F_HW_VLAN_RX
	.size	ixgbe_set_rx_mode, .-ixgbe_set_rx_mode
	.comm	ixgbe_mac_82598EB,4,4
	.comm	NETIF_F_HW_VLAN_RX,4,4
	.comm	IXGBE_VMOLR_ROPE,4,4
	.comm	IXGBE_VMOLR_ROMPE,4,4
	.comm	IXGBE_VMOLR_MPE,4,4
	.comm	IXGBE_VMOLR_BAM,4,4
	.comm	IXGBE_VMOLR_AUPE,4,4
	.comm	IXGBE_FLAG_VMDQ_ENABLED,4,4
	.comm	IXGBE_FLAG_SRIOV_ENABLED,4,4
	.comm	IXGBE_FCTRL_UPE,4,4
	.comm	IXGBE_FCTRL_PMCF,4,4
	.comm	IXGBE_FCTRL_MPE,4,4
	.comm	IXGBE_FCTRL_DPF,4,4
	.comm	IXGBE_FCTRL_BAM,4,4
	.comm	IXGBE_FCTRL,4,4
	.comm	IFF_PROMISC,4,4
	.comm	IFF_ALLMULTI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
