	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function primeResponseToKE
_primeResponseToKE:                     ## @primeResponseToKE
	.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, %r14
	movq	%rsi, %r15
	movq	(%rdx), %rsi
	movq	16(%rsi), %rdx
	movslq	%ecx, %rcx
	movq	(%rdx,%rcx,8), %rdx
	movq	$0, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.7:
	movq	%rdi, %rax
	movq	8(%rsi), %rcx
	movl	(%rcx), %ebx
	movl	8(%r14), %edi
	movl	12(%r15), %r9d
	movl	16(%r15), %r8d
	subq	$8, %rsp
	leaq	-48(%rbp), %r10
	movq	%rax, %rcx
	pushq	%r14
	pushq	%r10
	pushq	%rbx
	callq	_val_verify_new_DNSKEYs_with_ta
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_key_entry_isgood
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	_sec_status_bogus@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %r12d
	movq	_VERB_DETAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_sec_status_to_string
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %edi
	movl	%eax, %edx
	callq	_verbose
	movq	_sec_status_secure@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_12
## %bb.17:
	movq	_VERB_DETAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %r8d
	movl	4(%r15), %edx
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.7(%rip), %rsi
	callq	_log_nametypeclass
	jmp	LBB0_18
LBB0_1:
	movq	_VERB_OPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %r8d
	movl	4(%r15), %edx
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_log_nametypeclass
	movq	(%r14), %rax
	movq	8(%rax), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_errinf
	movl	8(%r14), %edi
	movl	(%r15), %ecx
	movl	4(%r15), %esi
	movl	8(%r15), %edx
	movq	_BOGUS_KEY_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %r9d
	callq	_key_entry_create_bad
	jmp	LBB0_4
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_6
LBB0_12:
	movq	_VERB_OPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %r8d
	movl	4(%r15), %edx
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.5(%rip), %rsi
	callq	_log_nametypeclass
	movq	(%r14), %rax
	movq	8(%rax), %rcx
	cmpq	$0, 8(%rcx)
	je	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_errinf
	movl	8(%r14), %edi
	movl	(%r15), %ecx
	movl	4(%r15), %esi
	movl	8(%r15), %edx
	movq	_BOGUS_KEY_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %r9d
	callq	_key_entry_create_bad
	jmp	LBB0_15
LBB0_3:
	movl	8(%r14), %edi
	movl	(%r15), %ecx
	movl	4(%r15), %esi
	movl	8(%r15), %edx
	movq	_NULL_KEY_TTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	(%rax), %rax
	movl	(%rax), %r9d
	callq	_key_entry_create_null
LBB0_4:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_6
LBB0_14:
	movl	8(%r14), %edi
	movl	(%r15), %ecx
	movl	4(%r15), %esi
	movl	8(%r15), %edx
	movq	_NULL_KEY_TTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	(%rax), %rax
	movl	(%rax), %r9d
	callq	_key_entry_create_null
LBB0_15:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:
	leaq	L_.str.6(%rip), %rdi
LBB0_6:
	callq	_log_err
	xorl	%ebx, %ebx
LBB0_18:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_status_unchecked,4,2       ## @sec_status_unchecked
	.comm	_VERB_OPS,4,2                   ## @VERB_OPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to prime trust anchor -- could not fetch DNSKEY rrset"

	.comm	_LDNS_RR_TYPE_DNSKEY,4,2        ## @LDNS_RR_TYPE_DNSKEY
L_.str.1:                               ## @.str.1
	.asciz	"no DNSKEY rrset"

	.comm	_BOGUS_KEY_TTL,4,2              ## @BOGUS_KEY_TTL
	.comm	_NULL_KEY_TTL,4,2               ## @NULL_KEY_TTL
L_.str.2:                               ## @.str.2
	.asciz	"out of memory: allocate fail prime key"

L_.str.3:                               ## @.str.3
	.asciz	"out of memory: verifying prime TA"

	.comm	_sec_status_secure,4,2          ## @sec_status_secure
	.comm	_sec_status_bogus,4,2           ## @sec_status_bogus
	.comm	_VERB_DETAIL,4,2                ## @VERB_DETAIL
L_.str.4:                               ## @.str.4
	.asciz	"validate keys with anchor(DS): %s"

L_.str.5:                               ## @.str.5
	.asciz	"failed to prime trust anchor -- DNSKEY rrset is not secure"

L_.str.6:                               ## @.str.6
	.asciz	"out of memory: allocate null prime key"

L_.str.7:                               ## @.str.7
	.asciz	"Successfully primed trust anchor"

	.no_dead_strip	_primeResponseToKE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function primeResponseToKE
