	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chunk_rrlist_gonext
_chunk_rrlist_gonext:                   ## @chunk_rrlist_gonext
	.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), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rax), %rdx
	movq	_LDNS_HEADER_SIZE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rdx
	jl	LBB0_6
## %bb.2:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %r12d
	incl	%r12d
	movl	16(%rax), %edi
	callq	_LDNS_ANCOUNT
	cmpl	%eax, %r12d
	jge	LBB0_5
## %bb.3:
	incl	(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	jmp	LBB0_4
LBB0_5:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$0, (%r15)
	movq	$0, (%r14)
	movq	(%rax), %rcx
	cmpq	(%r13), %rcx
	jl	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%rax), %edi
	callq	_LDNS_ANCOUNT
	testq	%rax, %rax
	jg	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%rbx), %rax
	jmp	LBB0_6
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_HEADER_SIZE,8,3           ## @LDNS_HEADER_SIZE
	.no_dead_strip	_chunk_rrlist_gonext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chunk_rrlist_gonext
_chunk_rrlist_gonext:                   ; @chunk_rrlist_gonext
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x9, [x8]
Lloh0:
	adrp	x23, _LDNS_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LDNS_HEADER_SIZE@GOTPAGEOFF]
	ldr	x10, [x23]
	cmp	x9, x10
	b.lt	LBB0_5
; %bb.2:
	mov	x22, x3
	ldr	w9, [x20]
	add	w24, w9, #1
	ldr	w0, [x8, #16]
	bl	_LDNS_ANCOUNT
	cmp	w24, w0
	b.ge	LBB0_4
; %bb.3:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	str	x22, [x19]
	b	LBB0_9
LBB0_4:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	str	x8, [x21]
	cbz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [x20]
	str	xzr, [x19]
	ldr	x9, [x8]
	ldr	x10, [x23]
	cmp	x9, x10
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x8, #16]
	bl	_LDNS_ANCOUNT
	cmp	x0, #0
	b.gt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	b	LBB0_5
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_HEADER_SIZE,8,3           ; @LDNS_HEADER_SIZE
	.no_dead_strip	_chunk_rrlist_gonext
.subsections_via_symbols
