	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prime_root
_prime_root:                            ## @prime_root
	.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	%rcx, %rbx
	movl	%edx, %r14d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_VERB_DETAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_sldns_rr_classes@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	%ebx, %esi
	callq	_sldns_lookup_by_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r13), %edi
	movl	%ebx, %esi
	callq	_sldns_lookup_by_id
	movq	(%rax), %rdx
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdx
LBB0_3:
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%r15d, %edi
	xorl	%eax, %eax
	callq	_verbose
	movq	16(%r12), %rax
	movl	8(%rax), %edi
	movq	%rbx, %rsi
	callq	_hints_lookup_root
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r15
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_QUERYTARGETS_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_PRIME_RESP_STATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	subq	$8, %rsp
	leaq	-48(%rbp), %r11
	leaq	l_.str.3(%rip), %rdi
	movl	$1, %esi
	movq	%rbx, %rcx
	movq	%r12, %r8
	movl	%r14d, %r9d
	pushq	$0
	pushq	%r11
	pushq	%rax
	pushq	%r10
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_generate_sub_request
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	32(%rax), %rcx
	movslq	%r14d, %r14
	movq	(%rcx,%r14,8), %rbx
	movl	24(%rax), %esi
	movq	%r15, %rdi
	callq	_delegpt_copy
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	$0, 8(%rbx)
	movq	16(%r12), %rdi
	movq	-48(%rbp), %rcx
	movl	8(%rcx), %ecx
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_iter_indicates_dnssec
	movl	%eax, 4(%rbx)
	jmp	LBB0_13
LBB0_4:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_5
LBB0_7:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%r13d, %r13d
LBB0_5:
	xorl	%eax, %eax
	callq	_verbose
	jmp	LBB0_14
LBB0_9:
	movslq	%r14d, %r14
LBB0_13:
	movq	_module_wait_subquery@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%r14,4)
	movl	$1, %r13d
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.5(%rip), %rdi
	callq	_log_err
	movq	16(%r12), %rax
	movq	(%rax), %rdi
	callq	_fptr_whitelist_modenv_kill_sub
	movl	%eax, %edi
	callq	_fptr_ok
	movq	16(%r12), %rax
	movq	-48(%rbp), %rdi
	callq	*(%rax)
	xorl	%r13d, %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_DETAIL,4,2                ## @VERB_DETAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"priming . %s NS"

	.comm	_sldns_rr_classes,4,2           ## @sldns_rr_classes
L_.str.1:                               ## @.str.1
	.asciz	"??"

	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.2:                               ## @.str.2
	.asciz	"Cannot prime due to lack of hints"

	.section	__TEXT,__const
l_.str.3:                               ## @.str.3
	.space	2

	.comm	_LDNS_RR_TYPE_NS,4,2            ## @LDNS_RR_TYPE_NS
	.comm	_QUERYTARGETS_STATE,4,2         ## @QUERYTARGETS_STATE
	.comm	_PRIME_RESP_STATE,4,2           ## @PRIME_RESP_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"could not prime root"

L_.str.5:                               ## @.str.5
	.asciz	"out of memory priming root, copydp"

	.comm	_module_wait_subquery,4,2       ## @module_wait_subquery
	.no_dead_strip	_prime_root
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prime_root
_prime_root:                            ; @prime_root
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VERB_DETAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_DETAIL@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x24, _sldns_rr_classes@GOTPAGE
Lloh4:
	ldr	x24, [x24, _sldns_rr_classes@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x22
	bl	_sldns_lookup_by_id
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x24]
	mov	x1, x22
	bl	_sldns_lookup_by_id
	ldr	x8, [x0]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_3:
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_verbose
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #8]
	mov	x1, x22
	bl	_hints_lookup_root
	cbz	x0, LBB0_8
; %bb.4:
	mov	x23, x0
Lloh9:
	adrp	x8, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _QUERYTARGETS_STATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QUERYTARGETS_STATE@GOTPAGEOFF]
Lloh14:
	ldr	w7, [x8]
Lloh15:
	adrp	x8, _PRIME_RESP_STATE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PRIME_RESP_STATE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	wzr, [sp, #16]
	add	x9, sp, #24
	str	x9, [sp, #8]
	str	w8, [sp]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #1
	mov	x3, x22
	mov	x4, x19
	mov	x5, x20
	mov	x6, x21
	bl	_generate_sub_request
	cbz	w0, LBB0_9
; %bb.5:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_12
; %bb.6:
	ldr	x9, [x8, #32]
	ldr	x21, [x9, w20, sxtw #3]
	ldr	w1, [x8, #24]
	mov	x0, x23
	bl	_delegpt_copy
	str	w0, [x21]
	cbz	w0, LBB0_15
; %bb.7:
	mov	x1, x0
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	sxtw	x20, w20
	str	xzr, [x21, #8]
	ldr	x0, [x19, #16]
	ldr	x8, [sp, #24]
	ldr	w3, [x8, #8]
	mov	x2, #0
	bl	_iter_indicates_dnssec
	str	w0, [x21, #4]
	b	LBB0_13
LBB0_8:
Lloh20:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh25:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_10:
	bl	_verbose
LBB0_11:
	mov	w0, #0
	b	LBB0_14
LBB0_12:
	sxtw	x20, w20
LBB0_13:
Lloh30:
	adrp	x8, _module_wait_subquery@GOTPAGE
Lloh31:
	ldr	x8, [x8, _module_wait_subquery@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, x20, lsl #2]
	mov	w0, #1
LBB0_14:
	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
	add	sp, sp, #96
	ret
LBB0_15:
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_log_err
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_fptr_whitelist_modenv_kill_sub
	bl	_fptr_ok
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x0, [sp, #24]
	blr	x8
	b	LBB0_11
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_DETAIL,4,2                ; @VERB_DETAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"priming . %s NS"

	.comm	_sldns_rr_classes,4,2           ; @sldns_rr_classes
l_.str.1:                               ; @.str.1
	.asciz	"??"

	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.2:                               ; @.str.2
	.asciz	"Cannot prime due to lack of hints"

	.section	__TEXT,__const
l_.str.3:                               ; @.str.3
	.space	2

	.comm	_LDNS_RR_TYPE_NS,4,2            ; @LDNS_RR_TYPE_NS
	.comm	_QUERYTARGETS_STATE,4,2         ; @QUERYTARGETS_STATE
	.comm	_PRIME_RESP_STATE,4,2           ; @PRIME_RESP_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"could not prime root"

l_.str.5:                               ; @.str.5
	.asciz	"out of memory priming root, copydp"

	.comm	_module_wait_subquery,4,2       ; @module_wait_subquery
	.no_dead_strip	_prime_root
.subsections_via_symbols
