	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcpy16                       ## -- Begin function memcpy16
	.p2align	4, 0x90
_memcpy16:                              ## @memcpy16
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	%r14d, %eax
	orl	%ebx, %eax
	testb	$3, %al
	jne	LBB0_14
## %bb.1:
	cmpl	$31, %r15d
	jle	LBB0_2
## %bb.34:
	movl	%r15d, %edx
	shrl	%edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_memcpy32
	andl	$1, %r15d
	jmp	LBB0_14
LBB0_2:
	cmpl	$2, %r15d
	jl	LBB0_14
## %bb.3:
	xorl	%ecx, %ecx
	movl	%r15d, %eax
	subl	$3, %eax
	cmovbl	%ecx, %eax
	incl	%eax
	cmpl	$14, %eax
	jb	LBB0_12
## %bb.4:
	movq	%rbx, %rcx
	subq	%r14, %rcx
	cmpq	$32, %rcx
	jb	LBB0_12
## %bb.5:
	shrl	%eax
	incl	%eax
	movl	%eax, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.7:
	movq	%rdx, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%r14,%rsi,2), %xmm0
	movups	16(%r14,%rsi,2), %xmm1
	movups	%xmm0, (%rbx,%rsi,2)
	movups	%xmm1, 16(%rbx,%rsi,2)
	movups	32(%r14,%rsi,2), %xmm0
	movups	48(%r14,%rsi,2), %xmm1
	movups	%xmm0, 32(%rbx,%rsi,2)
	movups	%xmm1, 48(%rbx,%rsi,2)
	addq	$32, %rsi
	addq	$-2, %rdi
	jne	LBB0_8
	jmp	LBB0_9
LBB0_6:
	xorl	%esi, %esi
LBB0_9:
	leal	(%rcx,%rcx), %edi
	testb	$1, %dl
	je	LBB0_11
## %bb.10:
	movups	(%r14,%rsi,2), %xmm0
	movups	16(%r14,%rsi,2), %xmm1
	movups	%xmm0, (%rbx,%rsi,2)
	movups	%xmm1, 16(%rbx,%rsi,2)
LBB0_11:
	subl	%edi, %r15d
	leaq	(%r14,%rcx,4), %r14
	leaq	(%rbx,%rcx,4), %rbx
	cmpq	%rax, %rcx
	je	LBB0_14
LBB0_12:
	movl	%r15d, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	movl	%ecx, (%rbx)
	leal	-2(%rax), %r15d
	addq	$4, %rbx
	addq	$4, %r14
	cmpl	$3, %eax
	movl	%r15d, %eax
	ja	LBB0_13
LBB0_14:
	testl	%r15d, %r15d
	je	LBB0_33
## %bb.15:
	leal	-1(%r15), %eax
	cmpl	$15, %eax
	jb	LBB0_26
## %bb.16:
	movq	%rbx, %rcx
	subq	%r14, %rcx
	cmpq	$32, %rcx
	jb	LBB0_26
## %bb.17:
	incq	%rax
	movq	%rax, %r8
	andq	$-16, %r8
	leaq	-16(%r8), %rcx
	movq	%rcx, %rsi
	shrq	$4, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$48, %rcx
	jae	LBB0_19
## %bb.18:
	xorl	%edi, %edi
	jmp	LBB0_21
LBB0_19:
	andq	$-4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r14,%rdi,2), %xmm0
	movups	16(%r14,%rdi,2), %xmm1
	movups	%xmm0, (%rbx,%rdi,2)
	movups	%xmm1, 16(%rbx,%rdi,2)
	movups	32(%r14,%rdi,2), %xmm0
	movups	48(%r14,%rdi,2), %xmm1
	movups	%xmm0, 32(%rbx,%rdi,2)
	movups	%xmm1, 48(%rbx,%rdi,2)
	movups	64(%r14,%rdi,2), %xmm0
	movups	80(%r14,%rdi,2), %xmm1
	movups	%xmm0, 64(%rbx,%rdi,2)
	movups	%xmm1, 80(%rbx,%rdi,2)
	movups	96(%r14,%rdi,2), %xmm0
	movups	112(%r14,%rdi,2), %xmm1
	movups	%xmm0, 96(%rbx,%rdi,2)
	movups	%xmm1, 112(%rbx,%rdi,2)
	addq	$64, %rdi
	addq	$-4, %rsi
	jne	LBB0_20
LBB0_21:
	testq	%rdx, %rdx
	je	LBB0_24
