	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncprange_ntoa                  ## -- Begin function ncprange_ntoa
	.p2align	4, 0x90
_ncprange_ntoa:                         ## @ncprange_ntoa
	.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	%rdi, %r15
	leaq	-48(%rbp), %rsi
	callq	_ncprange_getaddr
	leaq	L_.str(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_17
## %bb.1:
	leaq	-48(%rbp), %rdi
	callq	_ncpaddr_ntowa
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	_NCP_ASCIIBUFFERSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, %r12d
	jge	LBB0_16
## %bb.2:
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_17
## %bb.4:
	movslq	4(%r15), %rcx
	cmpq	$-1, %rcx
	je	LBB0_8
## %bb.5:
	cmpl	$31, %ecx
	jle	LBB0_7
	jmp	LBB0_16
LBB0_6:
	movslq	8(%r15), %rcx
	cmpq	$128, %rcx
	je	LBB0_16
LBB0_7:
	movslq	%r12d, %rax
	movq	%r14, %rdi
	addq	%rax, %rdi
	movl	$8, %esi
	subl	%r12d, %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_15
LBB0_8:
	cmpl	$3, %r12d
	jl	LBB0_13
## %bb.9:
	leaq	-2(%r14), %rbx
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	addq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	-2(%r12), %eax
	movb	$0, (%r14,%rax)
	cmpl	$4, %r12d
	movl	%eax, %r12d
	jg	LBB0_10
	jmp	LBB0_14
LBB0_13:
	movl	%r12d, %eax
LBB0_14:
	cltq
	movq	%r14, %r12
	addq	%rax, %r12
	movl	$8, %ebx
	subl	%eax, %ebx
	movl	12(%r15), %edi
	callq	_ntohl
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%rax, %rcx
LBB0_15:
	callq	_snprintf
LBB0_16:
	movq	%r14, %rbx
LBB0_17:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<AF_UNSPEC>"

	.comm	_NCP_ASCIIBUFFERSIZE,4,2        ## @NCP_ASCIIBUFFERSIZE
L_.str.1:                               ## @.str.1
	.asciz	".0"

L_.str.2:                               ## @.str.2
	.asciz	"&0x%08lx"

L_.str.3:                               ## @.str.3
	.asciz	"/%d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncprange_ntoa                  ; -- Begin function ncprange_ntoa
	.p2align	2
_ncprange_ntoa:                         ; @ncprange_ntoa
	.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, x0
	add	x1, sp, #8
	bl	_ncprange_getaddr
	cbz	w0, LBB0_6
; %bb.1:
	add	x0, sp, #8
	bl	_ncpaddr_ntowa
	mov	x19, x0
	bl	_strlen
Lloh0:
	adrp	x8, _NCP_ASCIIBUFFERSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NCP_ASCIIBUFFERSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w0, w8
	b.ge	LBB0_16
; %bb.2:
	mov	x21, x0
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.4:
	ldrsw	x3, [x20, #4]
	cmn	w3, #1
	b.eq	LBB0_9
; %bb.5:
	cmp	w3, #31
	b.le	LBB0_8
	b	LBB0_16
LBB0_6:
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
	b	LBB0_16
LBB0_7:
	ldrsw	x3, [x20, #8]
	cmp	w3, #128
	b.eq	LBB0_16
LBB0_8:
	add	x0, x19, w21, sxtw
	mov	w8, #8
	sub	w1, w8, w21
Lloh5:
	adrp	x2, l_.str.3@PAGE
Lloh6:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_9:
	cmp	w21, #3
	b.lt	LBB0_13
; %bb.10:
	sub	x23, x19, #2
Lloh7:
	adrp	x22, l_.str.1@PAGE
Lloh8:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x23, w21, uxtw
	mov	x1, x22
	bl	_strcmp
	cbnz	w0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w8, w21, #2
	strb	wzr, [x19, w8, uxtw]
	cmp	w21, #4
	mov	x21, x8
	b.gt	LBB0_11
	b	LBB0_14
LBB0_13:
	mov	x8, x21
LBB0_14:
	add	x21, x19, w8, sxtw
	mov	w9, #8
	sub	w22, w9, w8
	ldr	w0, [x20, #12]
	bl	_ntohl
	mov	x3, x0
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x22
LBB0_15:
	bl	_snprintf
LBB0_16:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<AF_UNSPEC>"

	.comm	_NCP_ASCIIBUFFERSIZE,4,2        ; @NCP_ASCIIBUFFERSIZE
l_.str.1:                               ; @.str.1
	.asciz	".0"

l_.str.2:                               ; @.str.2
	.asciz	"&0x%08lx"

l_.str.3:                               ; @.str.3
	.asciz	"/%d"

.subsections_via_symbols
