	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_rrset
_copy_rrset:                            ## @copy_rrset
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$40, %esi
	movq	%r14, %rdi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	%rax, %r15
	movq	(%rbx), %r13
	movl	32(%rbx), %eax
	movl	%eax, 32(%r15)
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	16(%rbx), %eax
	movl	%eax, 16(%r15)
	movq	%r15, 8(%r15)
	movq	24(%rbx), %rax
	movq	%rax, 24(%r15)
	movl	24(%rbx), %esi
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	callq	_regional_alloc_init
	movl	%eax, 24(%r15)
	testl	%eax, %eax
	je	LBB0_23
## %bb.2:
	movslq	(%r13), %rdx
	leaq	(%rdx,%rdx,2), %rax
	leaq	40(,%rax,8), %rsi
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.3:
	movq	8(%r13), %rax
	cmpq	$2, %rdx
	movl	$1, %ecx
	cmovaeq	%rdx, %rcx
	cmpq	$4, %rcx
	jae	LBB0_6
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_6:
	movq	%rcx, %rdx
	andq	$-4, %rdx
	movq	%rsi, %xmm0
	leaq	-4(%rdx), %rdi
	movq	%rdi, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %ebx
	andl	$3, %ebx
	cmpq	$12, %rdi
	jae	LBB0_8
## %bb.7:
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_8:
	andq	$-4, %rsi
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%rdi,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	16(%rax,%rdi,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	32(%rax,%rdi,8), %xmm1
	movdqu	48(%rax,%rdi,8), %xmm3
	movdqu	64(%rax,%rdi,8), %xmm4
	paddq	%xmm1, %xmm4
	paddq	%xmm2, %xmm4
	movdqu	80(%rax,%rdi,8), %xmm2
	paddq	%xmm3, %xmm2
	paddq	%xmm0, %xmm2
	movdqu	96(%rax,%rdi,8), %xmm0
	paddq	%xmm4, %xmm0
	movdqu	112(%rax,%rdi,8), %xmm1
	paddq	%xmm2, %xmm1
	addq	$16, %rdi
	addq	$-4, %rsi
	jne	LBB0_9
LBB0_10:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.11:
	leaq	(%rax,%rdi,8), %rsi
	addq	$16, %rsi
	shlq	$5, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rsi,%rdi), %xmm2
	paddq	%xmm2, %xmm0
	movdqu	(%rsi,%rdi), %xmm2
	paddq	%xmm2, %xmm1
	addq	$32, %rdi
	cmpq	%rdi, %rbx
	jne	LBB0_12
LBB0_13:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rsi
	jmp	LBB0_15
LBB0_14:
	addq	(%rax,%rdx,8), %rsi
	incq	%rdx
LBB0_15:
	cmpq	%rdx, %rcx
	jne	LBB0_14
LBB0_16:
	movq	%r14, %rdi
	callq	_regional_alloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.17:
	movq	%rax, %r12
	movdqu	(%r13), %xmm0
	movdqu	16(%r13), %xmm1
	movdqu	%xmm1, 16(%rax)
	movdqu	%xmm0, (%rax)
	movq	$0, 32(%rax)
	movq	%rax, (%r15)
	addq	$160, %rax
	movq	%rax, 8(%r12)
	movslq	(%r12), %rsi
	leaq	160(%r12,%rsi,8), %rcx
	movq	%rcx, 16(%r12)
	leaq	(%rcx,%rsi,8), %rdx
	movq	%rdx, 24(%r12)
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.18:
	leaq	(%rdx,%rsi,8), %r14
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rsi
	movq	-8(%rsi,%rbx,8), %rsi
	movq	%rsi, -8(%rax,%rbx,8)
	movq	24(%r13), %rax
	movq	-8(%rax,%rbx,8), %rax
	movq	%rax, -8(%rdx,%rbx,8)
	movq	%r14, -8(%rcx,%rbx,8)
	movq	16(%r12), %rax
	movq	-8(%rax,%rbx,8), %rdi
	movq	8(%r13), %rax
	movq	16(%r13), %rcx
	movq	-8(%rcx,%rbx,8), %rsi
	movq	-8(%rax,%rbx,8), %rdx
	callq	_memcpy
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jae	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r12), %rax
	movq	16(%r12), %rcx
	movq	-8(%rax,%rbx,8), %rdx
	leaq	(%r14,%rdx,4), %r14
	movq	24(%r12), %rdx
	incq	%rbx
	jmp	LBB0_19
