	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_verify_rrset               ## -- Begin function val_verify_rrset
	.p2align	4, 0x90
_val_verify_rrset:                      ## @val_verify_rrset
	.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	%rdx, %rbx
	movq	16(%rdx), %r15
	movq	(%r15), %rax
	movq	_sec_status_secure@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_2
## %bb.1:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	4(%rbx), %edi
	movl	8(%rbx), %r14d
	callq	_ntohs
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%r14d, %edx
	jmp	LBB0_4
LBB0_2:
	movq	%rdi, %r13
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rdi), %edi
	movq	(%r13), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_rrset_check_sec_status
	movq	(%r15), %r12
	movq	(%r14), %r14
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rbx), %edi
	movl	8(%rbx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_ntohs
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	movl	(%rbx), %edi
	callq	_ntohs
	cmpq	%r14, %r12
	jne	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
LBB0_4:
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_log_nametypeclass
	movl	(%r15), %r12d
LBB0_28:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %r14
	movq	24(%rbp), %rbx
	movl	16(%rbp), %r12d
	leaq	L_.str.2(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_log_nametypeclass
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	%r12
	callq	_dnskeyset_verify_rrset
	addq	$16, %rsp
	movl	%eax, %r12d
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_sec_status_to_string
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_verbose
	movl	12(%r13), %edi
	callq	_regional_free_all
	movl	%r12d, %eax
	cmpq	%rax, (%r15)
	jge	LBB0_28
## %bb.6:
	movq	%rax, (%r15)
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	_rrset_trust_validated@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	jmp	LBB0_27
LBB0_8:
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_27
## %bb.9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	8(%rdi), %eax
	movl	%eax, 32(%r15)
	movq	8(%r15), %rdx
	movq	16(%r15), %rsi
	movq	%rsi, %r9
	addq	%rdx, %r9
	je	LBB0_26
## %bb.10:
	movq	24(%r15), %rcx
	movl	%eax, (%rcx)
	cmpq	$1, %r9
	je	LBB0_26
## %bb.11:
	addq	%rdx, %rsi
	decq	%rsi
	movl	$1, %edx
	cmpq	$8, %rsi
	jb	LBB0_22
## %bb.12:
	leaq	4(%rcx), %rax
	leaq	12(%rdi), %rbx
	cmpq	%rbx, %rax
	jae	LBB0_14
## %bb.13:
	leaq	(%rcx,%r9,4), %rax
	leaq	8(%rdi), %rbx
	cmpq	%rax, %rbx
	jb	LBB0_22
LBB0_14:
	movq	%rsi, %rdx
	andq	$-8, %rdx
	leaq	-8(%rdx), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%r8, %rax
	andq	$-2, %rax
	movd	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movl	$1, %ebx
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rbx,4)
	movdqu	%xmm0, 16(%rcx,%rbx,4)
	movdqu	%xmm0, 32(%rcx,%rbx,4)
	movdqu	%xmm0, 48(%rcx,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rax
	jne	LBB0_17
	jmp	LBB0_18
LBB0_15:
	movl	$1, %ebx
LBB0_18:
	testb	$1, %r8b
	je	LBB0_20
## %bb.19:
	movd	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rcx,%rbx,4)
	movdqu	%xmm0, 16(%rcx,%rbx,4)
LBB0_20:
	cmpq	%rdx, %rsi
	je	LBB0_26
## %bb.21:
	orq	$1, %rdx
LBB0_22:
	movl	%r9d, %eax
	subl	%edx, %eax
	movq	%rdx, %rsi
	notq	%rsi
	addq	%r9, %rsi
	andq	$3, %rax
	je	LBB0_24
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%rdi), %ebx
	movl	%ebx, (%rcx,%rdx,4)
	incq	%rdx
	decq	%rax
	jne	LBB0_23
