	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processCollectClass
_processCollectClass:                   ## @processCollectClass
	.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	24(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %r13
	xorl	%r15d, %r15d
	cmpq	$0, 8(%r13)
	jne	LBB0_10
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$0, -44(%rbp)
	movq	_LDNS_RR_CLASS_ANY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-44(%rbp), %rdx
	callq	_iter_get_next_root
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %ecx
	movl	12(%rbx), %edx
	movl	-44(%rbp), %r8d
	leaq	L_.str(%rip), %rsi
	callq	_log_nametypeclass
	movl	12(%rbx), %edi
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movl	-44(%rbp), %ecx
	movq	_INIT_REQUEST_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_FINISHED_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_BIT_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %r12d
	andl	(%rbx), %eax
	sete	%r12b
	subq	$8, %rsp
	movq	%rbx, %r8
	movl	%r14d, %r9d
	pushq	%r12
	leaq	-56(%rbp), %rax
	pushq	%rax
	pushq	%r11
	pushq	%r10
	pushq	%r13
	callq	_generate_sub_request
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	(%r13)
	movl	-44(%rbp), %eax
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_2
LBB0_7:
	cmpq	$0, (%r13)
	jne	LBB0_10
## %bb.8:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_verbose
	movq	_LDNS_RCODE_REFUSED@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_errinf
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_error_response
	movl	%eax, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_CLASS_ANY,8,3          ## @LDNS_RR_CLASS_ANY
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"spawn collect query"

	.comm	_INIT_REQUEST_STATE,4,2         ## @INIT_REQUEST_STATE
	.comm	_FINISHED_STATE,4,2             ## @FINISHED_STATE
	.comm	_BIT_CD,4,2                     ## @BIT_CD
L_.str.1:                               ## @.str.1
	.asciz	"could not generate class ANY lookup query"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ## @LDNS_RCODE_SERVFAIL
L_.str.2:                               ## @.str.2
	.asciz	"No root hints or fwds, giving up on qclass ANY"

	.comm	_LDNS_RCODE_REFUSED,4,2         ## @LDNS_RCODE_REFUSED
	.no_dead_strip	_processCollectClass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processCollectClass
_processCollectClass:                   ; @processCollectClass
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x8, [x0, #24]
	ldr	x21, [x8, w1, sxtw #3]
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _LDNS_RR_CLASS_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_CLASS_ANY@GOTPAGEOFF]
	str	wzr, [sp, #20]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x21, #8]
	ldr	x8, [x0, #16]
	ldp	w1, w0, [x8]
	add	x2, sp, #20
	bl	_iter_get_next_root
	cbz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x23, _VERB_ALGO@GOTPAGE
Lloh4:
	ldr	x23, [x23, _VERB_ALGO@GOTPAGEOFF]
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
Lloh7:
	adrp	x24, _INIT_REQUEST_STATE@GOTPAGE
Lloh8:
	ldr	x24, [x24, _INIT_REQUEST_STATE@GOTPAGEOFF]
Lloh9:
	adrp	x25, _FINISHED_STATE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _FINISHED_STATE@GOTPAGEOFF]
	add	x26, sp, #24
Lloh11:
	adrp	x27, _BIT_CD@GOTPAGE
Lloh12:
	ldr	x27, [x27, _BIT_CD@GOTPAGEOFF]
	mov	w28, #65535
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	w2, [x20, #12]
	ldr	w3, [x20, #4]
	ldr	w4, [sp, #20]
	mov	x1, x22
	bl	_log_nametypeclass
	ldp	w1, w0, [x20, #8]
	ldr	w3, [sp, #20]
	ldr	w7, [x24]
	ldr	w8, [x25]
	ldp	w9, w2, [x20]
	ldr	w10, [x27]
	tst	w10, w9
	cset	w9, eq
	str	w9, [sp, #16]
	str	x26, [sp, #8]
	str	w8, [sp]
	mov	x4, x20
	mov	x5, x19
	mov	x6, x21
	bl	_generate_sub_request
	cbz	w0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	ldr	w8, [sp, #20]
	cmp	w8, w28
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #1
	str	w8, [sp, #20]
	ldr	x8, [x20, #16]
	ldp	w1, w0, [x8]
	add	x2, sp, #20
	bl	_iter_get_next_root
	cbnz	x0, LBB0_3
LBB0_6:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_9:
Lloh13:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_verbose
Lloh18:
	adrp	x8, _LDNS_RCODE_REFUSED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LDNS_RCODE_REFUSED@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_errinf
Lloh22:
	adrp	x8, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
LBB0_11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_error_response
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_CLASS_ANY,8,3          ; @LDNS_RR_CLASS_ANY
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"spawn collect query"

	.comm	_INIT_REQUEST_STATE,4,2         ; @INIT_REQUEST_STATE
	.comm	_FINISHED_STATE,4,2             ; @FINISHED_STATE
	.comm	_BIT_CD,4,2                     ; @BIT_CD
l_.str.1:                               ; @.str.1
	.asciz	"could not generate class ANY lookup query"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ; @LDNS_RCODE_SERVFAIL
l_.str.2:                               ; @.str.2
	.asciz	"No root hints or fwds, giving up on qclass ANY"

	.comm	_LDNS_RCODE_REFUSED,4,2         ; @LDNS_RCODE_REFUSED
	.no_dead_strip	_processCollectClass
.subsections_via_symbols
