	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_zone_is_nsec3_optout ## -- Begin function ldns_dnssec_zone_is_nsec3_optout
	.p2align	4, 0x90
_ldns_dnssec_zone_is_nsec3_optout:      ## @ldns_dnssec_zone_is_nsec3_optout
	.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
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movq	_LDNS_RR_TYPE_NSEC3PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ldns_dnssec_name_find_rrset
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	(%rbx), %edi
	callq	_ldns_rbtree_first
	movq	_LDNS_RBTREE_NULL@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rbx
	movq	_LDNS_RR_TYPE_NSEC3@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_ldns_rbtree_next
	movq	%rax, %rbx
	cmpq	(%r12), %rax
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_ldns_rr_get_type
	cmpq	(%r13), %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_ldns_nsec3_optout
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	$1, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NSEC3PARAM,4,2    ## @LDNS_RR_TYPE_NSEC3PARAM
	.comm	_LDNS_RBTREE_NULL,8,3           ## @LDNS_RBTREE_NULL
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ## @LDNS_RR_TYPE_NSEC3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_zone_is_nsec3_optout ; -- Begin function ldns_dnssec_zone_is_nsec3_optout
	.p2align	2
_ldns_dnssec_zone_is_nsec3_optout:      ; @ldns_dnssec_zone_is_nsec3_optout
	.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, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_NSEC3PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_NSEC3PARAM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ldns_dnssec_name_find_rrset
	cbz	x0, LBB0_9
; %bb.1:
	ldr	w0, [x19]
	bl	_ldns_rbtree_first
Lloh3:
	adrp	x21, _LDNS_RBTREE_NULL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _LDNS_RBTREE_NULL@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.2:
	mov	x19, x0
Lloh5:
	adrp	x22, _LDNS_RR_TYPE_NSEC3@GOTPAGE
Lloh6:
	ldr	x22, [x22, _LDNS_RR_TYPE_NSEC3@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_ldns_rbtree_next
	mov	x19, x0
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x20, [x8]
	cbz	x20, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_ldns_rr_get_type
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_ldns_nsec3_optout
	cbz	x0, LBB0_3
; %bb.7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NSEC3PARAM,4,2    ; @LDNS_RR_TYPE_NSEC3PARAM
	.comm	_LDNS_RBTREE_NULL,8,3           ; @LDNS_RBTREE_NULL
	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ; @LDNS_RR_TYPE_NSEC3
.subsections_via_symbols
