	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iter_lookup_parent_NS_from_cache ## -- Begin function iter_lookup_parent_NS_from_cache
	.p2align	4, 0x90
_iter_lookup_parent_NS_from_cache:      ## @iter_lookup_parent_NS_from_cache
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	8(%rdi), %r10d
	movl	4(%rsi), %edx
	movl	8(%rsi), %esi
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	(%rcx), %r8d
	movq	_PACKED_RRSET_PARENT_SIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	(%rdi), %rcx
	movl	(%rcx), %eax
	movl	%r10d, %edi
	movl	%ebx, %ecx
	pushq	$0
	pushq	%rax
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	callq	_log_rrset_key
	movl	$1, (%r15)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	$1, %ecx
	callq	_delegpt_rrset_add_ns
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setne	%bl
	movq	%r12, %rdi
	callq	_lock_rw_unlock
	jmp	LBB0_3
LBB0_1:
	movl	$1, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NS,4,2            ## @LDNS_RR_TYPE_NS
	.comm	_PACKED_RRSET_PARENT_SIDE,4,2   ## @PACKED_RRSET_PARENT_SIDE
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"found parent-side NS in cache"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iter_lookup_parent_NS_from_cache ; -- Begin function iter_lookup_parent_NS_from_cache
	.p2align	2
_iter_lookup_parent_NS_from_cache:      ; @iter_lookup_parent_NS_from_cache
	.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	x19, x2
	mov	x20, x1
	ldr	w8, [x0, #8]
	ldr	w1, [x1, #8]
	ldr	w2, [x20, #4]
Lloh0:
	adrp	x9, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	w4, [x3]
Lloh3:
	adrp	x10, _PACKED_RRSET_PARENT_SIDE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PACKED_RRSET_PARENT_SIDE@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x10]
	ldr	x10, [x0]
	ldr	w6, [x10]
	mov	x0, x8
	mov	x3, x9
	mov	w7, #0
	bl	_rrset_cache_lookup
	mov	w22, #1
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_log_rrset_key
	str	w22, [x20]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w3, #1
	bl	_delegpt_rrset_add_ns
	cmp	w0, #0
	cset	w22, ne
	mov	x0, x21
	bl	_lock_rw_unlock
LBB0_2:
	mov	x0, x22
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NS,4,2            ; @LDNS_RR_TYPE_NS
	.comm	_PACKED_RRSET_PARENT_SIDE,4,2   ; @PACKED_RRSET_PARENT_SIDE
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"found parent-side NS in cache"

.subsections_via_symbols
