	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_validate_domain_dnskey_time ## -- Begin function ldns_validate_domain_dnskey_time
	.p2align	4, 0x90
_ldns_validate_domain_dnskey_time:      ## @ldns_validate_domain_dnskey_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, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_LDNS_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_ldns_resolver_query
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%r14), %esi
	movq	_LDNS_SECTION_ANSWER@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rax, %rdi
	callq	_ldns_pkt_rr_list_by_type
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r14), %edx
	movq	%rax, %r14
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ldns_pkt_rr_list_by_type
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jle	LBB0_19
## %bb.3:
	xorl	%esi, %esi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	movq	%r14, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	callq	_ldns_rr_list_rr
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	jle	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%r14, %rdi
	callq	_ldns_rr_clone
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ldns_rr_list_push_rr
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	cmpq	%rax, %rbx
	jge	LBB0_18
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ldns_rr_compare_ds
	testq	%rax, %rax
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_ldns_rr_list_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	jle	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	xorl	%r13d, %r13d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=3
	incq	%r13
	movq	%r15, %rdi
	callq	_ldns_rr_list_rr_count
	cmpq	%rax, %r13
	jge	LBB0_16
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ldns_rr_list_rr
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ldns_rr_rrsig_keytag
	movl	%eax, %edi
	callq	_ldns_rdf2native_int16
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_ldns_calc_keytag
	cmpq	%rax, %r12
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	callq	_ldns_verify_rrsig_time
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	movq	%rbx, %rsi
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_19
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_11:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	jle	LBB0_12
## %bb.13:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movq	%rax, %rdi
	callq	_ldns_rr_clone
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ldns_rr_list_push_rr
	incq	%rbx
	movq	%r14, %rdi
	callq	_ldns_rr_list_rr_count
	cmpq	%rax, %rbx
	jl	LBB0_14
	jmp	LBB0_19
LBB0_12:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_19:
	movq	%r14, %rdi
	callq	_ldns_rr_list_deep_free
	movq	%r15, %rdi
	callq	_ldns_rr_list_deep_free
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_ldns_pkt_free
LBB0_20:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,4,2        ## @LDNS_RR_TYPE_DNSKEY
	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
	.comm	_LDNS_RD,4,2                    ## @LDNS_RD
	.comm	_LDNS_SECTION_ANSWER,4,2        ## @LDNS_SECTION_ANSWER
	.comm	_LDNS_RR_TYPE_RRSIG,4,2         ## @LDNS_RR_TYPE_RRSIG
	.comm	_LDNS_STATUS_OK,8,3             ## @LDNS_STATUS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_validate_domain_dnskey_time ; -- Begin function ldns_validate_domain_dnskey_time
	.p2align	2
_ldns_validate_domain_dnskey_time:      ; @ldns_validate_domain_dnskey_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x3
	mov	x25, x2
Lloh0:
	adrp	x19, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh1:
	ldr	x19, [x19, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
	ldr	w2, [x19]
Lloh2:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x8, _LDNS_RD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_RD@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	bl	_ldns_resolver_query
	mov	x22, x0
	cbz	x0, LBB0_18
; %bb.1:
	ldr	w1, [x19]
Lloh8:
	adrp	x19, _LDNS_SECTION_ANSWER@GOTPAGE
Lloh9:
	ldr	x19, [x19, _LDNS_SECTION_ANSWER@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x0, x22
	bl	_ldns_pkt_rr_list_by_type
	mov	x20, x0
Lloh10:
	adrp	x8, _LDNS_RR_TYPE_RRSIG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LDNS_RR_TYPE_RRSIG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x22
	bl	_ldns_pkt_rr_list_by_type
	mov	x21, x0
	mov	x0, x20
	bl	_ldns_rr_list_rr_count
	cmp	x0, #1
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	mov	x22, #0
	b.lt	LBB0_17
; %bb.2:
	mov	x19, #0
Lloh13:
	adrp	x24, _LDNS_STATUS_OK@GOTPAGE
Lloh14:
	ldr	x24, [x24, _LDNS_STATUS_OK@GOTPAGEOFF]
	str	x25, [sp, #24]                  ; 8-byte Folded Spill
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
	mov	x0, x20
	mov	x1, x19
	bl	_ldns_rr_list_rr
	mov	x26, x0
	mov	x0, x25
	bl	_ldns_rr_list_rr_count
	cmp	x0, #1
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	b.lt	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x26
	bl	_ldns_rr_clone
	mov	x1, x0
	mov	x0, x22
	bl	_ldns_rr_list_push_rr
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x27, x27, #1
	mov	x0, x25
	bl	_ldns_rr_list_rr_count
	cmp	x27, x0
	b.ge	LBB0_13
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
	mov	x0, x25
	mov	x1, x27
	bl	_ldns_rr_list_rr
	mov	x1, x26
	bl	_ldns_rr_compare_ds
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	bl	_ldns_rr_list_new
	mov	x22, x0
	mov	x0, x21
	bl	_ldns_rr_list_rr_count
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x28, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=3
	add	x28, x28, #1
	mov	x0, x21
	bl	_ldns_rr_list_rr_count
	cmp	x28, x0
	b.ge	LBB0_5
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x21
	mov	x1, x28
	bl	_ldns_rr_list_rr
	mov	x19, x0
	bl	_ldns_rr_rrsig_keytag
	bl	_ldns_rdf2native_int16
	mov	x25, x0
	mov	x0, x26
	bl	_ldns_calc_keytag
	cmp	x25, x0
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	mov	x0, x20
	mov	x1, x19
	mov	x2, x26
	mov	x3, x23
	bl	_ldns_verify_rrsig_time
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_10
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	add	x19, x19, #1
	mov	x0, x20
	bl	_ldns_rr_list_rr_count
	cmp	x19, x0
	b.lt	LBB0_3
	b	LBB0_17
LBB0_14:
	mov	x0, x20
	bl	_ldns_rr_list_rr_count
	cmp	x0, #1
	b.lt	LBB0_17
; %bb.15:
	mov	x23, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_clone
	mov	x1, x0
	mov	x0, x22
	bl	_ldns_rr_list_push_rr
	add	x23, x23, #1
	mov	x0, x20
	bl	_ldns_rr_list_rr_count
	cmp	x23, x0
	b.lt	LBB0_16
LBB0_17:
	mov	x0, x20
	bl	_ldns_rr_list_deep_free
	mov	x0, x21
	bl	_ldns_rr_list_deep_free
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_ldns_pkt_free
LBB0_18:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DNSKEY,4,2        ; @LDNS_RR_TYPE_DNSKEY
	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
	.comm	_LDNS_RD,4,2                    ; @LDNS_RD
	.comm	_LDNS_SECTION_ANSWER,4,2        ; @LDNS_SECTION_ANSWER
	.comm	_LDNS_RR_TYPE_RRSIG,4,2         ; @LDNS_RR_TYPE_RRSIG
	.comm	_LDNS_STATUS_OK,8,3             ; @LDNS_STATUS_OK
.subsections_via_symbols
