	.file	"extr_cpsw.c_cpsw_rx_vlan_encap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cpsw_rx_vlan_encap, @function
cpsw_rx_vlan_encap:
.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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 8[rdi]
	call	netdev_priv@PLT
	mov	rsi, QWORD PTR CPSW_RX_VLAN_ENCAP_HDR_SIZE[rip]
	mov	rdi, rbp
	mov	r15, QWORD PTR 8[rax]
	mov	r14, rax
	mov	rax, QWORD PTR 0[rbp]
	mov	ebx, DWORD PTR [rax]
	call	skb_pull@PLT
	mov	ecx, DWORD PTR CPSW_RX_VLAN_ENCAP_HDR_PKT_TYPE_SHIFT[rip]
	mov	r13d, ebx
	sar	r13d, cl
	and	r13d, DWORD PTR CPSW_RX_VLAN_ENCAP_HDR_PKT_TYPE_MSK[rip]
	cmp	DWORD PTR CPSW_RX_VLAN_ENCAP_HDR_PKT_RESERV[rip], r13d
	je	.L1
	cmp	DWORD PTR CPSW_RX_VLAN_ENCAP_HDR_PKT_PRIO_TAG[rip], r13d
	je	.L1
	mov	ecx, DWORD PTR CPSW_RX_VLAN_ENCAP_HDR_VID_SHIFT[rip]
	mov	r12d, ebx
	sar	r12d, cl
	and	r12d, DWORD PTR VLAN_VID_MASK[rip]
	je	.L1
	cmp	QWORD PTR 8[r15], 0
	je	.L5
	mov	rdx, QWORD PTR [r14]
	mov	rax, QWORD PTR [r15]
	cmp	DWORD PTR [rax+rdx*4], r12d
	je	.L1
.L5:
	mov	ecx, DWORD PTR CPSW_RX_VLAN_ENCAP_HDR_PRIO_SHIFT[rip]
	mov	edi, DWORD PTR ETH_P_8021Q[rip]
	sar	ebx, cl
	mov	ecx, DWORD PTR VLAN_PRIO_SHIFT[rip]
	and	ebx, DWORD PTR CPSW_RX_VLAN_ENCAP_HDR_PRIO_MSK[rip]
	sal	ebx, cl
	call	htons@PLT
	or	r12d, ebx
	mov	rdi, rbp
	mov	esi, eax
	mov	edx, r12d
	call	__vlan_hwaccel_put_tag@PLT
	cmp	DWORD PTR CPSW_RX_VLAN_ENCAP_HDR_PKT_VLAN_TAG[rip], r13d
	je	.L11
.L1:
	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
	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]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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	skb_pull@PLT
	.cfi_endproc
.LFE0:
	.size	cpsw_rx_vlan_encap, .-cpsw_rx_vlan_encap
	.comm	VLAN_VID_MASK,4,4
	.comm	VLAN_PRIO_SHIFT,4,4
	.comm	VLAN_HLEN,8,8
	.comm	ETH_P_8021Q,4,4
	.comm	ETH_ALEN,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_VID_SHIFT,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_SIZE,8,8
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PRIO_SHIFT,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PRIO_MSK,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_VLAN_TAG,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_TYPE_SHIFT,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_TYPE_MSK,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_RESERV,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_PRIO_TAG,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_cpsw.c_cpsw_rx_vlan_encap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpsw_rx_vlan_encap, %function
cpsw_rx_vlan_encap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	bl	netdev_priv
	mov	r6, r0
	ldr	r2, .L14
	ldr	r3, [r4]
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r7, [r3]
	ldr	r8, [r6, #4]
	bl	skb_pull
	ldr	r2, .L14+4
	ldr	r1, .L14+8
	ldr	r3, .L14+12
	ldr	r2, [r2]
	ldr	r5, [r1]
	ldr	r3, [r3]
	and	r5, r5, r7, asr r2
	cmp	r3, r5
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L14+16
	ldr	r3, [r3]
	cmp	r3, r5
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L14+20
	ldr	r2, .L14+24
	ldr	r3, [r3]
	ldr	r2, [r2]
	ands	r2, r2, r7, asr r3
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r8, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r1, [r6]
	ldr	r3, [r8]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r3, r2
	popeq	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r0, .L14+28
	ldr	r3, .L14+32
	ldr	r0, [r0]
	ldr	r3, [r3]
	ldr	r1, .L14+36
	and	r7, r3, r7, asr r0
	ldr	r3, .L14+40
	ldr	r1, [r1]
	ldr	r0, [r3]
	orr	r7, r2, r7, lsl r1
	bl	htons
	mov	r2, r7
	mov	r1, r0
	mov	r0, r4
	bl	__vlan_hwaccel_put_tag
	ldr	r3, .L14+44
	ldr	r3, [r3]
	cmp	r3, r5
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r5, .L14+48
	ldr	r3, .L14+52
	ldr	r1, [r4]
	ldr	r0, [r5]
	ldr	r2, [r3]
	add	r0, r1, r0
	lsl	r2, r2, #1
	bl	memmove
	mov	r0, r4
	ldr	r1, [r5]
	pop	{r4, r5, r6, r7, r8, lr}
	b	skb_pull
.L15:
	.align	2
.L14:
	.word	CPSW_RX_VLAN_ENCAP_HDR_SIZE
	.word	CPSW_RX_VLAN_ENCAP_HDR_PKT_TYPE_SHIFT
	.word	CPSW_RX_VLAN_ENCAP_HDR_PKT_TYPE_MSK
	.word	CPSW_RX_VLAN_ENCAP_HDR_PKT_RESERV
	.word	CPSW_RX_VLAN_ENCAP_HDR_PKT_PRIO_TAG
	.word	CPSW_RX_VLAN_ENCAP_HDR_VID_SHIFT
	.word	VLAN_VID_MASK
	.word	CPSW_RX_VLAN_ENCAP_HDR_PRIO_SHIFT
	.word	CPSW_RX_VLAN_ENCAP_HDR_PRIO_MSK
	.word	VLAN_PRIO_SHIFT
	.word	ETH_P_8021Q
	.word	CPSW_RX_VLAN_ENCAP_HDR_PKT_VLAN_TAG
	.word	VLAN_HLEN
	.word	ETH_ALEN
	.size	cpsw_rx_vlan_encap, .-cpsw_rx_vlan_encap
	.comm	VLAN_VID_MASK,4,4
	.comm	VLAN_PRIO_SHIFT,4,4
	.comm	VLAN_HLEN,4,4
	.comm	ETH_P_8021Q,4,4
	.comm	ETH_ALEN,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_VID_SHIFT,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_SIZE,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PRIO_SHIFT,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PRIO_MSK,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_VLAN_TAG,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_TYPE_SHIFT,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_TYPE_MSK,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_RESERV,4,4
	.comm	CPSW_RX_VLAN_ENCAP_HDR_PKT_PRIO_TAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
