	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_set_user_config
_vxlan_set_user_config:                 ## @vxlan_set_user_config
	.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
	movl	(%rsi), %eax
	movq	_VXLAN_PARAM_WITH_LOCAL_ADDR4@GOTPCREL(%rip), %rbx
	movq	_VXLAN_PARAM_WITH_REMOTE_ADDR4@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	orl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_VXLAN_PARAM_WITH_LOCAL_ADDR6@GOTPCREL(%rip), %r12
	movq	_VXLAN_PARAM_WITH_REMOTE_ADDR6@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	orl	(%r12), %ecx
	testl	%eax, %ecx
	je	LBB0_3
LBB0_1:
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_VXLAN_PARAM_WITH_VNI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:
	movl	72(%r13), %edi
	callq	_vxlan_check_vni
	movq	_VXLAN_PARAM_WITH_REMOTE_ADDR6@GOTPCREL(%rip), %rdx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	72(%r13), %eax
	movl	%eax, 136(%r14)
LBB0_6:
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.7:
	movl	$4, 88(%r14)
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 112(%r14)
	movl	68(%r13), %ecx
	movl	%ecx, 104(%r14)
	jmp	LBB0_10
LBB0_8:
	testl	%eax, (%r12)
	je	LBB0_10
## %bb.9:
	movl	$4, 120(%r14)
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 128(%r14)
	movl	64(%r13), %ecx
	movl	%ecx, 124(%r14)
LBB0_10:
	testl	%eax, (%r15)
	je	LBB0_12
## %bb.11:
	movl	$4, 40(%r14)
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%r14)
	movl	60(%r13), %ecx
	movl	%ecx, 56(%r14)
	jmp	LBB0_14
LBB0_12:
	testl	%eax, (%rdx)
	je	LBB0_14
## %bb.13:
	movl	$4, 72(%r14)
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 80(%r14)
	movl	56(%r13), %ecx
	movl	%ecx, 76(%r14)
LBB0_14:
	movq	_VXLAN_PARAM_WITH_LOCAL_PORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	movl	52(%r13), %edi
	callq	_htons
	movq	%rax, 96(%r14)
	movl	(%r13), %eax
LBB0_16:
	movq	_VXLAN_PARAM_WITH_REMOTE_PORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movl	48(%r13), %edi
	callq	_htons
	movq	%rax, 48(%r14)
	movl	(%r13), %eax
LBB0_18:
	movq	_VXLAN_PARAM_WITH_PORT_RANGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.19:
	movq	8(%r13), %rcx
	movq	16(%r13), %rdx
	cmpq	%rdx, %rcx
	jg	LBB0_21
## %bb.20:
	movq	%rcx, (%r14)
	movq	%rdx, 8(%r14)
LBB0_21:
	movq	_VXLAN_PARAM_WITH_MULTICAST_IF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	movl	32(%r14), %edi
	movl	44(%r13), %esi
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strlcpy
	movl	(%r13), %eax
LBB0_23:
	movq	_VXLAN_PARAM_WITH_FTABLE_TIMEOUT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.24:
	movl	40(%r13), %edi
	callq	_vxlan_check_ftable_timeout
	testq	%rax, %rax
	jne	LBB0_26
## %bb.25:
	movl	40(%r13), %eax
	movl	%eax, 28(%r14)
LBB0_26:
	movq	_VXLAN_PARAM_WITH_FTABLE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_29
## %bb.27:
	movl	36(%r13), %edi
	callq	_vxlan_check_ftable_max
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:
	movl	36(%r13), %eax
	movl	%eax, 24(%r14)
LBB0_29:
	movq	_VXLAN_PARAM_WITH_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_32
## %bb.30:
	movl	32(%r13), %edi
	callq	_vxlan_check_ttl
	testq	%rax, %rax
	jne	LBB0_32
## %bb.31:
	movl	32(%r13), %eax
	movl	%eax, 20(%r14)
LBB0_32:
	movq	_VXLAN_PARAM_WITH_LEARN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%r13)
	je	LBB0_35
## %bb.33:
	cmpq	$0, 24(%r13)
	jne	LBB0_35
