	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_dnssec_zone_hashed_names_from_nsec3
_ldns_dnssec_zone_hashed_names_from_nsec3: ## @ldns_dnssec_zone_hashed_names_from_nsec3
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_ldns_hashed_names_node_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_ldns_traverse_postorder
	movq	8(%r15), %rdi
	callq	_LDNS_FREE
LBB0_2:
	movq	%r14, 16(%r15)
	movq	_ldns_dname_compare_v@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ldns_rbtree_create
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	(%r15), %edi
	callq	_ldns_rbtree_first
	movq	_LDNS_RBTREE_NULL@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_ldns_dnssec_name_make_hashed_name
	movq	%rbx, %rdi
	callq	_ldns_rbtree_next
	movq	%rax, %rbx
	cmpq	(%r12), %rax
	jne	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ldns_hashed_names_node_free,4,2 ## @ldns_hashed_names_node_free
	.comm	_ldns_dname_compare_v,4,2       ## @ldns_dname_compare_v
	.comm	_LDNS_RBTREE_NULL,8,3           ## @LDNS_RBTREE_NULL
	.no_dead_strip	_ldns_dnssec_zone_hashed_names_from_nsec3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ldns_dnssec_zone_hashed_names_from_nsec3
_ldns_dnssec_zone_hashed_names_from_nsec3: ; @ldns_dnssec_zone_hashed_names_from_nsec3
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ldns_hashed_names_node_free@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ldns_hashed_names_node_free@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_ldns_traverse_postorder
	ldr	x0, [x20, #8]
	bl	_LDNS_FREE
LBB0_2:
	str	x19, [x20, #16]
Lloh3:
	adrp	x8, _ldns_dname_compare_v@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ldns_dname_compare_v@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ldns_rbtree_create
	str	x0, [x20, #8]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x20]
	bl	_ldns_rbtree_first
Lloh6:
	adrp	x22, _LDNS_RBTREE_NULL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _LDNS_RBTREE_NULL@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.4:
	mov	x21, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x21]
	mov	x0, x20
	mov	x2, x19
	bl	_ldns_dnssec_name_make_hashed_name
	mov	x0, x21
	bl	_ldns_rbtree_next
	mov	x21, x0
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ldns_hashed_names_node_free,4,2 ; @ldns_hashed_names_node_free
	.comm	_ldns_dname_compare_v,4,2       ; @ldns_dname_compare_v
	.comm	_LDNS_RBTREE_NULL,8,3           ; @LDNS_RBTREE_NULL
	.no_dead_strip	_ldns_dnssec_zone_hashed_names_from_nsec3
.subsections_via_symbols
