	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processClassResponse
_processClassResponse:                  ## @processClassResponse
	.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	%rdx, %r12
	movq	%rdi, %rbx
	movq	24(%rdx), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %r13
	movq	16(%rdi), %r15
	movq	_VERB_ALGO@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	12(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_log_query_info
	movl	(%r14), %edi
	leaq	12(%r12), %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_log_query_info
	movq	(%rbx), %rax
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	16(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.6:
	movq	(%r15), %rcx
	movq	(%rcx), %rdx
	movq	(%rsi), %rax
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.7:
	movq	(%rax), %rbx
	movl	72(%rcx), %ecx
	movl	%ecx, 72(%rax)
	movq	_RR_COUNT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	ja	LBB0_9
## %bb.8:
	cmpq	%rax, %rbx
	ja	LBB0_9
## %bb.10:
	movq	%rsi, %r14
	addq	%rdx, %rbx
	movl	8(%r12), %edi
	leal	(,%rbx,8), %esi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	(%r14), %rcx
	movq	%r14, %r12
	movq	64(%rcx), %rsi
	movl	8(%rcx), %edx
	shll	$3, %edx
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	callq	_memcpy
	movq	(%r12), %rax
	movq	%r12, %rbx
	movslq	8(%rax), %rax
	leaq	(%r14,%rax,8), %r12
	movq	(%r15), %rax
	movq	64(%rax), %rsi
	movl	8(%rax), %edx
	shll	$3, %edx
	movq	%r12, %rdi
	callq	_memcpy
	movq	(%r15), %rax
	movslq	8(%rax), %rax
	leaq	(%r12,%rax,8), %r12
	movq	(%rbx), %rax
	movslq	8(%rax), %rsi
	shlq	$3, %rsi
	addq	64(%rax), %rsi
	movl	12(%rax), %edx
	shll	$3, %edx
	movq	%r12, %rdi
	callq	_memcpy
	movq	(%rbx), %rax
	movslq	12(%rax), %rax
	leaq	(%r12,%rax,8), %r12
	movq	(%r15), %rax
	movslq	8(%rax), %rsi
	shlq	$3, %rsi
	addq	64(%rax), %rsi
	movl	12(%rax), %edx
	shll	$3, %edx
	movq	%r12, %rdi
	callq	_memcpy
	movq	(%r15), %rax
	movslq	12(%rax), %rax
	leaq	(%r12,%rax,8), %r12
	movq	(%rbx), %rax
	movslq	8(%rax), %rcx
	shlq	$3, %rcx
	addq	64(%rax), %rcx
	movslq	12(%rax), %rdx
	leaq	(%rcx,%rdx,8), %rsi
	movl	16(%rax), %edx
	shll	$3, %edx
	movq	%r12, %rdi
	callq	_memcpy
	movq	(%rbx), %rax
	movslq	16(%rax), %rax
	leaq	(%r12,%rax,8), %rdi
	movq	(%r15), %rax
	movslq	8(%rax), %rcx
	shlq	$3, %rcx
	addq	64(%rax), %rcx
	movslq	12(%rax), %rdx
	leaq	(%rcx,%rdx,8), %rsi
	movl	16(%rax), %edx
	shll	$3, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movq	%r14, 64(%rax)
	movq	(%r15), %rcx
	movl	8(%rcx), %edx
	addl	%edx, 8(%rax)
	movl	12(%rcx), %edx
	addl	%edx, 12(%rax)
	movl	16(%rcx), %edx
	addl	%edx, 16(%rax)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%rax)
LBB0_13:
	movq	24(%rcx), %rdx
	cmpq	24(%rax), %rdx
	jge	LBB0_15
## %bb.14:
	movq	%rdx, 24(%rax)
LBB0_15:
	movq	32(%rcx), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.16:
	movq	%rdx, 32(%rax)
LBB0_17:
	movq	40(%rcx), %rdx
	cmpq	40(%rax), %rdx
	jge	LBB0_19
## %bb.18:
	movq	%rdx, 40(%rax)
LBB0_19:
	movq	48(%rcx), %rdx
	cmpq	48(%rax), %rdx
	jge	LBB0_21
## %bb.20:
	movq	%rdx, 48(%rax)
LBB0_21:
	movq	56(%rcx), %rcx
	cmpq	56(%rax), %rcx
	jge	LBB0_23
## %bb.22:
	movq	%rcx, 56(%rax)
LBB0_23:
	decq	(%r13)
	jne	LBB0_25
	jmp	LBB0_24
LBB0_1:
	movq	$0, 16(%r13)
LBB0_24:
	movq	_FINISHED_STATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	8(%r12), %esi
	movq	%r15, %rdi
	callq	_dns_copy_msg
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%r14), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rax), %rax
	movq	$0, 80(%rax)
	decq	(%r13)
	jne	LBB0_25
	jmp	LBB0_24
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
	callq	_log_err
	jmp	LBB0_24
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	callq	_log_err
	jmp	LBB0_24
