	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dnsdecode
_dnsdecode:                             ## @dnsdecode
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXDNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	incl	%ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	movq	%r12, %rcx
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movb	$0, (%r14)
	cmpq	%rcx, %r15
	jae	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%rcx, %r14
	jae	LBB0_23
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movl	(%r14), %r15d
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	-88(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	callq	_strlcat
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%r13, %rax
	jae	LBB0_25
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	testq	%r15, %r15
	je	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	$4, %r14
	movl	%r15d, %eax
	notl	%eax
	testb	$-64, %al
	je	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$63, %r15d
	ja	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, %rax
	subq	%r14, %rax
	sarq	$2, %rax
	cmpq	%r15, %rax
	jl	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	decl	%r15d
	cmpq	%rcx, %r14
	jae	LBB0_5
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	callq	_isprint
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rdx
	movzbl	(%r14), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_snprintf
	testl	%eax, %eax
	js	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	cltq
	cmpq	%rbx, %rax
	jae	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_strlcat
	cmpq	%r13, %rax
	jae	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=2
	addq	$4, %r14
	addl	$-1, %r15d
	jae	LBB0_22
## %bb.3:                               ##   in Loop: Header=BB0_18 Depth=2
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %r14
	jb	LBB0_18
	jmp	LBB0_5
LBB0_11:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.12:
	movq	%r14, %rax
	subq	%rcx, %rax
	sarq	$2, %rax
	andl	$63, %r15d
	cmpq	%r15, %rax
	jle	LBB0_25
## %bb.13:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%r15,4), %rdi
	movq	%r14, %rsi
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_dnsdecode
	testq	%rax, %rax
	je	LBB0_1
## %bb.14:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_strlcat
	jmp	LBB0_1
LBB0_23:
	testl	%r15d, %r15d
	je	LBB0_24
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	addq	$4, %r14
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXDNAME,4,2                   ## @MAXDNAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

L_.str.1:                               ## @.str.1
	.asciz	"%c"

L_.str.2:                               ## @.str.2
	.asciz	"\\%03o"

	.no_dead_strip	_dnsdecode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dnsdecode
_dnsdecode:                             ; @dnsdecode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x19, x4
	mov	x20, x3
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXDNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXDNAME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w22, w8, #1
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	strb	wzr, [x3]
	cmp	x0, x1
	b.hs	LBB0_20
; %bb.1:
	stur	x2, [x29, #-96]                 ; 8-byte Folded Spill
Lloh8:
	adrp	x28, l_.str.1@PAGE
Lloh9:
	add	x28, x28, l_.str.1@PAGEOFF
	mov	x26, x25
Lloh10:
	adrp	x27, l_.str.2@PAGE
Lloh11:
	add	x27, x27, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x26, x24
	b.hs	LBB0_19
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w21, [x26]
	cmp	w21, #0
	ccmp	x26, x25, #0, ne
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_strlcat
	cmp	x0, x19
	b.hs	LBB0_20
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w21, LBB0_23
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mvn	w8, w21
	add	x26, x26, #4
	tst	w8, #0xc0
	b.eq	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w21, #63
	b.hi	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x24, x26
	cmp	x21, x8, asr #2
	b.gt	LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w21, w21, #1
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x26, x24
	b.hs	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w0, [x26]
	bl	_isprint
	cmp	x0, #0
	csel	x2, x27, x28, eq
	ldrb	w3, [x26]
	mov	x0, x23
	mov	x1, x22
	bl	_snprintf
	mov	x8, x0
	mov	x0, #0
	tbnz	w8, #31, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	sxtw	x8, w8
	cmp	x8, x22
	b.hs	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_strlcat
	cmp	x0, x19
	b.hs	LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x26, x26, #4
	subs	w21, w21, #1
	b.hs	LBB0_10
	b	LBB0_2
LBB0_15:
	mov	x0, #0
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	cbz	x8, LBB0_21
; %bb.16:
	sub	x8, x26, x8
	asr	x9, x8, #2
	and	x8, x21, #0x3f
	cmp	x9, x8
	b.le	LBB0_21
; %bb.17:
	ldur	x2, [x29, #-96]                 ; 8-byte Folded Reload
	add	x0, x2, x8, lsl #2
	mov	x1, x26
	mov	x3, x23
	mov	x4, x22
	bl	_dnsdecode
	cbz	x0, LBB0_21
; %bb.18:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_strlcat
	b	LBB0_20
LBB0_19:
	cbz	w21, LBB0_23
LBB0_20:
	mov	x0, #0
LBB0_21:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.22:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_23:
	add	x0, x26, #4
	b	LBB0_21
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXDNAME,4,2                   ; @MAXDNAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

l_.str.1:                               ; @.str.1
	.asciz	"%c"

l_.str.2:                               ; @.str.2
	.asciz	"\\%03o"

	.no_dead_strip	_dnsdecode
.subsections_via_symbols
