	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dns_cache_lookup               ## -- Begin function dns_cache_lookup
	.p2align	4, 0x90
_dns_cache_lookup:                      ## @dns_cache_lookup
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	16(%rbp), %r12
	movq	24(%rdi), %rax
	movl	(%rax), %r15d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -104(%rbp)
	movq	%rdx, %r14
	movq	%rdx, -120(%rbp)
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -112(%rbp)
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -88(%rbp)
	movq	$0, -96(%rbp)
	leaq	-120(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r9, -136(%rbp)                 ## 8-byte Spill
	movq	%r9, %rsi
	callq	_query_info_hash
	movl	(%r13), %edi
	movl	%eax, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_slabhash_lookup
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	8(%rax), %rdx
	movq	16(%rax), %rsi
	movq	%r13, %rdi
	movq	%r12, %rcx
	movl	%r15d, %r8d
	movq	24(%rbp), %r9
	callq	_tomsg
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_lock_rw_unlock
	testq	%r12, %r12
	jne	LBB0_43
LBB0_2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, 32(%rbp)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %r15
	je	LBB0_3
LBB0_15:
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %r12
	cmpq	%rbx, (%r12)
	je	LBB0_18
## %bb.16:
	movq	_LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_18
## %bb.17:
	movq	_LDNS_RR_TYPE_DLV@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_26
LBB0_18:
	movl	16(%r13), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	xorl	%r9d, %r9d
	pushq	$0
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_26
## %bb.19:
	movq	%rax, %r14
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	_rrset_trust_add_noAA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.20:
	movq	_rrset_trust_add_AA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.21:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%r12)
	je	LBB0_24
## %bb.22:
	movq	_rrset_trust_auth_noAA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.23:
	movq	_rrset_trust_auth_AA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
LBB0_24:
	leaq	-120(%rbp), %rcx
	movq	%r14, %rdi
	movq	16(%rbp), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_rrset_msg
	testq	%rax, %rax
	jne	LBB0_44
LBB0_25:
	movq	%r14, %rdi
	callq	_lock_rw_unlock
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_26:
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	8(%r13), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_40
## %bb.27:
	movq	-104(%rbp), %rdi
	callq	_dname_is_root
	testl	%eax, %eax
	je	LBB0_28
LBB0_40:
	movq	_LDNS_RR_TYPE_ANY@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_41
## %bb.42:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movq	%rbx, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	16(%rbp), %r9
	callq	_fill_any
	movq	%rax, %r12
	jmp	LBB0_43
LBB0_41:
	xorl	%r12d, %r12d
LBB0_43:
	movq	%r12, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_LDNS_RR_TYPE_DNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	pushq	$1
	callq	_find_closest_of_type
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r14
	movq	_sec_status_unchecked@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	leaq	-120(%rbp), %rcx
	leaq	-80(%rbp), %r8
	movq	%r14, %rdi
	movq	16(%rbp), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_synth_dname_msg
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_lock_rw_unlock
	testq	%r12, %r12
	je	LBB0_8
## %bb.5:
	movl	-80(%rbp), %eax
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_43
## %bb.6:
	movl	16(%r13), %edi
	movq	_LDNS_RR_TYPE_CNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%rbx
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	callq	_lock_rw_unlock
	jmp	LBB0_43
LBB0_28:
	leaq	-120(%rbp), %r15
	jmp	LBB0_29
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	16(%rbp), %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	24(%rbp), %r9
	callq	_tomsg
	testq	%rax, %rax
	jne	LBB0_45
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r14, %rdi
	callq	_lock_rw_unlock
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_39:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%rbx, -112(%rbp)
	movq	-104(%rbp), %rdi
	callq	_dname_is_root
	testl	%eax, %eax
	jne	LBB0_40
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	leaq	-104(%rbp), %rdi
	movq	%r15, %rsi
	callq	_dname_remove_label
	movq	%r15, %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	callq	_query_info_hash
	movl	(%r13), %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_slabhash_lookup
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_30
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%r14), %rbx
	movl	24(%rbx), %edi
	callq	_FLAGS_GET_RCODE
	movq	_LDNS_RCODE_NXDOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	(%rbx), %eax
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_CNAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_37
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, -112(%rbp)
	je	LBB0_39
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%r13), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_39
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%rax, -112(%rbp)
	movq	%r15, %rdi
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	callq	_query_info_hash
	movl	(%r13), %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_slabhash_lookup
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_33
	jmp	LBB0_39
