	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_nsec_prove_nodata_dsreply  ## -- Begin function val_nsec_prove_nodata_dsreply
	.p2align	4, 0x90
_val_nsec_prove_nodata_dsreply:         ## @val_nsec_prove_nodata_dsreply
	.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
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %rax
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	24(%rbp), %r14
	movl	8(%rdx), %edx
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %esi
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %r8d
	movq	%r15, %rdi
	callq	_reply_find_rrset_section_ns
	movq	$0, -56(%rbp)
	testq	%rax, %rax
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.1:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%r12, %rcx
	movq	16(%rbp), %r12
	movq	%r12, %r8
	movq	%r14, %r9
	movq	%rax, %rbx
	callq	_nsec_verify_rrset
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movq	%r12, %r14
	movq	%rbx, %r13
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_val_nsec_proves_no_ds
	movl	%eax, %r12d
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r14)
	jmp	LBB0_36
LBB0_2:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_6:
	movq	_sec_status_insecure@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_36
## %bb.7:
	movq	_sec_status_secure@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	movq	24(%rbp), %r14
	jne	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	callq	_ub_packed_rrset_ttl
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	jmp	LBB0_36
LBB0_9:
	movq	(%r15), %rbx
	movq	8(%r15), %rax
	addq	%rbx, %rax
	cmpq	%rax, %rbx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	jae	LBB0_34
## %bb.10:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movq	8(%r15), %rax
	addq	(%r15), %rax
	cmpq	%rax, %rbx
	jae	LBB0_22
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %r12
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r12
	jne	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	16(%rbp), %r8
	movq	%r14, %r9
	callq	_nsec_verify_rrset
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r13, %rsi
	leaq	-56(%rbp), %rdx
	callq	_nsec_proves_nodata
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_verbose
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_rrset_get_ttl
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	cmpq	$0, -56(%rbp)
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	8(%rax), %edi
	callq	_dname_is_wild
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r13), %esi
	callq	_val_nsec_proves_name_error
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %edi
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	callq	_nsec_closest_encloser
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_21
LBB0_22:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_24
## %bb.23:
	testq	%rsi, %rsi
	jne	LBB0_24
LBB0_34:
	movq	_sec_status_unchecked@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_13:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_3:
	callq	_verbose
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
LBB0_35:
	movl	(%rax), %r12d
LBB0_36:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.25:
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.26:
	callq	_query_dname_compare
	testq	%rax, %rax
	jne	LBB0_34
## %bb.27:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_34
## %bb.28:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_34
## %bb.29:
	movq	-56(%rbp), %rdi
	jmp	LBB0_31
