	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dnskeyset_verify_rrset_sig     ## -- Begin function dnskeyset_verify_rrset_sig
	.p2align	4, 0x90
_dnskeyset_verify_rrset_sig:            ## @dnskeyset_verify_rrset_sig
	.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	%r9, %r14
	movq	%r8, %rbx
	movq	%rcx, %r15
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	movq	%r9, %rsi
	callq	_rrset_get_sig_keytag
	movq	%rax, %r12
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	callq	_rrset_get_sig_algo
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_rrset_get_count
	movq	%rax, %r15
	movl	$0, -48(%rbp)
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_verbose
	movl	%r14d, %edi
	callq	_dnskey_algo_id_is_supported
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	testq	%r15, %r15
	je	LBB0_9
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_dnskey_get_algo
	cmpl	%eax, %r14d
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_dnskey_calc_keytag
	cmpq	%rax, -88(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rax), %edi
	subq	$8, %rsp
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	%rbx, %r9
	pushq	40(%rbp)
	movl	32(%rbp), %eax
	pushq	%rax
	pushq	24(%rbp)
	leaq	-48(%rbp), %rax
	pushq	%rax
	pushq	16(%rbp)
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%r12
	callq	_dnskey_verify_rrset_sig
	addq	$64, %rsp
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	jmp	LBB0_7
LBB0_13:
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
	movq	_sec_status_insecure@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	testq	%r13, %r13
	jne	LBB0_10
LBB0_9:
	leaq	L_.str.2(%rip), %rax
	movq	24(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	_VERB_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_verbose
LBB0_10:
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_status_bogus,4,2           ## @sec_status_bogus
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"verify sig %d %d"

	.comm	_VERB_QUERY,4,2                 ## @VERB_QUERY
L_.str.1:                               ## @.str.1
	.asciz	"verify sig: unknown algorithm"

	.comm	_sec_status_insecure,4,2        ## @sec_status_insecure
	.comm	_sec_status_secure,4,2          ## @sec_status_secure
L_.str.2:                               ## @.str.2
	.asciz	"signatures from unknown keys"

L_.str.3:                               ## @.str.3
	.asciz	"verify: could not find appropriate key"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dnskeyset_verify_rrset_sig     ; -- Begin function dnskeyset_verify_rrset_sig
	.p2align	2
_dnskeyset_verify_rrset_sig:            ; @dnskeyset_verify_rrset_sig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	stp	x6, x7, [sp, #72]               ; 16-byte Folded Spill
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	str	w2, [sp, #68]                   ; 4-byte Folded Spill
	str	x1, [sp, #56]                   ; 8-byte Folded Spill
	mov	x26, x0
	mov	x0, x3
	mov	x1, x5
	bl	_rrset_get_sig_keytag
	mov	x27, x0
	mov	x0, x23
	mov	x1, x21
	bl	_rrset_get_sig_algo
	mov	x28, x0
	mov	x0, x22
	bl	_rrset_get_count
	mov	x20, x0
	stur	wzr, [x29, #-84]
Lloh0:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	stp	x27, x28, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
	mov	x0, x28
	bl	_dnskey_algo_id_is_supported
	cbz	w0, LBB0_8
; %bb.1:
	cbz	x20, LBB0_10
; %bb.2:
	mov	x25, #0
	mov	x24, #0
	ldr	x8, [x29, #24]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	ldr	w19, [x29, #16]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	x20, x24
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_dnskey_get_algo
	cmp	w28, w0
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_dnskey_calc_keytag
	cmp	x27, x0
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w0, [x26]
	ldp	x8, x2, [sp, #48]               ; 16-byte Folded Reload
	str	x8, [sp, #32]
	str	w19, [sp, #24]
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	sub	x8, x29, #84
	stp	x8, x9, [sp, #8]
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	str	x8, [sp]
	ldr	w3, [sp, #68]                   ; 4-byte Folded Reload
	mov	x4, x23
	mov	x5, x22
	mov	x6, x24
	mov	x7, x21
	bl	_dnskey_verify_rrset_sig
Lloh5:
	adrp	x8, _sec_status_secure@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sec_status_secure@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	b	LBB0_3
LBB0_8:
Lloh8:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
Lloh13:
	adrp	x8, _sec_status_insecure@GOTPAGE
Lloh14:
	ldr	x8, [x8, _sec_status_insecure@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	cbnz	x25, LBB0_11
LBB0_10:
Lloh15:
	adrp	x8, l_.str.2@PAGE
Lloh16:
	add	x8, x8, l_.str.2@PAGEOFF
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	str	x8, [x9]
Lloh17:
	adrp	x8, _VERB_QUERY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VERB_QUERY@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_verbose
LBB0_11:
Lloh22:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh23:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_status_bogus,4,2           ; @sec_status_bogus
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"verify sig %d %d"

	.comm	_VERB_QUERY,4,2                 ; @VERB_QUERY
l_.str.1:                               ; @.str.1
	.asciz	"verify sig: unknown algorithm"

	.comm	_sec_status_insecure,4,2        ; @sec_status_insecure
	.comm	_sec_status_secure,4,2          ; @sec_status_secure
l_.str.2:                               ; @.str.2
	.asciz	"signatures from unknown keys"

l_.str.3:                               ; @.str.3
	.asciz	"verify: could not find appropriate key"

.subsections_via_symbols
