	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ns_name_ntop                   ## -- Begin function ns_name_ntop
	.p2align	4, 0x90
_ns_name_ntop:                          ## @ns_name_ntop
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rax
	leaq	(%rsi,%rdx), %r13
	addq	$4, %rdi
	movq	%rdi, -48(%rbp)
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	je	LBB0_23
## %bb.1:
	movq	%rsi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movl	%r14d, %eax
	notl	%eax
	movq	_NS_CMPRSFLGS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %r15
	cmpq	%rsi, %rbx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, %rbx
	jae	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	$46, (%rbx)
	incq	%rbx
	movq	-48(%rbp), %rdi
	movq	%rbx, %r15
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$-4, %rdi
	callq	_labellen
	testl	%eax, %eax
	js	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	movl	%eax, %eax
	addq	%r15, %rax
	cmpq	%r13, %rax
	jae	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_NS_CMPRSFLGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	movq	_NS_TYPE_ELT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_DNS_LABELTYPE_BITSTRING@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_decode_bitstring
	testl	%eax, %eax
	js	LBB0_3
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %eax
	addq	%rax, %r15
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r12d, %r12d
	je	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	movq	%r15, %rbx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_13 Depth=2
	movl	%r15d, %edi
	callq	_printable
	testl	%eax, %eax
	je	LBB0_29
## %bb.31:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpq	%r13, %rbx
	jae	LBB0_3
## %bb.32:                              ##   in Loop: Header=BB0_13 Depth=2
	movb	%r15b, (%rbx)
	incq	%rbx
LBB0_33:                                ##   in Loop: Header=BB0_13 Depth=2
	decl	%r12d
	cmpl	$1, %r12d
	jle	LBB0_21
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax
	leaq	4(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movl	(%rax), %r15d
	movl	%r15d, %edi
	callq	_special
	testq	%rax, %rax
	je	LBB0_28
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	leaq	1(%rbx), %rax
	cmpq	%r13, %rax
	jae	LBB0_3
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movb	$92, (%rbx)
	movb	%r15b, 1(%rbx)
	addq	$2, %rbx
	jmp	LBB0_33
LBB0_29:                                ##   in Loop: Header=BB0_13 Depth=2
	leaq	3(%rbx), %rax
	cmpq	%r13, %rax
	jae	LBB0_3
## %bb.30:                              ##   in Loop: Header=BB0_13 Depth=2
	movb	$92, (%rbx)
	movq	_digits@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rcx
	movslq	%r15d, %rax
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$37, %rdx
	addl	%esi, %edx
	movslq	%edx, %rdx
	movzbl	(%rcx,%rdx,8), %ecx
	movb	%cl, 1(%rbx)
	movq	(%rdi), %rcx
	imull	$100, %edx, %edx
	movl	%r15d, %esi
	subl	%edx, %esi
	movsbl	%sil, %edx
	imull	$103, %edx, %edx
	movzwl	%dx, %edx
	movswl	%dx, %esi
	shrl	$15, %edx
	shrl	$10, %esi
	addb	%dl, %sil
	movsbq	%sil, %rdx
	movzbl	(%rcx,%rdx,8), %ecx
	movb	%cl, 2(%rbx)
	movq	(%rdi), %rcx
	imulq	$1717986919, %rax, %rax         ## imm = 0x66666667
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$34, %rax
	addl	%edx, %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	subl	%eax, %r15d
	movslq	%r15d, %rax
	movzbl	(%rcx,%rax,8), %eax
	movb	%al, 3(%rbx)
	addq	$4, %rbx
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rbx
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	leaq	4(%rax), %rdi
	movq	%rdi, -48(%rbp)
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_2
## %bb.22:
	cmpq	%rsi, %rbx
	jne	LBB0_25
LBB0_23:
	testq	%rdx, %rdx
	jle	LBB0_3
## %bb.24:
	leaq	1(%rsi), %rbx
	movb	$46, (%rsi)
LBB0_25:
	cmpq	%r13, %rbx
	jae	LBB0_3
## %bb.26:
	movb	$0, (%rbx)
	subl	%esi, %ebx
	incl	%ebx
	jmp	LBB0_27
LBB0_3:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %ebx
LBB0_27:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_NS_CMPRSFLGS,4,2               ## @NS_CMPRSFLGS
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_errno,4,2                      ## @errno
	.comm	_NS_TYPE_ELT,4,2                ## @NS_TYPE_ELT
	.comm	_DNS_LABELTYPE_BITSTRING,4,2    ## @DNS_LABELTYPE_BITSTRING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_digits,8,3                     ## @digits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ns_name_ntop                   ; -- Begin function ns_name_ntop
	.p2align	2
_ns_name_ntop:                          ; @ns_name_ntop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x27, x1
	add	x20, x1, x2
	ldr	w26, [x0], #4
	str	x0, [sp, #8]
	cbz	w26, LBB0_26
; %bb.1:
Lloh0:
	adrp	x23, _NS_CMPRSFLGS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NS_CMPRSFLGS@GOTPAGEOFF]
Lloh2:
	adrp	x24, _NS_TYPE_ELT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NS_TYPE_ELT@GOTPAGEOFF]
	mov	w25, #92
