	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_dnskey_response
_process_dnskey_response:               ## @process_dnskey_response
	.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	%r9, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	16(%rax), %rax
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %r13
	movq	8(%rsi), %r12
	movq	$0, -48(%rbp)
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	(%r8), %esi
	movq	%r15, %rdi
	callq	_reply_find_answer_rrset
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	movl	32(%r14), %r8d
	testl	%r8d, %r8d
	je	LBB0_8
## %bb.9:
	movq	16(%rbx), %rsi
	movq	(%rsi), %rcx
	movl	(%rcx), %r9d
	movl	8(%rbx), %edi
	leaq	-48(%rbp), %r10
	movq	%r13, %rdx
	movq	%rax, %rcx
	pushq	%rbx
	pushq	%r10
	callq	_val_verify_new_DNSKEYs
	addq	$16, %rsp
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %rdi
	callq	_key_entry_isgood
	testl	%eax, %eax
	je	LBB0_12
## %bb.18:
	movq	$0, 16(%r14)
	movq	$0, (%rbx)
	movl	(%r13), %edi
	movq	8(%r14), %rsi
	movq	%rbx, %rdx
	callq	_key_cache_insert
	movq	_VERB_DETAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdx
	callq	_log_query_info
	jmp	LBB0_19
LBB0_2:
	movq	_VERB_DETAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
	movq	(%r14), %rax
	movq	_VAL_MAX_RESTART_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.3:
	leaq	16(%r14), %rdi
	movl	8(%rbx), %esi
	movq	16(%rbp), %rdx
	movl	$1, %ecx
	callq	_val_blacklist
	movq	$0, (%rbx)
	incq	(%r14)
	jmp	LBB0_19
