	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_options
_check_options:                         ## @check_options
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_v4root_phase@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %eax
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.1:
	testq	%rdx, %rdx
	jne	LBB0_3
LBB0_2:
	popq	%rbp
	retq
LBB0_3:
	movq	_opt_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_OP_MAPROOT@GOTPCREL(%rip), %rax
	movq	_OP_MAPALL@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	movl	%ecx, %eax
	notl	%eax
	testl	%eax, %esi
	jne	LBB0_6
## %bb.4:
	leaq	L_.str(%rip), %rsi
LBB0_5:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_syslog
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_OP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_OP_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %r8d
	je	LBB0_11
## %bb.7:
	testl	%ecx, %eax
	je	LBB0_16
## %bb.8:
	movq	_OP_HAVEMASK@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_21
## %bb.9:
	movq	_OP_MASKLEN@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_13
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_5
LBB0_11:
	testl	%ecx, %eax
	je	LBB0_13
## %bb.12:
	movq	_OP_HAVEMASK@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_21
LBB0_13:
	testq	%rdx, %rdx
	jle	LBB0_17
## %bb.14:
	movq	_OP_SEC@GOTPCREL(%rip), %rdx
	movq	_OP_HAVEMASK@GOTPCREL(%rip), %rsi
	movq	_OP_MASKLEN@GOTPCREL(%rip), %r9
	orl	%r8d, %eax
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	orl	(%r9), %eax
	notl	%eax
	testl	%eax, %ecx
	je	LBB0_17
## %bb.15:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_5
LBB0_16:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_21:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_17:
	movq	_OP_ALLDIRS@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.18:
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.19:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_v4root_phase,8,3               ## @v4root_phase
	.comm	_opt_flags,4,2                  ## @opt_flags
	.comm	_OP_MAPROOT,4,2                 ## @OP_MAPROOT
	.comm	_OP_MAPALL,4,2                  ## @OP_MAPALL
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-mapall and -maproot mutually exclusive"

	.comm	_OP_MASK,4,2                    ## @OP_MASK
	.comm	_OP_NET,4,2                     ## @OP_NET
L_.str.1:                               ## @.str.1
	.asciz	"-mask requires -network"

	.comm	_OP_HAVEMASK,4,2                ## @OP_HAVEMASK
L_.str.2:                               ## @.str.2
	.asciz	"-network requires mask specification"

	.comm	_OP_MASKLEN,4,2                 ## @OP_MASKLEN
L_.str.3:                               ## @.str.3
	.asciz	"-mask and /masklen are mutually exclusive"

	.comm	_OP_SEC,4,2                     ## @OP_SEC
L_.str.4:                               ## @.str.4
	.asciz	"only -sec,-net,-mask options allowed on V4:"

	.comm	_OP_ALLDIRS,4,2                 ## @OP_ALLDIRS
L_.str.5:                               ## @.str.5
	.asciz	"-alldirs has multiple directories"

	.no_dead_strip	_check_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_options
