	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_add_addrs
_find_add_addrs:                        ## @find_add_addrs
	.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), %r13
	movl	$1, %eax
	testq	%r13, %r13
	je	LBB0_19
## %bb.1:
	movl	%r8d, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%r12
	callq	_msg_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_delegpt_add_neg_msg
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_lock_rw_unlock
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movl	(%rax), %ecx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%r12
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_delegpt_add_rrset_A
	testl	%eax, %eax
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_addr_to_additional
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%r12
	callq	_msg_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_delegpt_add_neg_msg
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_lock_rw_unlock
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%r12
	callq	_rrset_cache_lookup
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_delegpt_add_rrset_AAAA
	testl	%eax, %eax
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_addr_to_additional
	jmp	LBB0_15
LBB0_18:
	movq	%r15, %rdi
	callq	_lock_rw_unlock
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_17:
	movl	$1, %eax
LBB0_19:
	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	_LDNS_RR_TYPE_AAAA,4,2          ## @LDNS_RR_TYPE_AAAA
	.no_dead_strip	_find_add_addrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_add_addrs
_find_add_addrs:                        ; @find_add_addrs
	.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_17
; %bb.1:
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
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]
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldp	w2, w1, [x26]
	ldr	w3, [x28]
	mov	x0, x24
	mov	x4, x23
	mov	w5, #0
	mov	x6, x20
	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, x21
	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, #8]
	cbz	x26, LBB0_17
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	ldp	w2, w1, [x26]
	ldr	w3, [x27]
	mov	x4, x23
	mov	w5, #0
	mov	x6, x20
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	mov	w3, #0
	bl	_delegpt_add_rrset_A
	cbz	w0, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x19, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [x19]
	mov	x0, x25
	mov	x1, x22
	mov	x3, x20
	bl	_addr_to_additional
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w2, w1, [x26]
	ldr	w3, [x27]
	mov	x0, x24
	mov	x4, x23
	mov	w5, #0
	mov	x6, x20
	mov	w7, #0
	bl	_msg_cache_lookup
	cbz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	mov	x0, x21
	mov	x1, x25
	bl	_delegpt_add_neg_msg
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_lock_rw_unlock
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24]
	ldp	w2, w1, [x26]
	ldr	w3, [x28]
	mov	x4, x23
	mov	w5, #0
	mov	x6, x20
	mov	w7, #0
	bl	_rrset_cache_lookup
	cbz	x0, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	mov	w3, #0
	bl	_delegpt_add_rrset_AAAA
	cbz	w0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	x19, LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [x19]
	mov	x0, x25
	mov	x1, x22
	mov	x3, x20
	bl	_addr_to_additional
	b	LBB0_4
LBB0_17:
	mov	w0, #1
	b	LBB0_19
LBB0_18:
	mov	x0, x25
	bl	_lock_rw_unlock
	mov	w0, #0
LBB0_19:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_A,4,2             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,4,2          ; @LDNS_RR_TYPE_AAAA
	.no_dead_strip	_find_add_addrs
.subsections_via_symbols
