	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_udp_encap_recv
_vxlan_udp_encap_recv:                  ## @vxlan_udp_encap_recv
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_VXLAN_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_pskb_may_pull
	movl	$1, %r12d
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%r13, %rdi
	callq	_udp_hdr
	movq	%rax, %r14
	movl	1(%rax), %ebx
	movq	_VXLAN_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
	cmpl	%eax, %ebx
	jne	LBB0_3
## %bb.2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	5(%r14), %r15d
	movl	$255, %edi
	callq	_htonl
	testl	%r15d, %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_4
LBB0_3:
	movl	(%r13), %r15d
	movl	%ebx, %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	5(%r14), %edi
	callq	_ntohl
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_netdev_dbg
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_VXLAN_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ETH_P_TEB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_iptunnel_pull_header
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	%r13, %rdi
	callq	_kfree_skb
	jmp	LBB0_8
LBB0_5:
	movq	%r15, %rdi
	callq	_inet_sk
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_sock_net
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_vxlan_find_sock
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	5(%r14), %edx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	*(%rax)
LBB0_8:
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_VXLAN_HLEN,4,2                 ## @VXLAN_HLEN
	.comm	_VXLAN_FLAGS,4,2                ## @VXLAN_FLAGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid vxlan flags=%#x vni=%#x\n"

	.comm	_ETH_P_TEB,4,2                  ## @ETH_P_TEB
	.no_dead_strip	_vxlan_udp_encap_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_udp_encap_recv
_vxlan_udp_encap_recv:                  ; @vxlan_udp_encap_recv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _VXLAN_HLEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _VXLAN_HLEN@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_pskb_may_pull
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_udp_hdr
	mov	x20, x0
	ldur	w22, [x0, #1]
Lloh2:
	adrp	x8, _VXLAN_FLAGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VXLAN_FLAGS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_htonl
	cmp	w22, w0
	b.ne	LBB0_3
; %bb.2:
	ldur	w24, [x20, #5]
	mov	w0, #255
	bl	_htonl
	tst	w0, w24
	b.eq	LBB0_6
LBB0_3:
	ldr	w19, [x19]
	mov	x0, x22
	bl	_ntohl
	mov	x21, x0
	ldur	w0, [x20, #5]
	bl	_ntohl
	mov	x3, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_netdev_dbg
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w22, [x23]
Lloh7:
	adrp	x8, _ETH_P_TEB@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETH_P_TEB@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_htons
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_iptunnel_pull_header
	cbz	x0, LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_kfree_skb
	b	LBB0_10
LBB0_8:
	mov	x0, x21
	bl	_inet_sk
	ldr	w22, [x0]
	mov	x0, x21
	bl	_sock_net
	mov	x1, x22
	bl	_vxlan_find_sock
	cbz	x0, LBB0_7
; %bb.9:
	ldr	x8, [x0]
	ldur	w2, [x20, #5]
	mov	x1, x19
	blr	x8
LBB0_10:
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_VXLAN_HLEN,4,2                 ; @VXLAN_HLEN
	.comm	_VXLAN_FLAGS,4,2                ; @VXLAN_FLAGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid vxlan flags=%#x vni=%#x\n"

	.comm	_ETH_P_TEB,4,2                  ; @ETH_P_TEB
	.no_dead_strip	_vxlan_udp_encap_recv
.subsections_via_symbols
