	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_positive_response
_validate_positive_response:            ## @validate_positive_response
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	xorl	%r13d, %r13d
	cmpq	$0, (%rcx)
	je	LBB0_1
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	(%r14), %r12
	cmpq	%r12, %rbx
	jae	LBB0_2
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %r15
	movq	%r15, %rdi
	leaq	-48(%rbp), %rsi
	leaq	-88(%rbp), %rdx
	callq	_val_rrset_wildcard
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	16(%rsi), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%rsi), %edi
	movq	-88(%rbp), %rcx
	movl	8(%rsi), %r8d
	movq	(%rsi), %rax
	movl	(%rax), %r9d
	movq	%r15, %rsi
	callq	_rrset_cache_update_wildcard
	movl	$1, %r13d
	jmp	LBB0_12
LBB0_1:
	xorl	%r12d, %r12d
LBB0_2:
	movq	16(%r14), %rax
	addq	%r12, %rax
	cmpq	%rax, %r12
	jae	LBB0_3
## %bb.13:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	incq	%r12
	movq	(%r14), %rdx
	movq	16(%r14), %rcx
	leaq	(%rcx,%rdx), %rax
	cmpq	%rax, %r12
	jae	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%r12,8), %rbx
	movl	(%rbx), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_val_nsec_proves_positive_wildcard
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r13d
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rbx), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_NSEC3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$1, %eax
	cmovel	%eax, %r15d
	jmp	LBB0_19
LBB0_3:
	xorl	%r13d, %r13d
LBB0_26:
	movq	-48(%rbp), %rax
LBB0_27:
	testq	%rax, %rax
	je	LBB0_31
## %bb.28:
	testl	%r13d, %r13d
	jne	LBB0_31
## %bb.29:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_verbose
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_20:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.21:
	testl	%r13d, %r13d
	jne	LBB0_27
## %bb.22:
	testl	%r15d, %r15d
	je	LBB0_27
## %bb.23:
	shlq	$3, %rdx
	addq	24(%r14), %rdx
	movq	%rax, (%rsp)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_nsec3_prove_wildcard
	movq	_sec_status_insecure@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_25
## %bb.24:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_verbose
	movl	(%rbx), %eax
	jmp	LBB0_33
LBB0_6:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%r15), %edi
	movl	8(%r15), %r12d
	callq	_ntohs
	movq	%rax, %rbx
	movl	4(%r15), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_log_nametypeclass
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_31:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_verbose
	movq	_sec_status_secure@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
LBB0_33:
	movl	%eax, 8(%r14)
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpl	(%rcx), %eax
	sete	%r13b
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Positive response has inconsistent wildcard sigs:"

	.comm	_sec_status_bogus,8,3           ## @sec_status_bogus
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ## @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ## @LDNS_RR_TYPE_NSEC3
	.comm	_sec_status_insecure,4,2        ## @sec_status_insecure
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.1:                               ## @.str.1
	.asciz	"Positive wildcard response is insecure"

	.comm	_sec_status_secure,4,2          ## @sec_status_secure
L_.str.2:                               ## @.str.2
	.asciz	"positive response was wildcard expansion and did not prove original data did not exist"

L_.str.3:                               ## @.str.3
	.asciz	"Successfully validated positive response"

	.no_dead_strip	_validate_positive_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_positive_response
