	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_any_response
_validate_any_response:                 ## @validate_any_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	$0, -48(%rbp)
	movq	(%rdx), %rax
	movq	_LDNS_RR_TYPE_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%r15)
	je	LBB0_25
## %bb.2:
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r14
	leaq	-96(%rbp), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movq	(%rax,%rbx,8), %r13
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_val_rrset_wildcard
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	8(%r15), %rcx
	cmpq	%rcx, %rbx
	jb	LBB0_6
## %bb.8:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_25
## %bb.9:
	xorl	%r13d, %r13d
	addq	16(%r15), %rcx
	je	LBB0_22
## %bb.10:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_val_nsec_proves_positive_wildcard
	testq	%rax, %rax
	movl	$1, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmovnel	%r15d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r14), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_NSEC3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	cmovel	%r15d, %ebx
	incq	%r12
	movq	%r13, %r15
	movq	16(%r13), %rcx
	addq	8(%r13), %rcx
	cmpq	%rcx, %r12
	jae	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r13
	movq	24(%r15), %rax
	movq	(%rax,%r12,8), %r14
	movl	(%r14), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, %r15d
	jmp	LBB0_14
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_7:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r13), %edi
	movl	8(%r13), %ebx
	callq	_ntohs
	movq	%rax, %r12
	movl	4(%r13), %edi
	callq	_ntohs
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%ebx, %edx
	movq	%r12, %rcx
	movq	%rax, %r8
	callq	_log_nametypeclass
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_15:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	testl	%r13d, %r13d
	jne	LBB0_22
## %bb.18:
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.19:
	movq	24(%r15), %rdx
	movq	%rax, (%rsp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	callq	_nsec3_prove_wildcard
	movq	_sec_status_insecure@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_21
## %bb.20:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_verbose
	movl	(%rbx), %eax
	jmp	LBB0_27
LBB0_21:
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	cmpl	(%rcx), %eax
	sete	%r13b
	movq	-48(%rbp), %rax
	jmp	LBB0_22
LBB0_16:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_22:
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	testl	%r13d, %r13d
	jne	LBB0_25
## %bb.24:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_verbose
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_25:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_verbose
	movq	_sec_status_secure@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %eax
LBB0_27:
	movl	%eax, (%r15)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_ANY,8,3           ## @LDNS_RR_TYPE_ANY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"internal error: ANY validation called for non-ANY"

	.comm	_sec_status_bogus,8,3           ## @sec_status_bogus
	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
L_.str.1:                               ## @.str.1
	.asciz	"Positive ANY response has inconsistent wildcard sigs:"

	.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.2:                               ## @.str.2
	.asciz	"Positive ANY wildcard response is insecure"

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

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

	.no_dead_strip	_validate_any_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_any_response
_validate_any_response:                 ; @validate_any_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	x19, x3
	str	xzr, [sp, #24]
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _LDNS_RR_TYPE_ANY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_RR_TYPE_ANY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_24
; %bb.2:
	mov	x25, x4
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x20, #0
LBB0_3:                                 ; =>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_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	x8, [x19, #8]
	cmp	x20, x8
	b.lo	LBB0_3
; %bb.5:
	ldr	x6, [sp, #24]
	cbz	x6, LBB0_24
; %bb.6:
	ldr	x9, [x19, #16]
	cmn	x9, x8
	b.ne	LBB0_10
; %bb.7:
	mov	w25, #0
	b	LBB0_20
LBB0_8:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
	b	LBB0_23
LBB0_9:
Lloh5:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	ldr	w21, [x24, #8]
	ldr	w0, [x24]
	bl	_ntohs
	mov	x22, x0
	ldr	w0, [x24, #4]
	bl	_ntohs
	mov	x4, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	bl	_log_nametypeclass
	b	LBB0_23
LBB0_10:
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	mov	w25, #0
	mov	x27, #0
	mov	w26, #0
Lloh10:
	adrp	x28, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh11:
	ldr	x28, [x28, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
Lloh12:
	adrp	x20, _LDNS_RR_TYPE_NSEC3@GOTPAGE
Lloh13:
	ldr	x20, [x20, _LDNS_RR_TYPE_NSEC3@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x24]
	bl	_ntohs
	ldr	x8, [x20]
	cmp	x0, x8
	csinc	w26, w26, wzr, ne
	add	x27, x27, #1
	ldp	x8, x9, [x19, #8]
	add	x3, x9, x8
	cmp	x27, x3
	b.hs	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x24, [x8, x27, lsl #3]
	ldr	w0, [x24]
	bl	_ntohs
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.13:                               ;   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
	b	LBB0_11
LBB0_14:
	ldr	x6, [sp, #24]
	cbz	x6, LBB0_20
; %bb.15:
	cbnz	w25, LBB0_20
; %bb.16:
	cbz	w26, LBB0_20
; %bb.17:
	ldr	x2, [x19, #24]
	mov	x0, x23
	mov	x1, x22
	mov	x4, x21
	ldr	x5, [sp, #8]                    ; 8-byte Folded Reload
	bl	_nsec3_prove_wildcard
Lloh14:
	adrp	x20, _sec_status_insecure@GOTPAGE
Lloh15:
	ldr	x20, [x20, _sec_status_insecure@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.18:
Lloh16:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_verbose
	ldr	w8, [x20]
	b	LBB0_26
LBB0_19:
Lloh21:
	adrp	x8, _sec_status_secure@GOTPAGE
Lloh22:
	ldr	x8, [x8, _sec_status_secure@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w25, eq
	ldr	x6, [sp, #24]
LBB0_20:
	cbz	x6, LBB0_24
; %bb.21:
	cbnz	w25, LBB0_24
; %bb.22:
Lloh24:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_verbose
LBB0_23:
Lloh29:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh30:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:
Lloh31:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_verbose
Lloh36:
	adrp	x8, _sec_status_secure@GOTPAGE
Lloh37:
	ldr	x8, [x8, _sec_status_secure@GOTPAGEOFF]
LBB0_25:
	ldr	w8, [x8]
LBB0_26:
	str	w8, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_ANY,8,3           ; @LDNS_RR_TYPE_ANY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"internal error: ANY validation called for non-ANY"

	.comm	_sec_status_bogus,8,3           ; @sec_status_bogus
	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
l_.str.1:                               ; @.str.1
	.asciz	"Positive ANY response has inconsistent wildcard sigs:"

	.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.2:                               ; @.str.2
	.asciz	"Positive ANY wildcard response is insecure"

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

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

	.no_dead_strip	_validate_any_response
.subsections_via_symbols
