	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_derive_trust_tree_no_sig_time ## -- Begin function ldns_dnssec_derive_trust_tree_no_sig_time
	.p2align	4, 0x90
_ldns_dnssec_derive_trust_tree_no_sig_time: ## @ldns_dnssec_derive_trust_tree_no_sig_time
	.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	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	8(%rax), %r13
	testq	%r13, %r13
	je	LBB0_13
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%edx, %r15d
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ldns_rr_list_rr
	movq	%rax, %rdi
	callq	_ldns_rr_get_type
	movq	_LDNS_RR_TYPE_NSEC3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	movl	16(%r14), %ecx
	movl	12(%r14), %r8d
	movl	8(%r14), %r9d
	movq	%r13, %rsi
	callq	_ldns_dnssec_verify_denial_nsec3
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_8:
	movq	_LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ldns_rr_list_rr
	movq	%rax, %rdi
	callq	_ldns_rr_get_type
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movl	(%r12), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_ldns_dnssec_verify_denial
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_7:
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %ebx
LBB0_10:
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	je	LBB0_13
## %bb.11:
	movq	%r14, %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_ldns_rr_list_rr
	movq	(%r15), %rdi
	movq	%rax, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ldns_dnssec_derive_trust_tree_time
	movq	%r12, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_ldns_dnssec_trust_tree_add_parent
	incq	%r14
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	cmpq	%rax, %r14
	jb	LBB0_12
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ## @LDNS_RR_TYPE_NSEC3
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ## @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_STATUS_OK,4,2             ## @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED,4,2 ## @LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_derive_trust_tree_no_sig_time ; -- Begin function ldns_dnssec_derive_trust_tree_no_sig_time
	.p2align	2
_ldns_dnssec_derive_trust_tree_no_sig_time: ; @ldns_dnssec_derive_trust_tree_no_sig_time
	.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
	ldr	x8, [x1]
	cbz	x8, LBB0_13
; %bb.1:
	ldr	x22, [x8, #8]
	cbz	x22, LBB0_13
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x22
	bl	_ldns_rr_list_rr_count
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x22
	mov	x1, #0
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_get_type
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_NSEC3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_NSEC3@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x21]
	ldr	x8, [x20]
	ldr	w2, [x8]
	ldp	w4, w3, [x20, #12]
	ldr	w5, [x20, #8]
	mov	x1, x22
	bl	_ldns_dnssec_verify_denial_nsec3
	mov	x23, x0
	b	LBB0_10
LBB0_5:
Lloh3:
	adrp	x8, _LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	mov	x0, x22
	mov	x1, #0
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_get_type
Lloh5:
	adrp	x8, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x21]
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	x1, x22
	bl	_ldns_dnssec_verify_denial
	mov	x23, x0
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
LBB0_9:
	ldr	w23, [x8]
LBB0_10:
	mov	x0, x22
	bl	_ldns_rr_list_rr_count
	cbz	x0, LBB0_13
; %bb.11:
	mov	x24, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_ldns_rr_list_rr
	mov	x1, x0
	ldr	x0, [x20]
	mov	x2, x19
	bl	_ldns_dnssec_derive_trust_tree_time
	mov	x1, x0
	mov	x0, x21
	mov	x2, #0
	mov	x3, x23
	bl	_ldns_dnssec_trust_tree_add_parent
	add	x24, x24, #1
	mov	x0, x22
	bl	_ldns_rr_list_rr_count
	cmp	x24, x0
	b.lo	LBB0_12
LBB0_13:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ; @LDNS_RR_TYPE_NSEC3
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ; @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED,4,2 ; @LDNS_STATUS_DNSSEC_NSEC_RR_NOT_COVERED
.subsections_via_symbols
