	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_verify_trusted_time       ## -- Begin function ldns_verify_trusted_time
	.p2align	4, 0x90
_ldns_verify_trusted_time:              ## @ldns_verify_trusted_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	_LDNS_STATUS_ERR@GOTPCREL(%rip), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.3:
	movq	%r8, %rbx
	movq	%rdi, %r12
	movq	%r15, %rdi
	callq	_ldns_rr_list_rr_count
	testl	%eax, %eax
	jle	LBB0_20
## %bb.4:
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	incl	%ebx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	cmpl	%eax, %ebx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jge	LBB0_18
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movq	%r14, %rdi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	callq	_ldns_rr_list_rr
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ldns_rr_rrsig_signame
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_ldns_resolver_dnssec_anchors
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	leaq	-44(%rbp), %r8
	callq	_ldns_fetch_valid_domain_keys_time
	movq	%rax, %r13
	testq	%rax, %rax
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rbx
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	testl	%eax, %eax
	jle	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_ldns_rr_list_rr
	movq	%rax, %r12
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rax, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_ldns_verify_rrsig_time
	movl	%eax, -44(%rbp)
	cmpl	(%rbx), %eax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=2
	incl	%r14d
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	cmpl	%eax, %r14d
	jl	LBB0_13
	jmp	LBB0_17
LBB0_5:
	movq	_LDNS_STATUS_CRYPTO_NO_RRSIG@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_14:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_ldns_rr_clone
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ldns_rr_list_push_rr
LBB0_16:
	movq	%r13, %rdi
	callq	_ldns_rr_list_deep_free
	jmp	LBB0_20
LBB0_7:
	xorl	%r13d, %r13d
LBB0_18:
	movq	%r13, %rdi
	callq	_ldns_rr_list_deep_free
	leaq	-44(%rbp), %rax
LBB0_19:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_STATUS_ERR,4,2            ## @LDNS_STATUS_ERR
	.comm	_LDNS_STATUS_CRYPTO_NO_RRSIG,4,2 ## @LDNS_STATUS_CRYPTO_NO_RRSIG
	.comm	_LDNS_STATUS_OK,4,2             ## @LDNS_STATUS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_verify_trusted_time       ; -- Begin function ldns_verify_trusted_time
	.p2align	2
_ldns_verify_trusted_time:              ; @ldns_verify_trusted_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _LDNS_STATUS_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_STATUS_ERR@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [sp, #12]
	cbz	x0, LBB0_20
; %bb.1:
	mov	x22, x1
	cbz	x1, LBB0_20
; %bb.2:
	mov	x21, x2
	cbz	x2, LBB0_20
; %bb.3:
	mov	x19, x4
	mov	x20, x3
	mov	x23, x0
	mov	x0, x22
	bl	_ldns_rr_list_rr_count
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x0, x21
	bl	_ldns_rr_list_rr_count
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.5:
	mov	x0, x21
	bl	_ldns_rr_list_rr_count
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.6:
	str	x19, [sp]                       ; 8-byte Folded Spill
	mov	w24, #0
Lloh2:
	adrp	x19, _LDNS_STATUS_OK@GOTPAGE
Lloh3:
	ldr	x19, [x19, _LDNS_STATUS_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w24, w24, #1
	mov	x0, x21
	bl	_ldns_rr_list_rr_count
	cmp	w24, w0
	b.ge	LBB0_19
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x21
	mov	x1, x24
	bl	_ldns_rr_list_rr
	mov	x26, x0
	bl	_ldns_rr_rrsig_signame
	mov	x25, x0
	mov	x0, x23
	bl	_ldns_resolver_dnssec_anchors
	mov	x2, x0
	add	x4, sp, #12
	mov	x0, x23
	mov	x1, x25
	mov	x3, x20
	bl	_ldns_fetch_valid_domain_keys_time
	mov	x25, x0
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	bl	_ldns_rr_list_rr_count
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w27, #0
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	mov	x1, x27
	bl	_ldns_rr_list_rr
	mov	x28, x0
	mov	x0, x22
	mov	x1, x26
	mov	x2, x28
	mov	x3, x20
	bl	_ldns_verify_rrsig_time
	str	w0, [sp, #12]
	ldr	w8, [x19]
	cmp	w0, w8
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	add	w27, w27, #1
	mov	x0, x25
	bl	_ldns_rr_list_rr_count
	cmp	w27, w0
	b.lt	LBB0_11
	b	LBB0_7
LBB0_13:
Lloh4:
	adrp	x8, _LDNS_STATUS_ERR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LDNS_STATUS_ERR@GOTPAGEOFF]
	b	LBB0_20
LBB0_14:
Lloh6:
	adrp	x8, _LDNS_STATUS_CRYPTO_NO_RRSIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_STATUS_CRYPTO_NO_RRSIG@GOTPAGEOFF]
	b	LBB0_20
LBB0_15:
	ldr	x19, [sp]                       ; 8-byte Folded Reload
	cbz	x19, LBB0_17
; %bb.16:
	mov	x0, x28
	bl	_ldns_rr_clone
	mov	x1, x0
	mov	x0, x19
	bl	_ldns_rr_list_push_rr
LBB0_17:
	mov	x0, x25
	bl	_ldns_rr_list_deep_free
Lloh8:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
	mov	x25, #0
LBB0_19:
	mov	x0, x25
	bl	_ldns_rr_list_deep_free
	add	x8, sp, #12
LBB0_20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_ERR,4,2            ; @LDNS_STATUS_ERR
	.comm	_LDNS_STATUS_CRYPTO_NO_RRSIG,4,2 ; @LDNS_STATUS_CRYPTO_NO_RRSIG
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
.subsections_via_symbols