## %bb.22:
	leaq	(%rbx,%rdi,2), %rsi
	addq	$16, %rsi
	leaq	(%r14,%rdi,2), %rdi
	addq	$16, %rdi
	shlq	$5, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rcx), %xmm0
	movups	(%rdi,%rcx), %xmm1
	movups	%xmm0, -16(%rsi,%rcx)
	movups	%xmm1, (%rsi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_23
LBB0_24:
	cmpq	%r8, %rax
	je	LBB0_33
## %bb.25:
	subl	%r8d, %r15d
	leaq	(%r14,%r8,2), %r14
	leaq	(%rbx,%r8,2), %rbx
LBB0_26:
	leal	-1(%r15), %eax
	movl	%r15d, %ecx
	andl	$7, %ecx
	je	LBB0_30
## %bb.27:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%r14), %esi
	addq	$2, %r14
	movw	%si, (%rbx)
	addq	$2, %rbx
	incl	%edx
	cmpl	%edx, %ecx
	jne	LBB0_28
## %bb.29:
	subl	%edx, %r15d
LBB0_30:
	cmpl	$7, %eax
	jb	LBB0_33
## %bb.31:
	movl	%r15d, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%r14,%rcx,2), %edx
	movw	%dx, (%rbx,%rcx,2)
	movzwl	2(%r14,%rcx,2), %edx
	movw	%dx, 2(%rbx,%rcx,2)
	movzwl	4(%r14,%rcx,2), %edx
	movw	%dx, 4(%rbx,%rcx,2)
	movzwl	6(%r14,%rcx,2), %edx
	movw	%dx, 6(%rbx,%rcx,2)
	movzwl	8(%r14,%rcx,2), %edx
	movw	%dx, 8(%rbx,%rcx,2)
	movzwl	10(%r14,%rcx,2), %edx
	movw	%dx, 10(%rbx,%rcx,2)
	movzwl	12(%r14,%rcx,2), %edx
	movw	%dx, 12(%rbx,%rcx,2)
	movzwl	14(%r14,%rcx,2), %edx
	movw	%dx, 14(%rbx,%rcx,2)
	addq	$8, %rcx
	cmpl	%ecx, %eax
	jne	LBB0_32
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memcpy16                       ; -- Begin function memcpy16
	.p2align	2
_memcpy16:                              ; @memcpy16
	.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	x21, x1
	mov	x20, x0
	orr	w8, w21, w20
	tst	x8, #0x3
	b.ne	LBB0_9
; %bb.1:
	cmp	w19, #31
	b.le	LBB0_3
; %bb.2:
	lsr	w2, w19, #1
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy32
	and	w19, w19, #0x1
	b	LBB0_9
LBB0_3:
	cmp	w19, #2
	b.lt	LBB0_9
; %bb.4:
	subs	w8, w19, #3
	csel	w8, wzr, w8, lo
	add	w8, w8, #1
	cmp	w8, #30
	b.lo	LBB0_19
; %bb.5:
	sub	x9, x20, x21
	cmp	x9, #64
	b.lo	LBB0_19
; %bb.6:
	lsr	w8, w8, #1
	add	w10, w8, #1
	and	x11, x10, #0xfffffff0
	sub	w19, w19, w11, lsl #1
	lsl	x8, x11, #2
	add	x9, x21, x8
	add	x8, x20, x8
	add	x12, x21, #32
	add	x13, x20, #32
	mov	x14, x11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x11, x10
	b.eq	LBB0_10
	b	LBB0_20
LBB0_9:
	mov	x8, x20
	mov	x9, x21
LBB0_10:
	cbz	w19, LBB0_18
; %bb.11:
	sub	w10, w19, #1
	cmp	w10, #31
	b.lo	LBB0_16
; %bb.12:
	sub	x11, x8, x9
	cmp	x11, #64
	b.lo	LBB0_16
; %bb.13:
	add	x12, x10, #1
	and	x13, x12, #0x1ffffffe0
	sub	w19, w19, w13
	lsl	x11, x13, #1
	add	x10, x9, x11
	add	x11, x8, x11
	add	x9, x9, #32
	add	x8, x8, #32
	mov	x14, x13
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x8, #-32]
	stp	q2, q3, [x8], #64
	subs	x14, x14, #32
	b.ne	LBB0_14
; %bb.15:
	cmp	x12, x13
	b.ne	LBB0_17
	b	LBB0_18
LBB0_16:
	mov	x10, x9
	mov	x11, x8
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldrh	w8, [x10], #2
	strh	w8, [x11], #2
	subs	w19, w19, #1
	b.ne	LBB0_17
LBB0_18:
	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
LBB0_19:
	mov	x9, x21
	mov	x8, x20
LBB0_20:
	mov	x10, x19
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	str	w11, [x8], #4
	sub	w19, w10, #2
	cmp	w10, #3
	mov	x10, x19
	b.hi	LBB0_21
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
