	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function val_dlv_init
_val_dlv_init:                          ## @val_dlv_init
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	$0, -72(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	callq	_log_assert
	movq	96(%rbx), %rdi
	callq	_log_assert
	movq	$0, 56(%rbx)
	movq	$0, 72(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movq	88(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, -56(%rbp)
	movq	16(%rbx), %rax
	movq	%rax, -48(%rbp)
	jmp	LBB0_4
LBB0_2:
	movq	48(%rbx), %rdx
	movq	%rdx, -56(%rbp)
	movq	24(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	32(%rbx), %rax
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_dname_remove_label
	movq	-56(%rbp), %rdx
LBB0_4:
	movq	_VERB_ALGO@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	40(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	callq	_log_nametypeclass
	cmpq	$0, -56(%rbp)
	setne	%al
	cmpq	$0, -48(%rbp)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_log_assert
	movq	-56(%rbp), %rdi
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rsi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	callq	_verbose
	movl	$1, %eax
	jmp	LBB0_26
LBB0_7:
	movq	-48(%rbp), %rax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rsi
	decq	%rsi
	movq	%rsi, (%rbx)
	movl	8(%r15), %edi
	callq	_regional_alloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	decq	%rdx
	movq	%rax, %rdi
	callq	_memmove
	movq	56(%rbx), %rax
	movq	-48(%rbp), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$-4, %rdi
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	callq	_memmove
	movl	(%r14), %edi
	movq	56(%rbx), %rdx
	movq	_LDNS_RR_TYPE_DLV@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	40(%rbx), %r8d
	leaq	L_.str.3(%rip), %rsi
	callq	_log_nametypeclass
	movq	$0, -56(%rbp)
	movq	80(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.10:
	callq	_key_entry_isnull
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	80(%rbx), %rcx
	movq	8(%rcx), %rax
	movq	%rax, -56(%rbp)
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_16
LBB0_12:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_16
LBB0_14:
	movq	-48(%rbp), %rax
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rsi
	decq	%rsi
	movq	%rsi, 8(%rbx)
	movl	8(%r15), %edi
	callq	_regional_alloc
	movq	%rax, 72(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.15:
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	decq	%rdx
	movq	%rax, %rdi
	callq	_memmove
	movq	72(%rbx), %rax
	movq	-48(%rbp), %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$-4, %rdi
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	callq	_memmove
	movl	(%r14), %edi
	movq	72(%rbx), %rdx
	movl	40(%rbx), %r8d
	leaq	L_.str.4(%rip), %rsi
	xorl	%ecx, %ecx
	callq	_log_nametypeclass
LBB0_16:
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	leaq	56(%rbx), %r13
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movq	56(%rbx), %rsi
	movq	(%rbx), %rdx
	movl	40(%rbx), %ecx
	movq	(%r15), %rax
	movl	16(%rax), %r8d
	movq	8(%rax), %rax
	movl	(%rax), %r9d
	callq	_val_neg_dlvlookup
	testq	%rax, %rax
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_dname_remove_label
	movq	56(%rbx), %rdi
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rsi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	72(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r13), %rdi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	jne	LBB0_17
## %bb.22:
	movl	(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_6
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	callq	_log_err
	movq	%r15, %rdi
	movl	%r13d, %esi
LBB0_25:
	callq	_val_error
LBB0_26:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_VAL_DLVLOOKUP_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	56(%rbx), %rdx
	movq	(%rbx), %rcx
	movq	_LDNS_RR_TYPE_DLV@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	40(%rbx), %r9d
	subq	$8, %rsp
	leaq	-72(%rbp), %rax
	movq	%r15, %rdi
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_generate_request
	addq	$32, %rsp
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_26
## %bb.24:
	movq	%r15, %rdi
	movl	%ebx, %esi
	jmp	LBB0_25
LBB0_19:
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DS,8,3            ## @LDNS_RR_TYPE_DS
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DLV init look"

L_.str.1:                               ## @.str.1
	.asciz	"DLV lookup within DLV repository denied"

L_.str.2:                               ## @.str.2
	.asciz	"Out of memory preparing DLV lookup"

L_.str.3:                               ## @.str.3
	.asciz	"DLV name"

	.comm	_LDNS_RR_TYPE_DLV,8,3           ## @LDNS_RR_TYPE_DLV
L_.str.4:                               ## @.str.4
	.asciz	"insecure_at"

L_.str.5:                               ## @.str.5
	.asciz	"ask above dlv repo"

L_.str.6:                               ## @.str.6
	.asciz	"ask above insecure endpoint"

	.comm	_VAL_DLVLOOKUP_STATE,4,2        ## @VAL_DLVLOOKUP_STATE
	.no_dead_strip	_val_dlv_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function val_dlv_init
_val_dlv_init:                          ; @val_dlv_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x0, [x8]
	bl	_log_assert
	ldr	x0, [x21, #96]
	bl	_log_assert
	mov	x23, x21
	str	xzr, [x23, #56]!
	str	xzr, [x21, #72]
	stp	xzr, xzr, [x21]
	ldr	x2, [x21, #88]
Lloh0:
	adrp	x25, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	x8, [x21, #16]
	stp	x8, x2, [sp, #16]
	b	LBB0_4
LBB0_2:
	ldr	x2, [x21, #48]
	ldp	x8, x9, [x21, #24]
	stp	x8, x2, [sp, #16]
	ldr	x8, [x25]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	add	x0, sp, #24
	add	x1, sp, #16
	bl	_dname_remove_label
	ldr	x2, [sp, #24]
LBB0_4:
Lloh2:
	adrp	x24, _VERB_ALGO@GOTPAGE
Lloh3:
	ldr	x24, [x24, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	x3, [x25]
	ldr	w4, [x21, #40]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_nametypeclass
	ldr	x8, [sp, #24]
	cmp	x8, #0
	ldr	x8, [sp, #16]
	ccmp	x8, #0, #4, ne
	cset	w0, ne
	bl	_log_assert
	ldr	x0, [sp, #24]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x1, [x8, #8]
	bl	_dname_subdomain_c
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w0, [x24]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	bl	_verbose
	mov	w0, #1
	b	LBB0_21
LBB0_7:
	ldr	x8, [sp, #16]
	ldr	x9, [x20]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	add	x8, x8, x9
	sub	x1, x8, #1
	str	x1, [x21]
	ldr	w0, [x20, #8]
	bl	_regional_alloc
	str	x0, [x21, #56]
	cbz	x0, LBB0_19
; %bb.8:
	ldp	x8, x1, [sp, #16]
	sub	x2, x8, #1
	bl	_memmove
	ldr	x8, [x21, #56]
	ldr	x9, [sp, #16]
	add	x8, x8, x9, lsl #2
	sub	x0, x8, #4
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	x2, x1, [x8]
	bl	_memmove
	ldr	w0, [x24]
	ldr	x2, [x21, #56]
Lloh8:
	adrp	x25, _LDNS_RR_TYPE_DLV@GOTPAGE
Lloh9:
	ldr	x25, [x25, _LDNS_RR_TYPE_DLV@GOTPAGEOFF]
	ldr	x3, [x25]
	ldr	w4, [x21, #40]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_log_nametypeclass
	str	xzr, [sp, #24]
	ldr	x0, [x21, #80]
	cbz	x0, LBB0_14
; %bb.9:
	bl	_key_entry_isnull
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x9, [x21, #80]
	ldr	x8, [x9, #8]
	str	x8, [sp, #24]
	ldr	x9, [x9]
	str	x9, [sp, #16]
	cbnz	x8, LBB0_12
	b	LBB0_14
LBB0_11:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_14
LBB0_12:
	ldr	x8, [sp, #16]
	ldr	x9, [x20]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	add	x8, x8, x9
	sub	x1, x8, #1
	str	x1, [x21, #8]
	ldr	w0, [x20, #8]
	bl	_regional_alloc
	str	x0, [x21, #72]
	cbz	x0, LBB0_19
; %bb.13:
	ldp	x8, x1, [sp, #16]
	sub	x2, x8, #1
	bl	_memmove
	ldr	x8, [x21, #72]
	ldr	x9, [sp, #16]
	add	x8, x8, x9, lsl #2
	sub	x0, x8, #4
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	x2, x1, [x8]
	bl	_memmove
	ldr	w0, [x24]
	ldr	x2, [x21, #72]
	ldr	w4, [x21, #40]
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x3, #0
	bl	_log_nametypeclass
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldr	x1, [x21, #56]
	ldr	x2, [x21]
	ldr	w3, [x21, #40]
	ldr	x8, [x20]
	ldr	w4, [x8, #16]
	ldr	x8, [x8, #8]
	ldr	w5, [x8]
	bl	_val_neg_dlvlookup
	cbz	x0, LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x23
	mov	x1, x21
	bl	_dname_remove_label
	ldr	x0, [x21, #56]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x1, [x8, #8]
	bl	_dname_subdomain_c
	cbz	x0, LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x1, [x21, #72]
	cbz	x1, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x23]
	bl	_dname_subdomain_c
	cbnz	x0, LBB0_14
; %bb.18:
	ldr	w0, [x24]
Lloh14:
	adrp	x1, l_.str.6@PAGE
Lloh15:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_6
LBB0_19:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_err
LBB0_20:
	mov	x0, x20
	mov	x1, x19
	bl	_val_error
LBB0_21:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_22:
Lloh18:
	adrp	x8, _VAL_DLVLOOKUP_STATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VAL_DLVLOOKUP_STATE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x21, #64]
	ldr	x2, [x21, #56]
	ldr	x3, [x21]
	ldr	x4, [x25]
	ldr	w5, [x21, #40]
	str	wzr, [sp]
	add	x7, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	w6, #0
	bl	_generate_request
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_21
	b	LBB0_20
LBB0_23:
	ldr	w0, [x24]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DS,8,3            ; @LDNS_RR_TYPE_DS
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DLV init look"

l_.str.1:                               ; @.str.1
	.asciz	"DLV lookup within DLV repository denied"

l_.str.2:                               ; @.str.2
	.asciz	"Out of memory preparing DLV lookup"

l_.str.3:                               ; @.str.3
	.asciz	"DLV name"

	.comm	_LDNS_RR_TYPE_DLV,8,3           ; @LDNS_RR_TYPE_DLV
l_.str.4:                               ; @.str.4
	.asciz	"insecure_at"

l_.str.5:                               ; @.str.5
	.asciz	"ask above dlv repo"

l_.str.6:                               ; @.str.6
	.asciz	"ask above insecure endpoint"

	.comm	_VAL_DLVLOOKUP_STATE,4,2        ; @VAL_DLVLOOKUP_STATE
	.no_dead_strip	_val_dlv_init
.subsections_via_symbols