_check_options:                         ; @check_options
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _v4root_phase@GOTPAGE
Lloh1:
	ldr	x8, [x8, _v4root_phase@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	cbnz	x0, LBB0_2
; %bb.1:
	cbz	x9, LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _opt_flags@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opt_flags@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x10, _OP_MAPROOT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _OP_MAPROOT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _OP_MAPALL@GOTPAGE
Lloh10:
	ldr	x11, [x11, _OP_MAPALL@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w10, w11, w10
	bics	wzr, w10, w8
	b.ne	LBB0_6
; %bb.3:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
Lloh14:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_syslog
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh17:
	adrp	x10, _OP_MASK@GOTPAGE
Lloh18:
	ldr	x10, [x10, _OP_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
Lloh20:
	adrp	x11, _OP_NET@GOTPAGE
Lloh21:
	ldr	x11, [x11, _OP_NET@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	and	w12, w11, w8
	tst	w10, w8
	b.eq	LBB0_11
; %bb.7:
	cbz	w12, LBB0_16
; %bb.8:
Lloh23:
	adrp	x12, _OP_HAVEMASK@GOTPAGE
Lloh24:
	ldr	x12, [x12, _OP_HAVEMASK@GOTPAGEOFF]
Lloh25:
	ldr	w12, [x12]
	tst	w12, w8
	b.eq	LBB0_17
; %bb.9:
Lloh26:
	adrp	x12, _OP_MASKLEN@GOTPAGE
Lloh27:
	ldr	x12, [x12, _OP_MASKLEN@GOTPAGEOFF]
Lloh28:
	ldr	w12, [x12]
	tst	w12, w8
	b.eq	LBB0_13
; %bb.10:
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_11:
	cbz	w12, LBB0_13
; %bb.12:
Lloh31:
	adrp	x12, _OP_HAVEMASK@GOTPAGE
Lloh32:
	ldr	x12, [x12, _OP_HAVEMASK@GOTPAGEOFF]
Lloh33:
	ldr	w12, [x12]
	tst	w12, w8
	b.eq	LBB0_17
LBB0_13:
	cmp	x9, #1
	b.lt	LBB0_18
; %bb.14:
Lloh34:
	adrp	x9, _OP_SEC@GOTPAGE
Lloh35:
	ldr	x9, [x9, _OP_SEC@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x12, _OP_HAVEMASK@GOTPAGE
Lloh38:
	ldr	x12, [x12, _OP_HAVEMASK@GOTPAGEOFF]
Lloh39:
	ldr	w12, [x12]
Lloh40:
	adrp	x13, _OP_MASKLEN@GOTPAGE
Lloh41:
	ldr	x13, [x13, _OP_MASKLEN@GOTPAGEOFF]
Lloh42:
	ldr	w13, [x13]
	orr	w10, w11, w10
	orr	w9, w10, w9
	orr	w9, w9, w12
	orr	w9, w9, w13
	bics	wzr, w8, w9
	b.eq	LBB0_18
; %bb.15:
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_16:
Lloh45:
	adrp	x1, l_.str.1@PAGE
Lloh46:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_17:
Lloh47:
	adrp	x1, l_.str.2@PAGE
Lloh48:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_18:
Lloh49:
	adrp	x9, _OP_ALLDIRS@GOTPAGE
Lloh50:
	ldr	x9, [x9, _OP_ALLDIRS@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.19:
	ldr	x8, [x0]
	cbz	x8, LBB0_21
; %bb.20:
Lloh52:
	adrp	x1, l_.str.5@PAGE
Lloh53:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_21:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_v4root_phase,8,3               ; @v4root_phase
	.comm	_opt_flags,4,2                  ; @opt_flags
	.comm	_OP_MAPROOT,4,2                 ; @OP_MAPROOT
	.comm	_OP_MAPALL,4,2                  ; @OP_MAPALL
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-mapall and -maproot mutually exclusive"

	.comm	_OP_MASK,4,2                    ; @OP_MASK
	.comm	_OP_NET,4,2                     ; @OP_NET
l_.str.1:                               ; @.str.1
	.asciz	"-mask requires -network"

	.comm	_OP_HAVEMASK,4,2                ; @OP_HAVEMASK
l_.str.2:                               ; @.str.2
	.asciz	"-network requires mask specification"

	.comm	_OP_MASKLEN,4,2                 ; @OP_MASKLEN
l_.str.3:                               ; @.str.3
	.asciz	"-mask and /masklen are mutually exclusive"

	.comm	_OP_SEC,4,2                     ; @OP_SEC
l_.str.4:                               ; @.str.4
	.asciz	"only -sec,-net,-mask options allowed on V4:"

	.comm	_OP_ALLDIRS,4,2                 ; @OP_ALLDIRS
l_.str.5:                               ; @.str.5
	.asciz	"-alldirs has multiple directories"

	.no_dead_strip	_check_options
.subsections_via_symbols
