	.file	"extr_qlcnic_io.c_qlcnic_check_rx_tagging.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qlcnic_check_rx_tagging, @function
qlcnic_check_rx_tagging:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	mov	rsi, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdi, rbp
	mov	rbx, rdx
	call	__vlan_get_tag@PLT
	test	eax, eax
	je	.L11
.L2:
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	je	.L1
	cmp	eax, DWORD PTR [rbx]
	je	.L12
	mov	edx, DWORD PTR 4[r12]
	xor	eax, eax
	test	DWORD PTR QLCNIC_TAGGING_ENABLED[rip], edx
	jne	.L1
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rsi, QWORD PTR 0[rbp]
	mov	eax, DWORD PTR ETH_ALEN[rip]
	mov	rdi, QWORD PTR VLAN_HLEN[rip]
	lea	edx, [rax+rax]
	add	rdi, rsi
	call	memmove@PLT
	mov	rsi, QWORD PTR VLAN_HLEN[rip]
	mov	rdi, rbp
	call	skb_pull@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	mov	DWORD PTR [rbx], 65535
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qlcnic_check_rx_tagging, .-qlcnic_check_rx_tagging
	.comm	VLAN_HLEN,8,8
	.comm	QLCNIC_TAGGING_ENABLED,4,4
	.comm	ETH_ALEN,4,4
	.comm	EINVAL,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_qlcnic_io.c_qlcnic_check_rx_tagging.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_check_rx_tagging, %function
qlcnic_check_rx_tagging:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r0
	mov	r1, r2
	mov	r0, r5
	mov	r4, r2
	bl	__vlan_get_tag
	cmp	r0, #0
	beq	.L11
.L2:
	ldr	r0, [r6]
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r4]
	cmp	r0, r3
	beq	.L12
	ldr	r3, .L13
	ldr	r2, [r6, #4]
	ldr	r3, [r3]
	tst	r2, r3
	ldreq	r3, .L13+4
	ldreq	r0, [r3]
	rsbeq	r0, r0, #0
	movne	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r3, .L13+8
	ldr	r7, .L13+12
	ldr	r1, [r5]
	ldr	r2, [r3]
	ldr	r0, [r7]
	lsl	r2, r2, #1
	add	r0, r1, r0
	bl	memmove
	mov	r0, r5
	ldr	r1, [r7]
	bl	skb_pull
	b	.L2
.L12:
	ldr	r3, .L13+16
	mov	r0, #0
	str	r3, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	QLCNIC_TAGGING_ENABLED
	.word	EINVAL
	.word	ETH_ALEN
	.word	VLAN_HLEN
	.word	65535
	.size	qlcnic_check_rx_tagging, .-qlcnic_check_rx_tagging
	.comm	VLAN_HLEN,4,4
	.comm	QLCNIC_TAGGING_ENABLED,4,4
	.comm	ETH_ALEN,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
