	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_verify_test_sig_key
_ldns_verify_test_sig_key:              ## @ldns_verify_test_sig_key
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, %rdi
	movl	$1, %esi
	callq	_ldns_rr_rdf
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ldns_rr_rdf
	movq	%rax, %rdi
	callq	_ldns_rdf2native_int8
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_ldns_calc_keytag
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ldns_rr_rrsig_keytag
	movl	%eax, %edi
	callq	_ldns_rdf2native_int16
	cmpq	%rax, %r13
	jne	LBB0_16
## %bb.5:
	movq	_LDNS_MAX_PACKETLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ldns_buffer_new
	movq	%rax, %r13
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_ldns_rr_rdf
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_ldns_rr_rdf
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_ldns_rdf2buffer_wire
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_ldns_rr_rdf
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_ldns_rr_rdf
	movq	%rax, %rdi
	callq	_ldns_rdf2native_int8
	cmpq	%rax, %r14
	jne	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_ldns_verify_rrsig_buffers
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_1:
	movq	_LDNS_STATUS_CRYPTO_NO_RRSIG@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_3:
	movq	_LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_6:
	movq	%r13, %rdi
	callq	_ldns_buffer_free
	movq	_LDNS_STATUS_MISSING_RDATA_FIELDS_KEY@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_8:
	movq	%r13, %rdi
	callq	_ldns_buffer_free
	movq	_LDNS_STATUS_ERR@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_LDNS_STATUS_MISSING_RDATA_FIELDS_KEY@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %ebx
LBB0_15:
	movq	%r13, %rdi
	callq	_ldns_buffer_free
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_STATUS_CRYPTO_NO_RRSIG,4,2 ## @LDNS_STATUS_CRYPTO_NO_RRSIG
	.comm	_LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG,4,2 ## @LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG
	.comm	_LDNS_MAX_PACKETLEN,4,2         ## @LDNS_MAX_PACKETLEN
	.comm	_LDNS_STATUS_ERR,4,2            ## @LDNS_STATUS_ERR
	.comm	_LDNS_STATUS_MISSING_RDATA_FIELDS_KEY,4,2 ## @LDNS_STATUS_MISSING_RDATA_FIELDS_KEY
	.comm	_LDNS_STATUS_OK,8,3             ## @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY,4,2 ## @LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY
	.no_dead_strip	_ldns_verify_test_sig_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldns_verify_test_sig_key
_ldns_verify_test_sig_key:              ; @ldns_verify_test_sig_key
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x2, LBB0_8
; %bb.1:
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	mov	w1, #1
	bl	_ldns_rr_rdf
	cbz	x0, LBB0_9
; %bb.2:
	mov	x0, x23
	mov	w1, #1
	bl	_ldns_rr_rdf
	bl	_ldns_rdf2native_int8
	mov	x22, x0
	mov	x0, x21
	bl	_ldns_calc_keytag
	mov	x24, x0
	mov	x0, x23
	bl	_ldns_rr_rrsig_keytag
	bl	_ldns_rdf2native_int16
	cmp	x24, x0
	b.ne	LBB0_10
; %bb.3:
Lloh0:
	adrp	x8, _LDNS_MAX_PACKETLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_MAX_PACKETLEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ldns_buffer_new
	mov	x23, x0
	mov	x0, x21
	mov	w1, #3
	bl	_ldns_rr_rdf
	cbz	x0, LBB0_11
; %bb.4:
	mov	x0, x21
	mov	w1, #3
	bl	_ldns_rr_rdf
	mov	x1, x0
	mov	x0, x23
	bl	_ldns_rdf2buffer_wire
Lloh3:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.5:
	mov	x0, x21
	mov	w1, #2
	bl	_ldns_rr_rdf
	cbz	x0, LBB0_15
; %bb.6:
	mov	x0, x21
	mov	w1, #2
	bl	_ldns_rr_rdf
	bl	_ldns_rdf2native_int8
	cmp	x22, x0
	b.ne	LBB0_16
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x22
	bl	_ldns_verify_rrsig_buffers
	mov	x19, x0
	b	LBB0_18
LBB0_8:
Lloh6:
	adrp	x8, _LDNS_STATUS_CRYPTO_NO_RRSIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_STATUS_CRYPTO_NO_RRSIG@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh8:
	adrp	x8, _LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh10:
	adrp	x8, _LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	x0, x23
	bl	_ldns_buffer_free
Lloh12:
	adrp	x8, _LDNS_STATUS_MISSING_RDATA_FIELDS_KEY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LDNS_STATUS_MISSING_RDATA_FIELDS_KEY@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
	mov	x0, x23
	bl	_ldns_buffer_free
Lloh14:
	adrp	x8, _LDNS_STATUS_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LDNS_STATUS_ERR@GOTPAGEOFF]
LBB0_13:
	ldr	w19, [x8]
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh16:
	adrp	x8, _LDNS_STATUS_MISSING_RDATA_FIELDS_KEY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LDNS_STATUS_MISSING_RDATA_FIELDS_KEY@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh18:
	adrp	x8, _LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY@GOTPAGEOFF]
LBB0_17:
	ldr	w19, [x8]
LBB0_18:
	mov	x0, x23
	bl	_ldns_buffer_free
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_CRYPTO_NO_RRSIG,4,2 ; @LDNS_STATUS_CRYPTO_NO_RRSIG
	.comm	_LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG,4,2 ; @LDNS_STATUS_MISSING_RDATA_FIELDS_RRSIG
	.comm	_LDNS_MAX_PACKETLEN,4,2         ; @LDNS_MAX_PACKETLEN
	.comm	_LDNS_STATUS_ERR,4,2            ; @LDNS_STATUS_ERR
	.comm	_LDNS_STATUS_MISSING_RDATA_FIELDS_KEY,4,2 ; @LDNS_STATUS_MISSING_RDATA_FIELDS_KEY
	.comm	_LDNS_STATUS_OK,8,3             ; @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY,4,2 ; @LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY
	.no_dead_strip	_ldns_verify_test_sig_key
.subsections_via_symbols