## %bb.34:
	movq	_VXLAN_FLAG_LEARN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 16(%r14)
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_VXLAN_PARAM_WITH_LOCAL_ADDR4,4,2 ## @VXLAN_PARAM_WITH_LOCAL_ADDR4
	.comm	_VXLAN_PARAM_WITH_REMOTE_ADDR4,4,2 ## @VXLAN_PARAM_WITH_REMOTE_ADDR4
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.comm	_VXLAN_PARAM_WITH_LOCAL_ADDR6,4,2 ## @VXLAN_PARAM_WITH_LOCAL_ADDR6
	.comm	_VXLAN_PARAM_WITH_REMOTE_ADDR6,4,2 ## @VXLAN_PARAM_WITH_REMOTE_ADDR6
	.comm	_VXLAN_PARAM_WITH_VNI,4,2       ## @VXLAN_PARAM_WITH_VNI
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_VXLAN_PARAM_WITH_LOCAL_PORT,4,2 ## @VXLAN_PARAM_WITH_LOCAL_PORT
	.comm	_VXLAN_PARAM_WITH_REMOTE_PORT,4,2 ## @VXLAN_PARAM_WITH_REMOTE_PORT
	.comm	_VXLAN_PARAM_WITH_PORT_RANGE,4,2 ## @VXLAN_PARAM_WITH_PORT_RANGE
	.comm	_VXLAN_PARAM_WITH_MULTICAST_IF,4,2 ## @VXLAN_PARAM_WITH_MULTICAST_IF
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_VXLAN_PARAM_WITH_FTABLE_TIMEOUT,4,2 ## @VXLAN_PARAM_WITH_FTABLE_TIMEOUT
	.comm	_VXLAN_PARAM_WITH_FTABLE_MAX,4,2 ## @VXLAN_PARAM_WITH_FTABLE_MAX
	.comm	_VXLAN_PARAM_WITH_TTL,4,2       ## @VXLAN_PARAM_WITH_TTL
	.comm	_VXLAN_PARAM_WITH_LEARN,4,2     ## @VXLAN_PARAM_WITH_LEARN
	.comm	_VXLAN_FLAG_LEARN,4,2           ## @VXLAN_FLAG_LEARN
	.no_dead_strip	_vxlan_set_user_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_set_user_config
