	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_nsec_proves_insecuredelegation ## -- Begin function val_nsec_proves_insecuredelegation
	.p2align	4, 0x90
_val_nsec_proves_insecuredelegation:    ## @val_nsec_proves_insecuredelegation
	.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, %r14
	movq	%rdi, %rbx
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_nsec_has_type
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_nsec_has_type
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	_LDNS_RR_TYPE_SOA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_nsec_has_type
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r14), %rax
	movl	8(%r14), %edi
	movl	(%rbx), %esi
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.4:
	callq	_dname_strict_subdomain_c
	jmp	LBB0_6
LBB0_5:
	callq	_dname_subdomain_c
LBB0_6:
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NS,8,3            ## @LDNS_RR_TYPE_NS
	.comm	_LDNS_RR_TYPE_DS,8,3            ## @LDNS_RR_TYPE_DS
	.comm	_LDNS_RR_TYPE_SOA,8,3           ## @LDNS_RR_TYPE_SOA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_nsec_proves_insecuredelegation ; -- Begin function val_nsec_proves_insecuredelegation
	.p2align	2
_val_nsec_proves_insecuredelegation:    ; @val_nsec_proves_insecuredelegation
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	bl	_nsec_has_type
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x21, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_nsec_has_type
	cbnz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _LDNS_RR_TYPE_SOA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_RR_TYPE_SOA@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_nsec_has_type
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
LBB0_5:
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	w0, [x20, #8]
	ldr	w1, [x19]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	bl	_dname_strict_subdomain_c
	cbnz	x0, LBB0_8
	b	LBB0_3
LBB0_7:
	bl	_dname_subdomain_c
	cbz	x0, LBB0_3
LBB0_8:
	mov	w0, #1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NS,8,3            ; @LDNS_RR_TYPE_NS
	.comm	_LDNS_RR_TYPE_DS,8,3            ; @LDNS_RR_TYPE_DS
	.comm	_LDNS_RR_TYPE_SOA,8,3           ; @LDNS_RR_TYPE_SOA
.subsections_via_symbols
