	.file	"extr_dp83640.c_match.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	match, @function
match:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	mov	ebp, ebx
	call	skb_mac_header@PLT
	mov	r14, rax
	and	ebp, DWORD PTR PTP_CLASS_VLAN[rip]
	je	.L2
	mov	ebp, DWORD PTR VLAN_HLEN[rip]
.L2:
	mov	eax, DWORD PTR PTP_CLASS_PMASK[rip]
	and	eax, ebx
	cmp	eax, 129
	je	.L3
	cmp	eax, 130
	je	.L4
	cmp	eax, 128
	je	.L5
.L11:
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edx, DWORD PTR ETH_HLEN[rip]
	add	ebp, edx
.L7:
	mov	eax, ebp
	add	eax, DWORD PTR OFF_PTP_SEQUENCE_ID[rip]
	add	edx, DWORD PTR 0[r13]
	add	rax, 4
	cmp	rdx, rax
	jb	.L11
	and	ebx, DWORD PTR PTP_CLASS_V1[rip]
	mov	edi, ebx
	call	unlikely@PLT
	test	rax, rax
	jne	.L17
	lea	rax, [r14+rbp*4]
.L10:
	mov	eax, DWORD PTR [rax]
	and	eax, 15
	cmp	DWORD PTR [r12], eax
	jne	.L11
	mov	eax, DWORD PTR OFF_PTP_SEQUENCE_ID[rip]
	mov	rbx, QWORD PTR 8[r12]
	add	rax, rbp
	mov	edi, DWORD PTR [r14+rax*4]
	call	ntohs@PLT
	cmp	rbx, rax
	jne	.L11
	movsx	rax, DWORD PTR DP83640_PACKET_HASH_OFFSET[rip]
	mov	edi, DWORD PTR DP83640_PACKET_HASH_LEN[rip]
	add	rbp, rax
	lea	rsi, [r14+rbp*4]
	call	ether_crc@PLT
	sar	eax, 20
	cmp	DWORD PTR 16[r12], eax
	sete	al
	movzx	eax, al
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, ebp
	lea	rdi, [r14+rax*4]
	call	IPV4_HLEN@PLT
	mov	edx, DWORD PTR ETH_HLEN[rip]
	mov	r8d, eax
	mov	eax, DWORD PTR UDP_HLEN[rip]
	add	eax, edx
	add	ebp, eax
	add	ebp, r8d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR ETH_HLEN[rip]
	mov	eax, DWORD PTR IP6_HLEN[rip]
	add	eax, edx
	add	eax, DWORD PTR UDP_HLEN[rip]
	add	ebp, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L17:
	movsx	rax, DWORD PTR OFF_PTP_CONTROL[rip]
	add	rax, rbp
	lea	rax, [r14+rax*4]
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	match, .-match
	.comm	VLAN_HLEN,8,8
	.comm	UDP_HLEN,4,4
	.comm	PTP_CLASS_VLAN,4,4
	.comm	PTP_CLASS_V1,4,4
	.comm	PTP_CLASS_PMASK,4,4
	.comm	OFF_PTP_SEQUENCE_ID,4,4
	.comm	OFF_PTP_CONTROL,4,4
	.comm	IP6_HLEN,4,4
	.comm	ETH_HLEN,4,4
	.comm	DP83640_PACKET_HASH_OFFSET,4,4
	.comm	DP83640_PACKET_HASH_LEN,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_dp83640.c_match.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	match, %function
match:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r4, r2
	mov	r7, r0
	bl	skb_mac_header
	ldr	r3, .L17
	mov	r6, r0
	ldr	r3, [r3]
	ands	r8, r5, r3
	ldrne	r3, .L17+4
	ldrne	r8, [r3]
	ldr	r3, .L17+8
	ldr	r3, [r3]
	and	r3, r3, r5
	cmp	r3, #129
	beq	.L3
	cmp	r3, #130
	beq	.L4
	cmp	r3, #128
	beq	.L5
.L11:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	ldr	r1, .L17+12
	ldr	r3, .L17+16
	ldr	r2, .L17+20
	ldr	ip, [r1]
	ldr	r3, [r3]
	ldr	r1, [r2]
	add	r3, ip, r3
	add	r3, r3, r1
	add	r8, r3, r8
.L7:
	ldr	r9, .L17+24
	ldr	r2, [r7]
	ldr	r3, [r9]
	add	ip, ip, r2
	add	r3, r3, #4
	add	r3, r3, r8
	cmp	ip, r3
	bcc	.L11
	ldr	r3, .L17+28
	ldr	r0, [r3]
	and	r0, r0, r5
	bl	unlikely
	cmp	r0, #0
	ldrne	r3, .L17+32
	addeq	r3, r6, r8, lsl #2
	ldrne	r3, [r3]
	ldr	r2, [r4]
	addne	r3, r8, r3
	addne	r3, r6, r3, lsl #2
	ldr	r3, [r3]
	and	r3, r3, #15
	cmp	r2, r3
	bne	.L11
	ldr	r3, [r9]
	ldr	r5, [r4, #4]
	add	r3, r8, r3
	ldr	r0, [r6, r3, lsl #2]
	bl	ntohs
	cmp	r5, r0
	bne	.L11
	ldr	r2, .L17+36
	ldr	r3, .L17+40
	ldr	r1, [r2]
	ldr	r0, [r3]
	add	r1, r8, r1
	add	r1, r6, r1, lsl #2
	bl	ether_crc
	ldr	r3, [r4, #8]
	cmp	r3, r0, asr #20
	moveq	r0, #1
	movne	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	ldr	r3, .L17+12
	ldr	ip, [r3]
	add	r8, ip, r8
	b	.L7
.L4:
	add	r0, r0, r8, lsl #2
	bl	IPV4_HLEN
	ldr	r2, .L17+12
	ldr	r3, .L17+20
	ldr	ip, [r2]
	ldr	r3, [r3]
	add	r3, ip, r3
	add	r8, r3, r8
	add	r8, r0, r8
	b	.L7
.L18:
	.align	2
.L17:
	.word	PTP_CLASS_VLAN
	.word	VLAN_HLEN
	.word	PTP_CLASS_PMASK
	.word	ETH_HLEN
	.word	IP6_HLEN
	.word	UDP_HLEN
	.word	OFF_PTP_SEQUENCE_ID
	.word	PTP_CLASS_V1
	.word	OFF_PTP_CONTROL
	.word	DP83640_PACKET_HASH_OFFSET
	.word	DP83640_PACKET_HASH_LEN
	.size	match, .-match
	.comm	VLAN_HLEN,4,4
	.comm	UDP_HLEN,4,4
	.comm	PTP_CLASS_VLAN,4,4
	.comm	PTP_CLASS_V1,4,4
	.comm	PTP_CLASS_PMASK,4,4
	.comm	OFF_PTP_SEQUENCE_ID,4,4
	.comm	OFF_PTP_CONTROL,4,4
	.comm	IP6_HLEN,4,4
	.comm	ETH_HLEN,4,4
	.comm	DP83640_PACKET_HASH_OFFSET,4,4
	.comm	DP83640_PACKET_HASH_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