_validate_positive_response:            ; @validate_positive_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x27, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	str	xzr, [sp, #24]
	ldr	x8, [x3]
	cbz	x8, LBB0_8
; %bb.1:
	mov	w25, #0
	mov	x20, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	ldr	x26, [x19]
	cmp	x20, x26
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x24, [x8, x20, lsl #3]
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x24
	bl	_val_rrset_wildcard
	cbz	w0, LBB0_23
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [sp, #24]
	cmp	x2, #0
	ccmp	w25, #0, #0, ne
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x3, [sp, #16]
	ldp	w4, w0, [x23, #8]
	ldr	x8, [x23]
	ldr	w5, [x8]
	mov	x1, x24
	bl	_rrset_cache_update_wildcard
	mov	w25, #1
	b	LBB0_3
LBB0_8:
	mov	x26, #0
LBB0_9:
	ldr	x8, [x19, #16]
	add	x8, x8, x26
	cmp	x26, x8
	b.hs	LBB0_17
; %bb.10:
	str	x27, [sp, #8]                   ; 8-byte Folded Spill
	mov	w27, #0
	mov	w25, #0
Lloh0:
	adrp	x28, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh1:
	ldr	x28, [x28, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
Lloh2:
	adrp	x20, _LDNS_RR_TYPE_NSEC3@GOTPAGE
Lloh3:
	ldr	x20, [x20, _LDNS_RR_TYPE_NSEC3@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x26, x26, #1
	ldr	x8, [x19]
	ldr	x3, [x19, #16]
	add	x9, x3, x8
	cmp	x26, x9
	b.hs	LBB0_19
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #24]
	ldr	x24, [x8, x26, lsl #3]
	ldr	w0, [x24]
	bl	_ntohs
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x2, [sp, #24]
	mov	x0, x24
	mov	x1, x21
	bl	_val_nsec_proves_positive_wildcard
	cmp	x0, #0
	csinc	w25, w25, wzr, eq
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x24]
	bl	_ntohs
	ldr	x8, [x20]
	cmp	x0, x8
	csinc	w27, w27, wzr, ne
	b	LBB0_11
LBB0_17:
	mov	w25, #0
LBB0_18:
	ldr	x6, [sp, #24]
	b	LBB0_20
LBB0_19:
	ldr	x6, [sp, #24]
	cmp	x6, #0
	ccmp	w25, #0, #0, ne
	ccmp	w27, #0, #4, eq
	b.ne	LBB0_28
LBB0_20:
	cbz	x6, LBB0_25
; %bb.21:
	cbnz	w25, LBB0_25
; %bb.22:
Lloh4:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_verbose
	b	LBB0_24
LBB0_23:
Lloh9:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	ldr	w21, [x24, #8]
	ldr	w0, [x24]
	bl	_ntohs
	mov	x22, x0
	ldr	w0, [x24, #4]
	bl	_ntohs
	mov	x4, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	bl	_log_nametypeclass
LBB0_24:
Lloh14:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:
Lloh16:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_verbose
Lloh21:
	adrp	x8, _sec_status_secure@GOTPAGE
Lloh22:
	ldr	x8, [x8, _sec_status_secure@GOTPAGEOFF]
LBB0_26:
	ldr	w8, [x8]
LBB0_27:
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	ldr	x9, [x19, #24]
	add	x2, x9, x8, lsl #3
	mov	x0, x23
	mov	x1, x22
	mov	x4, x21
	ldr	x5, [sp, #8]                    ; 8-byte Folded Reload
	bl	_nsec3_prove_wildcard
Lloh23:
	adrp	x20, _sec_status_insecure@GOTPAGE
Lloh24:
	ldr	x20, [x20, _sec_status_insecure@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_30
; %bb.29:
Lloh25:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
	ldr	w8, [x20]
	b	LBB0_27
LBB0_30:
Lloh30:
	adrp	x8, _sec_status_secure@GOTPAGE
Lloh31:
	ldr	x8, [x8, _sec_status_secure@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w25, eq
	b	LBB0_18
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Positive response has inconsistent wildcard sigs:"

	.comm	_sec_status_bogus,8,3           ; @sec_status_bogus
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ; @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ; @LDNS_RR_TYPE_NSEC3
	.comm	_sec_status_insecure,4,2        ; @sec_status_insecure
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.1:                               ; @.str.1
	.asciz	"Positive wildcard response is insecure"

	.comm	_sec_status_secure,4,2          ; @sec_status_secure
l_.str.2:                               ; @.str.2
	.asciz	"positive response was wildcard expansion and did not prove original data did not exist"

l_.str.3:                               ; @.str.3
	.asciz	"Successfully validated positive response"

	.no_dead_strip	_validate_positive_response
.subsections_via_symbols
