	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dname_str                      ## -- Begin function dname_str
	.p2align	4, 0x90
_dname_str:                             ## @dname_str
	.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	%rsi, %r14
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_13
## %bb.2:
	xorl	%r12d, %r12d
	movabsq	$9007199254741001, %r13         ## imm = 0x20000000000009
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movb	$46, -1(%r14)
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_15
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	_LDNS_MAX_LABELLEN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jg	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%r15, %r12
	incq	%r12
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	decq	%rax
	cmpq	%rax, %r12
	jae	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rbx
	incq	%r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_10 Depth=2
	movzbl	(%rbx), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=2
	movl	%eax, %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=2
	movb	%cl, -1(%r14)
	addq	$8, %rbx
	incq	%r14
	testq	%r15, %r15
	je	LBB0_3
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decq	%r15
	movzbl	(%rbx), %edi
	callq	_isalnum
	testq	%rax, %rax
	jne	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	(%rbx), %rax
	movb	$63, %cl
	leaq	-42(%rax), %rdx
	cmpq	$53, %rdx
	ja	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	btq	%rdx, %r13
	jb	LBB0_8
	jmp	LBB0_9
LBB0_13:
	movb	$46, (%r14)
LBB0_14:
	incq	%r14
LBB0_15:
	movb	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movb	$35, (%r14)
	jmp	LBB0_14
LBB0_17:
	movb	$38, (%r14)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_MAX_LABELLEN,8,3          ## @LDNS_MAX_LABELLEN
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ## @LDNS_MAX_DOMAINLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dname_str                      ; -- Begin function dname_str
	.p2align	2
_dname_str:                             ; @dname_str
	.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
	mov	x19, x1
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	x21, [x0]
	cbz	x21, LBB0_12
; %bb.2:
	mov	x22, #0
Lloh0:
	adrp	x23, _LDNS_MAX_LABELLEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LDNS_MAX_LABELLEN@GOTPAGEOFF]
Lloh2:
	adrp	x24, _LDNS_MAX_DOMAINLEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _LDNS_MAX_DOMAINLEN@GOTPAGEOFF]
	mov	w25, #1
	mov	x26, #9
	movk	x26, #32, lsl #48
	mov	w27, #46
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sturb	w27, [x19, #-1]
	ldr	x21, [x20]
	cbz	x21, LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x23]
	cmp	x21, x8
	b.gt	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x22, x21
	add	x22, x8, #1
	ldrsw	x8, [x24]
	sub	x8, x8, #1
	cmp	x22, x8
	b.hs	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #8
	add	x19, x19, #1
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldrb	w8, [x20]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	sturb	w8, [x19, #-1]
	add	x20, x20, #8
	add	x19, x19, #1
	cbz	x21, LBB0_3
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x21, x21, #1
	ldrb	w0, [x20]
	bl	_isalnum
	cbnz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x20]
	sub	x9, x8, #42
	cmp	x9, #53
	lsl	x9, x25, x9
	and	x9, x9, x26
	ccmp	x9, #0, #4, ls
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	w8, #63
	b	LBB0_8
LBB0_12:
	mov	w8, #46
LBB0_13:
	strb	w8, [x19], #1
LBB0_14:
	strb	wzr, [x19]
	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_15:
	mov	w8, #35
	b	LBB0_13
LBB0_16:
	mov	w8, #38
	b	LBB0_13
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_MAX_LABELLEN,8,3          ; @LDNS_MAX_LABELLEN
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ; @LDNS_MAX_DOMAINLEN
.subsections_via_symbols
