	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_dnssec_build_data_chain_nokeyname
_ldns_dnssec_build_data_chain_nokeyname: ## @ldns_dnssec_build_data_chain_nokeyname
	.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	%r8, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rdi
	jmp	LBB0_5
LBB0_2:
	movq	%rcx, %rbx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	jle	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ldns_rr_list_rr
	movq	%rax, %rdi
LBB0_5:
	callq	_ldns_rr_owner
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r15d, %r8d
	callq	_ldns_resolver_query
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ldns_pkt_ancount
	testq	%rax, %rax
	jle	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_ldns_pkt_free
	jmp	LBB0_9
LBB0_8:
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_ldns_dnssec_build_data_chain
	movq	%rax, (%r14)
	movl	(%r13), %ecx
	movl	%ecx, (%rax)
LBB0_9:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DS,4,2            ## @LDNS_RR_TYPE_DS
	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
	.no_dead_strip	_ldns_dnssec_build_data_chain_nokeyname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldns_dnssec_build_data_chain_nokeyname
_ldns_dnssec_build_data_chain_nokeyname: ; @ldns_dnssec_build_data_chain_nokeyname
	.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
	mov	x19, x4
	mov	x20, x1
	mov	x21, x0
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x2
	b	LBB0_5
LBB0_2:
	mov	x22, x3
	cbz	x3, LBB0_9
; %bb.3:
	mov	x0, x22
	bl	_ldns_rr_list_rr_count
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x0, x22
	mov	w1, #0
	bl	_ldns_rr_list_rr
LBB0_5:
	bl	_ldns_rr_owner
	mov	x1, x0
Lloh0:
	adrp	x23, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh2:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x4, x20
	bl	_ldns_resolver_query
	cbz	x0, LBB0_9
; %bb.6:
	mov	x22, x0
	bl	_ldns_pkt_ancount
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_ldns_pkt_free
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	mov	x3, x22
	mov	x4, #0
	bl	_ldns_dnssec_build_data_chain
	str	x0, [x19]
	ldr	w8, [x23]
	str	w8, [x0]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DS,4,2            ; @LDNS_RR_TYPE_DS
	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
	.no_dead_strip	_ldns_dnssec_build_data_chain_nokeyname
.subsections_via_symbols
