	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_rrset_use_signature_ttl
_ldns_rrset_use_signature_ttl:          ## @ldns_rrset_use_signature_ttl
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_ldns_rr_rd_count
	cmpl	$4, %eax
	jl	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_ldns_rr_rdf
	movl	%eax, %edi
	callq	_ldns_rdf2native_int32
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_ldns_rr_rdf
	movl	%eax, %edi
	callq	_ldns_rdf2native_int8
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_ldns_rr_list_rr_count
	testq	%rax, %rax
	jle	LBB0_10
## %bb.3:
	xorl	%ebx, %ebx
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %r14
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rdi
	movq	%r14, %rsi
	callq	_ldns_dname_cat
	movq	%r14, %rdi
	callq	_ldns_rdf_deep_free
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr_owner
	movq	%rax, %rdi
	callq	_ldns_rdf_deep_free
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movq	-56(%rbp), %rsi
	movl	%eax, %edi
	callq	_ldns_rr_set_owner
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_ldns_rr_set_ttl
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr2canonical
	incq	%rbx
	movq	%r15, %rdi
	callq	_ldns_rr_list_rr_count
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr_owner
	movq	%rax, %rdi
	callq	_ldns_dname_label_count
	cmpq	%rax, %r12
	jge	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	-56(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_ldns_str2rdf_dname
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr_owner
	movq	%rax, %rdi
	callq	_ldns_rdf_clone
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_ldns_dname_label_count
	cmpq	%rax, %r12
	jge	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	callq	_ldns_dname_left_chop
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_ldns_rdf_deep_free
	movq	%r14, %rdi
	callq	_ldns_dname_label_count
	movq	%r14, %r13
	cmpq	%rax, %r12
	jl	LBB0_7
	jmp	LBB0_8
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

	.no_dead_strip	_ldns_rrset_use_signature_ttl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldns_rrset_use_signature_ttl
_ldns_rrset_use_signature_ttl:          ; @ldns_rrset_use_signature_ttl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x1, LBB0_10
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ldns_rr_rd_count
	cmp	w0, #4
	b.lt	LBB0_10
; %bb.2:
	mov	x0, x21
	mov	w1, #3
	bl	_ldns_rr_rdf
	bl	_ldns_rdf2native_int32
	mov	x20, x0
	mov	x0, x21
	mov	w1, #2
	bl	_ldns_rr_rdf
	bl	_ldns_rdf2native_int8
	mov	x21, x0
	mov	x0, x19
	bl	_ldns_rr_list_rr_count
	cmp	x0, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x22, #0
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x25
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, x24
	bl	_ldns_dname_cat
	mov	x0, x24
	bl	_ldns_rdf_deep_free
	mov	x0, x19
	mov	x1, x22
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_owner
	bl	_ldns_rdf_deep_free
	mov	x0, x19
	mov	x1, x22
	bl	_ldns_rr_list_rr
	ldr	x1, [sp, #8]
	bl	_ldns_rr_set_owner
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_ldns_rr_list_rr
	mov	x1, x20
	bl	_ldns_rr_set_ttl
	mov	x0, x19
	mov	x1, x22
	bl	_ldns_rr_list_rr
	bl	_ldns_rr2canonical
	add	x22, x22, #1
	mov	x0, x19
	bl	_ldns_rr_list_rr_count
	cmp	x22, x0
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x19
	mov	x1, x22
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_owner
	bl	_ldns_dname_label_count
	cmp	x21, x0
	b.ge	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	mov	x1, x23
	bl	_ldns_str2rdf_dname
	mov	x0, x19
	mov	x1, x22
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_owner
	bl	_ldns_rdf_clone
	mov	x25, x0
	bl	_ldns_dname_label_count
	cmp	x21, x0
	b.ge	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	bl	_ldns_dname_left_chop
	mov	x24, x0
	mov	x0, x25
	bl	_ldns_rdf_deep_free
	mov	x0, x24
	bl	_ldns_dname_label_count
	mov	x25, x24
	cmp	x21, x0
	b.lt	LBB0_9
	b	LBB0_5
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

	.no_dead_strip	_ldns_rrset_use_signature_ttl
.subsections_via_symbols
