	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_fill_missing             ## -- Begin function cache_fill_missing
	.p2align	4, 0x90
_cache_fill_missing:                    ## @cache_fill_missing
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r15
	movl	$1, %eax
	testq	%r15, %r15
	je	LBB0_17
## %bb.1:
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movl	(%rax), %ebx
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rbx
	callq	_msg_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_delegpt_add_neg_msg
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_lock_rw_unlock
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %r15
	testq	%r15, %r15
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movl	(%rax), %ecx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rbx
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movl	8(%r15), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_delegpt_add_rrset_A
	testl	%eax, %eax
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r15), %edx
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %r8d
	callq	_log_nametypeclass
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rbx
	callq	_msg_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_delegpt_add_neg_msg
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_lock_rw_unlock
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rbx
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movl	8(%r15), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_delegpt_add_rrset_AAAA
	testl	%eax, %eax
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r15), %edx
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %r8d
	callq	_log_nametypeclass
	jmp	LBB0_13
LBB0_16:
	movq	%r14, %rdi
	callq	_lock_rw_unlock
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_15:
	movl	$1, %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_A,4,2             ## @LDNS_RR_TYPE_A
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"found in cache"

	.comm	_LDNS_RR_TYPE_AAAA,4,2          ## @LDNS_RR_TYPE_AAAA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_fill_missing             ; -- Begin function cache_fill_missing
	.p2align	2
_cache_fill_missing:                    ; @cache_fill_missing
	.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
	ldr	x26, [x3]
	cbz	x26, LBB0_15
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	w23, [x8]
Lloh0:
	adrp	x27, _LDNS_RR_TYPE_A@GOTPAGE
Lloh1:
	ldr	x27, [x27, _LDNS_RR_TYPE_A@GOTPAGEOFF]
Lloh2:
	adrp	x28, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh3:
	ldr	x28, [x28, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldp	w2, w1, [x26]
	ldr	w3, [x28]
	mov	x0, x22
	mov	x4, x21
	mov	w5, #0
	mov	x6, x23
	mov	w7, #0
	bl	_msg_cache_lookup
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	mov	x0, x19
	mov	x1, x25
	bl	_delegpt_add_neg_msg
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_lock_rw_unlock
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x26, [x26, #16]
	cbz	x26, LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	ldp	w2, w1, [x26]
	ldr	w3, [x27]
	mov	x4, x21
	mov	w5, #0
	mov	x6, x23
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	ldr	w3, [x26, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	bl	_delegpt_add_rrset_A
	cbz	w0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh6:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w2, [x26, #4]
	ldr	w3, [x27]
	mov	x1, x24
	mov	x4, x21
	bl	_log_nametypeclass
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldp	w2, w1, [x26]
	ldr	w3, [x27]
	mov	x0, x22
	mov	x4, x21
	mov	w5, #0
	mov	x6, x23
	mov	w7, #0
	bl	_msg_cache_lookup
	cbz	x0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	mov	x0, x19
	mov	x1, x25
	bl	_delegpt_add_neg_msg
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_lock_rw_unlock
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x22]
	ldp	w2, w1, [x26]
	ldr	w3, [x28]
	mov	x4, x21
	mov	w5, #0
	mov	x6, x23
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	ldr	w3, [x26, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	bl	_delegpt_add_rrset_AAAA
	cbz	w0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh9:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w2, [x26, #4]
	ldr	w3, [x28]
	mov	x1, x24
	mov	x4, x21
	bl	_log_nametypeclass
	b	LBB0_4
LBB0_15:
	mov	w0, #1
	b	LBB0_17
LBB0_16:
	mov	x0, x25
	bl	_lock_rw_unlock
	mov	w0, #0
LBB0_17:
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_A,4,2             ; @LDNS_RR_TYPE_A
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"found in cache"

	.comm	_LDNS_RR_TYPE_AAAA,4,2          ; @LDNS_RR_TYPE_AAAA
.subsections_via_symbols
