	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_tnl_send
_vxlan_tnl_send:                        ## @vxlan_tnl_send
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_ovs_dp_get_net
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_vxlan_vport
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_inet_sk
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_OVS_CB
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	leaq	-96(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movq	%r15, %rdi
	callq	_OVS_CB
	movq	(%rax), %rax
	movl	16(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	%r15, %rdi
	callq	_OVS_CB
	movq	(%rax), %rax
	movl	20(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	%r15, %rdi
	callq	_OVS_CB
	movq	(%rax), %rax
	movl	12(%rax), %edi
	callq	_RT_TOS
	movl	%eax, -84(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -88(%rbp)
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_ip_route_output_key
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_OVS_CB
	movq	(%rax), %rax
	movq	_TUNNEL_DONT_FRAGMENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_IP_DF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_5:
	movl	$1, (%r15)
	leaq	-52(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_inet_get_local_port_range
	movl	-52(%rbp), %edi
	movl	-48(%rbp), %esi
	movq	%r15, %rdx
	callq	_vxlan_src_port
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	(%r12), %r13
	movq	-72(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	-96(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_OVS_CB
	movq	(%rax), %rax
	movl	16(%rax), %r12d
	movq	%r15, %rdi
	callq	_OVS_CB
	movq	(%rax), %rax
	movl	12(%rax), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_OVS_CB
	movq	(%rax), %rax
	movl	8(%rax), %ebx
	movq	%r15, %rdi
	callq	_OVS_CB
	movq	(%rax), %rax
	movl	4(%rax), %edi
	callq	_be64_to_cpu
	shll	$8, %eax
	movl	%eax, %edi
	callq	_htonl
                                        ## kill: def $eax killed $eax def $rax
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	pushq	%rax
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%rbx
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_vxlan_xmit_skb
	addq	$48, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:
	movq	-72(%rbp), %rdi
	callq	_ip_rt_put
LBB0_7:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_TUNNEL_DONT_FRAGMENT,4,2       ## @TUNNEL_DONT_FRAGMENT
	.comm	_IP_DF,4,2                      ## @IP_DF
	.no_dead_strip	_vxlan_tnl_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_tnl_send
_vxlan_tnl_send:                        ; @vxlan_tnl_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_ovs_dp_get_net
	mov	x20, x0
	mov	x0, x21
	bl	_vxlan_vport
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_inet_sk
	ldr	w25, [x0]
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_2:
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	ldr	w8, [x8, #16]
	str	w8, [sp, #48]
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	ldr	w8, [x8, #20]
	str	w8, [sp, #32]
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	ldr	w0, [x8, #12]
	bl	_RT_TOS
	str	w0, [sp, #44]
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #36]
	add	x1, sp, #56
	add	x2, sp, #32
	mov	x0, x20
	bl	_ip_route_output_key
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _TUNNEL_DONT_FRAGMENT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TUNNEL_DONT_FRAGMENT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _IP_DF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IP_DF@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_5:
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
LBB0_6:
	mov	w8, #1
	str	w8, [x19]
	add	x0, sp, #28
	add	x1, sp, #24
	bl	_inet_get_local_port_range
	ldp	w1, w0, [sp, #24]
	mov	x2, x19
	bl	_vxlan_src_port
	mov	x23, x0
	ldr	x21, [x21]
	ldr	x24, [sp, #56]
	ldr	w22, [sp, #32]
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	ldr	w26, [x8, #16]
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	ldr	w27, [x8, #12]
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	ldr	w28, [x8, #8]
	mov	x0, x19
	bl	_OVS_CB
	ldr	x8, [x0]
	ldr	w0, [x8, #4]
	bl	_be64_to_cpu
	lsl	w0, w0, #8
	bl	_htonl
	stp	w25, w0, [sp, #8]
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	stp	w8, w23, [sp]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	mov	x3, x19
	mov	x4, x22
	mov	x5, x26
	mov	x6, x27
	mov	x7, x28
	bl	_vxlan_xmit_skb
	mov	x22, x0
	tbz	w0, #31, LBB0_8
; %bb.7:
	ldr	x0, [sp, #56]
	bl	_ip_rt_put
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_TUNNEL_DONT_FRAGMENT,4,2       ; @TUNNEL_DONT_FRAGMENT
	.comm	_IP_DF,4,2                      ; @IP_DF
	.no_dead_strip	_vxlan_tnl_send
.subsections_via_symbols
