	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vxlan_check_params
_vxlan_check_params:                    ## @vxlan_check_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_params@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	__LOCAL_ADDR46@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	notl	%edx
	testl	%edx, (%rcx)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movl	(%rbx), %eax
LBB0_2:
	movq	__REMOTE_ADDR46@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	notl	%edx
	testl	%edx, (%rcx)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movl	(%rbx), %eax
LBB0_4:
	movq	_VXLAN_PARAM_WITH_LOCAL_ADDR4@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_VXLAN_PARAM_WITH_REMOTE_ADDR6@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_9
LBB0_6:
	movq	_VXLAN_PARAM_WITH_LOCAL_ADDR6@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_VXLAN_PARAM_WITH_REMOTE_ADDR4@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_errx                           ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_params,4,2                     ## @params
	.comm	__LOCAL_ADDR46,4,2              ## @_LOCAL_ADDR46
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot specify both local IPv4 and IPv6 addresses"

	.comm	__REMOTE_ADDR46,4,2             ## @_REMOTE_ADDR46
L_.str.1:                               ## @.str.1
	.asciz	"cannot specify both remote IPv4 and IPv6 addresses"

	.comm	_VXLAN_PARAM_WITH_LOCAL_ADDR4,4,2 ## @VXLAN_PARAM_WITH_LOCAL_ADDR4
	.comm	_VXLAN_PARAM_WITH_REMOTE_ADDR6,4,2 ## @VXLAN_PARAM_WITH_REMOTE_ADDR6
	.comm	_VXLAN_PARAM_WITH_LOCAL_ADDR6,4,2 ## @VXLAN_PARAM_WITH_LOCAL_ADDR6
	.comm	_VXLAN_PARAM_WITH_REMOTE_ADDR4,4,2 ## @VXLAN_PARAM_WITH_REMOTE_ADDR4
L_.str.2:                               ## @.str.2
	.asciz	"cannot mix IPv4 and IPv6 addresses"

	.no_dead_strip	_vxlan_check_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vxlan_check_params
_vxlan_check_params:                    ; @vxlan_check_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _params@GOTPAGE
Lloh1:
	ldr	x19, [x19, _params@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, __LOCAL_ADDR46@GOTPAGE
Lloh3:
	ldr	x9, [x9, __LOCAL_ADDR46@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	w8, [x19]
LBB0_2:
Lloh7:
	adrp	x9, __REMOTE_ADDR46@GOTPAGE
Lloh8:
	ldr	x9, [x9, __REMOTE_ADDR46@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	w8, [x19]
LBB0_4:
Lloh12:
	adrp	x9, _VXLAN_PARAM_WITH_LOCAL_ADDR4@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_LOCAL_ADDR4@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x9, _VXLAN_PARAM_WITH_REMOTE_ADDR6@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_REMOTE_ADDR6@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
LBB0_6:
Lloh18:
	adrp	x9, _VXLAN_PARAM_WITH_LOCAL_ADDR6@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_LOCAL_ADDR6@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
Lloh21:
	adrp	x9, _VXLAN_PARAM_WITH_REMOTE_ADDR4@GOTPAGE
Lloh22:
	ldr	x9, [x9, _VXLAN_PARAM_WITH_REMOTE_ADDR4@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_8:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_errx
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_params,4,2                     ; @params
	.comm	__LOCAL_ADDR46,4,2              ; @_LOCAL_ADDR46
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot specify both local IPv4 and IPv6 addresses"

	.comm	__REMOTE_ADDR46,4,2             ; @_REMOTE_ADDR46
l_.str.1:                               ; @.str.1
	.asciz	"cannot specify both remote IPv4 and IPv6 addresses"

	.comm	_VXLAN_PARAM_WITH_LOCAL_ADDR4,4,2 ; @VXLAN_PARAM_WITH_LOCAL_ADDR4
	.comm	_VXLAN_PARAM_WITH_REMOTE_ADDR6,4,2 ; @VXLAN_PARAM_WITH_REMOTE_ADDR6
	.comm	_VXLAN_PARAM_WITH_LOCAL_ADDR6,4,2 ; @VXLAN_PARAM_WITH_LOCAL_ADDR6
	.comm	_VXLAN_PARAM_WITH_REMOTE_ADDR4,4,2 ; @VXLAN_PARAM_WITH_REMOTE_ADDR4
l_.str.2:                               ; @.str.2
	.asciz	"cannot mix IPv4 and IPv6 addresses"

	.no_dead_strip	_vxlan_check_params
.subsections_via_symbols
