	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function memcpy_up
_memcpy_up:                             ## @memcpy_up
	.cfi_startproc
## %bb.0:
	movl	%edx, %r10d
	cmpl	$9, %edx
	jb	LBB0_2
## %bb.1:
	leaq	(%rsi,%r10), %rax
	cmpq	%rdi, %rax
	jae	LBB0_2
## %bb.23:
	jmp	_memcpy                         ## TAILCALL
LBB0_2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	testl	%edx, %edx
	je	LBB0_12
## %bb.3:
	addq	%rdi, %r10
	leaq	1(%rdi), %r8
	cmpq	%r8, %r10
	cmovaq	%r10, %r8
	subq	%rdi, %r8
	cmpq	$8, %r8
	jb	LBB0_4
## %bb.6:
	movq	%rdi, %rax
	subq	%rsi, %rax
	cmpq	$32, %rax
	jb	LBB0_4
## %bb.7:
	cmpq	$32, %r8
	jae	LBB0_13
## %bb.8:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_13:
	movq	%r8, %rbx
	andq	$-32, %rbx
	leaq	-32(%rbx), %rax
	movq	%rax, %rcx
	shrq	$5, %rcx
	incq	%rcx
	movl	%ecx, %r9d
	andl	$3, %r9d
	cmpq	$96, %rax
	jae	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_15:
	andq	$-4, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rax), %xmm0
	movups	16(%rsi,%rax), %xmm1
	movups	%xmm0, (%rdi,%rax)
	movups	%xmm1, 16(%rdi,%rax)
	movups	32(%rsi,%rax), %xmm0
	movups	48(%rsi,%rax), %xmm1
	movups	%xmm0, 32(%rdi,%rax)
	movups	%xmm1, 48(%rdi,%rax)
	movups	64(%rsi,%rax), %xmm0
	movups	80(%rsi,%rax), %xmm1
	movups	%xmm0, 64(%rdi,%rax)
	movups	%xmm1, 80(%rdi,%rax)
	movups	96(%rsi,%rax), %xmm0
	movups	112(%rsi,%rax), %xmm1
	movups	%xmm0, 96(%rdi,%rax)
	movups	%xmm1, 112(%rdi,%rax)
	subq	$-128, %rax
	addq	$-4, %rcx
	jne	LBB0_16
LBB0_17:
	testq	%r9, %r9
	je	LBB0_20
## %bb.18:
	leaq	(%rsi,%rax), %r11
	addq	$16, %r11
	addq	%rdi, %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%r11,%rcx), %xmm0
	movups	(%r11,%rcx), %xmm1
	movups	%xmm0, -16(%rax,%rcx)
	movups	%xmm1, (%rax,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_19
LBB0_20:
	cmpq	%rbx, %r8
	je	LBB0_12
## %bb.21:
	testb	$24, %r8b
	je	LBB0_22
LBB0_9:
	movq	%r8, %r9
	andq	$-8, %r9
	leaq	(%rdi,%r9), %rcx
	leaq	(%rsi,%r9), %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rbx), %rdx
	movq	%rdx, (%rdi,%rbx)
	addq	$8, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_10
## %bb.11:
	cmpq	%r9, %r8
	jne	LBB0_5
	jmp	LBB0_12
LBB0_22:
	addq	%rbx, %rsi
	addq	%rbx, %rdi
LBB0_4:
	movq	%rdi, %rcx
	movq	%rsi, %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %edx
	movb	%dl, (%rcx)
	incq	%rcx
	incq	%rax
	cmpq	%r10, %rcx
	jb	LBB0_5
LBB0_12:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_memcpy_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function memcpy_up
_memcpy_up:                             ; @memcpy_up
	.cfi_startproc
; %bb.0:
	mov	w8, w2
	cmp	w2, #9
	b.lo	LBB0_3
; %bb.1:
	add	x9, x1, x8
	cmp	x9, x0
	b.hs	LBB0_3
; %bb.2:
	b	_memcpy
LBB0_3:
	cbz	w2, LBB0_18
; %bb.4:
	add	x9, x0, #1
	add	x8, x0, x8
	cmp	x8, x9
	csinc	x9, x8, x0, hi
	sub	x9, x9, x0
	cmp	x9, #8
	b.lo	LBB0_8
; %bb.5:
	sub	x10, x0, x1
	cmp	x10, #64
	b.lo	LBB0_8
; %bb.6:
	cmp	x9, #64
	b.hs	LBB0_9
; %bb.7:
	mov	x12, #0
	b	LBB0_13
LBB0_8:
	mov	x10, x0
	mov	x11, x1
	b	LBB0_17
LBB0_9:
	and	x12, x9, #0xffffffffffffffc0
	add	x10, x0, #32
	add	x11, x1, #32
	mov	x13, x12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x13, x13, #64
	b.ne	LBB0_10
; %bb.11:
	cmp	x9, x12
	b.eq	LBB0_18
; %bb.12:
	tst	x9, #0x38
	b.eq	LBB0_16
LBB0_13:
	and	x13, x9, #0xfffffffffffffff8
	add	x10, x0, x13
	add	x11, x1, x13
	add	x14, x1, x12
	add	x15, x0, x12
	sub	x12, x12, x13
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x14], #8
	str	d0, [x15], #8
	adds	x12, x12, #8
	b.ne	LBB0_14
; %bb.15:
	cmp	x9, x13
	b.ne	LBB0_17
	b	LBB0_18
LBB0_16:
	add	x11, x1, x12
	add	x10, x0, x12
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x11], #1
	strb	w9, [x10], #1
	cmp	x10, x8
	b.lo	LBB0_17
LBB0_18:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_memcpy_up
.subsections_via_symbols
