	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_neg_insert_data                ## -- Begin function neg_insert_data
	.p2align	4, 0x90
_neg_insert_data:                       ## @neg_insert_data
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdx), %r12
	movq	16(%rdx), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_dname_count_labels
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	movq	_sec_status_secure@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	_sec_status_unchecked@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_31
## %bb.2:
	cmpq	$0, 8(%rax)
	jle	LBB0_31
LBB0_3:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	16(%rbx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	8(%rbx), %edi
	callq	_ntohs
	movq	%rax, %r14
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	12(%rbx), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%r14, %rcx
	movq	%r12, %r14
	movq	%rax, %r8
	callq	_log_nametypeclass
	movq	%r15, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	callq	_neg_closest_data_parent
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movl	48(%r12), %edi
	movq	%rbx, %rsi
	callq	_query_dname_compare
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	setg	%dil
	testq	%rax, %rax
	jne	LBB0_5
## %bb.8:
	callq	_log_assert
	jmp	LBB0_12
LBB0_4:
	movl	$1, %edi
LBB0_5:
	callq	_log_assert
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	callq	_neg_data_chain
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	$0, 8(%rax)
	leaq	32(%r15), %r12
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rbx
	movq	16(%r14), %r14
	movl	40(%rbx), %eax
	movl	8(%r13), %ecx
	addl	%ecx, %eax
	addl	$56, %eax
	movl	%eax, 8(%r13)
	movq	%r15, 32(%rbx)
	leaq	24(%rbx), %rsi
	movq	%r12, %rdi
	callq	_rbtree_insert
	testq	%r14, %r14
	jne	LBB0_10
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_12:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 8(%r12)
	je	LBB0_13
## %bb.16:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_neg_lru_touch
	jmp	LBB0_17
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_err                        ## TAILCALL
LBB0_13:
	movl	$1, 8(%r12)
	movq	%r12, %rax
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	incq	(%rax)
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_14
## %bb.15:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_neg_lru_front
LBB0_17:
	movl	8(%r14), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_NSEC3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.18:
	leaq	-44(%rbp), %rdx
	leaq	-96(%rbp), %rcx
	leaq	-104(%rbp), %r8
	leaq	-72(%rbp), %r9
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_nsec3_get_params
	testq	%rax, %rax
	je	LBB0_30
## %bb.19:
	movq	-96(%rbp), %rax
	cmpq	(%r13), %rax
	ja	LBB0_30
## %bb.20:
	movl	-44(%rbp), %ecx
	cmpl	(%r15), %ecx
	jne	LBB0_24
## %bb.21:
	cmpq	8(%r15), %rax
	jne	LBB0_24
## %bb.22:
	movq	-72(%rbp), %rdx
	cmpq	16(%r15), %rdx
	jne	LBB0_25
## %bb.23:
	movq	24(%r15), %rdi
	movq	-104(%rbp), %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_30
LBB0_24:
	movq	-72(%rbp), %rdx
LBB0_25:
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.26:
	movq	-104(%rbp), %rdi
	movq	%rdx, %rsi
	callq	_memdup
	testq	%rax, %rax
	je	LBB0_30
## %bb.27:
	movq	%rax, %rbx
	movq	24(%r15), %rdi
	callq	_free
	movq	%rbx, 24(%r15)
	movq	-72(%rbp), %rax
	movq	%rax, 16(%r15)
	jmp	LBB0_29
LBB0_28:
	movq	24(%r15), %rdi
	callq	_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
LBB0_29:
	movq	-96(%rbp), %rax
	movq	%rax, 8(%r15)
	movl	-44(%rbp), %eax
	movl	%eax, (%r15)
LBB0_30:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_wipeout
LBB0_31:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_status_secure,8,3          ## @sec_status_secure
	.comm	_sec_status_unchecked,8,3       ## @sec_status_unchecked
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"negcache rr"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory inserting NSEC negative cache"

	.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	_neg_insert_data                ; -- Begin function neg_insert_data
	.p2align	2
_neg_insert_data:                       ; @neg_insert_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x2, #16]
	ldr	x24, [x2]
	mov	x0, x23
	bl	_dname_count_labels
	mov	x25, x0
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _sec_status_secure@GOTPAGE
Lloh1:
	ldr	x10, [x10, _sec_status_secure@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x10, _sec_status_unchecked@GOTPAGE
Lloh4:
	ldr	x10, [x10, _sec_status_unchecked@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_30
; %bb.2:
	ldr	x8, [x8, #8]
	cmp	x8, #1
	b.lt	LBB0_30
LBB0_3:
Lloh6:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	ldr	x26, [x19, #16]
	ldr	w0, [x19, #8]
	bl	_ntohs
	mov	x27, x0
	ldr	w0, [x19, #12]
	bl	_ntohs
	mov	x4, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x26
	mov	x3, x27
	bl	_log_nametypeclass
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_neg_closest_data_parent
	mov	x22, x0
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w0, [x22, #48]
	mov	x1, x23
	bl	_query_dname_compare
	mov	x8, x0
	ldr	x9, [x22]
	cmp	x9, #0
	cset	w0, gt
	cbnz	x8, LBB0_10
; %bb.5:
	bl	_log_assert
	ldr	w8, [x22, #8]
	cbnz	w8, LBB0_14
LBB0_6:
	mov	w8, #1
	str	w8, [x22, #8]
	mov	x8, x22
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_7
; %bb.8:
	mov	x0, x21
	mov	x1, x22
	bl	_neg_lru_front
	b	LBB0_15
LBB0_9:
	mov	w0, #1
LBB0_10:
	bl	_log_assert
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	x3, x22
	bl	_neg_data_chain
	cbz	x0, LBB0_26
; %bb.11:
	mov	x23, x0
	str	wzr, [x0, #8]
	add	x24, x20, #32
	mov	x26, x0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x26
	ldr	x26, [x26, #16]
	ldr	w8, [x25, #40]
	ldr	w9, [x21, #8]
	add	w8, w8, w9
	add	w8, w8, #56
	str	w8, [x21, #8]
	str	x20, [x25, #32]
	add	x1, x25, #24
	mov	x0, x24
	bl	_rbtree_insert
	cbnz	x26, LBB0_12
; %bb.13:
	str	x22, [x25, #16]
	mov	x22, x23
	ldr	w8, [x22, #8]
	cbz	w8, LBB0_6
LBB0_14:
	mov	x0, x21
	mov	x1, x22
	bl	_neg_lru_touch
LBB0_15:
	ldr	w0, [x19, #8]
	bl	_ntohs
Lloh11:
	adrp	x8, _LDNS_RR_TYPE_NSEC3@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LDNS_RR_TYPE_NSEC3@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_29
; %bb.16:
	add	x2, sp, #28
	mov	x3, sp
	add	x4, sp, #16
	add	x5, sp, #8
	mov	x0, x19
	mov	w1, #0
	bl	_nsec3_get_params
	cbz	x0, LBB0_29
; %bb.17:
	ldr	x8, [sp]
	ldr	x9, [x21]
	cmp	x8, x9
	b.hi	LBB0_29
; %bb.18:
	ldr	w9, [sp, #28]
	ldr	w10, [x20]
	cmp	w9, w10
	b.ne	LBB0_22
; %bb.19:
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.20:
	ldr	x2, [sp, #8]
	ldr	x8, [x20, #16]
	cmp	x2, x8
	b.ne	LBB0_23
; %bb.21:
	ldr	x0, [x20, #24]
	ldr	x1, [sp, #16]
	bl	_memcmp
	cbz	x0, LBB0_29
LBB0_22:
	ldr	x2, [sp, #8]
LBB0_23:
	cbz	x2, LBB0_27
; %bb.24:
	ldr	x0, [sp, #16]
	mov	x1, x2
	bl	_memdup
	cbz	x0, LBB0_29
; %bb.25:
	mov	x23, x0
	ldr	x0, [x20, #24]
	bl	_free
	ldr	x8, [sp, #8]
	stp	x8, x23, [x20, #16]
	b	LBB0_28
LBB0_26:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_log_err
LBB0_27:
	ldr	x0, [x20, #24]
	bl	_free
	stp	xzr, xzr, [x20, #16]
LBB0_28:
	ldr	x8, [sp]
	str	x8, [x20, #8]
	ldr	w8, [sp, #28]
	str	w8, [x20]
LBB0_29:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	bl	_wipeout
LBB0_30:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_status_secure,8,3          ; @sec_status_secure
	.comm	_sec_status_unchecked,8,3       ; @sec_status_unchecked
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"negcache rr"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory inserting NSEC negative cache"

	.comm	_LDNS_RR_TYPE_NSEC3,8,3         ; @LDNS_RR_TYPE_NSEC3
.subsections_via_symbols
