	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ldns_dnssec_zone_find_nsec3_original
_ldns_dnssec_zone_find_nsec3_original:  ## @ldns_dnssec_zone_find_nsec3_original
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_ldns_rr_owner
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_ldns_dname_label
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_ldns_rr_get_type
	movq	_LDNS_RR_TYPE_NSEC3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	cmpl	$0, 8(%r14)
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ldns_dnssec_zone_hashed_names_from_nsec3
LBB0_4:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.7:
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ldns_rbtree_search             ## TAILCALL
LBB0_5:
	movq	%r15, %rdi
	callq	_ldns_rdf_deep_free
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ## @LDNS_RR_TYPE_NSEC3
	.no_dead_strip	_ldns_dnssec_zone_find_nsec3_original
.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_find_nsec3_original
_ldns_dnssec_zone_find_nsec3_original:  ; @ldns_dnssec_zone_find_nsec3_original
	.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	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ldns_rr_owner
	mov	w1, #0
	bl	_ldns_dname_label
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	bl	_ldns_rr_get_type
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_NSEC3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_NSEC3@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_5
LBB0_3:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
LBB0_4:
	mov	x1, x20
	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
	b	_ldns_rbtree_search
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_ldns_dnssec_zone_hashed_names_from_nsec3
	ldr	x0, [x19]
	cbnz	x0, LBB0_4
LBB0_6:
	mov	x0, x20
	bl	_ldns_rdf_deep_free
LBB0_7:
	mov	x0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ; @LDNS_RR_TYPE_NSEC3
	.no_dead_strip	_ldns_dnssec_zone_find_nsec3_original
.subsections_via_symbols