LBB0_8:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_9:
	movq	_LDNS_RR_TYPE_DS@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_15
## %bb.10:
	movl	16(%r13), %edi
	movq	_LDNS_RR_TYPE_CNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	xorl	%r9d, %r9d
	pushq	$0
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	%rax, %r14
	movq	$0, -80(%rbp)
	leaq	-80(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	movq	%rax, %rdi
	callq	_val_rrset_wildcard
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	cmpq	$0, -80(%rbp)
	jne	LBB0_14
LBB0_13:
	leaq	-120(%rbp), %rcx
	movq	%r14, %rdi
	movq	16(%rbp), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_rrset_msg
	testq	%rax, %rax
	je	LBB0_14
LBB0_44:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_lock_rw_unlock
	jmp	LBB0_43
LBB0_14:
	movq	%r14, %rdi
	callq	_lock_rw_unlock
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_45:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_lock_rw_unlock
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r12)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 8(%r12)
	movq	_sec_status_unchecked@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	%rax, (%rcx)
	movq	%r12, %rdi
	callq	_iter_scrub_nxdomain
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_DNAME,4,2         ## @LDNS_RR_TYPE_DNAME
	.comm	_sec_status_unchecked,8,3       ## @sec_status_unchecked
	.comm	_sec_status_secure,4,2          ## @sec_status_secure
	.comm	_LDNS_RR_TYPE_CNAME,8,3         ## @LDNS_RR_TYPE_CNAME
	.comm	_LDNS_RR_TYPE_DS,8,3            ## @LDNS_RR_TYPE_DS
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ## @LDNS_RR_TYPE_DNSKEY
	.comm	_LDNS_RR_TYPE_DLV,8,3           ## @LDNS_RR_TYPE_DLV
	.comm	_rrset_trust_add_noAA,8,3       ## @rrset_trust_add_noAA
	.comm	_rrset_trust_add_AA,8,3         ## @rrset_trust_add_AA
	.comm	_rrset_trust_auth_noAA,8,3      ## @rrset_trust_auth_noAA
	.comm	_rrset_trust_auth_AA,8,3        ## @rrset_trust_auth_AA
	.comm	_LDNS_RR_TYPE_A,8,3             ## @LDNS_RR_TYPE_A
	.comm	_LDNS_RCODE_NXDOMAIN,8,3        ## @LDNS_RCODE_NXDOMAIN
	.comm	_LDNS_RR_TYPE_ANY,8,3           ## @LDNS_RR_TYPE_ANY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dns_cache_lookup               ; -- Begin function dns_cache_lookup
	.p2align	2
