	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncprange_aton                  ## -- Begin function ncprange_aton
	.p2align	4, 0x90
_ncprange_aton:                         ## @ncprange_aton
	.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	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_strcspn
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_15
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_14
LBB0_15:
	leal	1(%rbx), %edi
	callq	_alloca
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_strncpy
	movslq	%ebx, %rbx
	movb	$0, (%r15,%rbx)
	cmpb	$0, (%r12,%rbx)
	je	LBB0_16
## %bb.20:
	addq	%r12, %rbx
	incq	%rbx
	leaq	-48(%rbp), %rsi
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_21
LBB0_24:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
LBB0_25:
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_40
LBB0_2:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	16(%r15), %rax
	movq	%rax, 32(%r14)
	jmp	LBB0_29
LBB0_16:
	movl	$-1, %eax
	jmp	LBB0_17
LBB0_5:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movl	28(%r15), %eax
	jmp	LBB0_6
LBB0_21:
	cmpq	%rbx, %rcx
	je	LBB0_24
## %bb.22:
	testl	%eax, %eax
	js	LBB0_24
## %bb.23:
	cmpl	$129, %eax
	jge	LBB0_24
LBB0_17:
	movl	%eax, %r13d
	movq	%r12, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.33:
	incq	%rax
	movq	%rax, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_34
## %bb.35:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 16(%r14)
	leaq	8(%r14), %rbx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_inet_pton
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.36:
	movq	%rbx, %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movl	$0, 4(%r14)
	jmp	LBB0_39
LBB0_8:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	8(%r15), %rax
	movq	%rax, 32(%r14)
	jmp	LBB0_29
LBB0_18:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	%r15, %rdi
	callq	_GetIpAddr
	movq	%rax, 32(%r14)
	movq	_INADDR_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
LBB0_19:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_40
LBB0_10:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movl	24(%r15), %eax
LBB0_6:
	movl	%eax, 8(%r14)
	movl	$128, 4(%r14)
	jmp	LBB0_39
LBB0_34:
	xorl	%r13d, %r13d
	jmp	LBB0_40
LBB0_26:
	movq	_INADDR_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.27:
	movq	%rax, 24(%r14)
	movl	$0, (%r14)
	jmp	LBB0_39
LBB0_12:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	jmp	LBB0_29
LBB0_14:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	%rax, 32(%r14)
	jmp	LBB0_29
LBB0_28:
	cmpl	$-1, %r13d
	je	LBB0_29
## %bb.30:
	cmpl	$33, %r13d
	jb	LBB0_32
## %bb.31:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%r13d, %r13d
	jmp	LBB0_25
LBB0_29:
	movq	_INADDR_BROADCAST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movl	$32, (%r14)
LBB0_39:
	movl	$1, %r13d
LBB0_40:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	cmpl	$-1, %r13d
	movl	$128, %eax
	cmovnel	%r13d, %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_39
LBB0_32:
	movl	%r13d, %ebx
	movl	%r13d, %edi
	callq	_bits2mask4
	movq	%rax, 24(%r14)
	movl	%r13d, (%r14)
	jmp	LBB0_39
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

L_.str.1:                               ## @.str.1
	.asciz	"HISADDR"

	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_INADDR_BROADCAST,8,3           ## @INADDR_BROADCAST
L_.str.2:                               ## @.str.2
	.asciz	"HISADDR6"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
L_.str.3:                               ## @.str.3
	.asciz	"MYADDR"

L_.str.4:                               ## @.str.4
	.asciz	"MYADDR6"

L_.str.5:                               ## @.str.5
	.asciz	"DNS0"

L_.str.6:                               ## @.str.6
	.asciz	"DNS1"

	.comm	_LogWARN,4,2                    ## @LogWARN
L_.str.7:                               ## @.str.7
	.asciz	"ncprange_aton: bad mask width.\n"

	.comm	_INADDR_NONE,8,3                ## @INADDR_NONE
L_.str.8:                               ## @.str.8
	.asciz	"ncprange_aton: %s: Bad address\n"

	.comm	_INADDR_ANY,8,3                 ## @INADDR_ANY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncprange_aton                  ; -- Begin function ncprange_aton
	.p2align	2
_ncprange_aton:                         ; @ncprange_aton
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_strcspn
	mov	x22, x0
	cbz	x21, LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_strncasecmp
	cbz	x0, LBB0_10
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_strncasecmp
	cbz	x0, LBB0_12
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_strncasecmp
	cbz	x0, LBB0_13
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_strncasecmp
	cbz	x0, LBB0_24
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_strncasecmp
	cbz	x0, LBB0_28
; %bb.6:
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_strncasecmp
	cbz	x0, LBB0_29
LBB0_7:
	add	w0, w22, #1
	bl	_alloca
	mov	x21, x0
	mov	x1, x20
	mov	x2, x22
	bl	_strncpy
	sxtw	x8, w22
	strb	wzr, [x21, x8]
	add	x8, x20, x8
	ldrb	w9, [x8]
	cbz	w9, LBB0_11
