	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_pkt_get_rrsigs_for_type ## -- Begin function ldns_dnssec_pkt_get_rrsigs_for_type
	.p2align	4, 0x90
_ldns_dnssec_pkt_get_rrsigs_for_type:   ## @ldns_dnssec_pkt_get_rrsigs_for_type
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LDNS_SECTION_ANY_NOQUESTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ldns_pkt_rr_list_by_type
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_htons
	movl	%eax, -28(%rbp)
	movq	_LDNS_RDF_TYPE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rdx
	movl	$2, %esi
	callq	_ldns_rdf_new
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ldns_rr_list_subtype_by_rdf
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ldns_rdf_free
	movq	%r15, %rdi
	callq	_ldns_rr_list_deep_free
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_RRSIG,4,2         ## @LDNS_RR_TYPE_RRSIG
	.comm	_LDNS_SECTION_ANY_NOQUESTION,4,2 ## @LDNS_SECTION_ANY_NOQUESTION
	.comm	_LDNS_RDF_TYPE_TYPE,4,2         ## @LDNS_RDF_TYPE_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_pkt_get_rrsigs_for_type ; -- Begin function ldns_dnssec_pkt_get_rrsigs_for_type
	.p2align	2
_ldns_dnssec_pkt_get_rrsigs_for_type:   ; @ldns_dnssec_pkt_get_rrsigs_for_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _LDNS_SECTION_ANY_NOQUESTION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_SECTION_ANY_NOQUESTION@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_ldns_pkt_rr_list_by_type
	mov	x20, x0
	mov	x0, x19
	bl	_htons
	str	w0, [sp, #12]
Lloh6:
	adrp	x8, _LDNS_RDF_TYPE_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_RDF_TYPE_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x2, sp, #12
	mov	w1, #2
	bl	_ldns_rdf_new
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_ldns_rr_list_subtype_by_rdf
	mov	x21, x0
	mov	x0, x19
	bl	_ldns_rdf_free
	mov	x0, x20
	bl	_ldns_rr_list_deep_free
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_RRSIG,4,2         ; @LDNS_RR_TYPE_RRSIG
	.comm	_LDNS_SECTION_ANY_NOQUESTION,4,2 ; @LDNS_SECTION_ANY_NOQUESTION
	.comm	_LDNS_RDF_TYPE_TYPE,4,2         ; @LDNS_RDF_TYPE_TYPE
.subsections_via_symbols
