	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_rrsets
_store_rrsets:                          ## @store_rrsets
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rsi)
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r13
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_lock_rw_unlock
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movq	16(%r13), %rcx
	movq	(%rax,%rbx,2), %rax
	movq	%rax, (%rcx,%rbx)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	$8, %rbx
	addq	$16, %r14
	cmpq	(%r13), %r12
	jae	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %r15
	movq	16(%r13), %rax
	movq	(%rax,%rbx), %rcx
	movq	%rcx, (%r15,%rbx,2)
	movq	(%rax,%rbx), %rax
	movl	4(%rax), %eax
	movl	%eax, 8(%r15,%rbx,2)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rax), %r13d
	addq	%r14, %r15
	movl	8(%rcx), %edi
	callq	_ntohs
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %rcx
	movq	_LDNS_RR_TYPE_NS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	cmovneq	%rdx, %rcx
	addq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	%r13d, %edi
	movq	%r15, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_rrset_cache_update
	cmpl	$1, %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %eax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbp)
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,2), %rdi
	callq	_lock_rw_rdlock
	movq	8(%r13), %rax
	movq	(%rax,%rbx,2), %rdi
	cmpl	$0, 4(%rdi)
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbp), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_packed_rrset_copy_region
	movq	%rax, %r15
	movq	8(%r13), %rax
	movq	(%rax,%rbx,2), %rdi
	callq	_lock_rw_unlock
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	%r15, (%rax,%rbx)
	jmp	LBB0_11
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_NS,8,3            ## @LDNS_RR_TYPE_NS
	.no_dead_strip	_store_rrsets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_rrsets
_store_rrsets:                          ; @store_rrsets
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	stp	x5, x6, [sp]                    ; 16-byte Folded Spill
	ldr	x8, [x1]
	cbz	x8, LBB0_11
; %bb.1:
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	mov	x20, #0
	mov	x19, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_lock_rw_unlock
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	x8, x9, [x24, #8]
	ldr	x8, [x8, x20]
	str	x8, [x9, x19, lsl #3]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x19, #1
	ldr	x8, [x24]
	add	x20, x20, #16
	cmp	x19, x8
	b.hs	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x19, #3
	ldp	x10, x9, [x24, #8]
	ldr	x11, [x9, x8]
	add	x26, x10, x20
	str	x11, [x26]
	ldr	x8, [x9, x8]
	ldr	w8, [x8, #4]
	str	w8, [x26, #8]
	ldp	w28, w27, [x25]
	ldr	w0, [x11, #8]
	bl	_ntohs
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_NS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_NS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	ccmp	w21, #0, #0, eq
	csel	x8, x22, xzr, ne
	add	x3, x8, x23
	mov	x0, x27
	mov	x1, x26
	mov	x2, x28
	bl	_rrset_cache_update
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #2
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x8, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24, #8]
	ldr	x0, [x8, x20]
	bl	_lock_rw_rdlock
	ldr	x8, [x24, #8]
	ldr	x0, [x8, x20]
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x23
	bl	_packed_rrset_copy_region
	mov	x26, x0
	ldr	x8, [x24, #8]
	ldr	x0, [x8, x20]
	bl	_lock_rw_unlock
	cbz	x26, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	str	x26, [x8, x19, lsl #3]
	b	LBB0_3
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_NS,8,3            ; @LDNS_RR_TYPE_NS
	.no_dead_strip	_store_rrsets
.subsections_via_symbols
