	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mymemmove                      ## -- Begin function mymemmove
	.p2align	4, 0x90
_mymemmove:                             ## @mymemmove
	.cfi_startproc
## %bb.0:
	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
	cmpq	%rdi, %rsi
	jae	LBB0_2
## %bb.1:
	leaq	(%rsi,%rdx), %r9
	cmpq	%rdi, %r9
	jbe	LBB0_2
## %bb.29:
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.30:
	leaq	(%rdi,%rdx), %r8
	cmpq	$8, %rdx
	jb	LBB0_31
## %bb.32:
	leaq	(%rsi,%rdx), %rax
	subq	%rdi, %rax
	subq	%rdx, %rax
	cmpq	$32, %rax
	jae	LBB0_33
LBB0_31:
	movq	%rdx, %rsi
	movq	%r9, %rdi
	movq	%r8, %rax
LBB0_38:
	leaq	-1(%rsi), %rcx
	movq	%rsi, %rdx
	andq	$7, %rdx
	je	LBB0_40
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	decq	%rsi
	movzbl	-1(%rdi), %ebx
	decq	%rdi
	movb	%bl, -1(%rax)
	decq	%rax
	decq	%rdx
	jne	LBB0_39
LBB0_40:
	cmpq	$7, %rcx
	jb	LBB0_18
## %bb.41:
	negq	%rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rdi,%rcx), %edx
	movb	%dl, -1(%rax,%rcx)
	movzbl	-2(%rdi,%rcx), %edx
	movb	%dl, -2(%rax,%rcx)
	movzbl	-3(%rdi,%rcx), %edx
	movb	%dl, -3(%rax,%rcx)
	movzbl	-4(%rdi,%rcx), %edx
	movb	%dl, -4(%rax,%rcx)
	movzbl	-5(%rdi,%rcx), %edx
	movb	%dl, -5(%rax,%rcx)
	movzbl	-6(%rdi,%rcx), %edx
	movb	%dl, -6(%rax,%rcx)
	movzbl	-7(%rdi,%rcx), %edx
	movb	%dl, -7(%rax,%rcx)
	movzbl	-8(%rdi,%rcx), %edx
	movb	%dl, -8(%rax,%rcx)
	addq	$-8, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_42
	jmp	LBB0_18
LBB0_2:
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.3:
	cmpq	$8, %rdx
	jb	LBB0_4
## %bb.5:
	movq	%rdi, %rax
	subq	%rsi, %rax
	cmpq	$32, %rax
	jb	LBB0_4
## %bb.6:
	cmpq	$32, %rdx
	jae	LBB0_19
## %bb.7:
	xorl	%r9d, %r9d
	jmp	LBB0_8
LBB0_33:
	cmpq	$32, %rdx
	jae	LBB0_43
## %bb.34:
	xorl	%ecx, %ecx
	jmp	LBB0_35
LBB0_19:
	movq	%rdx, %r9
	andq	$-32, %r9
	leaq	-32(%r9), %rax
	movq	%rax, %rcx
	shrq	$5, %rcx
	incq	%rcx
	movl	%ecx, %r8d
	andl	$3, %r8d
	cmpq	$96, %rax
	jae	LBB0_21
## %bb.20:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_43:
	movq	%rdx, %rcx
	andq	$-32, %rcx
	leaq	-32(%rcx), %rax
	movq	%rax, %r10
	shrq	$5, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_44
## %bb.45:
	movabsq	$1152921504606846972, %rax      ## imm = 0xFFFFFFFFFFFFFFC
	orq	$2, %rax
	andq	%r10, %rax
	leaq	(%rdi,%rdx), %r11
	addq	$-16, %r11
	leaq	(%rsi,%rdx), %rdi
	addq	$-16, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rsi), %xmm0
	movups	(%rdi,%rsi), %xmm1
	movups	%xmm1, (%r11,%rsi)
	movups	%xmm0, -16(%r11,%rsi)
	movups	-48(%rdi,%rsi), %xmm0
	movups	-32(%rdi,%rsi), %xmm1
	movups	%xmm1, -32(%r11,%rsi)
	movups	%xmm0, -48(%r11,%rsi)
	addq	$-64, %rsi
	addq	$-2, %rax
	jne	LBB0_46
## %bb.47:
	negq	%rsi
	jmp	LBB0_48
LBB0_21:
	andq	$-4, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_22:                                ## =>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_22
LBB0_23:
	testq	%r8, %r8
	je	LBB0_26
## %bb.24:
	leaq	(%rdi,%rax), %r10
	addq	$16, %r10
	addq	%rsi, %rax
	addq	$16, %rax
	shlq	$5, %r8
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rcx), %xmm0
	movups	(%rax,%rcx), %xmm1
	movups	%xmm0, -16(%r10,%rcx)
	movups	%xmm1, (%r10,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r8
	jne	LBB0_25
LBB0_26:
	cmpq	%rdx, %r9
	je	LBB0_18
## %bb.27:
	testb	$24, %dl
	je	LBB0_28
LBB0_8:
	movq	%rdx, %r10
	andq	$-8, %r10
	movl	%edx, %r8d
	andl	$7, %r8d
	leaq	(%rsi,%r10), %r11
	leaq	(%rdi,%r10), %rax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%r9), %rcx
	movq	%rcx, (%rdi,%r9)
	addq	$8, %r9
	cmpq	%r9, %r10
	jne	LBB0_9
## %bb.10:
	cmpq	%rdx, %r10
	jne	LBB0_11
	jmp	LBB0_18
