	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_dnssec_rr                  ## -- Begin function get_dnssec_rr
	.p2align	4, 0x90
_get_dnssec_rr:                         ## @get_dnssec_rr
	.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
	movq	%rcx, %rbx
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%r8, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_ldns_pkt_reply_type
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_10
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	_LDNS_SECTION_ANSWER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_ldns_pkt_rr_list_by_name_and_type
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_20
LBB0_4:
	testq	%r15, %r15
	je	LBB0_22
LBB0_5:
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	_LDNS_SECTION_ANSWER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ldns_pkt_rr_list_by_name_and_type
	movq	%r14, %rsi
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_15
## %bb.6:
	movq	(%rbx), %rdx
	movq	_LDNS_SECTION_AUTHORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_ldns_pkt_rr_list_by_name_and_type
	jmp	LBB0_14
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	$0, (%rbx)
LBB0_9:
	movq	_LDNS_PACKET_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_26
LBB0_10:
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:
	movq	_LDNS_SECTION_AUTHORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ldns_pkt_rr_list_by_type
	movq	%rax, (%rbx)
LBB0_12:
	testq	%r15, %r15
	je	LBB0_22
## %bb.13:
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_LDNS_SECTION_AUTHORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_ldns_pkt_rr_list_by_type
LBB0_14:
	movq	%rax, %r14
LBB0_15:
	xorl	%eax, %eax
	callq	_ldns_rr_list_new
	movq	%rax, (%r15)
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	je	LBB0_23
## %bb.16:
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%rbx
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	cmpq	%rax, %rbx
	jae	LBB0_23
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr_rrsig_typecovered
	movl	%eax, %edi
	callq	_ldns_rdf2rr_type
	cmpq	%r12, %rax
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r15), %r13
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr_clone
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_ldns_rr_list_push_rr
	jmp	LBB0_17
LBB0_20:
	movq	_LDNS_SECTION_AUTHORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_ldns_pkt_rr_list_by_name_and_type
	movq	%rax, (%rbx)
	testq	%r15, %r15
	jne	LBB0_5
LBB0_22:
	xorl	%r14d, %r14d
LBB0_23:
	movq	%r14, %rdi
	callq	_ldns_rr_list_deep_free
	movq	_LDNS_PACKET_NXDOMAIN@GOTPCREL(%rip), %rcx
	movq	_LDNS_PACKET_NODATA@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %rax
	cmpq	(%rdx), %rsi
	je	LBB0_25
## %bb.24:
	movq	_LDNS_PACKET_ANSWER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_25:
	cmpq	(%rcx), %rsi
	cmoveq	%rsi, %rax
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_PACKET_UNKNOWN,8,3        ## @LDNS_PACKET_UNKNOWN
	.comm	_LDNS_SECTION_ANSWER,4,2        ## @LDNS_SECTION_ANSWER
	.comm	_LDNS_SECTION_AUTHORITY,4,2     ## @LDNS_SECTION_AUTHORITY
	.comm	_LDNS_RR_TYPE_RRSIG,8,3         ## @LDNS_RR_TYPE_RRSIG
	.comm	_LDNS_PACKET_NXDOMAIN,8,3       ## @LDNS_PACKET_NXDOMAIN
	.comm	_LDNS_PACKET_NODATA,8,3         ## @LDNS_PACKET_NODATA
	.comm	_LDNS_PACKET_ANSWER,8,3         ## @LDNS_PACKET_ANSWER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_dnssec_rr                  ; -- Begin function get_dnssec_rr
	.p2align	2
_get_dnssec_rr:                         ; @get_dnssec_rr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x4
	mov	x21, x2
	mov	x24, x1
	mov	x23, x0
	bl	_ldns_pkt_reply_type
	mov	x19, x0
	cbz	x24, LBB0_10
; %bb.2:
Lloh0:
	adrp	x25, _LDNS_SECTION_ANSWER@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LDNS_SECTION_ANSWER@GOTPAGEOFF]
	cbz	x22, LBB0_4
; %bb.3:
	ldr	w3, [x25]
	mov	x0, x23
	mov	x1, x24
	mov	x2, x21
	bl	_ldns_pkt_rr_list_by_name_and_type
	str	x0, [x22]
	cbz	x0, LBB0_20