LBB0_24:
	cmpq	$3, %rsi
	jb	LBB0_26
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%rdi), %esi
	movl	%esi, (%rcx,%rdx,4)
	movl	8(%rdi), %esi
	movl	%esi, 4(%rcx,%rdx,4)
	movl	8(%rdi), %esi
	movl	%esi, 8(%rcx,%rdx,4)
	movl	8(%rdi), %esi
	movl	%esi, 12(%rcx,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r9
	jne	LBB0_25
LBB0_26:
	movq	%rdi, %rbx
	callq	_lock_basic_lock
	incl	4(%rbx)
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
LBB0_27:
	movl	8(%r13), %edi
	movq	(%r13), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_rrset_update_sec_status
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_status_secure,8,3          ## @sec_status_secure
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"verify rrset cached"

L_.str.1:                               ## @.str.1
	.asciz	"verify rrset from cache"

L_.str.2:                               ## @.str.2
	.asciz	"verify rrset"

L_.str.3:                               ## @.str.3
	.asciz	"verify result: %s"

	.comm	_rrset_trust_validated,4,2      ## @rrset_trust_validated
	.comm	_sec_status_bogus,4,2           ## @sec_status_bogus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_verify_rrset               ; -- Begin function val_verify_rrset
	.p2align	2
_val_verify_rrset:                      ; @val_verify_rrset
	.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, x2
	ldr	x23, [x2, #16]
	ldr	x8, [x23]
Lloh0:
	adrp	x21, _sec_status_secure@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sec_status_secure@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	ldp	w0, w21, [x19, #4]
	bl	_ntohs
	mov	x22, x0
	ldr	w0, [x19]
	bl	_ntohs
	mov	x4, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	b	LBB0_4
LBB0_2:
	mov	x24, x5
	mov	x25, x4
	mov	x26, x3
	mov	x20, x0
	str	w6, [sp, #4]                    ; 4-byte Folded Spill
	stp	x7, x1, [sp, #16]               ; 16-byte Folded Spill
	ldr	w0, [x0, #8]
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	x1, x19
	bl	_rrset_check_sec_status
	ldr	x22, [x23]
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x20, [x21]
Lloh7:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh9:
	ldr	w28, [x8]
	ldp	w0, w27, [x19, #4]
	bl	_ntohs
	mov	x21, x0
	ldr	w0, [x19]
	bl	_ntohs
	mov	x4, x0
	cmp	x22, x20
	b.ne	LBB0_6
; %bb.3:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x28
	mov	x2, x27
	mov	x3, x21
LBB0_4:
	bl	_log_nametypeclass
	ldr	w22, [x23]
LBB0_5:
	mov	x0, x22
	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_6:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x28
	mov	x2, x27
	mov	x3, x21
	bl	_log_nametypeclass
	ldp	x20, x7, [sp, #8]               ; 16-byte Folded Reload
	mov	x0, x20
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x27
	mov	x2, x19
	mov	x3, x26
	mov	x4, x25
	mov	x5, x24
	ldr	w6, [sp, #4]                    ; 4-byte Folded Reload
	bl	_dnskeyset_verify_rrset
	mov	x22, x0
Lloh14:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	bl	_sec_status_to_string
	mov	x2, x0
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_verbose
	ldr	w0, [x20, #12]
	bl	_regional_free_all
	mov	w8, w22
	ldr	x9, [x23]
	cmp	x9, x8
	b.ge	LBB0_5
; %bb.7:
	str	x8, [x23]
Lloh19:
	adrp	x9, _sec_status_secure@GOTPAGE
Lloh20:
	ldr	x9, [x9, _sec_status_secure@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
Lloh22:
	adrp	x8, _rrset_trust_validated@GOTPAGE
Lloh23:
	ldr	x8, [x8, _rrset_trust_validated@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [x23, #36]
	b	LBB0_19
LBB0_9:
Lloh25:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh26:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_19
; %bb.10:
	ldr	w12, [x27, #8]
	str	w12, [x23, #32]
	ldp	x9, x10, [x23, #8]
	adds	x11, x10, x9
	b.eq	LBB0_18
; %bb.11:
	ldr	x8, [x23, #24]
	str	w12, [x8]
	cmp	x11, #1
	b.eq	LBB0_18
; %bb.12:
	add	x9, x10, x9
	sub	x10, x9, #1
	cmp	x10, #16
	b.lo	LBB0_15
; %bb.13:
	add	x12, x8, #4
	add	x13, x27, #8
	add	x14, x27, #12
	cmp	x12, x14
	b.hs	LBB0_20
; %bb.14:
	add	x11, x8, x11, lsl #2
	cmp	x13, x11
	b.hs	LBB0_20
LBB0_15:
	mov	w11, #1
LBB0_16:
	add	x8, x8, x11, lsl #2
	sub	x9, x9, x11
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x27, #8]
	str	w10, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_17
LBB0_18:
	mov	x0, x27
	bl	_lock_basic_lock
	ldr	w8, [x27, #4]
	add	w8, w8, #1
	str	w8, [x27, #4]
	mov	x0, x27
	bl	_lock_basic_unlock
LBB0_19:
	ldr	w0, [x20, #8]
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	x1, x19
	bl	_rrset_update_sec_status
	b	LBB0_5
LBB0_20:
	and	x12, x10, #0xfffffffffffffff0
	orr	x11, x12, #0x1
	ld1r.4s	{ v0 }, [x13]
	add	x13, x8, #36
	mov	x14, x12
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x13, #-32]
	stp	q0, q0, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_21
; %bb.22:
	cmp	x10, x12
	b.eq	LBB0_18
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_status_secure,8,3          ; @sec_status_secure
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"verify rrset cached"

l_.str.1:                               ; @.str.1
	.asciz	"verify rrset from cache"

l_.str.2:                               ; @.str.2
	.asciz	"verify rrset"

l_.str.3:                               ; @.str.3
	.asciz	"verify result: %s"

	.comm	_rrset_trust_validated,4,2      ; @rrset_trust_validated
	.comm	_sec_status_bogus,4,2           ; @sec_status_bogus
.subsections_via_symbols
