	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns_read_iterator_fetch_name
_dns_read_iterator_fetch_name:          ## @dns_read_iterator_fetch_name
	.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
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	-41(%rbp), %rsi
	callq	_dns_read_iterator_fetch_uchar
	testq	%rax, %rax
	js	LBB0_10
## %bb.1:
	movl	$-1, -48(%rbp)                  ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-41(%rbp), %r12d
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %eax
	andb	$-64, %al
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, %rbx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r15d, %r15d
	jle	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%r15d
	movb	$46, (%rbx)
	incq	%rbx
	subl	%r12d, %r15d
	jge	LBB0_8
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	subl	%r12d, %r15d
	jl	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_dns_read_iterator_fetch_uchars
	testq	%rax, %rax
	js	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r12, %rbx
	movq	%r13, %rdi
	leaq	-41(%rbp), %rsi
	callq	_dns_read_iterator_fetch_uchar
	testq	%rax, %rax
	jns	LBB0_2
	jmp	LBB0_16
LBB0_10:
	movl	$-1, -48(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_16
LBB0_11:
	cmpb	$-64, %al
	jne	LBB0_16
## %bb.12:
	andb	$63, %r12b
	movb	%r12b, -41(%rbp)
	leaq	-42(%rbp), %rsi
	movq	%r13, %rdi
	callq	_dns_read_iterator_fetch_uchar
	movl	$-1, %edx
	testq	%rax, %rax
	js	LBB0_15
## %bb.13:
	movzbl	-41(%rbp), %ecx
	andl	$63, %ecx
	shlq	$8, %rcx
	movzbl	-42(%rbp), %eax
	orq	%rcx, %rax
	movzwl	(%r13), %ecx
	cmpw	%ax, %cx
	jbe	LBB0_15
## %bb.14:
	movq	%rax, %rsi
	addq	8(%r13), %rsi
	movzwl	%ax, %eax
	subl	%eax, %ecx
	movzwl	%cx, %edx
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_dns_read_iterator_init
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_dns_read_iterator_fetch_name
	movl	%eax, %edx
	sarl	$31, %edx
LBB0_15:
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
LBB0_16:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	testl	%r15d, %r15d
	jle	LBB0_20
## %bb.19:
	movb	$0, (%rbx)
	subl	%r14d, %ebx
	movl	%ebx, %eax
	jmp	LBB0_17
LBB0_20:
	movl	$-1, %eax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dns_read_iterator_fetch_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns_read_iterator_fetch_name
_dns_read_iterator_fetch_name:          ; @dns_read_iterator_fetch_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	add	x1, sp, #31
	bl	_dns_read_iterator_fetch_uchar
	tbnz	x0, #63, LBB0_16
; %bb.1:
	mov	w24, #46
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w23, [sp, #31]
	cbz	w23, LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ands	w8, w23, #0xc0
	b.ne	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x20, x19
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	subs	w21, w21, #1
	b.lt	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w24, [x20], #1
	subs	w21, w21, w23
	b.ge	LBB0_8
	b	LBB0_16
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x20, x19
	subs	w21, w21, w23
	b.lt	LBB0_16
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_dns_read_iterator_fetch_uchars
	tbnz	x0, #63, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, x23
	add	x1, sp, #31
	mov	x0, x22
	bl	_dns_read_iterator_fetch_uchar
	tbz	x0, #63, LBB0_2
	b	LBB0_16
LBB0_10:
	cmp	w8, #192
	b.ne	LBB0_16
; %bb.11:
	and	w8, w23, #0x3f
	strb	w8, [sp, #31]
	add	x1, sp, #30
	mov	x0, x22
	bl	_dns_read_iterator_fetch_uchar
	tbnz	x0, #63, LBB0_16
; %bb.12:
	ldrb	w8, [sp, #31]
	and	x9, x8, #0x3f
	ldrb	w8, [sp, #30]
	bfi	x8, x9, #8, #6
	ldrh	w9, [x22]
	subs	w9, w9, w8
	b.ls	LBB0_16
; %bb.13:
	ldr	x10, [x22, #8]
	add	x1, x10, x8
	and	w2, w9, #0xffff
	add	x0, sp, #8
	bl	_dns_read_iterator_init
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_dns_read_iterator_fetch_name
	asr	w0, w0, #31
	b	LBB0_17
LBB0_14:
	cmp	w21, #1
	b.lt	LBB0_16
; %bb.15:
	strb	wzr, [x20]
	sub	w0, w20, w19
	b	LBB0_17
LBB0_16:
	mov	w0, #-1
LBB0_17:
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dns_read_iterator_fetch_name
.subsections_via_symbols
