	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_neg_dlvlookup              ## -- Begin function val_neg_dlvlookup
	.p2align	4, 0x90
_val_neg_dlvlookup:                     ## @val_neg_dlvlookup
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.1:
	movl	%ecx, %eax
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	_VERB_ALGO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_LDNS_RR_TYPE_DLV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	movl	%eax, %r12d
	movl	%eax, %r8d
	callq	_log_nametypeclass
	movq	%r13, %rdi
	callq	_dname_count_labels
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_lock_basic_lock
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movl	%r12d, %ebx
	movl	%r12d, %r8d
	callq	_neg_closest_zone_parent
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 32(%r13)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_3
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	callq	_lock_basic_unlock
	xorl	%r12d, %r12d
	jmp	LBB0_25
LBB0_7:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r13), %rdx
	movl	(%r13), %r8d
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
	callq	_log_nametypeclass
	cmpq	$0, 16(%r13)
	je	LBB0_9
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_lock_basic_unlock
LBB0_25:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	-48(%rbp), %r8
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_neg_closest_data
	movq	-48(%rbp), %rax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$0, 24(%rax)
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)
	jmp	LBB0_12
LBB0_13:
	movq	_VERB_ALGO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	8(%rax), %rdx
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	(%r13), %r8d
	leaq	L_.str.2(%rip), %rsi
	callq	_log_nametypeclass
	movq	-48(%rbp), %rax
	movq	8(%rax), %rdi
	movq	8(%r13), %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:
	movq	_PACKED_RRSET_NSEC_AT_APEX@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	jmp	LBB0_16
LBB0_14:
	xorl	%r9d, %r9d
LBB0_16:
	movq	-48(%rbp), %rax
	movq	8(%rax), %rsi
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movl	(%r13), %r8d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	pushq	$0
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	pushq	%r14
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_5
## %bb.17:
	movq	%rax, %r15
	movq	8(%rax), %rax
	testq	%rax, %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_19
## %bb.18:
	cmpq	%r14, (%rax)
	jl	LBB0_19
