	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_tnl_create
_vxlan_tnl_create:                      ## @vxlan_tnl_create
	.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	%rdi, %r12
	movl	16(%rdi), %edi
	callq	_ovs_dp_get_net
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	movq	_OVS_TUNNEL_ATTR_DST_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nla_find_nested
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_nla_len
	cmpl	$4, %eax
	jne	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_nla_get_u16
	movl	%eax, %r13d
	movq	_ovs_vxlan_vport_ops@GOTPCREL(%rip), %rsi
	movl	$16, %edi
	movq	%r12, %rdx
	callq	_ovs_vport_alloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
LBB0_8:
	movq	%r15, %rbx
	jmp	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_4:
	movq	%r15, %rdi
	callq	_vxlan_vport
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rax), %edi
	movl	(%r12), %esi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strncpy
	movl	%r13d, %edi
	callq	_htons
	movq	_vxlan_rcv@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %rcx
	movl	$1, %r8d
	callq	_vxlan_sock_add
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	callq	_ovs_vport_free
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OVS_TUNNEL_ATTR_DST_PORT,4,2   ## @OVS_TUNNEL_ATTR_DST_PORT
	.comm	_ovs_vxlan_vport_ops,4,2        ## @ovs_vxlan_vport_ops
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_vxlan_rcv,4,2                  ## @vxlan_rcv
	.no_dead_strip	_vxlan_tnl_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_tnl_create
_vxlan_tnl_create:                      ; @vxlan_tnl_create
	.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	x20, x0
	ldr	w0, [x0, #16]
	bl	_ovs_dp_get_net
	mov	x19, x0
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _OVS_TUNNEL_ATTR_DST_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OVS_TUNNEL_ATTR_DST_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nla_find_nested
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	bl	_nla_len
	cmp	w0, #4
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_nla_get_u16
	mov	x23, x0
Lloh3:
	adrp	x1, _ovs_vxlan_vport_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _ovs_vxlan_vport_ops@GOTPAGEOFF]
	mov	w0, #16
	mov	x2, x20
	bl	_ovs_vport_alloc
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
LBB0_4:
	mov	x19, x21
	b	LBB0_8
LBB0_5:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
LBB0_6:
	mov	x0, x21
	bl	_vxlan_vport
	mov	x22, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	bl	_strncpy
	mov	x0, x23
	bl	_htons
	mov	x1, x0
Lloh11:
	adrp	x8, _vxlan_rcv@GOTPAGE
Lloh12:
	ldr	x8, [x8, _vxlan_rcv@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x21
	mov	w4, #1
	bl	_vxlan_sock_add
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_ovs_vport_free
LBB0_8:
	mov	x0, x19
	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_9:
	str	x19, [x22]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OVS_TUNNEL_ATTR_DST_PORT,4,2   ; @OVS_TUNNEL_ATTR_DST_PORT
	.comm	_ovs_vxlan_vport_ops,4,2        ; @ovs_vxlan_vport_ops
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_vxlan_rcv,4,2                  ; @vxlan_rcv
	.no_dead_strip	_vxlan_tnl_create
.subsections_via_symbols
