	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_validate_domain_ds_time   ## -- Begin function ldns_validate_domain_ds_time
	.p2align	4, 0x90
_ldns_validate_domain_ds_time:          ## @ldns_validate_domain_ds_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
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %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, %r14
	movl	(%rbx), %esi
	movq	_LDNS_SECTION_ANSWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%rax, %rdi
	callq	_ldns_pkt_rr_list_by_type
	movq	%rax, %r13
	movq	_LDNS_RR_TYPE_RRSIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_ldns_pkt_rr_list_by_type
	movq	%rax, %rbx
	movl	%r15d, %ecx
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	xorl	%r8d, %r8d
	callq	_ldns_verify_time
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	xorl	%eax, %eax
	callq	_ldns_rr_list_new
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	jle	LBB0_7
## %bb.4:
	movq	%rbx, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr_clone
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ldns_rr_list_push_rr
	incq	%rbx
	movq	%r13, %rdi
	callq	_ldns_rr_list_rr_count
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.6:
	movq	%r12, %rbx
LBB0_7:
	movq	%r13, %rdi
	callq	_ldns_rr_list_deep_free
	movq	%rbx, %rdi
	callq	_ldns_rr_list_deep_free
	movq	%r14, %rdi
	callq	_ldns_pkt_free
	jmp	LBB0_8
LBB0_1:
	xorl	%r15d, %r15d
LBB0_8:
	movq	%r15, %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
	.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_ds_time   ; -- Begin function ldns_validate_domain_ds_time
	.p2align	2
_ldns_validate_domain_ds_time:          ; @ldns_validate_domain_ds_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
	mov	x22, x3
	mov	x23, x2
Lloh0:
	adrp	x20, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
	ldr	w2, [x20]
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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w1, [x20]
Lloh8:
	adrp	x21, _LDNS_SECTION_ANSWER@GOTPAGE
Lloh9:
	ldr	x21, [x21, _LDNS_SECTION_ANSWER@GOTPAGEOFF]
	ldr	w2, [x21]
	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, [x21]
	mov	x0, x19
	bl	_ldns_pkt_rr_list_by_type
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	mov	x4, #0
	bl	_ldns_verify_time
	mov	x22, #0
Lloh13:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	bl	_ldns_rr_list_new
	mov	x22, x0
	mov	x0, x20
	bl	_ldns_rr_list_rr_count
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x23, #0
LBB0_4:                                 ; =>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_4
LBB0_5:
	mov	x0, x20
	bl	_ldns_rr_list_deep_free
	mov	x0, x21
	bl	_ldns_rr_list_deep_free
	mov	x0, x19
	bl	_ldns_pkt_free
	b	LBB0_7
LBB0_6:
	mov	x22, #0
LBB0_7:
	mov	x0, x22
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.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
	.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
