	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_val_neg_getmsg                 ## -- Begin function val_neg_getmsg
	.p2align	4, 0x90
_val_neg_getmsg:                        ## @val_neg_getmsg
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -112(%rbp)
	movq	_LDNS_MAX_DOMAINLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$3, %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r13), %rax
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_2
## %bb.1:
	movq	32(%rbp), %rax
	cmpl	$0, (%rax)
	je	LBB0_33
LBB0_2:
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movl	%ecx, -92(%rbp)                 ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	8(%r13), %rdi
	movq	%r14, %rsi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	setne	%al
	jmp	LBB0_5
LBB0_4:
	movb	$1, %al
LBB0_5:
	movzbl	%al, %edi
	callq	_log_assert
	movq	8(%r13), %rsi
	movq	16(%r13), %rdx
	movl	24(%r13), %ecx
	subq	$8, %rsp
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	pushq	%r15
	callq	_neg_find_nsec
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_25
## %bb.6:
	movq	%rax, %r15
	leaq	-112(%rbp), %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_nsec_proves_nodata
	movq	8(%r13), %rsi
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	cmpq	$0, -112(%rbp)
	jne	LBB0_13
## %bb.8:
	movq	(%r13), %rdx
	movq	16(%r13), %rax
	movl	24(%r13), %ecx
	movq	%rsi, %rdi
	movq	%rax, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movl	$2, %r9d
	callq	_dns_msg_create
	testq	%rax, %rax
	je	LBB0_31
## %bb.9:
	movq	%rax, %r13
	xorl	%r12d, %r12d
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_dns_msg_authadd
	testl	%eax, %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_60
## %bb.10:
	cmpl	$0, 16(%rbp)
	je	LBB0_12
## %bb.11:
	xorl	%r12d, %r12d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	callq	_add_soa
	testl	%eax, %eax
	je	LBB0_60
LBB0_12:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_lock_basic_lock
	incl	8(%r15)
	movq	%r15, %rdi
	callq	_lock_basic_unlock
	movq	%r13, %r12
	jmp	LBB0_60
LBB0_13:
	movq	%r15, %rdi
	callq	_val_nsec_proves_name_error
	testq	%rax, %rax
	je	LBB0_25
## %bb.14:
	movq	(%r13), %rdx
	movq	8(%r13), %rdi
	movq	16(%r13), %rsi
	movl	24(%r13), %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	$3, %r9d
	callq	_dns_msg_create
	testq	%rax, %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_33
## %bb.15:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%r13), %rdi
	movq	%r15, %rsi
	callq	_nsec_closest_encloser
	testq	%rax, %rax
	je	LBB0_33