LBB0_4:
	movl	8(%rbx), %edi
	movl	8(%r15), %edx
	movl	(%r15), %esi
	movl	4(%r15), %ecx
	movq	_BOGUS_KEY_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	16(%rbx), %rax
	movq	8(%rax), %rax
	movl	(%rax), %r9d
	callq	_key_entry_create_bad
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	movq	16(%rbp), %r12
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_log_err
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_errinf
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_errinf_origin
	movl	(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_errinf_dname
	jmp	LBB0_17
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	callq	_log_err
	movq	$0, 8(%r14)
	jmp	LBB0_17
LBB0_10:
	leaq	L_.str.5(%rip), %rdi
	callq	_log_err
	jmp	LBB0_17
LBB0_12:
	movq	8(%r14), %rdi
	callq	_key_entry_isbad
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	(%r14), %rax
	movq	_VAL_MAX_RESTART_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	16(%rbp), %r13
	jge	LBB0_15
## %bb.14:
	leaq	16(%r14), %rdi
	movl	8(%rbx), %esi
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	_val_blacklist
	movq	$0, (%rbx)
	incq	(%r14)
	movq	%r12, 8(%r14)
	jmp	LBB0_19
LBB0_15:
	movq	_VERB_DETAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_verbose
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_errinf
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_errinf_origin
	movl	(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_errinf_dname
LBB0_16:
	movq	$0, 16(%r14)
LBB0_17:
	movq	_VAL_VALIDATE_STATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RCODE_NOERROR,4,2         ## @LDNS_RCODE_NOERROR
	.comm	_VERB_DETAIL,4,2                ## @VERB_DETAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing DNSKEY RRset in response to DNSKEY query."

	.comm	_VAL_MAX_RESTART_COUNT,8,3      ## @VAL_MAX_RESTART_COUNT
	.comm	_BOGUS_KEY_TTL,4,2              ## @BOGUS_KEY_TTL
L_.str.1:                               ## @.str.1
	.asciz	"alloc failure in missing dnskey response"

L_.str.2:                               ## @.str.2
	.asciz	"No DNSKEY record"

L_.str.3:                               ## @.str.3
	.asciz	"for key"

	.comm	_VAL_VALIDATE_STATE,8,3         ## @VAL_VALIDATE_STATE
L_.str.4:                               ## @.str.4
	.asciz	"internal error: no DS rrset for new DNSKEY response"

L_.str.5:                               ## @.str.5
	.asciz	"out of memory in verify new DNSKEYs"

L_.str.6:                               ## @.str.6
	.asciz	"Did not match a DS to a DNSKEY, thus bogus."

L_.str.7:                               ## @.str.7
	.asciz	"validated DNSKEY"

	.no_dead_strip	_process_dnskey_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_dnskey_response
_process_dnskey_response:               ; @process_dnskey_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x6
	mov	x21, x5
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, #16]
	ldr	x23, [x8, w2, sxtw #3]
	ldr	x24, [x1, #8]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_6
; %bb.1:
	ldr	w1, [x4]
	mov	x0, x21
	bl	_reply_find_answer_rrset
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w4, [x19, #32]
	cbz	w4, LBB0_11
; %bb.3:
	mov	x3, x0
	ldr	x1, [x20, #16]
	ldr	x8, [x1]
	ldr	w5, [x8]
	ldr	w0, [x20, #8]
	add	x6, sp, #8
	mov	x2, x23
	mov	x7, x20
	bl	_val_verify_new_DNSKEYs
	str	x0, [x19, #8]
	cbz	x0, LBB0_12
; %bb.4:
	bl	_key_entry_isgood
	cbz	w0, LBB0_15
; %bb.5:
	str	xzr, [x19, #16]
	str	xzr, [x20]
	ldr	w0, [x23]
	ldr	x1, [x19, #8]
	mov	x2, x20
	bl	_key_cache_insert
Lloh3:
	adrp	x8, _VERB_DETAIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VERB_DETAIL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.7@PAGE
Lloh7:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x21
	bl	_log_query_info
	b	LBB0_14
LBB0_6:
Lloh8:
	adrp	x8, _VERB_DETAIL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VERB_DETAIL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _VAL_MAX_RESTART_COUNT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VAL_MAX_RESTART_COUNT@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_8
; %bb.7:
	add	x0, x19, #16
	ldr	w1, [x20, #8]
	mov	x2, x22
	mov	w3, #1
	bl	_val_blacklist
	str	xzr, [x20]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_14
LBB0_8:
	ldr	w0, [x20, #8]
	ldp	w3, w2, [x21, #4]
	ldr	w1, [x21]
Lloh16:
	adrp	x8, _BOGUS_KEY_TTL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BOGUS_KEY_TTL@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	ldr	w5, [x8]
	bl	_key_entry_create_bad
	str	x0, [x19, #8]
	cbnz	x0, LBB0_10
; %bb.9:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
LBB0_10:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_errinf
	mov	x0, x20
	mov	x1, x22
	bl	_errinf_origin
	ldr	w2, [x21]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_errinf_dname
	b	LBB0_13
LBB0_11:
Lloh25:
	adrp	x0, l_.str.4@PAGE
Lloh26:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_log_err
	str	xzr, [x19, #8]
	b	LBB0_13
LBB0_12:
Lloh27:
	adrp	x0, l_.str.5@PAGE
Lloh28:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_log_err
LBB0_13:
Lloh29:
	adrp	x8, _VAL_VALIDATE_STATE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VAL_VALIDATE_STATE@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [x19, #24]
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_15:
	ldr	x0, [x19, #8]
	bl	_key_entry_isbad
	cbz	x0, LBB0_19
; %bb.16:
	ldr	x8, [x19]
Lloh32:
	adrp	x9, _VAL_MAX_RESTART_COUNT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _VAL_MAX_RESTART_COUNT@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_18
; %bb.17:
	add	x0, x19, #16
	ldr	w1, [x20, #8]
	mov	x2, x22
	mov	w3, #1
	bl	_val_blacklist
	str	xzr, [x20]
	ldr	x8, [x19]
	add	x8, x8, #1
	stp	x8, x24, [x19]
	b	LBB0_14
LBB0_18:
Lloh35:
	adrp	x8, _VERB_DETAIL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VERB_DETAIL@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.6@PAGE
Lloh39:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_verbose
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_errinf
	mov	x0, x20
	mov	x1, x22
	bl	_errinf_origin
	ldr	w2, [x21]
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_errinf_dname
LBB0_19:
Lloh42:
	adrp	x8, _VAL_VALIDATE_STATE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _VAL_VALIDATE_STATE@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	stp	xzr, x8, [x19, #16]
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RCODE_NOERROR,4,2         ; @LDNS_RCODE_NOERROR
	.comm	_VERB_DETAIL,4,2                ; @VERB_DETAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing DNSKEY RRset in response to DNSKEY query."

	.comm	_VAL_MAX_RESTART_COUNT,8,3      ; @VAL_MAX_RESTART_COUNT
	.comm	_BOGUS_KEY_TTL,4,2              ; @BOGUS_KEY_TTL
l_.str.1:                               ; @.str.1
	.asciz	"alloc failure in missing dnskey response"

l_.str.2:                               ; @.str.2
	.asciz	"No DNSKEY record"

l_.str.3:                               ; @.str.3
	.asciz	"for key"

	.comm	_VAL_VALIDATE_STATE,8,3         ; @VAL_VALIDATE_STATE
l_.str.4:                               ; @.str.4
	.asciz	"internal error: no DS rrset for new DNSKEY response"

l_.str.5:                               ; @.str.5
	.asciz	"out of memory in verify new DNSKEYs"

l_.str.6:                               ; @.str.6
	.asciz	"Did not match a DS to a DNSKEY, thus bogus."

l_.str.7:                               ; @.str.7
	.asciz	"validated DNSKEY"

	.no_dead_strip	_process_dnskey_response
.subsections_via_symbols
