	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_fetch_valid_domain_keys_time ## -- Begin function ldns_fetch_valid_domain_keys_time
	.p2align	4, 0x90
_ldns_fetch_valid_domain_keys_time:     ## @ldns_fetch_valid_domain_keys_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.3:
	movl	%ecx, %r12d
	movq	%rdi, %r13
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ldns_validate_domain_dnskey_time
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	jmp	LBB0_16
LBB0_5:
	movq	_LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ldns_dname_left_chop
	testq	%rax, %rax
	je	LBB0_15
## %bb.6:
	movq	%rax, %rbx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ldns_rdf_size
	testq	%rax, %rax
	jle	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %r15
	movq	%r14, %rdx
	movl	%r12d, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_ldns_fetch_valid_domain_keys_time
	testq	%rax, %rax
	jne	LBB0_9
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_ldns_dname_left_chop
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ldns_rdf_deep_free
	movq	%r13, %rbx
	testq	%r13, %r13
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r15, %r14
	jne	LBB0_7
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_9:
	movq	%rax, %r13
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r14
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rax, %rdx
	movl	%r12d, %ebx
	movl	%r12d, %ecx
	callq	_ldns_validate_domain_ds_time
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	movl	%ebx, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_ldns_fetch_valid_domain_keys_time
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_ldns_rr_list_deep_free
	jmp	LBB0_12
LBB0_11:
	movq	_LDNS_STATUS_CRYPTO_NO_TRUSTED_DS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_12:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_ldns_rr_list_deep_free
LBB0_13:
	movq	%rbx, %rdi
	callq	_ldns_rdf_deep_free
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_16:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_STATUS_OK,4,2             ## @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY,4,2 ## @LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY
	.comm	_LDNS_STATUS_CRYPTO_NO_TRUSTED_DS,4,2 ## @LDNS_STATUS_CRYPTO_NO_TRUSTED_DS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_fetch_valid_domain_keys_time ; -- Begin function ldns_fetch_valid_domain_keys_time
	.p2align	2
_ldns_fetch_valid_domain_keys_time:     ; @ldns_fetch_valid_domain_keys_time
	.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	x25, #0
	cbz	x0, LBB0_17
; %bb.1:
	mov	x22, x1
	cbz	x1, LBB0_17
; %bb.2:
	mov	x24, x2
	cbz	x2, LBB0_17
; %bb.3:
	mov	x19, x4
	mov	x20, x3
	mov	x23, x0
	mov	x1, x22
	mov	x2, x24
	bl	_ldns_validate_domain_dnskey_time
	cbz	x0, LBB0_5
; %bb.4:
	mov	x25, x0
Lloh0:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_17
LBB0_5:
Lloh3:
	adrp	x8, _LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x22
	bl	_ldns_dname_left_chop
	cbz	x0, LBB0_10
; %bb.6:
	mov	x21, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_ldns_rdf_size
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	mov	x3, x20
	mov	x4, x19
	bl	_ldns_fetch_valid_domain_keys_time
	cbnz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_ldns_dname_left_chop
	mov	x25, x0
	mov	x0, x21
	bl	_ldns_rdf_deep_free
	mov	x21, x25
	cbnz	x25, LBB0_7
	b	LBB0_17
LBB0_10:
	mov	x25, #0
	b	LBB0_17
LBB0_11:
	mov	x25, #0
	b	LBB0_16
LBB0_12:
	mov	x26, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x26
	mov	x3, x20
	bl	_ldns_validate_domain_ds_time
	cbz	x0, LBB0_14
; %bb.13:
	mov	x24, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x20
	mov	x4, x19
	bl	_ldns_fetch_valid_domain_keys_time
	mov	x25, x0
	mov	x0, x24
	bl	_ldns_rr_list_deep_free
	b	LBB0_15
LBB0_14:
	mov	x25, #0
Lloh6:
	adrp	x8, _LDNS_STATUS_CRYPTO_NO_TRUSTED_DS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LDNS_STATUS_CRYPTO_NO_TRUSTED_DS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_15:
	mov	x0, x26
	bl	_ldns_rr_list_deep_free
LBB0_16:
	mov	x0, x21
	bl	_ldns_rdf_deep_free
LBB0_17:
	mov	x0, x25
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY,4,2 ; @LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY
	.comm	_LDNS_STATUS_CRYPTO_NO_TRUSTED_DS,4,2 ; @LDNS_STATUS_CRYPTO_NO_TRUSTED_DS
.subsections_via_symbols
