	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function needs_validation
_needs_validation:                      ## @needs_validation
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
LBB0_14:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_verbose
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.3:
	cmpl	%esi, %eax
	jne	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movl	8(%rax), %edi
	callq	_FLAGS_GET_RCODE
	movq	%rax, %rsi
	movl	(%r15), %eax
LBB0_5:
	cmpl	%eax, %esi
	je	LBB0_9
## %bb.6:
	movq	_LDNS_RCODE_NXDOMAIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %esi
	je	LBB0_9
## %bb.7:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_ALGO@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	cmpq	(%r15), %rax
	jl	LBB0_15
## %bb.8:
	movb	$0, -48(%rbp)
	leaq	-48(%rbp), %r14
	movl	%esi, %edi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_sldns_wire2str_rcode_buf
	movq	(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_verbose
	jmp	LBB0_15
LBB0_9:
	movq	(%rbx), %rcx
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rdx
	movl	$1, %ebx
	cmpq	(%rdx), %rcx
	jne	LBB0_15
## %bb.10:
	testq	%r14, %r14
	je	LBB0_15
## %bb.11:
	cmpl	%eax, %esi
	jne	LBB0_15
## %bb.12:
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	jle	LBB0_15
## %bb.13:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_14
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VERB_ALGO,8,3                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not validating response, is valrec(validation recursion lookup)"

	.comm	_LDNS_RCODE_NOERROR,4,2         ## @LDNS_RCODE_NOERROR
	.comm	_LDNS_RCODE_NXDOMAIN,4,2        ## @LDNS_RCODE_NXDOMAIN
	.comm	_verbosity,8,3                  ## @verbosity
L_.str.1:                               ## @.str.1
	.asciz	"cannot validate non-answer, rcode %s"

	.comm	_LDNS_RR_TYPE_RRSIG,8,3         ## @LDNS_RR_TYPE_RRSIG
L_.str.2:                               ## @.str.2
	.asciz	"cannot validate RRSIG, no sigs on sigs."

	.no_dead_strip	_needs_validation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function needs_validation
_needs_validation:                      ; @needs_validation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x9, [sp, #24]
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	bl	_verbose
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	mov	x19, x2
	mov	x8, x1
	mov	x20, x0
Lloh11:
	adrp	x21, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh12:
	ldr	x21, [x21, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
	ldr	w9, [x21]
	cbz	x2, LBB0_9
; %bb.7:
	cmp	w9, w8
	b.ne	LBB0_9
; %bb.8:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	bl	_FLAGS_GET_RCODE
	mov	x8, x0
	ldr	w9, [x21]
LBB0_9:
Lloh13:
	adrp	x10, _LDNS_RCODE_NXDOMAIN@GOTPAGE
Lloh14:
	ldr	x10, [x10, _LDNS_RCODE_NXDOMAIN@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_13
; %bb.10:
	ldr	x10, [x20]
Lloh16:
	adrp	x11, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh17:
	ldr	x11, [x11, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
	cmp	x10, x11
	ccmp	x19, #0, #4, eq
	ccmp	w8, w9, #0, ne
	b.ne	LBB0_15
; %bb.11:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_15
; %bb.12:
Lloh19:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh21:
	ldr	x0, [x8]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_2
LBB0_13:
Lloh24:
	adrp	x9, _verbosity@GOTPAGE
Lloh25:
	ldr	x9, [x9, _verbosity@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
Lloh27:
	adrp	x19, _VERB_ALGO@GOTPAGE
Lloh28:
	ldr	x19, [x19, _VERB_ALGO@GOTPAGEOFF]
	ldr	x10, [x19]
	cmp	x9, x10
	b.lt	LBB0_3
; %bb.14:
	strb	wzr, [sp, #8]
	add	x20, sp, #8
	add	x1, sp, #8
	mov	x0, x8
	mov	w2, #16
	bl	_sldns_wire2str_rcode_buf
	ldr	x0, [x19]
	str	x20, [sp]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_15:
	mov	w0, #1
	b	LBB0_4
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_VERB_ALGO,8,3                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not validating response, is valrec(validation recursion lookup)"

	.comm	_LDNS_RCODE_NOERROR,4,2         ; @LDNS_RCODE_NOERROR
	.comm	_LDNS_RCODE_NXDOMAIN,4,2        ; @LDNS_RCODE_NXDOMAIN
	.comm	_verbosity,8,3                  ; @verbosity
l_.str.1:                               ; @.str.1
	.asciz	"cannot validate non-answer, rcode %s"

	.comm	_LDNS_RR_TYPE_RRSIG,8,3         ; @LDNS_RR_TYPE_RRSIG
l_.str.2:                               ; @.str.2
	.asciz	"cannot validate RRSIG, no sigs on sigs."

	.no_dead_strip	_needs_validation
.subsections_via_symbols
