	.file	"extr_vxlan.c_vxlan_parse_gbp_hdr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vxlan_parse_gbp_hdr, @function
vxlan_parse_gbp_hdr:
.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, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR [rdi]
	test	DWORD PTR VXLAN_HF_GBP[rip], ecx
	jne	.L14
.L2:
	mov	eax, DWORD PTR VXLAN_GBP_USED_BITS[rip]
	not	eax
	and	eax, ecx
	mov	DWORD PTR [rbx], eax
	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
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rdi]
	mov	r13, rsi
	mov	r12d, edx
	call	ntohs@PLT
	mov	rdi, r13
	mov	DWORD PTR 0[rbp], eax
	call	skb_dst@PLT
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR TUNNEL_VXLAN_OPT[rip]
	or	DWORD PTR 4[rax], edx
	mov	DWORD PTR [rax], 4
.L3:
	cmp	QWORD PTR 8[rbx], 0
	je	.L4
	mov	eax, DWORD PTR VXLAN_GBP_DONT_LEARN[rip]
	or	DWORD PTR 0[rbp], eax
.L4:
	cmp	QWORD PTR [rbx], 0
	je	.L5
	mov	eax, DWORD PTR VXLAN_GBP_POLICY_APPLIED[rip]
	or	DWORD PTR 0[rbp], eax
.L5:
	mov	ecx, DWORD PTR [rbx]
	test	DWORD PTR VXLAN_F_COLLECT_METADATA[rip], r12d
	jne	.L2
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 0[r13], eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	vxlan_parse_gbp_hdr, .-vxlan_parse_gbp_hdr
	.comm	VXLAN_HF_GBP,4,4
	.comm	VXLAN_GBP_USED_BITS,4,4
	.comm	VXLAN_GBP_POLICY_APPLIED,4,4
	.comm	VXLAN_GBP_DONT_LEARN,4,4
	.comm	VXLAN_F_COLLECT_METADATA,4,4
	.comm	TUNNEL_VXLAN_OPT,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_vxlan.c_vxlan_parse_gbp_hdr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vxlan_parse_gbp_hdr, %function
vxlan_parse_gbp_hdr:
	@ 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, .L21
	ldr	ip, [r4]
	ldr	lr, [r0]
	tst	ip, lr
	bne	.L20
.L2:
	ldr	r3, .L21+4
	ldr	r3, [r3]
	bic	ip, ip, r3
	str	ip, [r4]
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	ldr	r0, [r4, #8]
	mov	r7, r1
	mov	r5, r3
	mov	r6, r2
	bl	ntohs
	str	r0, [r5]
	mov	r0, r7
	bl	skb_dst
	cmp	r0, #0
	beq	.L3
	mov	r1, #4
	ldr	r2, .L21+8
	ldr	r3, [r0, #4]
	ldr	r2, [r2]
	str	r1, [r0]
	orr	r3, r3, r2
	str	r3, [r0, #4]
.L3:
	ldr	r3, [r4, #4]
	ldr	ip, [r4]
	cmp	r3, #0
	ldrne	r2, .L21+12
	ldrne	r3, [r5]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [r5]
	cmp	ip, #0
	ldrne	r2, .L21+16
	ldrne	r3, [r5]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [r5]
	ldr	r3, .L21+20
	ldr	r3, [r3]
	tst	r6, r3
	ldreq	r3, [r5]
	streq	r3, [r7]
	b	.L2
.L22:
	.align	2
.L21:
	.word	VXLAN_HF_GBP
	.word	VXLAN_GBP_USED_BITS
	.word	TUNNEL_VXLAN_OPT
	.word	VXLAN_GBP_DONT_LEARN
	.word	VXLAN_GBP_POLICY_APPLIED
	.word	VXLAN_F_COLLECT_METADATA
	.size	vxlan_parse_gbp_hdr, .-vxlan_parse_gbp_hdr
	.comm	VXLAN_HF_GBP,4,4
	.comm	VXLAN_GBP_USED_BITS,4,4
	.comm	VXLAN_GBP_POLICY_APPLIED,4,4
	.comm	VXLAN_GBP_DONT_LEARN,4,4
	.comm	VXLAN_F_COLLECT_METADATA,4,4
	.comm	TUNNEL_VXLAN_OPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
