	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_dnskey_prefetch
_generate_dnskey_prefetch:              ## @generate_dnskey_prefetch
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rdi
	callq	_log_assert
	movq	16(%r15), %rax
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	24(%r15), %esi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movq	_VERB_ALGO@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	(%rbx), %rax
	movl	4(%rax), %edx
	movq	(%r12), %rcx
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	callq	_log_nametypeclass
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	(%r12), %rdx
	movl	8(%rbx), %ecx
	movq	_INIT_REQUEST_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_FINISHED_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-48(%rbp), %r11
	movq	%r15, %r8
	movl	%r14d, %r9d
	pushq	$0
	pushq	%r11
	pushq	%rax
	pushq	%r10
	pushq	%rbx
	callq	_generate_sub_request
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	8(%rax), %rcx
	movslq	%r14d, %rdx
	movq	(%rcx,%rdx,8), %r14
	movq	(%rbx), %rdi
	movl	4(%rax), %esi
	callq	_delegpt_copy
	movq	%rax, (%r14)
	jmp	LBB0_8
LBB0_5:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_verbose
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r15), %eax
	movq	_BIT_RD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_BIT_CD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ## @LDNS_RR_TYPE_DNSKEY
	.comm	_BIT_RD,4,2                     ## @BIT_RD
	.comm	_BIT_CD,4,2                     ## @BIT_CD
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"schedule dnskey prefetch"

	.comm	_INIT_REQUEST_STATE,4,2         ## @INIT_REQUEST_STATE
	.comm	_FINISHED_STATE,4,2             ## @FINISHED_STATE
L_.str.1:                               ## @.str.1
	.asciz	"could not generate dnskey prefetch"

	.no_dead_strip	_generate_dnskey_prefetch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_dnskey_prefetch
_generate_dnskey_prefetch:              ; @generate_dnskey_prefetch
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x0, [x1]
	bl	_log_assert
	ldr	x8, [x21, #16]
Lloh0:
	adrp	x22, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	ldr	w1, [x21, #24]
	bl	_query_dname_compare
	cbz	x0, LBB0_7
LBB0_2:
Lloh2:
	adrp	x23, _VERB_ALGO@GOTPAGE
Lloh3:
	ldr	x23, [x23, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x8, [x19]
	ldr	w2, [x8, #4]
	ldr	x3, [x22]
	ldr	w4, [x19, #8]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_nametypeclass
	ldr	x8, [x19]
	ldp	w1, w0, [x8]
	ldr	x2, [x22]
	ldr	w3, [x19, #8]
Lloh6:
	adrp	x8, _INIT_REQUEST_STATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INIT_REQUEST_STATE@GOTPAGEOFF]
Lloh8:
	ldr	w7, [x8]
Lloh9:
	adrp	x8, _FINISHED_STATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FINISHED_STATE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	wzr, [sp, #16]
	add	x9, sp, #24
	str	x9, [sp, #8]
	str	w8, [sp]
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_generate_sub_request
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x9, [x8, #8]
	ldr	x20, [x9, w20, sxtw #3]
	ldr	x0, [x19]
	ldr	w1, [x8, #4]
	bl	_delegpt_copy
	str	x0, [x20]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x23]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
LBB0_6:
	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_7:
	ldr	w8, [x21]
Lloh14:
	adrp	x9, _BIT_RD@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BIT_RD@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.8:
Lloh17:
	adrp	x9, _BIT_CD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _BIT_CD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ; @LDNS_RR_TYPE_DNSKEY
	.comm	_BIT_RD,4,2                     ; @BIT_RD
	.comm	_BIT_CD,4,2                     ; @BIT_CD
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"schedule dnskey prefetch"

	.comm	_INIT_REQUEST_STATE,4,2         ; @INIT_REQUEST_STATE
	.comm	_FINISHED_STATE,4,2             ; @FINISHED_STATE
l_.str.1:                               ; @.str.1
	.asciz	"could not generate dnskey prefetch"

	.no_dead_strip	_generate_dnskey_prefetch
.subsections_via_symbols