_primeResponseToKE:                     ; @primeResponseToKE
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	ldr	x1, [x2]
	ldr	x9, [x1, #16]
	ldr	x2, [x9, w3, sxtw #3]
	str	xzr, [sp, #8]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x8, x0
	ldr	x9, [x1, #8]
	ldr	w6, [x9]
	ldr	w0, [x20, #8]
	ldp	w5, w4, [x19, #12]
	str	x20, [sp]
	add	x7, sp, #8
	mov	x3, x8
	bl	_val_verify_new_DNSKEYs_with_ta
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_key_entry_isgood
Lloh0:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
Lloh2:
	adrp	x25, _sec_status_secure@GOTPAGE
Lloh3:
	ldr	x25, [x25, _sec_status_secure@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x25, eq
	ldr	w22, [x8]
Lloh4:
	adrp	x24, _VERB_DETAIL@GOTPAGE
Lloh5:
	ldr	x24, [x24, _VERB_DETAIL@GOTPAGEOFF]
	ldr	w23, [x24]
	mov	x0, x22
	bl	_sec_status_to_string
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	bl	_verbose
	ldr	w8, [x25]
	cmp	w22, w8
	b.ne	LBB0_7
; %bb.3:
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	ldp	w4, w2, [x19]
Lloh11:
	adrp	x1, l_.str.7@PAGE
Lloh12:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_log_nametypeclass
	b	LBB0_14
LBB0_4:
Lloh13:
	adrp	x8, _VERB_OPS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VERB_OPS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	ldp	w4, w2, [x19]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_nametypeclass
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_9
; %bb.5:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_errinf
	ldr	w0, [x20, #8]
	ldp	w1, w2, [x19, #4]
	ldr	w3, [x19]
Lloh23:
	adrp	x8, _BOGUS_KEY_TTL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BOGUS_KEY_TTL@GOTPAGEOFF]
Lloh25:
	ldr	w4, [x8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w5, [x8]
	bl	_key_entry_create_bad
	mov	x21, x0
	cbnz	x0, LBB0_14
	b	LBB0_10
LBB0_6:
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_7:
Lloh28:
	adrp	x8, _VERB_OPS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _VERB_OPS@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh32:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	ldp	w4, w2, [x19]
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_log_nametypeclass
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_11
; %bb.8:
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_errinf
	ldr	w0, [x20, #8]
	ldp	w1, w2, [x19, #4]
	ldr	w3, [x19]
Lloh36:
	adrp	x8, _BOGUS_KEY_TTL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BOGUS_KEY_TTL@GOTPAGEOFF]
Lloh38:
	ldr	w4, [x8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w5, [x8]
	bl	_key_entry_create_bad
	mov	x21, x0
	cbnz	x0, LBB0_14
	b	LBB0_12
LBB0_9:
	ldr	w0, [x20, #8]
	ldp	w1, w2, [x19, #4]
	ldr	w3, [x19]
Lloh39:
	adrp	x9, _NULL_KEY_TTL@GOTPAGE
Lloh40:
	ldr	x9, [x9, _NULL_KEY_TTL@GOTPAGEOFF]
Lloh41:
	ldr	w4, [x9]
	ldr	x8, [x8]
	ldr	w5, [x8]
	bl	_key_entry_create_null
	mov	x21, x0
	cbnz	x0, LBB0_14
LBB0_10:
Lloh42:
	adrp	x0, l_.str.2@PAGE
Lloh43:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_11:
	ldr	w0, [x20, #8]
	ldp	w1, w2, [x19, #4]
	ldr	w3, [x19]
Lloh44:
	adrp	x9, _NULL_KEY_TTL@GOTPAGE
Lloh45:
	ldr	x9, [x9, _NULL_KEY_TTL@GOTPAGEOFF]
Lloh46:
	ldr	w4, [x9]
	ldr	x8, [x8]
	ldr	w5, [x8]
	bl	_key_entry_create_null
	mov	x21, x0
	cbnz	x0, LBB0_14
LBB0_12:
Lloh47:
	adrp	x0, l_.str.6@PAGE
Lloh48:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_13:
	bl	_log_err
LBB0_14:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_status_unchecked,4,2       ; @sec_status_unchecked
	.comm	_VERB_OPS,4,2                   ; @VERB_OPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to prime trust anchor -- could not fetch DNSKEY rrset"

	.comm	_LDNS_RR_TYPE_DNSKEY,4,2        ; @LDNS_RR_TYPE_DNSKEY
l_.str.1:                               ; @.str.1
	.asciz	"no DNSKEY rrset"

	.comm	_BOGUS_KEY_TTL,4,2              ; @BOGUS_KEY_TTL
	.comm	_NULL_KEY_TTL,4,2               ; @NULL_KEY_TTL
l_.str.2:                               ; @.str.2
	.asciz	"out of memory: allocate fail prime key"

l_.str.3:                               ; @.str.3
	.asciz	"out of memory: verifying prime TA"

	.comm	_sec_status_secure,4,2          ; @sec_status_secure
	.comm	_sec_status_bogus,4,2           ; @sec_status_bogus
	.comm	_VERB_DETAIL,4,2                ; @VERB_DETAIL
l_.str.4:                               ; @.str.4
	.asciz	"validate keys with anchor(DS): %s"

l_.str.5:                               ; @.str.5
	.asciz	"failed to prime trust anchor -- DNSKEY rrset is not secure"

l_.str.6:                               ; @.str.6
	.asciz	"out of memory: allocate null prime key"

l_.str.7:                               ; @.str.7
	.asciz	"Successfully primed trust anchor"

	.no_dead_strip	_primeResponseToKE
.subsections_via_symbols
