	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_chain_nsec3_list   ## -- Begin function ldns_dnssec_chain_nsec3_list
	.p2align	4, 0x90
_ldns_dnssec_chain_nsec3_list:          ## @ldns_dnssec_chain_nsec3_list
	.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
	movq	%rdi, %r15
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	callq	_ldns_rr_list_rr_count
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	xorl	%r12d, %r12d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	callq	_ldns_str2rdf_b32_ext
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_ldns_rdf_deep_free
	movq	%r13, %rdi
	movl	%r15d, %r13d
	callq	_LDNS_FREE
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ldns_rr_list_rr
	movq	-48(%rbp), %rsi
	movl	%eax, %edi
	movl	$4, %edx
	callq	_ldns_rr_set_rdf
	movq	%rbx, %r12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_ldns_rr_list_rr_count
	cltq
	cmpq	%rax, %rbx
	jae	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_ldns_rr_list_rr_count
	decl	%eax
	cltq
	cmpq	%rax, %r12
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr_owner
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ldns_dname_label
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ldns_rdf2str
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	cltq
	cmpb	$46, -1(%rax,%r14)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%r14)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_ldns_str2rdf_b32_ext
	movl	%eax, %r13d
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ldns_rr_list_rr
	movq	-48(%rbp), %rsi
	movl	%eax, %edi
	movl	$4, %edx
	callq	_ldns_rr_set_rdf
	movq	%rbx, %rdi
	callq	_ldns_rdf_deep_free
	movq	%r14, %rdi
	callq	_LDNS_FREE
	incq	%r12
	movq	%r12, %rbx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%r12), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ldns_rr_list_rr
	movl	%eax, %edi
	callq	_ldns_rr_owner
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ldns_dname_label
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ldns_rdf2str
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_strlen
	cltq
	cmpb	$46, -1(%rax,%r13)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%r13)
	jmp	LBB0_8
LBB0_10:
	movl	%r13d, %eax
	addq	$24, %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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_chain_nsec3_list   ; -- Begin function ldns_dnssec_chain_nsec3_list
	.p2align	2
_ldns_dnssec_chain_nsec3_list:          ; @ldns_dnssec_chain_nsec3_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_ldns_rr_list_rr_count
	cbz	w0, LBB0_10
; %bb.1:
	mov	x20, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, x24
	bl	_ldns_str2rdf_b32_ext
	mov	x21, x0
	mov	x0, x23
	bl	_ldns_rdf_deep_free
	mov	x0, x24
	bl	_LDNS_FREE
	mov	x0, x19
	mov	x1, x20
	bl	_ldns_rr_list_rr
	ldr	x1, [sp, #8]
	mov	w2, #4
	bl	_ldns_rr_set_rdf
	mov	x20, x22
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_ldns_rr_list_rr_count
	cmp	x20, w0, sxtw
	b.hs	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ldns_rr_list_rr_count
	sub	w8, w0, #1
	cmp	x20, w8, sxtw
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_owner
	mov	w1, #0
	bl	_ldns_dname_label
	mov	x22, x0
	bl	_ldns_rdf2str
	mov	x23, x0
	bl	_strlen
	add	x8, x23, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #46
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_strlen
	add	x8, x23, w0, sxtw
	sturb	wzr, [x8, #-1]
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	mov	x1, x23
	bl	_ldns_str2rdf_b32_ext
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ldns_rr_list_rr
	ldr	x1, [sp, #8]
	mov	w2, #4
	bl	_ldns_rr_set_rdf
	mov	x0, x22
	bl	_ldns_rdf_deep_free
	mov	x0, x23
	bl	_LDNS_FREE
	add	x20, x20, #1
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x20, #1
	mov	x0, x19
	mov	x1, x22
	bl	_ldns_rr_list_rr
	bl	_ldns_rr_owner
	mov	w1, #0
	bl	_ldns_dname_label
	mov	x23, x0
	bl	_ldns_rdf2str
	mov	x24, x0
	bl	_strlen
	add	x8, x24, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #46
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_strlen
	add	x8, x24, w0, sxtw
	sturb	wzr, [x8, #-1]
	b	LBB0_2
LBB0_10:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
.subsections_via_symbols