LBB0_28:
	addq	%r9, %rdi
	addq	%r9, %rsi
	andl	$31, %edx
LBB0_4:
	movq	%rdx, %r8
	movq	%rsi, %r11
	movq	%rdi, %rax
LBB0_11:
	leaq	-1(%r8), %rdx
	movq	%r8, %rdi
	andq	$7, %rdi
	je	LBB0_15
## %bb.12:
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r11,%rsi), %ecx
	movb	%cl, (%rax,%rsi)
	incq	%rsi
	cmpq	%rsi, %rdi
	jne	LBB0_13
## %bb.14:
	subq	%rsi, %r8
	addq	%rsi, %r11
	addq	%rsi, %rax
LBB0_15:
	cmpq	$7, %rdx
	jb	LBB0_18
## %bb.16:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r11,%rdx), %ecx
	movb	%cl, (%rax,%rdx)
	movzbl	1(%r11,%rdx), %ecx
	movb	%cl, 1(%rax,%rdx)
	movzbl	2(%r11,%rdx), %ecx
	movb	%cl, 2(%rax,%rdx)
	movzbl	3(%r11,%rdx), %ecx
	movb	%cl, 3(%rax,%rdx)
	movzbl	4(%r11,%rdx), %ecx
	movb	%cl, 4(%rax,%rdx)
	movzbl	5(%r11,%rdx), %ecx
	movb	%cl, 5(%rax,%rdx)
	movzbl	6(%r11,%rdx), %ecx
	movb	%cl, 6(%rax,%rdx)
	movzbl	7(%r11,%rdx), %ecx
	movb	%cl, 7(%rax,%rdx)
	addq	$8, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_17
LBB0_18:
	popq	%rbx
	popq	%rbp
	retq
LBB0_44:
	xorl	%esi, %esi
LBB0_48:
	testb	$1, %r10b
	je	LBB0_50
## %bb.49:
	movq	%r9, %rax
	subq	%rsi, %rax
	movq	%r8, %rdi
	subq	%rsi, %rdi
	movups	-32(%rax), %xmm0
	movups	-16(%rax), %xmm1
	movups	%xmm1, -16(%rdi)
	movups	%xmm0, -32(%rdi)
LBB0_50:
	cmpq	%rdx, %rcx
	je	LBB0_18
## %bb.51:
	testb	$24, %dl
	je	LBB0_52
LBB0_35:
	movq	%rdx, %r10
	andq	$-8, %r10
	movl	%edx, %esi
	andl	$7, %esi
	movq	%r10, %r11
	negq	%r11
	movq	%r9, %rdi
	subq	%r10, %rdi
	movq	%r8, %rax
	subq	%r10, %rax
	negq	%rcx
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%r9,%rcx), %rbx
	movq	%rbx, -8(%r8,%rcx)
	addq	$-8, %rcx
	cmpq	%rcx, %r11
	jne	LBB0_36
## %bb.37:
	cmpq	%rdx, %r10
	jne	LBB0_38
	jmp	LBB0_18
LBB0_52:
	subq	%rcx, %r8
	subq	%rcx, %r9
	andl	$31, %edx
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mymemmove                      ; -- Begin function mymemmove
	.p2align	2
_mymemmove:                             ; @mymemmove
	.cfi_startproc
; %bb.0:
	cmp	x1, x0
	b.hs	LBB0_5
; %bb.1:
	add	x8, x1, x2
	cmp	x8, x0
	b.ls	LBB0_5
; %bb.2:
	cbz	x2, LBB0_20
; %bb.3:
	sub	x8, x1, #1
	sub	x9, x0, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8, x2]
	strb	w10, [x9, x2]
	subs	x2, x2, #1
	b.ne	LBB0_4
	b	LBB0_20
LBB0_5:
	cbz	x2, LBB0_20
; %bb.6:
	cmp	x2, #8
	b.lo	LBB0_10
; %bb.7:
	sub	x8, x0, x1
	cmp	x8, #64
	b.lo	LBB0_10
; %bb.8:
	cmp	x2, #64
	b.hs	LBB0_11
; %bb.9:
	mov	x11, #0
	b	LBB0_15
LBB0_10:
	mov	x8, x2
	mov	x9, x1
	mov	x10, x0
	b	LBB0_19
LBB0_11:
	and	x11, x2, #0xffffffffffffffc0
	add	x8, x0, #32
	add	x9, x1, #32
	mov	x10, x11
LBB0_12:                                ; =>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	x10, x10, #64
	b.ne	LBB0_12
; %bb.13:
	cmp	x11, x2
	b.eq	LBB0_20
; %bb.14:
	tst	x2, #0x38
	b.eq	LBB0_18
LBB0_15:
	and	x12, x2, #0xfffffffffffffff8
	and	x8, x2, #0x7
	add	x9, x1, x12
	add	x10, x0, x12
	add	x13, x0, x11
	add	x14, x1, x11
	sub	x11, x11, x12
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x14], #8
	str	d0, [x13], #8
	adds	x11, x11, #8
	b.ne	LBB0_16
; %bb.17:
	cmp	x12, x2
	b.ne	LBB0_19
	b	LBB0_20
LBB0_18:
	add	x10, x0, x11
	add	x9, x1, x11
	and	x8, x2, #0x3f
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9], #1
	strb	w11, [x10], #1
	subs	x8, x8, #1
	b.ne	LBB0_19
LBB0_20:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