_dns_cache_lookup:                      ; @dns_cache_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x22, x7
	mov	x28, x6
	mov	x24, x0
	ldr	x8, [x0, #24]
	ldr	w27, [x8]
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	stp	x2, x3, [sp, #40]
	mov	x23, x3
	mov	x19, x4
	stp	xzr, x4, [sp, #64]
	mov	x21, x1
	str	x1, [sp, #56]
	add	x0, sp, #40
	mov	x26, x5
	mov	x1, x5
	bl	_query_info_hash
	mov	x1, x0
	ldr	w0, [x24]
	add	x2, sp, #40
	mov	w3, #0
	bl	_slabhash_lookup
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldp	x2, x1, [x0, #8]
	mov	x0, x24
	mov	x3, x28
	mov	x4, x27
	mov	x5, x22
	bl	_tomsg
	mov	x25, x0
	mov	x0, x20
	bl	_lock_rw_unlock
	cbnz	x25, LBB0_15
LBB0_2:
	stp	x22, x28, [sp]                  ; 16-byte Folded Spill
	ldr	w8, [x29, #16]
Lloh0:
	adrp	x28, _LDNS_RR_TYPE_DS@GOTPAGE
Lloh1:
	ldr	x28, [x28, _LDNS_RR_TYPE_DS@GOTPAGEOFF]
	mov	x22, x19
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	cbz	w8, LBB0_16
LBB0_3:
	ldr	x8, [x28]
Lloh2:
	adrp	x9, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _LDNS_RR_TYPE_DLV@GOTPAGE
Lloh6:
	ldr	x10, [x10, _LDNS_RR_TYPE_DLV@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x23
	ccmp	x9, x23, #4, ne
	ccmp	x10, x23, #4, ne
	b.ne	LBB0_10
; %bb.4:
	ldr	w0, [x24, #16]
	mov	x1, x21
	mov	x2, x19
	mov	x3, x23
	mov	x4, x22
	mov	w5, #0
	mov	x6, x27
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_10
; %bb.5:
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _rrset_trust_add_noAA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _rrset_trust_add_noAA@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _rrset_trust_add_AA@GOTPAGE
Lloh12:
	ldr	x10, [x10, _rrset_trust_add_AA@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_9
; %bb.6:
	ldr	x9, [x28]
	cmp	x9, x23
	b.eq	LBB0_8
; %bb.7:
Lloh14:
	adrp	x9, _rrset_trust_auth_noAA@GOTPAGE
Lloh15:
	ldr	x9, [x9, _rrset_trust_auth_noAA@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _rrset_trust_auth_AA@GOTPAGE
Lloh18:
	ldr	x10, [x10, _rrset_trust_auth_AA@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_9
LBB0_8:
	add	x3, sp, #40
	mov	x0, x20
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x27
	bl	_rrset_msg
	cbnz	x0, LBB0_25
LBB0_9:
	mov	x0, x20
	bl	_lock_rw_unlock
LBB0_10:
	ldr	x8, [x24, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	x0, [sp, #56]
	bl	_dname_is_root
	cbz	w0, LBB0_26
LBB0_12:
Lloh20:
	adrp	x8, _LDNS_RR_TYPE_ANY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LDNS_RR_TYPE_ANY@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x24
	mov	x1, x21
	ldp	x5, x2, [sp, #8]                ; 16-byte Folded Reload
	mov	x3, x23
	mov	x4, x22
	bl	_fill_any
	mov	x25, x0
	b	LBB0_15
LBB0_14:
	mov	x25, #0
LBB0_15:
	mov	x0, x25
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_16:
Lloh23:
	adrp	x8, _LDNS_RR_TYPE_DNAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LDNS_RR_TYPE_DNAME@GOTPAGEOFF]
Lloh25:
	ldr	w5, [x8]
	mov	x0, x24
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	mov	x4, x27
	mov	w6, #1
	bl	_find_closest_of_type
	cbz	x0, LBB0_21
; %bb.17:
	mov	x20, x0
Lloh26:
	adrp	x8, _sec_status_unchecked@GOTPAGE
Lloh27:
	ldr	x8, [x8, _sec_status_unchecked@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	str	w8, [sp, #32]
	add	x3, sp, #40
	add	x4, sp, #32
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x27
	bl	_synth_dname_msg
	mov	x25, x0
	mov	x0, x20
	bl	_lock_rw_unlock
	cbz	x25, LBB0_21
; %bb.18:
	ldr	w8, [sp, #32]
Lloh29:
	adrp	x9, _sec_status_secure@GOTPAGE
Lloh30:
	ldr	x9, [x9, _sec_status_secure@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_15
; %bb.19:
	ldr	w0, [x24, #16]
Lloh32:
	adrp	x8, _LDNS_RR_TYPE_CNAME@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LDNS_RR_TYPE_CNAME@GOTPAGEOFF]
Lloh34:
	ldr	x3, [x8]
	mov	x1, x21
	mov	x2, x19
	mov	x4, x22
	mov	w5, #0
	mov	x6, x27
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_21
; %bb.20:
	bl	_lock_rw_unlock
	b	LBB0_15
LBB0_21:
	ldr	x8, [x28]
	cmp	x8, x23
	b.eq	LBB0_3
; %bb.22:
	ldr	w0, [x24, #16]
Lloh35:
	adrp	x8, _LDNS_RR_TYPE_CNAME@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LDNS_RR_TYPE_CNAME@GOTPAGEOFF]
Lloh37:
	ldr	x3, [x8]
	mov	x1, x21
	mov	x2, x19
	mov	x4, x22
	mov	w5, #0
	mov	x6, x27
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_3
; %bb.23:
	mov	x20, x0
	str	xzr, [sp, #32]
	add	x1, sp, #32
	add	x2, sp, #24
	bl	_val_rrset_wildcard
	ldr	x8, [sp, #32]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_38
; %bb.24:
	add	x3, sp, #40
	mov	x0, x20
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x27
	bl	_rrset_msg
	cbz	x0, LBB0_38
LBB0_25:
	mov	x25, x0
	mov	x0, x20
	bl	_lock_rw_unlock
	b	LBB0_15
LBB0_26:
	add	x8, sp, #40
	add	x28, x8, #16
Lloh38:
	adrp	x19, _LDNS_RCODE_NXDOMAIN@GOTPAGE
Lloh39:
	ldr	x19, [x19, _LDNS_RCODE_NXDOMAIN@GOTPAGEOFF]
	b	LBB0_30
LBB0_27:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x1, sp, #40
	mov	x0, x24
	mov	x2, x25
	ldp	x5, x3, [sp]                    ; 16-byte Folded Reload
	mov	x4, x27
	bl	_tomsg
	cbnz	x0, LBB0_39
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x20
	bl	_lock_rw_unlock
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	str	x23, [sp, #48]
	ldr	x0, [sp, #56]
	bl	_dname_is_root
	cbnz	w0, LBB0_12
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #40
	mov	x0, x28
	bl	_dname_remove_label
	add	x0, sp, #40
	mov	x1, x26
	bl	_query_info_hash
	mov	x1, x0
	ldr	w0, [x24]
	add	x2, sp, #40
	mov	w3, #0
	bl	_slabhash_lookup
	mov	x20, x0
	cbz	x0, LBB0_35
LBB0_31:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x25, [x20, #8]
	ldr	w0, [x25, #24]
	bl	_FLAGS_GET_RCODE
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_28
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x25]
Lloh40:
	adrp	x9, _sec_status_secure@GOTPAGE
Lloh41:
	ldr	x9, [x9, _sec_status_secure@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.33:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_27
; %bb.34:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [x25, #16]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_ntohs
Lloh43:
	adrp	x8, _LDNS_RR_TYPE_CNAME@GOTPAGE
Lloh44:
	ldr	x8, [x8, _LDNS_RR_TYPE_CNAME@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_27
	b	LBB0_28
LBB0_35:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x9, [sp, #48]
Lloh46:
	adrp	x8, _LDNS_RR_TYPE_A@GOTPAGE
Lloh47:
	ldr	x8, [x8, _LDNS_RR_TYPE_A@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_29
; %bb.36:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x9, [x24, #8]
	ldr	x9, [x9]
	cbz	x9, LBB0_29
; %bb.37:                               ;   in Loop: Header=BB0_30 Depth=1
	str	x8, [sp, #48]
	add	x0, sp, #40
	mov	x1, x26
	bl	_query_info_hash
	mov	x1, x0
	ldr	w0, [x24]
	add	x2, sp, #40
	mov	w3, #0
	bl	_slabhash_lookup
	mov	x20, x0
	cbnz	x0, LBB0_31
	b	LBB0_29
LBB0_38:
	mov	x0, x20
	bl	_lock_rw_unlock
	b	LBB0_3
LBB0_39:
	mov	x25, x0
	mov	x0, x20
	bl	_lock_rw_unlock
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	stp	x8, x21, [x25, #8]
Lloh49:
	adrp	x8, _sec_status_unchecked@GOTPAGE
Lloh50:
	ldr	x8, [x8, _sec_status_unchecked@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	ldr	x9, [x25]
	str	x8, [x9]
	mov	x0, x25
	bl	_iter_scrub_nxdomain
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_DNAME,4,2         ; @LDNS_RR_TYPE_DNAME
	.comm	_sec_status_unchecked,8,3       ; @sec_status_unchecked
	.comm	_sec_status_secure,4,2          ; @sec_status_secure
	.comm	_LDNS_RR_TYPE_CNAME,8,3         ; @LDNS_RR_TYPE_CNAME
	.comm	_LDNS_RR_TYPE_DS,8,3            ; @LDNS_RR_TYPE_DS
	.comm	_LDNS_RR_TYPE_DNSKEY,8,3        ; @LDNS_RR_TYPE_DNSKEY
	.comm	_LDNS_RR_TYPE_DLV,8,3           ; @LDNS_RR_TYPE_DLV
	.comm	_rrset_trust_add_noAA,8,3       ; @rrset_trust_add_noAA
	.comm	_rrset_trust_add_AA,8,3         ; @rrset_trust_add_AA
	.comm	_rrset_trust_auth_noAA,8,3      ; @rrset_trust_auth_noAA
	.comm	_rrset_trust_auth_AA,8,3        ; @rrset_trust_auth_AA
	.comm	_LDNS_RR_TYPE_A,8,3             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_RCODE_NXDOMAIN,8,3        ; @LDNS_RCODE_NXDOMAIN
	.comm	_LDNS_RR_TYPE_ANY,8,3           ; @LDNS_RR_TYPE_ANY
.subsections_via_symbols
