	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_nsec_check_dlv             ## -- Begin function val_nsec_check_dlv
	.p2align	4, 0x90
_val_nsec_check_dlv:                    ## @val_nsec_check_dlv
	.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
	xorl	%r14d, %r14d
	cmpq	$0, (%rsi)
	je	LBB0_1
LBB0_22:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	24(%rsi), %edi
	callq	_FLAGS_GET_RCODE
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.2:
	cmpq	$0, 8(%r12)
	je	LBB0_22
## %bb.3:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %r13
	leaq	-72(%rbp), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	8(%r12), %r15
	jae	LBB0_21
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	(%r13), %rax
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdx
	callq	_nsec_get_next
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r15,8), %rax
	movl	4(%rax), %edi
	movl	(%rbx), %esi
	callq	_dname_canonical_compare
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	jns	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rdi
	movl	(%rbx), %esi
	callq	_dname_strict_subdomain_c
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	16(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	movl	(%rbx), %esi
	jmp	LBB0_12
LBB0_14:
	movl	24(%r12), %edi
	callq	_FLAGS_GET_RCODE
	movq	_LDNS_RCODE_NXDOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.15:
	cmpq	$0, 8(%r12)
	je	LBB0_22
## %bb.16:
	movq	%r15, %rax
	movq	%rbx, %r15
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %r14
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	cmpq	8(%r12), %rbx
	jae	LBB0_21
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	(%r14), %rax
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r15), %esi
	callq	_val_nsec_proves_name_error
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %r13d
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_log_nametypeclass
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r15), %esi
LBB0_12:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_dlv_topdomain
	movl	$1, %r14d
	jmp	LBB0_22
LBB0_21:
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_7:
	movq	16(%r12), %rax
	movq	(%rax,%r15,8), %rdi
	movq	_LDNS_RR_TYPE_DLV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nsec_has_type
	xorl	%r14d, %r14d
	testq	%rax, %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_22
## %bb.8:
	callq	_dname_remove_label
	movl	$1, %r14d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RCODE_NOERROR,8,3         ## @LDNS_RCODE_NOERROR
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ## @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_RR_TYPE_DLV,4,2           ## @LDNS_RR_TYPE_DLV
	.comm	_LDNS_RCODE_NXDOMAIN,8,3        ## @LDNS_RCODE_NXDOMAIN
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"topdomain on"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_nsec_check_dlv             ; -- Begin function val_nsec_check_dlv
	.p2align	2
_val_nsec_check_dlv:                    ; @val_nsec_check_dlv
	.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
	ldr	x8, [x1]
	cbz	x8, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	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
LBB0_3:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	w0, [x1, #24]
	bl	_FLAGS_GET_RCODE
Lloh0:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.4:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_1
; %bb.5:
	mov	x23, #0
Lloh3:
	adrp	x24, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	ldr	x8, [x22, #8]
	cmp	x23, x8
	b.hs	LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w0, [x8]
	bl	_htons
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x23, lsl #3]
	add	x1, sp, #8
	mov	x2, sp
	bl	_nsec_get_next
	cbz	w0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x22, #16]
	ldr	x8, [x8, x23, lsl #3]
	ldr	w0, [x8, #4]
	ldr	w1, [x21]
	bl	_dname_canonical_compare
	cbz	w0, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	tbz	w0, #31, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #8]
	ldr	w1, [x21]
	bl	_dname_strict_subdomain_c
	cbz	x0, LBB0_6
; %bb.12:
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x23, lsl #3]
	b	LBB0_20
LBB0_13:
	ldr	w0, [x22, #24]
	bl	_FLAGS_GET_RCODE
Lloh5:
	adrp	x8, _LDNS_RCODE_NXDOMAIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_RCODE_NXDOMAIN@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_1
; %bb.14:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_1
; %bb.15:
	mov	x24, #0
Lloh8:
	adrp	x23, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh9:
	ldr	x23, [x23, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x24, x24, #1
	ldr	x8, [x22, #8]
	cmp	x24, x8
	b.hs	LBB0_1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	ldr	x8, [x8, x24, lsl #3]
	ldr	w0, [x8]
	bl	_htons
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x24, lsl #3]
	ldr	w1, [x21]
	bl	_val_nsec_proves_name_error
	cbz	x0, LBB0_16
; %bb.19:
Lloh10:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
	ldr	x8, [x22, #16]
	lsl	x25, x24, #3
	ldr	x8, [x8, x25]
	ldp	w0, w24, [x8]
	bl	_ntohs
	mov	x3, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x24
	mov	w4, #0
	bl	_log_nametypeclass
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x25]
LBB0_20:
	ldr	w1, [x21]
	mov	x2, x20
	mov	x3, x19
	bl	_dlv_topdomain
	mov	w0, #1
	b	LBB0_2
LBB0_21:
	ldr	x8, [x22, #16]
	ldr	x0, [x8, x23, lsl #3]
Lloh15:
	adrp	x8, _LDNS_RR_TYPE_DLV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LDNS_RR_TYPE_DLV@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_nsec_has_type
	cbnz	x0, LBB0_1
; %bb.22:
	mov	x0, x20
	mov	x1, x19
	bl	_dname_remove_label
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RCODE_NOERROR,8,3         ; @LDNS_RCODE_NOERROR
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ; @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_RR_TYPE_DLV,4,2           ; @LDNS_RR_TYPE_DLV
	.comm	_LDNS_RCODE_NXDOMAIN,8,3        ; @LDNS_RCODE_NXDOMAIN
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"topdomain on"

.subsections_via_symbols
