	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_pkt_tsig_verify_next      ## -- Begin function ldns_pkt_tsig_verify_next
	.p2align	4, 0x90
_ldns_pkt_tsig_verify_next:             ## @ldns_pkt_tsig_verify_next
	.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	$104, %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, %r13
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movq	_LDNS_RDF_TYPE_DNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rcx, %rsi
	callq	_ldns_rdf_new_frm_str
	movq	%rax, %rbx
	movq	$0, -64(%rbp)
	movq	%r12, %rdi
	callq	_ldns_pkt_tsig
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ldns_rr_rd_count
	cmpl	$6, %eax
	jg	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_ldns_rdf_deep_free
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ldns_rr_rdf
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_ldns_rr_rdf
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_ldns_rr_rdf
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_ldns_rr_rdf
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_ldns_rr_rdf
	movq	%r13, %r14
	movq	%rax, %r13
	movq	%r15, %rdi
	movl	$5, %esi
	callq	_ldns_rr_rdf
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$6, %esi
	callq	_ldns_rr_rdf
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_ldns_pkt_set_tsig
	movq	%r12, %rdi
	callq	_ldns_pkt_id
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_ldns_rdf2native_int16
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ldns_pkt_set_id
	leaq	-64(%rbp), %rdx
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	callq	_ldns_tsig_prepare_pkt_wire
	movq	%rax, %r13
	movq	-64(%rbp), %rdx
	leaq	-72(%rbp), %rdi
	movq	%rax, %rsi
	movq	%r14, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	movl	16(%rbp), %eax
	pushq	%rax
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	_ldns_tsig_mac_new
	addq	$48, %rsp
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_LDNS_FREE
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_4
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ldns_pkt_set_tsig
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_ldns_pkt_set_id
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ldns_rdf_deep_free
	movq	-72(%rbp), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_ldns_rdf_compare
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	movq	-72(%rbp), %rdi
	jmp	LBB0_6
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	callq	_ldns_rdf_deep_free
LBB0_7:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RDF_TYPE_DNAME,4,2        ## @LDNS_RDF_TYPE_DNAME
	.comm	_LDNS_STATUS_OK,8,3             ## @LDNS_STATUS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_pkt_tsig_verify_next      ; -- Begin function ldns_pkt_tsig_verify_next
	.p2align	2
_ldns_pkt_tsig_verify_next:             ; @ldns_pkt_tsig_verify_next
	.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
	mov	x24, x6
	mov	x23, x5
	mov	x28, x4
	mov	x25, x2
	mov	x26, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _LDNS_RDF_TYPE_DNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RDF_TYPE_DNAME@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x3
	bl	_ldns_rdf_new_frm_str
	mov	x19, x0
	str	xzr, [sp, #80]
	mov	x0, x20
	bl	_ldns_pkt_tsig
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	bl	_ldns_rr_rd_count
	cmp	w0, #6
	b.le	LBB0_4
; %bb.2:
	mov	x0, x21
	mov	w1, #0
	bl	_ldns_rr_rdf
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	mov	x0, x21
	mov	w1, #1
	bl	_ldns_rr_rdf
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	mov	x0, x21
	mov	w1, #2
	bl	_ldns_rr_rdf
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	mov	x0, x21
	mov	w1, #3
	bl	_ldns_rr_rdf
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	mov	x0, x21
	mov	w1, #4
	bl	_ldns_rr_rdf
	mov	x27, x0
	mov	x0, x21
	mov	w1, #5
	bl	_ldns_rr_rdf
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	mov	x0, x21
	mov	w1, #6
	bl	_ldns_rr_rdf
	mov	x22, x0
	mov	x0, x20
	mov	x1, #0
	bl	_ldns_pkt_set_tsig
	mov	x0, x20
	bl	_ldns_pkt_id
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x27
	bl	_ldns_rdf2native_int16
	mov	x1, x0
	mov	x0, x20
	bl	_ldns_pkt_set_id
	add	x2, sp, #80
	mov	x0, x26
	mov	x1, x25
	bl	_ldns_tsig_prepare_pkt_wire
	mov	x25, x0
	ldp	x6, x2, [sp, #72]               ; 8-byte Folded Reload
	str	w24, [sp, #24]
	stp	x22, x23, [sp, #8]
	add	x0, sp, #88
	ldp	x8, x5, [sp, #48]               ; 16-byte Folded Reload
	str	x8, [sp]
	mov	x1, x25
	mov	x3, x28
	mov	x4, x19
	ldr	x7, [sp, #64]                   ; 8-byte Folded Reload
	bl	_ldns_tsig_mac_new
	mov	x22, x0
	mov	x0, x25
	bl	_LDNS_FREE
Lloh3:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	bl	_ldns_pkt_set_tsig
	mov	x0, x20
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	bl	_ldns_pkt_set_id
	mov	x0, x19
	bl	_ldns_rdf_deep_free
	ldr	x1, [sp, #88]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_ldns_rdf_compare
	cmp	x0, #0
	cset	w19, eq
	ldr	x0, [sp, #88]
	bl	_ldns_rdf_deep_free
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_ldns_rdf_deep_free
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RDF_TYPE_DNAME,4,2        ; @LDNS_RDF_TYPE_DNAME
	.comm	_LDNS_STATUS_OK,8,3             ; @LDNS_STATUS_OK
.subsections_via_symbols