Lloh4:
	adrp	x28, _digits@GOTPAGE
Lloh5:
	ldr	x28, [x28, _digits@GOTPAGEOFF]
	mov	x19, x27
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	ldr	w8, [x23]
	bics	wzr, w8, w26
	b.eq	LBB0_30
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x27
	cmp	x19, x27
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x19, x20
	b.hs	LBB0_30
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #46
	strb	w8, [x19], #1
	ldr	x0, [sp, #8]
	mov	x22, x19
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	x0, x0, #4
	bl	_labellen
	tbnz	w0, #31, LBB0_30
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x22, w0, uxtw
	cmp	x8, x20
	b.hs	LBB0_30
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x23]
	and	w8, w8, w26
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh6:
	adrp	x8, _DNS_LABELTYPE_BITSTRING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DNS_LABELTYPE_BITSTRING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_33
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x20
	bl	_decode_bitstring
	tbnz	w0, #31, LBB0_30
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x22, w0, uxtw
	b	LBB0_24
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w0, LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w26, w0, #1
	mov	x19, x22
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_18 Depth=2
	mov	x0, x22
	bl	_printable
	cbz	w0, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_18 Depth=2
	cmp	x19, x20
	b.hs	LBB0_30
; %bb.16:                               ;   in Loop: Header=BB0_18 Depth=2
	strb	w22, [x19], #1
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	sub	w26, w26, #1
	cmp	w26, #1
	b.le	LBB0_24
LBB0_18:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #8]
	ldr	w22, [x8], #4
	str	x8, [sp, #8]
	mov	x0, x22
	bl	_special
	cbz	x0, LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x8, x19, #1
	cmp	x8, x20
	b.hs	LBB0_30
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=2
	strb	w25, [x19]
	strb	w22, [x19, #1]
	add	x19, x19, #2
	b	LBB0_17
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=2
	add	x8, x19, #3
	cmp	x8, x20
	b.hs	LBB0_30
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=2
	strb	w25, [x19]
	ldr	x8, [x28]
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x9, w22, w9
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	ldr	x8, [x8, w9, sxtw #3]
	strb	w8, [x19, #1]
	ldr	x8, [x28]
	mov	w10, #100
	msub	w9, w9, w10, w22
	sxtb	w9, w9
	mov	w10, #103
	mul	w9, w9, w10
	ubfx	w10, w9, #15, #1
	add	w9, w10, w9, asr #10
	ldr	x8, [x8, w9, sxtw #3]
	strb	w8, [x19, #2]
	ldr	x8, [x28]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x9, w22, w9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	mov	w10, #10
	msub	w9, w9, w10, w22
	ldr	x8, [x8, w9, sxtw #3]
	strb	w8, [x19, #3]
	add	x19, x19, #4
	b	LBB0_17
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x19, x22
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #8]
	ldr	w26, [x0], #4
	str	x0, [sp, #8]
	cbnz	w26, LBB0_2
; %bb.25:
	cmp	x19, x27
	b.ne	LBB0_28
LBB0_26:
	cmp	x21, #0
	b.le	LBB0_30
; %bb.27:
	mov	w8, #46
	mov	x19, x27
	strb	w8, [x19], #1
LBB0_28:
	cmp	x19, x20
	b.hs	LBB0_30
; %bb.29:
	strb	wzr, [x19]
	sub	w8, w19, w27
	add	w0, w8, #1
	b	LBB0_32
LBB0_30:
Lloh9:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
LBB0_31:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _errno@GOTPAGE
Lloh12:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh13:
	str	w8, [x9]
	mov	w0, #-1
LBB0_32:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_33:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_31
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NS_CMPRSFLGS,4,2               ; @NS_CMPRSFLGS
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_errno,4,2                      ; @errno
	.comm	_NS_TYPE_ELT,4,2                ; @NS_TYPE_ELT
	.comm	_DNS_LABELTYPE_BITSTRING,4,2    ; @DNS_LABELTYPE_BITSTRING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_digits,8,3                     ; @digits
.subsections_via_symbols