LBB0_4:
	cbz	x20, LBB0_21
LBB0_5:
Lloh2:
	adrp	x26, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh3:
	ldr	x26, [x26, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
	ldr	x2, [x26]
	ldr	w3, [x25]
	mov	x0, x23
	mov	x1, x24
	bl	_ldns_pkt_rr_list_by_name_and_type
	mov	x22, x0
	cbnz	x0, LBB0_15
; %bb.6:
	ldr	x2, [x26]
Lloh4:
	adrp	x8, _LDNS_SECTION_AUTHORITY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LDNS_SECTION_AUTHORITY@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x24
	bl	_ldns_pkt_rr_list_by_name_and_type
	b	LBB0_14
LBB0_7:
	cbz	x22, LBB0_9
; %bb.8:
	str	xzr, [x22]
LBB0_9:
Lloh7:
	adrp	x8, _LDNS_PACKET_UNKNOWN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LDNS_PACKET_UNKNOWN@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	b	LBB0_23
LBB0_10:
	cbz	x22, LBB0_12
; %bb.11:
Lloh10:
	adrp	x8, _LDNS_SECTION_AUTHORITY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LDNS_SECTION_AUTHORITY@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x21
	bl	_ldns_pkt_rr_list_by_type
	str	x0, [x22]
LBB0_12:
	cbz	x20, LBB0_21
; %bb.13:
Lloh13:
	adrp	x8, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
Lloh15:
	ldr	x1, [x8]
Lloh16:
	adrp	x8, _LDNS_SECTION_AUTHORITY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LDNS_SECTION_AUTHORITY@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_ldns_pkt_rr_list_by_type
LBB0_14:
	mov	x22, x0
LBB0_15:
	bl	_ldns_rr_list_new
	str	x0, [x20]
	mov	x0, x22
	bl	_ldns_rr_list_rr_count
	cbz	x0, LBB0_22
; %bb.16:
	mov	x23, #0
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x23, x23, #1
	mov	x0, x22
	bl	_ldns_rr_list_rr_count
	cmp	x23, x0
	b.hs	LBB0_22
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_rrsig_typecovered
	bl	_ldns_rdf2rr_type
	cmp	x0, x21
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x24, [x20]
	mov	x0, x22
	mov	x1, x23
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_clone
	mov	x1, x0
	mov	x0, x24
	bl	_ldns_rr_list_push_rr
	b	LBB0_17
LBB0_20:
Lloh19:
	adrp	x8, _LDNS_SECTION_AUTHORITY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LDNS_SECTION_AUTHORITY@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x24
	mov	x2, x21
	bl	_ldns_pkt_rr_list_by_name_and_type
	str	x0, [x22]
	cbnz	x20, LBB0_5
LBB0_21:
	mov	x22, #0
LBB0_22:
	mov	x0, x22
	bl	_ldns_rr_list_deep_free
Lloh22:
	adrp	x8, _LDNS_PACKET_NXDOMAIN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LDNS_PACKET_NXDOMAIN@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _LDNS_PACKET_NODATA@GOTPAGE
Lloh26:
	ldr	x9, [x9, _LDNS_PACKET_NODATA@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x19, x9
	ccmp	x19, x8, #4, ne
Lloh28:
	adrp	x8, _LDNS_PACKET_ANSWER@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LDNS_PACKET_ANSWER@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	csel	x0, x19, x8, eq
LBB0_23:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_PACKET_UNKNOWN,8,3        ; @LDNS_PACKET_UNKNOWN
	.comm	_LDNS_SECTION_ANSWER,4,2        ; @LDNS_SECTION_ANSWER
	.comm	_LDNS_SECTION_AUTHORITY,4,2     ; @LDNS_SECTION_AUTHORITY
	.comm	_LDNS_RR_TYPE_RRSIG,8,3         ; @LDNS_RR_TYPE_RRSIG
	.comm	_LDNS_PACKET_NXDOMAIN,8,3       ; @LDNS_PACKET_NXDOMAIN
	.comm	_LDNS_PACKET_NODATA,8,3         ; @LDNS_PACKET_NODATA
	.comm	_LDNS_PACKET_ANSWER,8,3         ; @LDNS_PACKET_ANSWER
.subsections_via_symbols