## %bb.16:
	movq	%rax, %rbx
	leaq	-120(%rbp), %rsi
	movq	%rax, %rdi
	callq	_dname_count_size_labels
	movq	-112(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	movq	%rbx, %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_51
LBB0_18:
	movabsq	$180388626433, %rax             ## imm = 0x2A00000001
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%rax, (%r12)
	movq	%r12, %rdi
	addq	$8, %rdi
	movq	-120(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_memmove
	movq	%r12, -152(%rbp)
	movq	-120(%rbp), %rbx
	addq	$2, %rbx
	movq	%rbx, -144(%rbp)
	movq	(%r13), %rcx
	movq	%rcx, -160(%rbp)
	movl	24(%r13), %r8d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_42
## %bb.19:
	movq	%rax, %rbx
	addq	$16, %rbx
	movq	24(%rax), %rcx
	movq	(%rcx), %rdx
	movq	_sec_status_secure@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_22
## %bb.20:
	movq	_sec_status_unchecked@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_45
## %bb.21:
	cmpq	$0, 8(%rcx)
	jle	LBB0_45
LBB0_22:
	movq	%rax, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_packed_rrset_copy_region
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_lock_rw_unlock
	testq	%r14, %r14
	je	LBB0_31
## %bb.23:
	movq	8(%r13), %rax
	movq	%rax, (%r14)
	movq	16(%r13), %rax
	movq	%rax, 8(%r14)
	xorl	%r12d, %r12d
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_dns_msg_ansadd
	testl	%eax, %eax
	je	LBB0_32
## %bb.24:
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_dns_msg_authadd
	testl	%eax, %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_54
	jmp	LBB0_60
LBB0_25:
	movq	(%r13), %rax
	cmpq	(%r12), %rax
	jne	LBB0_31
## %bb.26:
	movq	8(%r13), %rax
	movq	%rax, -160(%rbp)
	movq	16(%r13), %rax
	movq	%rax, -120(%rbp)
	leaq	-160(%rbp), %rdi
	leaq	-120(%rbp), %rsi
	callq	_dname_remove_label
	movq	-160(%rbp), %rdi
	callq	_dname_count_labels
	movl	%eax, %r15d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_lock_basic_lock
	movq	-160(%rbp), %rsi
	movq	-120(%rbp), %rdx
	movl	24(%r13), %r8d
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	callq	_neg_closest_zone_parent
	testq	%rax, %rax
	je	LBB0_30
## %bb.27:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 16(%rbx)
	jne	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_28
LBB0_30:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_lock_basic_unlock
LBB0_31:
	xorl	%r12d, %r12d
LBB0_32:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_60
LBB0_34:
	testq	%r14, %r14
	je	LBB0_36
## %bb.35:
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_dname_subdomain_c
	testq	%rax, %rax
	je	LBB0_30
LBB0_36:
	movq	8(%r13), %rsi
	movq	16(%r13), %rdx
	incl	%r15d
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	pushq	%r14
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	pushq	%r14
	callq	_neg_nsec3_proof_ds
	addq	$32, %rsp
	movq	%rax, %r12
	cmpl	$0, 16(%rbp)
	je	LBB0_39
## %bb.37:
	testq	%r12, %r12
	je	LBB0_39
## %bb.38:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_add_soa
	testl	%eax, %eax
	je	LBB0_30
LBB0_39:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_lock_basic_unlock
	jmp	LBB0_32
LBB0_42:
	movl	24(%r13), %ecx
	subq	$8, %rsp
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_neg_find_nsec
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_33
## %bb.43:
	movq	%rax, %rbx
	movq	$0, -112(%rbp)
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_val_nsec_proves_name_error
	testq	%rax, %rax
	je	LBB0_47
## %bb.44:
	movq	_LDNS_RCODE_NXDOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	jmp	LBB0_49
LBB0_45:
	movq	%rbx, %rdi
	callq	_lock_rw_unlock
LBB0_33:
	xorl	%r12d, %r12d
LBB0_60:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.61:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	leaq	-160(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nsec_proves_nodata
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_60
## %bb.48:
	cmpq	$0, -112(%rbp)
	jne	LBB0_60
LBB0_49:
	movq	(%rbx), %rdi
	movq	(%r15), %rsi
	callq	_query_dname_compare
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:
	xorl	%r12d, %r12d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_dns_msg_authadd
	testl	%eax, %eax
	je	LBB0_60
LBB0_51:
	xorl	%r12d, %r12d
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_dns_msg_authadd
	testl	%eax, %eax
	je	LBB0_60
## %bb.52:
	cmpl	$0, 16(%rbp)
	je	LBB0_54
## %bb.53:
	xorl	%r12d, %r12d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_add_soa
	testl	%eax, %eax
	je	LBB0_60
LBB0_54:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_lock_basic_lock
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_56
## %bb.55:
	leaq	8(%rbx), %rax
	jmp	LBB0_58
LBB0_56:
	movq	_LDNS_RCODE_NXDOMAIN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_59
## %bb.57:
	leaq	4(%rbx), %rax
LBB0_58:
	incl	(%rax)
LBB0_59:
	movq	%rbx, %rdi
	callq	_lock_basic_unlock
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	(%r12), %rax
	movl	(%rax), %edi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	callq	_FLAGS_SET_RCODE
	jmp	LBB0_60
LBB0_62:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ## @LDNS_MAX_DOMAINLEN
	.comm	_LDNS_RCODE_NOERROR,4,2         ## @LDNS_RCODE_NOERROR
	.comm	_LDNS_RR_TYPE_DS,8,3            ## @LDNS_RR_TYPE_DS
	.comm	_sec_status_secure,8,3          ## @sec_status_secure
	.comm	_sec_status_unchecked,8,3       ## @sec_status_unchecked
	.comm	_LDNS_RCODE_NXDOMAIN,4,2        ## @LDNS_RCODE_NXDOMAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function val_neg_getmsg
lCPI0_0:
	.long	1                               ; 0x1
	.long	42                              ; 0x2a
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_val_neg_getmsg
	.p2align	2
_val_neg_getmsg:                        ; @val_neg_getmsg
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	mov	x24, x7
	mov	x21, x5
	mov	x26, x4
	mov	x22, x3
	mov	x20, x2
	mov	x25, x1
	mov	x19, x0
	mov	x12, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	xzr, [x29, #-96]
Lloh3:
	adrp	x8, _LDNS_MAX_DOMAINLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_MAX_DOMAINLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #3
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x28, x9, x8
	mov	sp, x28
Lloh8:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x8]
	ldr	x8, [x1]
Lloh11:
	adrp	x23, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh12:
	ldr	x23, [x23, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x29, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_36
LBB0_2:
	stp	w10, w6, [x29, #-152]           ; 8-byte Folded Spill
	stur	x12, [x29, #-144]               ; 8-byte Folded Spill
	cbz	x24, LBB0_4
; %bb.3:
	ldr	x0, [x25, #8]
	mov	x1, x24
	bl	_dname_subdomain_c
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	bl	_log_assert
	ldp	x1, x2, [x25, #8]
	ldr	w3, [x25, #24]
	mov	x0, x19
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	bl	_neg_find_nsec
	cbz	x0, LBB0_26
; %bb.6:
	mov	x27, x0
	sub	x2, x29, #96
	mov	x1, x25
	bl	_nsec_proves_nodata
	ldr	x1, [x25, #8]
	cbz	x0, LBB0_14
; %bb.7:
	ldur	x8, [x29, #-96]
	cbnz	x8, LBB0_14
; %bb.8:
	ldr	x8, [x25, #16]
	ldr	x2, [x25]
	ldr	w3, [x25, #24]
	mov	x0, x1
	mov	x1, x8
	mov	x4, x20
	mov	w5, #2
	bl	_dns_msg_create
	mov	x24, x0
	cbz	x0, LBB0_33
; %bb.9:
	mov	x0, x24
	mov	x1, x20
	mov	x2, x27
	mov	w3, #0
	bl	_dns_msg_authadd
	cbz	w0, LBB0_32
; %bb.10:
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
	cbz	w8, LBB0_12
; %bb.11:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x24
	mov	x4, #0
	bl	_add_soa
	cbz	w0, LBB0_32
LBB0_12:
	mov	x0, x19
	bl	_lock_basic_lock
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
LBB0_13:
	mov	x0, x19
	bl	_lock_basic_unlock
	b	LBB0_33
LBB0_14:
	mov	x0, x27
	bl	_val_nsec_proves_name_error
	cbz	x0, LBB0_26
; %bb.15:
	ldp	x0, x1, [x25, #8]
	ldr	x2, [x25]
	ldr	w3, [x25, #24]
	mov	x4, x20
	mov	w5, #3
	bl	_dns_msg_create
	cbz	x0, LBB0_32
; %bb.16:
	mov	x26, x0
	ldr	x0, [x25, #8]
	mov	x1, x27
	bl	_nsec_closest_encloser
	mov	x24, x0
	cbz	x0, LBB0_33
; %bb.17:
	sub	x1, x29, #104
	mov	x0, x24
	bl	_dname_count_size_labels
	ldur	x0, [x29, #-96]
	cbz	x0, LBB0_19
; %bb.18:
	mov	x1, x24
	bl	_query_dname_compare
	cbz	x0, LBB0_50
LBB0_19:
Lloh13:
	adrp	x8, lCPI0_0@PAGE
Lloh14:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x28]
	add	x0, x28, #8
	ldur	x2, [x29, #-104]
	mov	x1, x24
	bl	_memmove
	ldur	x8, [x29, #-104]
	add	x24, x8, #2
	stp	x28, x24, [x29, #-128]
	ldr	x3, [x25]
	stur	x3, [x29, #-136]
	ldr	w4, [x25, #24]
	mov	x0, x22
	mov	x1, x28
	mov	x2, x24
	mov	w5, #0
	mov	x6, x21
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_42
; %bb.20:
	add	x22, x0, #16
	ldr	x8, [x0, #24]
	ldr	x9, [x8]
Lloh15:
	adrp	x10, _sec_status_secure@GOTPAGE
Lloh16:
	ldr	x10, [x10, _sec_status_secure@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_23
; %bb.21:
Lloh18:
	adrp	x10, _sec_status_unchecked@GOTPAGE
Lloh19:
	ldr	x10, [x10, _sec_status_unchecked@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_45
; %bb.22:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	b.le	LBB0_45
LBB0_23:
	mov	x1, x20
	mov	x2, x21
	bl	_packed_rrset_copy_region
	mov	x21, x0
	mov	x0, x22
	bl	_lock_rw_unlock
	cbz	x21, LBB0_32
; %bb.24:
	ldr	x8, [x25, #8]
	str	x8, [x21]
	ldr	x8, [x25, #16]
	str	x8, [x21, #8]
	mov	x0, x26
	mov	x1, x20
	mov	x2, x21
	mov	w3, #0
	bl	_dns_msg_ansadd
	cbz	w0, LBB0_32
; %bb.25:
	mov	x0, x26
	mov	x1, x20
	mov	x2, x27
	mov	w3, #0
	bl	_dns_msg_authadd
	b	LBB0_53
LBB0_26:
	ldr	x8, [x25]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.27:
	ldp	x8, x9, [x25, #8]
	stur	x8, [x29, #-136]
	stur	x9, [x29, #-104]
	sub	x0, x29, #136
	sub	x1, x29, #104
	bl	_dname_remove_label
	ldur	x0, [x29, #-136]
	bl	_dname_count_labels
	mov	x28, x0
	mov	x0, x19
	bl	_lock_basic_lock
	ldur	x1, [x29, #-136]
	ldur	x2, [x29, #-104]
	ldr	w4, [x25, #24]
	mov	x0, x19
	mov	x3, x28
	bl	_neg_closest_zone_parent
	cbz	x0, LBB0_31
; %bb.28:
	mov	x27, x0
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x27, #16]
	cbnz	w8, LBB0_37
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	x27, [x27, #8]
	cbnz	x27, LBB0_29
LBB0_31:
	mov	x0, x19
	bl	_lock_basic_unlock
LBB0_32:
	mov	x24, #0
LBB0_33:
	ldur	x12, [x29, #-144]               ; 8-byte Folded Reload
LBB0_34:
	mov	sp, x12
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.35:
	mov	x0, x24
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_36:
	mov	x24, #0
	b	LBB0_34
LBB0_37:
	cbz	x24, LBB0_39
; %bb.38:
	ldr	x0, [x27]
	mov	x1, x24
	bl	_dname_subdomain_c
	cbz	x0, LBB0_31
LBB0_39:
	ldp	x1, x2, [x25, #8]
	add	w3, w28, #1
	str	x24, [sp, #-16]!
	mov	x0, x27
	mov	x4, x26
	mov	x5, x22
	mov	x6, x20
	mov	x7, x21
	bl	_neg_nsec3_proof_ds
	add	sp, sp, #16
	mov	x24, x0
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
	cbz	w8, LBB0_13
; %bb.40:
	cbz	x24, LBB0_13
; %bb.41:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x24
	mov	x4, x27
	bl	_add_soa
	cbnz	w0, LBB0_13
	b	LBB0_31
LBB0_42:
	ldr	w3, [x25, #24]
	mov	x0, x19
	mov	x1, x28
	mov	x2, x24
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	bl	_neg_find_nsec
	cbz	x0, LBB0_32
; %bb.43:
	mov	x25, x0
	stur	xzr, [x29, #-96]
	mov	x1, x28
	bl	_val_nsec_proves_name_error
	cbz	x0, LBB0_46
; %bb.44:
Lloh24:
	adrp	x8, _LDNS_RCODE_NXDOMAIN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LDNS_RCODE_NXDOMAIN@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	stur	w8, [x29, #-152]                ; 4-byte Folded Spill
	b	LBB0_48
LBB0_45:
	mov	x0, x22
	bl	_lock_rw_unlock
	b	LBB0_32
LBB0_46:
	sub	x1, x29, #136
	sub	x2, x29, #96
	mov	x0, x25
	bl	_nsec_proves_nodata
	mov	x24, #0
	cbz	x0, LBB0_33
; %bb.47:
	ldur	x8, [x29, #-96]
	ldur	x12, [x29, #-144]               ; 8-byte Folded Reload
	cbnz	x8, LBB0_34
LBB0_48:
	ldr	x0, [x25]
	ldr	x1, [x27]
	bl	_query_dname_compare
	cbz	x0, LBB0_50
; %bb.49:
	mov	x0, x26
	mov	x1, x20
	mov	x2, x25
	mov	w3, #0
	bl	_dns_msg_authadd
	cbz	w0, LBB0_32
LBB0_50:
	mov	x0, x26
	mov	x1, x20
	mov	x2, x27
	mov	w3, #0
	bl	_dns_msg_authadd
	cbz	w0, LBB0_32
; %bb.51:
	ldur	w8, [x29, #-148]                ; 4-byte Folded Reload
	cbz	w8, LBB0_54
; %bb.52:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x26
	mov	x4, #0
	bl	_add_soa
LBB0_53:
	ldur	w20, [x29, #-152]               ; 4-byte Folded Reload
	cbnz	w0, LBB0_55
	b	LBB0_32
LBB0_54:
	ldur	w20, [x29, #-152]               ; 4-byte Folded Reload
LBB0_55:
	mov	x0, x19
	bl	_lock_basic_lock
Lloh27:
	adrp	x8, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_57
; %bb.56:
	add	x8, x19, #8
	b	LBB0_59
LBB0_57:
Lloh30:
	adrp	x8, _LDNS_RCODE_NXDOMAIN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LDNS_RCODE_NXDOMAIN@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_60
; %bb.58:
	add	x8, x19, #4
LBB0_59:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_60:
	mov	x0, x19
	bl	_lock_basic_unlock
	ldr	x8, [x26]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_FLAGS_SET_RCODE
	mov	x24, x26
	b	LBB0_33
LBB0_61:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_MAX_DOMAINLEN,4,2         ; @LDNS_MAX_DOMAINLEN
	.comm	_LDNS_RCODE_NOERROR,4,2         ; @LDNS_RCODE_NOERROR
	.comm	_LDNS_RR_TYPE_DS,8,3            ; @LDNS_RR_TYPE_DS
	.comm	_sec_status_secure,8,3          ; @sec_status_secure
	.comm	_sec_status_unchecked,8,3       ; @sec_status_unchecked
	.comm	_LDNS_RCODE_NXDOMAIN,4,2        ; @LDNS_RCODE_NXDOMAIN
.subsections_via_symbols