## %bb.20:
	movq	8(%rax), %rax
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.21:
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_verbose
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, -88(%rbp)
	movq	_LDNS_RR_TYPE_DLV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movl	%ebx, -96(%rbp)
	movq	$0, -104(%rbp)
	leaq	-104(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movq	%r15, %rdi
	callq	_nsec_proves_nodata
	testl	%eax, %eax
	jne	LBB0_24
## %bb.22:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_val_nsec_proves_name_error
	testl	%eax, %eax
	je	LBB0_23
LBB0_24:
	movq	%r15, %rdi
	callq	_lock_rw_unlock
	movq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_neg_lru_touch
	movq	%r13, %rdi
	callq	_lock_basic_unlock
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_verbose
	movl	$1, %r12d
	jmp	LBB0_25
LBB0_19:
	movq	%r15, %rdi
	callq	_lock_rw_unlock
	movq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_neg_delete_data
	movq	%r13, %rdi
	jmp	LBB0_6
LBB0_23:
	movq	%r15, %rdi
	callq	_lock_rw_unlock
	movq	%r13, %rdi
	callq	_lock_basic_unlock
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_verbose
	xorl	%r12d, %r12d
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"negcache dlvlookup"

	.comm	_LDNS_RR_TYPE_DLV,4,2           ## @LDNS_RR_TYPE_DLV
L_.str.1:                               ## @.str.1
	.asciz	"negcache zone"

L_.str.2:                               ## @.str.2
	.asciz	"negcache rr"

	.comm	_LDNS_RR_TYPE_NSEC,4,2          ## @LDNS_RR_TYPE_NSEC
	.comm	_PACKED_RRSET_NSEC_AT_APEX,8,3  ## @PACKED_RRSET_NSEC_AT_APEX
	.comm	_sec_status_secure,8,3          ## @sec_status_secure
L_.str.3:                               ## @.str.3
	.asciz	"negcache got secure rrset"

L_.str.4:                               ## @.str.4
	.asciz	"negcache not proven"

L_.str.5:                               ## @.str.5
	.asciz	"negcache DLV denial proven"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_neg_dlvlookup              ; -- Begin function val_neg_dlvlookup
	.p2align	2
_val_neg_dlvlookup:                     ; @val_neg_dlvlookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_8
; %bb.1:
	mov	x22, x5
	mov	x23, x4
	mov	x21, x3
	mov	x25, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x27, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x27, [x27, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh2:
	adrp	x28, _LDNS_RR_TYPE_DLV@GOTPAGE
Lloh3:
	ldr	x28, [x28, _LDNS_RR_TYPE_DLV@GOTPAGEOFF]
	ldr	w3, [x28]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x4, x21
	bl	_log_nametypeclass
	mov	x0, x20
	bl	_dname_count_labels
	mov	x26, x0
	mov	x0, x19
	bl	_lock_basic_lock
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	mov	x3, x26
	mov	x4, x21
	bl	_neg_closest_zone_parent
	cbz	x0, LBB0_6
; %bb.2:
	mov	x24, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24, #32]
	cbnz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x24, #24]
	cbnz	x24, LBB0_3
	b	LBB0_6
LBB0_5:
	ldr	w0, [x27]
	ldr	x2, [x24, #8]
	ldr	w4, [x24]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w3, #0
	bl	_log_nametypeclass
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_9
LBB0_6:
	mov	x0, x19
	bl	_lock_basic_unlock
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_9:
	add	x4, sp, #40
	mov	x0, x24
	mov	x1, x20
	mov	x2, x25
	mov	x3, x26
	bl	_neg_closest_data
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_6
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8, #24]
	cbnz	w9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x8, #16]
	str	x8, [sp, #40]
	cbnz	x8, LBB0_10
	b	LBB0_6
LBB0_12:
	ldr	w0, [x27]
	ldr	x2, [x8, #8]
Lloh8:
	adrp	x25, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh9:
	ldr	x25, [x25, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
	ldr	w3, [x25]
	ldr	w4, [x24]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_log_nametypeclass
	ldr	x8, [sp, #40]
	ldr	x0, [x8, #8]
	ldr	x1, [x24, #8]
	bl	_query_dname_compare
Lloh12:
	adrp	x8, _PACKED_RRSET_NSEC_AT_APEX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PACKED_RRSET_NSEC_AT_APEX@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x5, x8, xzr, eq
	ldr	x8, [sp, #40]
	ldr	x1, [x8, #8]
	ldr	w2, [x8]
	ldr	w3, [x25]
	ldr	w4, [x24]
	mov	x0, x23
	mov	x6, x22
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_6
; %bb.13:
	mov	x23, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_19
; %bb.14:
	ldr	x9, [x8]
	cmp	x9, x22
	b.lt	LBB0_19
; %bb.15:
	ldr	x8, [x8, #8]
Lloh15:
	adrp	x9, _sec_status_secure@GOTPAGE
Lloh16:
	ldr	x9, [x9, _sec_status_secure@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.16:
	ldr	w0, [x27]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_verbose
	str	x20, [sp, #24]
	ldr	w8, [x28]
	stp	w21, w8, [sp, #16]
	str	xzr, [sp, #8]
	add	x1, sp, #8
	add	x2, sp, #32
	mov	x0, x23
	bl	_nsec_proves_nodata
	cbnz	w0, LBB0_18
; %bb.17:
	mov	x0, x23
	mov	x1, x20
	bl	_val_nsec_proves_name_error
	cbz	w0, LBB0_20
LBB0_18:
	mov	x0, x23
	bl	_lock_rw_unlock
	ldr	x1, [sp, #40]
	mov	x0, x19
	bl	_neg_lru_touch
	mov	x0, x19
	bl	_lock_basic_unlock
	ldr	w0, [x27]
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_verbose
	mov	w0, #1
	b	LBB0_8
LBB0_19:
	mov	x0, x23
	bl	_lock_rw_unlock
	ldr	x1, [sp, #40]
	mov	x0, x19
	bl	_neg_delete_data
	b	LBB0_6
LBB0_20:
	mov	x0, x23
	bl	_lock_rw_unlock
	mov	x0, x19
	bl	_lock_basic_unlock
	ldr	w0, [x27]
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_verbose
	b	LBB0_7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"negcache dlvlookup"

	.comm	_LDNS_RR_TYPE_DLV,4,2           ; @LDNS_RR_TYPE_DLV
l_.str.1:                               ; @.str.1
	.asciz	"negcache zone"

l_.str.2:                               ; @.str.2
	.asciz	"negcache rr"

	.comm	_LDNS_RR_TYPE_NSEC,4,2          ; @LDNS_RR_TYPE_NSEC
	.comm	_PACKED_RRSET_NSEC_AT_APEX,8,3  ; @PACKED_RRSET_NSEC_AT_APEX
	.comm	_sec_status_secure,8,3          ; @sec_status_secure
l_.str.3:                               ; @.str.3
	.asciz	"negcache got secure rrset"

l_.str.4:                               ; @.str.4
	.asciz	"negcache not proven"

l_.str.5:                               ; @.str.5
	.asciz	"negcache DLV denial proven"

.subsections_via_symbols
