	.file	"extr_vlan_core.c_vlan_hw_filter_capable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vlan_hw_filter_capable, @function
vlan_hw_filter_capable:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR ETH_P_8021Q[rip]
	call	htons@PLT
	cmp	rax, rbx
	jne	.L2
	mov	edx, DWORD PTR 0[rbp]
	mov	eax, 1
	test	DWORD PTR NETIF_F_HW_VLAN_CTAG_FILTER[rip], edx
	jne	.L1
.L2:
	mov	edi, DWORD PTR ETH_P_8021AD[rip]
	call	htons@PLT
	mov	r8, rax
	xor	eax, eax
	cmp	r8, rbx
	jne	.L1
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR NETIF_F_HW_VLAN_STAG_FILTER[rip], eax
	setne	al
	movzx	eax, al
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vlan_hw_filter_capable, .-vlan_hw_filter_capable
	.comm	NETIF_F_HW_VLAN_STAG_FILTER,4,4
	.comm	NETIF_F_HW_VLAN_CTAG_FILTER,4,4
	.comm	ETH_P_8021Q,4,4
	.comm	ETH_P_8021AD,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_vlan_core.c_vlan_hw_filter_capable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlan_hw_filter_capable, %function
vlan_hw_filter_capable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r3]
	mov	r4, r1
	bl	htons
	cmp	r0, r4
	bne	.L2
	ldr	r3, .L9+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L4
.L2:
	ldr	r3, .L9+8
	ldr	r0, [r3]
	bl	htons
	cmp	r0, r4
	beq	.L8
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L9+12
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	movne	r0, #1
	moveq	r0, #0
	pop	{r4, r5, r6, pc}
.L4:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	ETH_P_8021Q
	.word	NETIF_F_HW_VLAN_CTAG_FILTER
	.word	ETH_P_8021AD
	.word	NETIF_F_HW_VLAN_STAG_FILTER
	.size	vlan_hw_filter_capable, .-vlan_hw_filter_capable
	.comm	NETIF_F_HW_VLAN_STAG_FILTER,4,4
	.comm	NETIF_F_HW_VLAN_CTAG_FILTER,4,4
	.comm	ETH_P_8021Q,4,4
	.comm	ETH_P_8021AD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