LBB0_11:
	leaq	L_.str.4(%rip), %rdi
	callq	_log_err
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"processClassResponse"

L_.str.1:                               ## @.str.1
	.asciz	"processClassResponse super"

	.comm	_LDNS_RCODE_NOERROR,8,3         ## @LDNS_RCODE_NOERROR
	.comm	_FINISHED_STATE,8,3             ## @FINISHED_STATE
L_.str.2:                               ## @.str.2
	.asciz	"malloc failed for qclass ANY response"

	.comm	_RR_COUNT_MAX,8,3               ## @RR_COUNT_MAX
L_.str.3:                               ## @.str.3
	.asciz	"malloc failed (too many rrsets) in collect ANY"

L_.str.4:                               ## @.str.4
	.asciz	"malloc failed in collect ANY"

	.no_dead_strip	_processClassResponse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processClassResponse
_processClassResponse:                  ; @processClassResponse
	.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
	mov	x20, x2
	mov	x22, x0
	ldr	x8, [x2, #24]
	ldr	x23, [x8, w1, sxtw #3]
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x21, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x21]
	add	x2, x22, #12
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_query_info
	ldr	w0, [x21]
	add	x21, x20, #12
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_log_query_info
	ldr	x8, [x22]
Lloh6:
	adrp	x9, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x22, [x23, #16]
	cbz	x22, LBB0_8
; %bb.2:
	ldr	x9, [x19]
	ldr	x10, [x9]
	ldr	x8, [x22]
	cbz	x10, LBB0_12
; %bb.3:
	ldr	x11, [x8]
	ldr	w9, [x9, #72]
	str	w9, [x8, #72]
Lloh9:
	adrp	x8, _RR_COUNT_MAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RR_COUNT_MAX@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x10, x8
	ccmp	x11, x8, #2, ls
	b.ls	LBB0_10
; %bb.4:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_log_err
	b	LBB0_6
LBB0_5:
	str	xzr, [x23, #16]
LBB0_6:
Lloh14:
	adrp	x8, _FINISHED_STATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FINISHED_STATE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x23, #8]
LBB0_7:
	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
LBB0_8:
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_dns_copy_msg
	str	x0, [x23, #16]
	cbz	x0, LBB0_23
; %bb.9:
	ldr	w8, [x21]
	str	w8, [x0, #8]
	ldr	x8, [x0]
	str	xzr, [x8, #80]
	b	LBB0_22
LBB0_10:
	add	x24, x11, x10
	ldr	w0, [x20, #8]
	lsl	w1, w24, #3
	bl	_regional_alloc
	cbz	x0, LBB0_24
; %bb.11:
	mov	x20, x0
	ldr	x8, [x22]
	ldr	x1, [x8, #64]
	ldr	w8, [x8, #8]
	lsl	w2, w8, #3
	bl	_memcpy
	ldr	x8, [x22]
	ldrsw	x8, [x8, #8]
	add	x21, x20, x8, lsl #3
	ldr	x8, [x19]
	ldr	x1, [x8, #64]
	ldr	w8, [x8, #8]
	lsl	w2, w8, #3
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x19]
	ldrsw	x8, [x8, #8]
	add	x21, x21, x8, lsl #3
	ldr	x8, [x22]
	ldr	x9, [x8, #64]
	ldp	w10, w8, [x8, #8]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	x1, x9, x10, lsl #3
	lsl	w2, w8, #3
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x22]
	ldrsw	x8, [x8, #12]
	add	x21, x21, x8, lsl #3
	ldr	x8, [x19]
	ldr	x9, [x8, #64]
	ldp	w10, w8, [x8, #8]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	x1, x9, x10, lsl #3
	lsl	w2, w8, #3
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x19]
	ldrsw	x8, [x8, #12]
	add	x21, x21, x8, lsl #3
	ldr	x8, [x22]
	ldr	x9, [x8, #64]
	ldpsw	x10, x11, [x8, #8]
	add	x9, x9, x10, lsl #3
	add	x1, x9, x11, lsl #3
	ldr	w8, [x8, #16]
	lsl	w2, w8, #3
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x22]
	ldrsw	x8, [x8, #16]
	add	x0, x21, x8, lsl #3
	ldr	x8, [x19]
	ldr	x9, [x8, #64]
	ldpsw	x10, x11, [x8, #8]
	add	x9, x9, x10, lsl #3
	add	x1, x9, x11, lsl #3
	ldr	w8, [x8, #16]
	lsl	w2, w8, #3
	bl	_memcpy
	ldr	x8, [x22]
	str	x20, [x8, #64]
	ldr	x9, [x19]
	ldr	d0, [x9, #8]
	ldr	d1, [x8, #8]
	add.2s	v0, v1, v0
	str	d0, [x8, #8]
	ldr	w10, [x9, #16]
	ldr	w11, [x8, #16]
	add	w10, w11, w10
	str	w10, [x8, #16]
	str	x24, [x8]
LBB0_12:
	ldr	x10, [x9, #24]
	ldr	x11, [x8, #24]
	cmp	x10, x11
	b.ge	LBB0_14
; %bb.13:
	str	x10, [x8, #24]
LBB0_14:
	ldr	x10, [x9, #32]
	cbz	x10, LBB0_16
; %bb.15:
	str	x10, [x8, #32]
LBB0_16:
	ldr	x10, [x9, #40]
	ldr	x11, [x8, #40]
	cmp	x10, x11
	b.ge	LBB0_18
; %bb.17:
	str	x10, [x8, #40]
LBB0_18:
	ldr	x10, [x9, #48]
	ldr	x11, [x8, #48]
	cmp	x10, x11
	b.ge	LBB0_20
; %bb.19:
	str	x10, [x8, #48]
LBB0_20:
	ldr	x9, [x9, #56]
	ldr	x10, [x8, #56]
	cmp	x9, x10
	b.ge	LBB0_22
; %bb.21:
	str	x9, [x8, #56]
LBB0_22:
	ldr	x8, [x23]
	subs	x8, x8, #1
	str	x8, [x23]
	b.ne	LBB0_7
	b	LBB0_6
LBB0_23:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_err
	b	LBB0_6
LBB0_24:
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_log_err
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"processClassResponse"

l_.str.1:                               ; @.str.1
	.asciz	"processClassResponse super"

	.comm	_LDNS_RCODE_NOERROR,8,3         ; @LDNS_RCODE_NOERROR
	.comm	_FINISHED_STATE,8,3             ; @FINISHED_STATE
l_.str.2:                               ; @.str.2
	.asciz	"malloc failed for qclass ANY response"

	.comm	_RR_COUNT_MAX,8,3               ; @RR_COUNT_MAX
l_.str.3:                               ; @.str.3
	.asciz	"malloc failed (too many rrsets) in collect ANY"

l_.str.4:                               ; @.str.4
	.asciz	"malloc failed in collect ANY"

	.no_dead_strip	_processClassResponse
.subsections_via_symbols
