	.file	"extr_myri10ge.c_myri10ge_vlan_rx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	myri10ge_vlan_rx, @function
myri10ge_vlan_rx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR NETIF_F_HW_VLAN_CTAG_RX[rip]
	mov	edx, DWORD PTR [rdi]
	and	edx, eax
	cmp	eax, edx
	je	.L8
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	movsx	rax, DWORD PTR MXGEFW_PAD[rip]
	mov	edi, DWORD PTR ETH_P_8021Q[rip]
	lea	r12, [rsi+rax*4]
	mov	rbx, QWORD PTR [r12]
	call	htons@PLT
	cmp	rbx, rax
	jne	.L1
	mov	rax, QWORD PTR CHECKSUM_COMPLETE[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L9
.L5:
	mov	edi, DWORD PTR 8[r12]
	call	ntohs@PLT
	mov	edi, DWORD PTR ETH_P_8021Q[rip]
	mov	r13d, eax
	call	htons@PLT
	mov	edx, r13d
	mov	rdi, rbp
	mov	rsi, rax
	call	__vlan_hwaccel_put_tag@PLT
	mov	eax, DWORD PTR ETH_ALEN[rip]
	mov	rsi, r12
	lea	edx, [rax+rax]
	movsx	rax, DWORD PTR VLAN_HLEN[rip]
	lea	rdi, [r12+rax*4]
	call	memmove@PLT
	mov	eax, DWORD PTR VLAN_HLEN[rip]
	sub	DWORD PTR 12[rbp], eax
	mov	rdi, rbp
	sub	DWORD PTR 8[rbp], eax
	call	skb_shinfo@PLT
	mov	esi, DWORD PTR VLAN_HLEN[rip]
	mov	rbp, QWORD PTR [rax]
	mov	rdi, rbp
	call	skb_frag_off_add@PLT
	mov	esi, DWORD PTR VLAN_HLEN[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	skb_frag_size_sub@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	movsx	rax, DWORD PTR ETH_HLEN[rip]
	mov	esi, DWORD PTR VLAN_HLEN[rip]
	xor	edx, edx
	lea	rdi, [r12+rax*4]
	call	csum_partial@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	esi, eax
	call	csum_sub@PLT
	mov	DWORD PTR 16[rbp], eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	myri10ge_vlan_rx, .-myri10ge_vlan_rx
	.comm	VLAN_HLEN,4,4
	.comm	NETIF_F_HW_VLAN_CTAG_RX,4,4
	.comm	MXGEFW_PAD,4,4
	.comm	ETH_P_8021Q,4,4
	.comm	ETH_HLEN,4,4
	.comm	ETH_ALEN,4,4
	.comm	CHECKSUM_COMPLETE,8,8
	.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_myri10ge.c_myri10ge_vlan_rx.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	myri10ge_vlan_rx, %function
myri10ge_vlan_rx:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	ldr	r0, [r0]
	ldr	r3, [r3]
	bics	r3, r3, r0
	bxne	lr
	ldr	r3, .L13+4
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L13+8
	ldr	r3, [r3]
	ldr	r0, [r5]
	ldr	r7, [r1, r3, lsl #2]
	mov	r4, r2
	add	r6, r1, r3, lsl #2
	bl	htons
	cmp	r7, r0
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, .L13+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L7
	ldr	r7, .L13+16
.L5:
	ldr	r0, [r5]
	bl	htons
	mov	r5, r0
	ldr	r0, [r6, #4]
	bl	ntohs
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	__vlan_hwaccel_put_tag
	ldr	r3, .L13+20
	ldr	r0, [r7]
	ldr	r2, [r3]
	mov	r1, r6
	add	r0, r6, r0, lsl #2
	lsl	r2, r2, #1
	bl	memmove
	ldr	r1, [r7]
	ldr	r2, [r4, #8]
	ldr	r3, [r4, #4]
	sub	r2, r2, r1
	sub	r3, r3, r1
	str	r2, [r4, #8]
	str	r3, [r4, #4]
	mov	r0, r4
	bl	skb_shinfo
	ldr	r4, [r0]
	ldr	r1, [r7]
	mov	r0, r4
	bl	skb_frag_off_add
	mov	r0, r4
	ldr	r1, [r7]
	pop	{r4, r5, r6, r7, r8, lr}
	b	skb_frag_size_sub
.L7:
	ldr	r3, .L13+24
	ldr	r7, .L13+16
	ldr	r0, [r3]
	mov	r2, #0
	ldr	r1, [r7]
	add	r0, r6, r0, lsl #2
	bl	csum_partial
	mov	r1, r0
	ldr	r0, [r4, #12]
	bl	csum_sub
	str	r0, [r4, #12]
	b	.L5
.L14:
	.align	2
.L13:
	.word	NETIF_F_HW_VLAN_CTAG_RX
	.word	MXGEFW_PAD
	.word	ETH_P_8021Q
	.word	CHECKSUM_COMPLETE
	.word	VLAN_HLEN
	.word	ETH_ALEN
	.word	ETH_HLEN
	.size	myri10ge_vlan_rx, .-myri10ge_vlan_rx
	.comm	VLAN_HLEN,4,4
	.comm	NETIF_F_HW_VLAN_CTAG_RX,4,4
	.comm	MXGEFW_PAD,4,4
	.comm	ETH_P_8021Q,4,4
	.comm	ETH_HLEN,4,4
	.comm	ETH_ALEN,4,4
	.comm	CHECKSUM_COMPLETE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