_vxlan_set_user_config:                 ; @vxlan_set_user_config
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x23, _VXLAN_PARAM_WITH_LOCAL_ADDR4@GOTPAGE
Lloh1:
	ldr	x23, [x23, _VXLAN_PARAM_WITH_LOCAL_ADDR4@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh2:
	adrp	x21, _VXLAN_PARAM_WITH_REMOTE_ADDR4@GOTPAGE
Lloh3:
	ldr	x21, [x21, _VXLAN_PARAM_WITH_REMOTE_ADDR4@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x24, _VXLAN_PARAM_WITH_LOCAL_ADDR6@GOTPAGE
Lloh5:
	ldr	x24, [x24, _VXLAN_PARAM_WITH_LOCAL_ADDR6@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh6:
	adrp	x22, _VXLAN_PARAM_WITH_REMOTE_ADDR6@GOTPAGE
Lloh7:
	ldr	x22, [x22, _VXLAN_PARAM_WITH_REMOTE_ADDR6@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
Lloh8:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_3:
	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_4:
	mov	x20, x1
	mov	x19, x0
Lloh11:
	adrp	x9, _VXLAN_PARAM_WITH_VNI@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_VNI@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	ldr	w0, [x20, #72]
	bl	_vxlan_check_vni
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x20, #72]
	str	w8, [x19, #136]
LBB0_7:
	ldr	w8, [x20]
	ldr	w10, [x23]
Lloh14:
	adrp	x9, _AF_INET@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
	tst	w10, w8
	b.eq	LBB0_9
; %bb.8:
	mov	w10, #4
	str	w10, [x19, #88]
	ldr	x10, [x9]
	str	x10, [x19, #112]
	ldr	w10, [x20, #68]
	str	w10, [x19, #104]
	b	LBB0_11
LBB0_9:
	ldr	w10, [x24]
	tst	w10, w8
	b.eq	LBB0_11
; %bb.10:
Lloh16:
	adrp	x10, _AF_INET6@GOTPAGE
Lloh17:
	ldr	x10, [x10, _AF_INET6@GOTPAGEOFF]
	mov	w11, #4
Lloh18:
	ldr	x10, [x10]
	str	x10, [x19, #128]
	ldr	w10, [x20, #64]
	stp	w11, w10, [x19, #120]
LBB0_11:
	ldr	w10, [x21]
	tst	w10, w8
	b.eq	LBB0_13
; %bb.12:
	mov	w10, #4
	str	w10, [x19, #40]
	ldr	x9, [x9]
	str	x9, [x19, #64]
	ldr	w9, [x20, #60]
	str	w9, [x19, #56]
	b	LBB0_15
LBB0_13:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
Lloh19:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh20:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
	mov	w10, #4
Lloh21:
	ldr	x9, [x9]
	str	x9, [x19, #80]
	ldr	w9, [x20, #56]
	stp	w10, w9, [x19, #72]
LBB0_15:
Lloh22:
	adrp	x9, _VXLAN_PARAM_WITH_LOCAL_PORT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_LOCAL_PORT@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	w0, [x20, #52]
	bl	_htons
	str	x0, [x19, #96]
	ldr	w8, [x20]
LBB0_17:
Lloh25:
	adrp	x9, _VXLAN_PARAM_WITH_REMOTE_PORT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_REMOTE_PORT@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	ldr	w0, [x20, #48]
	bl	_htons
	str	x0, [x19, #48]
	ldr	w8, [x20]
LBB0_19:
Lloh28:
	adrp	x9, _VXLAN_PARAM_WITH_PORT_RANGE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_PORT_RANGE@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.20:
	ldp	x9, x10, [x20, #8]
	cmp	x9, x10
	b.gt	LBB0_22
; %bb.21:
	stp	x9, x10, [x19]
LBB0_22:
Lloh31:
	adrp	x9, _VXLAN_PARAM_WITH_MULTICAST_IF@GOTPAGE
Lloh32:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_MULTICAST_IF@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
	ldr	w0, [x19, #32]
	ldr	w1, [x20, #44]
Lloh34:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	bl	_strlcpy
	ldr	w8, [x20]
LBB0_24:
Lloh37:
	adrp	x9, _VXLAN_PARAM_WITH_FTABLE_TIMEOUT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_FTABLE_TIMEOUT@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.25:
	ldr	w0, [x20, #40]
	bl	_vxlan_check_ftable_timeout
	cbnz	x0, LBB0_27
; %bb.26:
	ldr	w8, [x20, #40]
	str	w8, [x19, #28]
LBB0_27:
	ldr	w8, [x20]
Lloh40:
	adrp	x9, _VXLAN_PARAM_WITH_FTABLE_MAX@GOTPAGE
Lloh41:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_FTABLE_MAX@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.28:
	ldr	w0, [x20, #36]
	bl	_vxlan_check_ftable_max
	cbnz	x0, LBB0_30
; %bb.29:
	ldr	w8, [x20, #36]
	str	w8, [x19, #24]
LBB0_30:
	ldr	w8, [x20]
Lloh43:
	adrp	x9, _VXLAN_PARAM_WITH_TTL@GOTPAGE
Lloh44:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_TTL@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.31:
	ldr	w0, [x20, #32]
	bl	_vxlan_check_ttl
	cbnz	x0, LBB0_33
; %bb.32:
	ldr	w8, [x20, #32]
	str	w8, [x19, #20]
LBB0_33:
	ldr	w8, [x20]
Lloh46:
	adrp	x9, _VXLAN_PARAM_WITH_LEARN@GOTPAGE
Lloh47:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_LEARN@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_35
; %bb.34:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_36
LBB0_35:
	mov	w0, #0
	b	LBB0_3
LBB0_36:
	mov	w0, #0
Lloh49:
	adrp	x8, _VXLAN_FLAG_LEARN@GOTPAGE
Lloh50:
	ldr	x8, [x8, _VXLAN_FLAG_LEARN@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
	str	w8, [x19, #16]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_VXLAN_PARAM_WITH_LOCAL_ADDR4,4,2 ; @VXLAN_PARAM_WITH_LOCAL_ADDR4
	.comm	_VXLAN_PARAM_WITH_REMOTE_ADDR4,4,2 ; @VXLAN_PARAM_WITH_REMOTE_ADDR4
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.comm	_VXLAN_PARAM_WITH_LOCAL_ADDR6,4,2 ; @VXLAN_PARAM_WITH_LOCAL_ADDR6
	.comm	_VXLAN_PARAM_WITH_REMOTE_ADDR6,4,2 ; @VXLAN_PARAM_WITH_REMOTE_ADDR6
	.comm	_VXLAN_PARAM_WITH_VNI,4,2       ; @VXLAN_PARAM_WITH_VNI
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_VXLAN_PARAM_WITH_LOCAL_PORT,4,2 ; @VXLAN_PARAM_WITH_LOCAL_PORT
	.comm	_VXLAN_PARAM_WITH_REMOTE_PORT,4,2 ; @VXLAN_PARAM_WITH_REMOTE_PORT
	.comm	_VXLAN_PARAM_WITH_PORT_RANGE,4,2 ; @VXLAN_PARAM_WITH_PORT_RANGE
	.comm	_VXLAN_PARAM_WITH_MULTICAST_IF,4,2 ; @VXLAN_PARAM_WITH_MULTICAST_IF
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_VXLAN_PARAM_WITH_FTABLE_TIMEOUT,4,2 ; @VXLAN_PARAM_WITH_FTABLE_TIMEOUT
	.comm	_VXLAN_PARAM_WITH_FTABLE_MAX,4,2 ; @VXLAN_PARAM_WITH_FTABLE_MAX
	.comm	_VXLAN_PARAM_WITH_TTL,4,2       ; @VXLAN_PARAM_WITH_TTL
	.comm	_VXLAN_PARAM_WITH_LEARN,4,2     ; @VXLAN_PARAM_WITH_LEARN
	.comm	_VXLAN_FLAG_LEARN,4,2           ; @VXLAN_FLAG_LEARN
	.no_dead_strip	_vxlan_set_user_config
.subsections_via_symbols
