	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_parse_gbp_hdr
_vxlan_parse_gbp_hdr:                   ## @vxlan_parse_gbp_hdr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_VXLAN_HF_GBP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.1:
	movl	%edx, %r12d
	movq	%rsi, %r15
	movl	16(%rbx), %edi
	callq	_ntohs
	movl	%eax, (%r14)
	movq	%r15, %rdi
	callq	_skb_dst
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_TUNNEL_VXLAN_OPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
	movl	$4, (%rax)
LBB0_3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	movq	_VXLAN_GBP_DONT_LEARN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_5:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_VXLAN_GBP_POLICY_APPLIED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r14)
LBB0_7:
	movq	_VXLAN_F_COLLECT_METADATA@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	jne	LBB0_9
## %bb.8:
	movl	(%r14), %ecx
	movl	%ecx, (%r15)
LBB0_9:
	movq	_VXLAN_GBP_USED_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, (%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VXLAN_HF_GBP,4,2               ## @VXLAN_HF_GBP
	.comm	_TUNNEL_VXLAN_OPT,4,2           ## @TUNNEL_VXLAN_OPT
	.comm	_VXLAN_GBP_DONT_LEARN,4,2       ## @VXLAN_GBP_DONT_LEARN
	.comm	_VXLAN_GBP_POLICY_APPLIED,4,2   ## @VXLAN_GBP_POLICY_APPLIED
	.comm	_VXLAN_F_COLLECT_METADATA,4,2   ## @VXLAN_F_COLLECT_METADATA
	.comm	_VXLAN_GBP_USED_BITS,4,2        ## @VXLAN_GBP_USED_BITS
	.no_dead_strip	_vxlan_parse_gbp_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_parse_gbp_hdr
_vxlan_parse_gbp_hdr:                   ; @vxlan_parse_gbp_hdr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _VXLAN_HF_GBP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VXLAN_HF_GBP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	ldr	w0, [x19, #16]
	bl	_ntohs
	str	w0, [x20]
	mov	x0, x21
	bl	_skb_dst
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _TUNNEL_VXLAN_OPT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TUNNEL_VXLAN_OPT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8
	mov	w9, #4
	stp	w9, w8, [x0]
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _VXLAN_GBP_DONT_LEARN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VXLAN_GBP_DONT_LEARN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
Lloh9:
	adrp	x9, _VXLAN_GBP_POLICY_APPLIED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VXLAN_GBP_POLICY_APPLIED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [x20]
	orr	w9, w10, w9
	str	w9, [x20]
LBB0_7:
Lloh12:
	adrp	x9, _VXLAN_F_COLLECT_METADATA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VXLAN_F_COLLECT_METADATA@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w22
	b.ne	LBB0_9
; %bb.8:
	ldr	w9, [x20]
	str	w9, [x21]
LBB0_9:
Lloh15:
	adrp	x9, _VXLAN_GBP_USED_BITS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VXLAN_GBP_USED_BITS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_VXLAN_HF_GBP,4,2               ; @VXLAN_HF_GBP
	.comm	_TUNNEL_VXLAN_OPT,4,2           ; @TUNNEL_VXLAN_OPT
	.comm	_VXLAN_GBP_DONT_LEARN,4,2       ; @VXLAN_GBP_DONT_LEARN
	.comm	_VXLAN_GBP_POLICY_APPLIED,4,2   ; @VXLAN_GBP_POLICY_APPLIED
	.comm	_VXLAN_F_COLLECT_METADATA,4,2   ; @VXLAN_F_COLLECT_METADATA
	.comm	_VXLAN_GBP_USED_BITS,4,2        ; @VXLAN_GBP_USED_BITS
	.no_dead_strip	_vxlan_parse_gbp_hdr
.subsections_via_symbols