LBB0_30:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_34
LBB0_31:
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.32:
	leaq	L_.str.4(%rip), %rax
	movq	16(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_val_nsec_proves_no_ds
	movl	%eax, %r12d
	jmp	LBB0_36
LBB0_33:
	movq	_sec_status_insecure@GOTPCREL(%rip), %rax
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NSEC,4,2          ## @LDNS_RR_TYPE_NSEC
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NSEC RRset for the referral did not verify."

	.comm	_sec_status_bogus,4,2           ## @sec_status_bogus
L_.str.1:                               ## @.str.1
	.asciz	"NSEC does not prove absence of DS"

	.comm	_sec_status_insecure,4,2        ## @sec_status_insecure
	.comm	_sec_status_secure,4,2          ## @sec_status_secure
L_.str.2:                               ## @.str.2
	.asciz	"NSEC for empty non-terminal did not verify."

L_.str.3:                               ## @.str.3
	.asciz	"NSEC for empty non-terminal proved no DS."

L_.str.4:                               ## @.str.4
	.asciz	"NSEC for wildcard does not prove absence of DS"

	.comm	_sec_status_unchecked,4,2       ## @sec_status_unchecked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_nsec_prove_nodata_dsreply  ; -- Begin function val_nsec_prove_nodata_dsreply
	.p2align	2
_val_nsec_prove_nodata_dsreply:         ; @val_nsec_prove_nodata_dsreply
	.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
	mov	x22, x7
	mov	x19, x6
	str	x5, [sp, #32]                   ; 8-byte Folded Spill
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x25, x1
	mov	x26, x0
	ldr	w2, [x2, #8]
Lloh0:
	adrp	x21, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
	ldr	w3, [x21]
	ldp	w1, w4, [x20]
	mov	x0, x24
	bl	_reply_find_rrset_section_ns
	str	xzr, [sp, #40]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x28, x0
	mov	x0, x26
	mov	x1, x25
	mov	x2, x28
	mov	x3, x23
	mov	x4, x19
	mov	x5, x22
	bl	_nsec_verify_rrset
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x28
	mov	x1, x20
	bl	_val_nsec_proves_no_ds
	mov	x27, x0
Lloh2:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x19]
	b	LBB0_26
LBB0_4:
Lloh7:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_24
LBB0_5:
Lloh12:
	adrp	x8, _sec_status_insecure@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sec_status_insecure@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w27, w8
	b.eq	LBB0_26
; %bb.6:
Lloh15:
	adrp	x8, _sec_status_secure@GOTPAGE
Lloh16:
	ldr	x8, [x8, _sec_status_secure@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w27, w8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x28
	bl	_ub_packed_rrset_ttl
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	w0, [x8]
	b	LBB0_26
LBB0_8:
	ldp	x27, x8, [x24]
	add	x8, x8, x27
	cmp	x27, x8
	b.hs	LBB0_22
; %bb.9:
	str	xzr, [sp, #8]                   ; 8-byte Folded Spill
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x27, x27, #1
	ldp	x8, x9, [x24]
	add	x8, x9, x8
	cmp	x27, x8
	b.hs	LBB0_20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #16]
	ldr	x8, [x8, x27, lsl #3]
	ldr	x28, [x8]
	ldr	w0, [x21]
	bl	_htons
	cmp	x28, x0
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x24, #16]
	ldr	x2, [x8, x27, lsl #3]
	mov	x0, x26
	mov	x1, x25
	mov	x3, x23
	mov	x4, x19
	mov	x5, x22
	bl	_nsec_verify_rrset
	cbz	w0, LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x24, #16]
	ldr	x0, [x8, x27, lsl #3]
	add	x2, sp, #40
	mov	x1, x20
	bl	_nsec_proves_nodata
	cbz	x0, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh18:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_verbose
	ldr	x8, [x24, #16]
	ldr	x0, [x8, x27, lsl #3]
	bl	_rrset_get_ttl
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	w0, [x8]
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x24, #16]
	ldr	x8, [x8, x27, lsl #3]
	ldr	w0, [x8, #8]
	bl	_dname_is_wild
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x24, #16]
	ldr	x8, [x8, x27, lsl #3]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x24, #16]
	ldr	x0, [x8, x27, lsl #3]
	ldr	w1, [x20]
	bl	_val_nsec_proves_name_error
	cbz	x0, LBB0_10
; %bb.19:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x20]
	ldr	x8, [x24, #16]
	ldr	x1, [x8, x27, lsl #3]
	bl	_nsec_closest_encloser
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_10
LBB0_20:
	ldr	x0, [sp, #40]
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_27
; %bb.21:
	cbnz	x1, LBB0_27
LBB0_22:
Lloh23:
	adrp	x8, _sec_status_unchecked@GOTPAGE
Lloh24:
	ldr	x8, [x8, _sec_status_unchecked@GOTPAGEOFF]
	b	LBB0_25
LBB0_23:
Lloh25:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_24:
	bl	_verbose
Lloh30:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh31:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
LBB0_25:
	ldr	w27, [x8]
LBB0_26:
	mov	x0, x27
	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_27:
	cbz	x0, LBB0_33
; %bb.28:
	cbz	x1, LBB0_33
; %bb.29:
	bl	_query_dname_compare
	cbnz	x0, LBB0_22
; %bb.30:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_22
; %bb.31:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_22
; %bb.32:
	ldr	x0, [sp, #40]
	b	LBB0_34
LBB0_33:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_22
LBB0_34:
	cbz	x0, LBB0_36
; %bb.35:
Lloh32:
	adrp	x8, l_.str.4@PAGE
Lloh33:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [x19]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x20
	bl	_val_nsec_proves_no_ds
	mov	x27, x0
	b	LBB0_26
LBB0_36:
Lloh34:
	adrp	x8, _sec_status_insecure@GOTPAGE
Lloh35:
	ldr	x8, [x8, _sec_status_insecure@GOTPAGEOFF]
	b	LBB0_25
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NSEC,4,2          ; @LDNS_RR_TYPE_NSEC
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NSEC RRset for the referral did not verify."

	.comm	_sec_status_bogus,4,2           ; @sec_status_bogus
l_.str.1:                               ; @.str.1
	.asciz	"NSEC does not prove absence of DS"

	.comm	_sec_status_insecure,4,2        ; @sec_status_insecure
	.comm	_sec_status_secure,4,2          ; @sec_status_secure
l_.str.2:                               ; @.str.2
	.asciz	"NSEC for empty non-terminal did not verify."

l_.str.3:                               ; @.str.3
	.asciz	"NSEC for empty non-terminal proved no DS."

l_.str.4:                               ; @.str.4
	.asciz	"NSEC for wildcard does not prove absence of DS"

	.comm	_sec_status_unchecked,4,2       ; @sec_status_unchecked
.subsections_via_symbols