LBB0_22:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_21:
	movq	%r15, %r12
LBB0_23:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_rrset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_rrset
_copy_rrset:                            ; @copy_rrset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	w1, #40
	bl	_regional_alloc
	mov	x19, x0
	cbz	x0, LBB0_16
; %bb.1:
	ldr	x22, [x21]
	ldr	w8, [x21, #32]
	str	w8, [x19, #32]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w8, [x21, #16]
	str	w8, [x19, #16]
	str	x19, [x19, #8]
	ldr	x8, [x21, #24]
	str	x8, [x19, #24]
	ldp	w1, w2, [x21, #24]
	mov	x0, x20
	bl	_regional_alloc_init
	str	w0, [x19, #24]
	cbz	w0, LBB0_15
; %bb.2:
	ldrsw	x9, [x22]
	mov	w8, #24
	mul	x8, x9, x8
	add	x1, x8, #40
	cbz	w9, LBB0_10
; %bb.3:
	ldr	x8, [x22, #8]
	cmp	x9, #1
	csinc	x9, x9, xzr, hi
	cmp	x9, #8
	b.hs	LBB0_5
; %bb.4:
	mov	x10, #0
	b	LBB0_8
LBB0_5:
	and	x10, x9, #0xfffffffffffffff8
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.d	v1[0], x1
	add	x11, x8, #32
	mov	x12, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	add.2d	v1, v4, v1
	add.2d	v0, v5, v0
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	subs	x12, x12, #8
	b.ne	LBB0_6
; %bb.7:
	add.2d	v0, v0, v1
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x1, d0
	cmp	x9, x10
	b.eq	LBB0_10
LBB0_8:
	sub	x9, x9, x10
	add	x8, x8, x10, lsl #3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8], #8
	add	x1, x10, x1
	subs	x9, x9, #1
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x20
	bl	_regional_alloc
	cbz	x0, LBB0_15
; %bb.11:
	mov	x20, x0
	ldp	q0, q1, [x22]
	stp	q0, q1, [x0]
	str	x0, [x19]
	add	x8, x0, #160
	ldrsw	x11, [x0]
	lsl	x10, x11, #3
	add	x9, x8, x10
	add	x10, x9, x10
	stp	x8, x9, [x0, #8]
	stp	x10, xzr, [x0, #24]
	cbz	w11, LBB0_16
; %bb.12:
	mov	x23, #0
	add	x21, x10, x11, lsl #3
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x22, #8]
	lsl	x12, x23, #3
	ldr	x11, [x11, x12]
	str	x11, [x8, x12]
	ldr	x8, [x22, #24]
	ldr	x8, [x8, x12]
	str	x8, [x10, x12]
	str	x21, [x9, x12]
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x12]
	ldp	x9, x8, [x22, #8]
	ldr	x1, [x8, x12]
	ldr	x2, [x9, x12]
	bl	_memcpy
	add	x11, x23, #1
	ldrsw	x8, [x20]
	cmp	x11, x8
	b.hs	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldp	x8, x9, [x20, #8]
	ldr	x10, [x8, x23, lsl #3]
	add	x21, x21, x10, lsl #2
	ldr	x10, [x20, #24]
	mov	x23, x11
	b	LBB0_13
LBB0_15:
	mov	x19, #0
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_rrset
.subsections_via_symbols
