	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_ctrl_ftable_entry_add
_vxlan_ctrl_ftable_entry_add:           ## @vxlan_ctrl_ftable_entry_add
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	movq	%rax, -40(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_VXLAN_SOCKADDR_IS_IPV46
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	leaq	-40(%rbp), %rdi
	callq	_vxlan_sockaddr_in_any
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	-40(%rbp), %rdi
	callq	_vxlan_sockaddr_in_multicast
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	-40(%rbp), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_14
## %bb.7:
	leaq	-40(%rbp), %rdi
	callq	_VXLAN_SOCKADDR_IS_IPV6
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rdi
	callq	_vxlan_sockaddr_in6_embedscope
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
LBB0_9:
	xorl	%eax, %eax
	callq	_vxlan_ftable_entry_alloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movq	%rax, %r15
	cmpq	$0, -40(%rbp)
	jne	LBB0_12
## %bb.11:
	movq	(%r14), %rax
	movq	%rax, -40(%rbp)
LBB0_12:
	movl	(%r12), %edx
	movq	_VXLAN_FE_FLAG_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_vxlan_ftable_entry_init
	movq	%r14, %rdi
	callq	_VXLAN_WLOCK
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_vxlan_ftable_entry_insert
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_VXLAN_WUNLOCK
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.13:
	movq	%r15, %rdi
	callq	_vxlan_ftable_entry_free
	jmp	LBB0_5
LBB0_14:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_16:
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_VXLAN_FE_FLAG_STATIC,4,2       ## @VXLAN_FE_FLAG_STATIC
	.no_dead_strip	_vxlan_ctrl_ftable_entry_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_ctrl_ftable_entry_add
_vxlan_ctrl_ftable_entry_add:           ; @vxlan_ctrl_ftable_entry_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	_VXLAN_SOCKADDR_IS_IPV46
	cbz	w0, LBB0_3
; %bb.1:
	add	x0, sp, #8
	bl	_vxlan_sockaddr_in_any
	cbnz	x0, LBB0_3
; %bb.2:
	add	x0, sp, #8
	bl	_vxlan_sockaddr_in_multicast
	cbz	x0, LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w22, [x8]
LBB0_5:
	mov	x0, x22
	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
	add	sp, sp, #64
	ret
LBB0_6:
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.7:
	add	x0, sp, #8
	bl	_VXLAN_SOCKADDR_IS_IPV6
	cbz	x0, LBB0_9
; %bb.8:
	add	x0, sp, #8
	bl	_vxlan_sockaddr_in6_embedscope
	mov	x22, x0
	cbnz	w0, LBB0_5
LBB0_9:
	bl	_vxlan_ftable_entry_alloc
	cbz	x0, LBB0_15
; %bb.10:
	mov	x21, x0
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_12
; %bb.11:
	ldr	x8, [x19]
	str	x8, [sp, #8]
LBB0_12:
	ldr	w2, [x20]
Lloh2:
	adrp	x8, _VXLAN_FE_FLAG_STATIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VXLAN_FE_FLAG_STATIC@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_vxlan_ftable_entry_init
	mov	x0, x19
	bl	_VXLAN_WLOCK
	mov	x0, x19
	mov	x1, x21
	bl	_vxlan_ftable_entry_insert
	mov	x22, x0
	mov	x0, x19
	bl	_VXLAN_WUNLOCK
	cbz	w22, LBB0_5
; %bb.13:
	mov	x0, x21
	bl	_vxlan_ftable_entry_free
	b	LBB0_5
LBB0_14:
Lloh5:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
	b	LBB0_4
LBB0_15:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_VXLAN_FE_FLAG_STATIC,4,2       ; @VXLAN_FE_FLAG_STATIC
	.no_dead_strip	_vxlan_ctrl_ftable_entry_add
.subsections_via_symbols
