	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncpaddr_aton                   ## -- Begin function ncpaddr_aton
	.p2align	4, 0x90
_ncpaddr_aton:                          ## @ncpaddr_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	leaq	-48(%rbp), %rdi
	callq	_ncprange_aton
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movl	-48(%rbp), %eax
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.2:
	cmpl	$32, -44(%rbp)
	je	LBB0_6
## %bb.3:
	movq	-32(%rbp), %rax
	movq	_INADDR_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.4:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_6:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.7:
	cmpl	$128, -40(%rbp)
	je	LBB0_10
## %bb.8:
	leaq	-36(%rbp), %rdi
	callq	_IN6_IS_ADDR_UNSPECIFIED
	testl	%eax, %eax
	je	LBB0_16
## %bb.9:
	movl	-48(%rbp), %eax
LBB0_10:
	cmpl	$128, %eax
	je	LBB0_13
## %bb.11:
	cmpl	$129, %eax
	jne	LBB0_15
LBB0_12:
	movl	$129, (%r14)
	movq	-32(%rbp), %rax
	movq	%rax, 8(%r14)
	jmp	LBB0_14
LBB0_13:
	movl	$128, (%r14)
	movl	-36(%rbp), %eax
	movl	%eax, 4(%r14)
LBB0_14:
	movl	$1, %r15d
	jmp	LBB0_15
LBB0_16:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%rbx, %rdx
	callq	_log_Printf
LBB0_15:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INADDR_ANY,8,3                 ## @INADDR_ANY
	.comm	_LogWARN,4,2                    ## @LogWARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ncpaddr_aton: %s: Only 32 bits allowed\n"

L_.str.1:                               ## @.str.1
	.asciz	"ncpaddr_aton: %s: Only 128 bits allowed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncpaddr_aton                   ; -- Begin function ncpaddr_aton
	.p2align	2
_ncpaddr_aton:                          ; @ncpaddr_aton
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x2
	mov	x19, x0
	add	x0, sp, #8
	bl	_ncprange_aton
	cbz	w0, LBB0_17
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	w9, [sp, #12]
	cmp	w9, #32
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [sp, #24]
Lloh0:
	adrp	x9, _INADDR_ANY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _INADDR_ANY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.4:
Lloh3:
	adrp	x8, _LogWARN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_15
LBB0_5:
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.6:
	ldr	w9, [sp, #16]
	cmp	w9, #128
	b.eq	LBB0_9
; %bb.7:
	add	x8, sp, #8
	add	x0, x8, #12
	bl	_IN6_IS_ADDR_UNSPECIFIED
	cbz	w0, LBB0_14
; %bb.8:
	ldr	w8, [sp, #8]
LBB0_9:
	cmp	w8, #128
	b.eq	LBB0_12
; %bb.10:
	cmp	w8, #129
	b.ne	LBB0_16
LBB0_11:
	mov	w8, #129
	str	w8, [x19]
	ldr	x8, [sp, #24]
	str	x8, [x19, #8]
	b	LBB0_13
LBB0_12:
	ldr	w9, [sp, #20]
	stp	w8, w9, [x19]
LBB0_13:
	mov	w0, #1
	b	LBB0_17
LBB0_14:
Lloh8:
	adrp	x8, _LogWARN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_15:
	mov	x2, x20
	bl	_log_Printf
LBB0_16:
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_INADDR_ANY,8,3                 ; @INADDR_ANY
	.comm	_LogWARN,4,2                    ; @LogWARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ncpaddr_aton: %s: Only 32 bits allowed\n"

l_.str.1:                               ; @.str.1
	.asciz	"ncpaddr_aton: %s: Only 128 bits allowed\n"

.subsections_via_symbols
