	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function val_nsec_proves_no_ds
_val_nsec_proves_no_ds:                 ## @val_nsec_proves_no_ds
	.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	(%rsi), %rax
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_log_assert
	movl	(%rbx), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_NSEC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_log_assert
	movq	_LDNS_RR_TYPE_SOA@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_nsec_has_type
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	$1, 8(%r14)
	jne	LBB0_4
LBB0_2:
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_nsec_has_type
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	_sec_status_bogus@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_nsec_has_type
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_sec_status_insecure@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_sec_status_secure@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DS,8,3            ## @LDNS_RR_TYPE_DS
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ## @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_RR_TYPE_SOA,8,3           ## @LDNS_RR_TYPE_SOA
	.comm	_sec_status_bogus,4,2           ## @sec_status_bogus
	.comm	_LDNS_RR_TYPE_NS,8,3            ## @LDNS_RR_TYPE_NS
	.comm	_sec_status_insecure,4,2        ## @sec_status_insecure
	.comm	_sec_status_secure,4,2          ## @sec_status_secure
	.no_dead_strip	_val_nsec_proves_no_ds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function val_nsec_proves_no_ds
_val_nsec_proves_no_ds:                 ; @val_nsec_proves_no_ds
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x21, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
	ldr	w0, [x19]
	bl	_ntohs
Lloh2:
	adrp	x8, _LDNS_RR_TYPE_NSEC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LDNS_RR_TYPE_NSEC@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_log_assert
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_2
; %bb.1:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.ne	LBB0_3
LBB0_2:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_nsec_has_type
	cbz	x0, LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _sec_status_bogus@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sec_status_bogus@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh12:
	ldr	x1, [x8]
	mov	x0, x19
	bl	_nsec_has_type
Lloh13:
	adrp	x8, _sec_status_secure@GOTPAGE
Lloh14:
	ldr	x8, [x8, _sec_status_secure@GOTPAGEOFF]
Lloh15:
	adrp	x9, _sec_status_insecure@GOTPAGE
Lloh16:
	ldr	x9, [x9, _sec_status_insecure@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	w0, [x8]
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DS,8,3            ; @LDNS_RR_TYPE_DS
	.comm	_LDNS_RR_TYPE_NSEC,8,3          ; @LDNS_RR_TYPE_NSEC
	.comm	_LDNS_RR_TYPE_SOA,8,3           ; @LDNS_RR_TYPE_SOA
	.comm	_sec_status_bogus,4,2           ; @sec_status_bogus
	.comm	_LDNS_RR_TYPE_NS,8,3            ; @LDNS_RR_TYPE_NS
	.comm	_sec_status_insecure,4,2        ; @sec_status_insecure
	.comm	_sec_status_secure,4,2          ; @sec_status_secure
	.no_dead_strip	_val_nsec_proves_no_ds
.subsections_via_symbols
