	.file	"extr_flow.c_parse_ethertype.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parse_ethertype, @function
parse_ethertype:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, 4
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rdi]
	mov	r12d, DWORD PTR [rax]
	call	__skb_pull@PLT
	mov	edi, r12d
	call	ntohs@PLT
	cmp	eax, 1535
	jg	.L1
	cmp	DWORD PTR 0[rbp], 55
	jbe	.L7
	mov	rdi, rbp
	mov	esi, 56
	call	pskb_may_pull@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L10
	mov	r12, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR LLC_SAP_SNAP[rip]
	cmp	QWORD PTR [r12], rax
	jne	.L7
	cmp	rax, QWORD PTR 8[r12]
	jne	.L7
	mov	rax, QWORD PTR 24[r12]
	or	rax, QWORD PTR 32[r12]
	or	rax, QWORD PTR 40[r12]
	jne	.L7
	mov	rdi, rbp
	mov	esi, 56
	call	__skb_pull@PLT
	mov	edi, DWORD PTR 48[r12]
	call	ntohs@PLT
	cmp	eax, 1535
	jle	.L7
	mov	r12d, DWORD PTR 48[r12]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR ETH_P_802_2[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	htons@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	edi, edi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	htons@PLT
	.cfi_endproc
.LFE0:
	.size	parse_ethertype, .-parse_ethertype
	.comm	LLC_SAP_SNAP,8,8
	.comm	ETH_P_802_2,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_flow.c_parse_ethertype.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_ethertype, %function
parse_ethertype:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, lr}
	ldr	r5, [r3]
	mov	r1, #4
	mov	r4, r0
	bl	__skb_pull
	mov	r0, r5
	bl	ntohs
	cmp	r0, #1536
	bge	.L1
	ldr	r3, [r4]
	cmp	r3, #27
	bls	.L7
	mov	r1, #28
	mov	r0, r4
	bl	pskb_may_pull
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L10
	ldr	r5, [r4, #4]
	ldr	r2, .L11
	ldr	r3, [r5]
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L7
	ldr	r2, [r5, #4]
	cmp	r3, r2
	bne	.L7
	ldr	r3, [r5, #12]
	ldr	r1, [r5, #16]
	ldr	r2, [r5, #20]
	orr	r3, r3, r1
	orrs	r3, r3, r2
	bne	.L7
	mov	r1, #28
	mov	r0, r4
	bl	__skb_pull
	ldr	r0, [r5, #24]
	bl	ntohs
	cmp	r0, #1536
	blt	.L7
	ldr	r5, [r5, #24]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L11+4
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	b	htons
.L10:
	mov	r0, #0
	pop	{r4, r5, r6, lr}
	b	htons
.L12:
	.align	2
.L11:
	.word	LLC_SAP_SNAP
	.word	ETH_P_802_2
	.size	parse_ethertype, .-parse_ethertype
	.comm	LLC_SAP_SNAP,4,4
	.comm	ETH_P_802_2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
