	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memory_copy                    ## -- Begin function memory_copy
	.p2align	4, 0x90
_memory_copy:                           ## @memory_copy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	jle	LBB0_21
## %bb.1:
	movl	%edx, %r9d
	xorl	%ecx, %ecx
	cmpl	$8, %edx
	jb	LBB0_17
## %bb.2:
	movq	%rsi, %rax
	subq	%rdi, %rax
	cmpq	$32, %rax
	jb	LBB0_17
## %bb.3:
	cmpl	$32, %edx
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_14
LBB0_5:
	movl	%r9d, %ecx
	andl	$-32, %ecx
	leaq	-32(%rcx), %rax
	movq	%rax, %rdx
	shrq	$5, %rdx
	incq	%rdx
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$96, %rax
	jae	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rdi,%rax), %xmm0
	movups	16(%rdi,%rax), %xmm1
	movups	%xmm0, (%rsi,%rax)
	movups	%xmm1, 16(%rsi,%rax)
	movups	32(%rdi,%rax), %xmm0
	movups	48(%rdi,%rax), %xmm1
	movups	%xmm0, 32(%rsi,%rax)
	movups	%xmm1, 48(%rsi,%rax)
	movups	64(%rdi,%rax), %xmm0
	movups	80(%rdi,%rax), %xmm1
	movups	%xmm0, 64(%rsi,%rax)
	movups	%xmm1, 80(%rsi,%rax)
	movups	96(%rdi,%rax), %xmm0
	movups	112(%rdi,%rax), %xmm1
	movups	%xmm0, 96(%rsi,%rax)
	movups	%xmm1, 112(%rsi,%rax)
	subq	$-128, %rax
	addq	$-4, %rdx
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%rsi,%rax), %r10
	addq	$16, %r10
	addq	%rdi, %rax
	addq	$16, %rax
	shlq	$5, %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rdx), %xmm0
	movups	(%rax,%rdx), %xmm1
	movups	%xmm0, -16(%r10,%rdx)
	movups	%xmm1, (%r10,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_11
LBB0_12:
	cmpq	%r9, %rcx
	je	LBB0_21
## %bb.13:
	testb	$24, %r9b
	je	LBB0_17
LBB0_14:
	movq	%rcx, %rax
	movl	%r9d, %ecx
	andl	$-8, %ecx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rax), %rdx
	movq	%rdx, (%rsi,%rax)
	addq	$8, %rax
	cmpq	%rax, %rcx
	jne	LBB0_15
## %bb.16:
	cmpq	%r9, %rcx
	je	LBB0_21
LBB0_17:
	movq	%rcx, %r8
	notq	%r8
	addq	%r9, %r8
	movq	%r9, %rdx
	andq	$3, %rdx
	je	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rcx), %eax
	movb	%al, (%rsi,%rcx)
	incq	%rcx
	decq	%rdx
	jne	LBB0_18
LBB0_19:
	cmpq	$3, %r8
	jb	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rcx), %eax
	movb	%al, (%rsi,%rcx)
	movzbl	1(%rdi,%rcx), %eax
	movb	%al, 1(%rsi,%rcx)
	movzbl	2(%rdi,%rcx), %eax
	movb	%al, 2(%rsi,%rcx)
	movzbl	3(%rdi,%rcx), %eax
	movb	%al, 3(%rsi,%rcx)
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_20
LBB0_21:
	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	_memory_copy                    ; -- Begin function memory_copy
	.p2align	2
_memory_copy:                           ; @memory_copy
	.cfi_startproc
; %bb.0:
	cmp	w2, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x9, #0
	mov	w8, w2
	cmp	w2, #8
	b.lo	LBB0_12
; %bb.2:
	sub	x10, x1, x0
	cmp	x10, #64
	b.lo	LBB0_12
; %bb.3:
	cmp	w2, #64
	b.hs	LBB0_5
; %bb.4:
	mov	x9, #0
	b	LBB0_9
LBB0_5:
	and	x9, x8, #0xffffffc0
	add	x10, x1, #32
	add	x11, x0, #32
	mov	x12, x9
LBB0_6:                                 ; =>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	x12, x12, #64
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x8
	b.eq	LBB0_14
; %bb.8:
	tst	x8, #0x38
	b.eq	LBB0_12
LBB0_9:
	mov	x12, x9
	and	x9, x8, #0xfffffff8
	add	x10, x0, x12
	add	x11, x1, x12
	sub	x12, x12, x9
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10], #8
	str	d0, [x11], #8
	adds	x12, x12, #8
	b.ne	LBB0_10
; %bb.11:
	cmp	x9, x8
	b.eq	LBB0_14
LBB0_12:
	add	x10, x1, x9
	add	x11, x0, x9
	sub	x8, x8, x9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x11], #1
	strb	w9, [x10], #1
	subs	x8, x8, #1
	b.ne	LBB0_13
LBB0_14:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