; %bb.8:
	add	x23, x8, #1
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #0
	ccmp	x8, x23, #4, eq
	b.ne	LBB0_14
LBB0_9:
Lloh14:
	adrp	x8, _LogWARN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_23
LBB0_10:
Lloh19:
	adrp	x8, _AF_INET@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x9, [x21, #16]
	b	LBB0_30
LBB0_11:
	mov	w22, #-1
	b	LBB0_16
LBB0_12:
Lloh22:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	w8, [x21, #28]
	b	LBB0_25
LBB0_13:
Lloh25:
	adrp	x8, _AF_INET@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x9, [x21, #8]
	b	LBB0_30
LBB0_14:
	mov	x22, x0
	tbnz	w0, #31, LBB0_9
; %bb.15:
	cmp	w22, #129
	b.ge	LBB0_9
LBB0_16:
	mov	x0, x20
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_21
; %bb.17:
	add	x0, x0, #1
	mov	w1, #58
	bl	_strchr
	cbz	x0, LBB0_33
; %bb.18:
Lloh28:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh30:
	ldr	x0, [x8]
	str	x0, [x19, #16]
	add	x20, x19, #8
	mov	x1, x21
	mov	x2, x20
	bl	_inet_pton
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.19:
	mov	x0, x20
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cbz	x0, LBB0_37
; %bb.20:
	str	wzr, [x19, #4]
	b	LBB0_32
LBB0_21:
Lloh31:
	adrp	x8, _AF_INET@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	x0, x21
	bl	_GetIpAddr
	str	x0, [x19, #32]
Lloh34:
	adrp	x8, _INADDR_NONE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _INADDR_NONE@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_26
LBB0_22:
Lloh37:
	adrp	x8, _LogWARN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh40:
	adrp	x1, l_.str.8@PAGE
Lloh41:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_23:
	bl	_log_Printf
	mov	w0, #0
	b	LBB0_33
LBB0_24:
Lloh42:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	w8, [x21, #24]
LBB0_25:
	mov	w9, #128
	stp	w9, w8, [x19, #4]
	b	LBB0_32
LBB0_26:
Lloh45:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh46:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_34
; %bb.27:
	str	x0, [x19, #24]
	str	wzr, [x19]
	b	LBB0_32
LBB0_28:
Lloh48:
	adrp	x8, _AF_INET@GOTPAGE
Lloh49:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	x9, [x9]
	b	LBB0_30
LBB0_29:
Lloh51:
	adrp	x8, _AF_INET@GOTPAGE
Lloh52:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	x9, [x9, #8]
LBB0_30:
	str	x9, [x19, #32]
Lloh54:
	adrp	x9, _INADDR_BROADCAST@GOTPAGE
Lloh55:
	ldr	x9, [x9, _INADDR_BROADCAST@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	stp	x8, x9, [x19, #16]
LBB0_31:
	mov	w8, #32
	str	w8, [x19]
LBB0_32:
	mov	w0, #1
LBB0_33:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_34:
	cmn	w22, #1
	b.eq	LBB0_38
; %bb.35:
	cmp	w22, #33
	b.hs	LBB0_9
; %bb.36:
	mov	x0, x22
	bl	_bits2mask4
	str	x0, [x19, #24]
	str	w22, [x19]
	b	LBB0_32
LBB0_37:
	cmn	w22, #1
	mov	w8, #128
	csel	w8, w8, w22, eq
	str	w8, [x19, #4]
	b	LBB0_32
LBB0_38:
Lloh57:
	adrp	x8, _INADDR_BROADCAST@GOTPAGE
Lloh58:
	ldr	x8, [x8, _INADDR_BROADCAST@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	b	LBB0_31
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

l_.str.1:                               ; @.str.1
	.asciz	"HISADDR"

	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_INADDR_BROADCAST,8,3           ; @INADDR_BROADCAST
l_.str.2:                               ; @.str.2
	.asciz	"HISADDR6"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
l_.str.3:                               ; @.str.3
	.asciz	"MYADDR"

l_.str.4:                               ; @.str.4
	.asciz	"MYADDR6"

l_.str.5:                               ; @.str.5
	.asciz	"DNS0"

l_.str.6:                               ; @.str.6
	.asciz	"DNS1"

	.comm	_LogWARN,4,2                    ; @LogWARN
l_.str.7:                               ; @.str.7
	.asciz	"ncprange_aton: bad mask width.\n"

	.comm	_INADDR_NONE,8,3                ; @INADDR_NONE
l_.str.8:                               ; @.str.8
	.asciz	"ncprange_aton: %s: Bad address\n"

	.comm	_INADDR_ANY,8,3                 ; @INADDR_ANY
.subsections_via_symbols
