	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memmove                        ## -- Begin function memmove
	.p2align	4, 0x90
_memmove:                               ## @memmove
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	%rdi, %rsi
	je	LBB0_34
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_34
## %bb.2:
	movq	%rbx, %rcx
	subq	%rsi, %rcx
	jbe	LBB0_17
## %bb.3:
	movq	%rcx, %rax
	sarq	$2, %rax
	movslq	%edx, %rdi
	cmpq	%rdi, %rax
	jge	LBB0_17
## %bb.4:
	movl	%edx, %r9d
	decl	%r9d
	js	LBB0_34
## %bb.5:
	cmpl	$8, %edx
	jb	LBB0_15
## %bb.6:
	movl	%r9d, %eax
	leaq	(%rsi,%rax,4), %rcx
	leaq	(%rbx,%rax,4), %rax
	subq	%rax, %rcx
	cmpq	$32, %rcx
	jb	LBB0_15
## %bb.7:
	movl	%edx, %r8d
	andl	$-8, %r8d
	leal	-8(%r8), %eax
	movl	%eax, %r11d
	shrl	$3, %r11d
	incl	%r11d
	movl	%r11d, %r10d
	andl	$3, %r10d
	xorl	%ecx, %ecx
	cmpl	$24, %eax
	jb	LBB0_10
## %bb.8:
	andl	$-4, %r11d
	leal	-25(%rdx), %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	24(%rax), %edi
	movups	-28(%rsi,%rdi,4), %xmm0
	movups	-12(%rsi,%rdi,4), %xmm1
	movups	%xmm1, -12(%rbx,%rdi,4)
	movups	%xmm0, -28(%rbx,%rdi,4)
	leal	16(%rax), %edi
	movups	-28(%rsi,%rdi,4), %xmm0
	movups	-12(%rsi,%rdi,4), %xmm1
	movups	%xmm1, -12(%rbx,%rdi,4)
	movups	%xmm0, -28(%rbx,%rdi,4)
	leal	8(%rax), %edi
	movups	-28(%rsi,%rdi,4), %xmm0
	movups	-12(%rsi,%rdi,4), %xmm1
	movups	%xmm1, -12(%rbx,%rdi,4)
	movups	%xmm0, -28(%rbx,%rdi,4)
	movl	%eax, %edi
	movups	-28(%rsi,%rdi,4), %xmm0
	movups	-12(%rsi,%rdi,4), %xmm1
	movups	%xmm1, -12(%rbx,%rdi,4)
	movups	%xmm0, -28(%rbx,%rdi,4)
	addl	$32, %ecx
	addl	$-32, %eax
	addl	$-4, %r11d
	jne	LBB0_9
LBB0_10:
	testl	%r10d, %r10d
	je	LBB0_13
## %bb.11:
	notl	%ecx
	addl	%edx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	movups	-28(%rsi,%rax,4), %xmm0
	movups	-12(%rsi,%rax,4), %xmm1
	movups	%xmm1, -12(%rbx,%rax,4)
	movups	%xmm0, -28(%rbx,%rax,4)
	addl	$-8, %ecx
	decl	%r10d
	jne	LBB0_12
LBB0_13:
	cmpl	%edx, %r8d
	je	LBB0_34
## %bb.14:
	subl	%r8d, %r9d
LBB0_15:
	movl	%r9d, %eax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %ecx
	movl	%ecx, (%rbx,%rax,4)
	decq	%rax
	leal	1(%rax), %ecx
	testl	%ecx, %ecx
	jg	LBB0_16
	jmp	LBB0_34
LBB0_17:
	movq	%rsi, %rax
	subq	%rbx, %rax
	jbe	LBB0_33
## %bb.18:
	sarq	$2, %rax
	movslq	%edx, %rdi
	cmpq	%rdi, %rax
	jge	LBB0_33
## %bb.19:
	xorl	%eax, %eax
	cmpq	$8, %rdx
	jb	LBB0_29
## %bb.20:
	cmpq	$32, %rcx
	jb	LBB0_29
## %bb.21:
	movq	%rdx, %rax
	andq	$-8, %rax
	leaq	-8(%rax), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rcx
	jae	LBB0_23
## %bb.22:
	xorl	%ecx, %ecx
	jmp	LBB0_25
LBB0_33:
	movq	%rbx, %rdi
	callq	_memcpy
LBB0_34:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_23:
	andq	$-4, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rcx,4), %xmm0
	movups	16(%rsi,%rcx,4), %xmm1
	movups	%xmm0, (%rbx,%rcx,4)
	movups	%xmm1, 16(%rbx,%rcx,4)
	movups	32(%rsi,%rcx,4), %xmm0
	movups	48(%rsi,%rcx,4), %xmm1
	movups	%xmm0, 32(%rbx,%rcx,4)
	movups	%xmm1, 48(%rbx,%rcx,4)
	movups	64(%rsi,%rcx,4), %xmm0
	movups	80(%rsi,%rcx,4), %xmm1
	movups	%xmm0, 64(%rbx,%rcx,4)
	movups	%xmm1, 80(%rbx,%rcx,4)
	movups	96(%rsi,%rcx,4), %xmm0
	movups	112(%rsi,%rcx,4), %xmm1
	movups	%xmm0, 96(%rbx,%rcx,4)
	movups	%xmm1, 112(%rbx,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rdi
	jne	LBB0_24
LBB0_25:
	testq	%r8, %r8
	je	LBB0_28
## %bb.26:
	leaq	(%rbx,%rcx,4), %r9
	addq	$16, %r9
	leaq	(%rsi,%rcx,4), %rcx
	addq	$16, %rcx
	shlq	$5, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rdi), %xmm0
	movups	(%rcx,%rdi), %xmm1
	movups	%xmm0, -16(%r9,%rdi)
	movups	%xmm1, (%r9,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_27
LBB0_28:
	cmpq	%rdx, %rax
	je	LBB0_34
LBB0_29:
	movq	%rax, %r8
	notq	%r8
	addq	%rdx, %r8
	movq	%rdx, %rdi
	andq	$3, %rdi
	je	LBB0_31
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %ecx
	movl	%ecx, (%rbx,%rax,4)
	incq	%rax
	decq	%rdi
	jne	LBB0_30
LBB0_31:
	cmpq	$3, %r8
	jb	LBB0_34
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %ecx
	movl	%ecx, (%rbx,%rax,4)
	movl	4(%rsi,%rax,4), %ecx
	movl	%ecx, 4(%rbx,%rax,4)
	movl	8(%rsi,%rax,4), %ecx
	movl	%ecx, 8(%rbx,%rax,4)
	movl	12(%rsi,%rax,4), %ecx
	movl	%ecx, 12(%rbx,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %rdx
	jne	LBB0_32
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_memmove                        ; -- Begin function memmove
	.p2align	2
_memmove:                               ; @memmove
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	x1, x0
	b.eq	LBB0_20
; %bb.1:
	cbz	x2, LBB0_20
; %bb.2:
	subs	x9, x19, x1
	b.ls	LBB0_10
; %bb.3:
	asr	x8, x9, #2
	cmp	x8, w2, sxtw
	b.ge	LBB0_10
; %bb.4:
	subs	w8, w2, #1
	b.mi	LBB0_20
; %bb.5:
	cmp	w2, #16
	b.lo	LBB0_7
; %bb.6:
	lsl	x9, x8, #2
	add	x10, x9, x1
	add	x9, x9, x19
	sub	x9, x10, x9
	cmp	x9, #64
	b.hs	LBB0_21
LBB0_7:
	mov	x9, x8
LBB0_8:
	mov	w8, w9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x9, x8, #2
	ldr	w10, [x1, x9]
	str	w10, [x19, x9]
	sub	x8, x8, #1
	add	w9, w8, #1
	cmp	w9, #0
	b.gt	LBB0_9
	b	LBB0_20
LBB0_10:
	subs	x8, x1, x19
	b.ls	LBB0_19
; %bb.11:
	asr	x8, x8, #2
	cmp	x8, w2, sxtw
	b.ge	LBB0_19
; %bb.12:
	mov	x8, #0
	cmp	x2, #16
	b.lo	LBB0_17
; %bb.13:
	cmp	x9, #64
	b.lo	LBB0_17
; %bb.14:
	and	x8, x2, #0xfffffffffffffff0
	add	x9, x1, #32
	add	x10, x19, #32
	mov	x11, x8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x11, x11, #16
	b.ne	LBB0_15
; %bb.16:
	cmp	x8, x2
	b.eq	LBB0_20
LBB0_17:
	sub	x9, x2, x8
	lsl	x10, x8, #2
	add	x8, x19, x10
	add	x10, x1, x10
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_18
	b	LBB0_20
LBB0_19:
	mov	x0, x19
	bl	_memcpy
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_21:
	and	w10, w2, #0xfffffff0
	sub	w9, w8, w10
	mov	x11, x10
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	w12, w8
	lsl	x12, x12, #2
	add	x13, x1, x12
	ldur	q0, [x13, #-12]
	ldur	q1, [x13, #-28]
	ldur	q2, [x13, #-44]
	ldur	q3, [x13, #-60]
	add	x12, x19, x12
	stur	q0, [x12, #-12]
	stur	q1, [x12, #-28]
	stur	q2, [x12, #-44]
	stur	q3, [x12, #-60]
	sub	w8, w8, #16
	sub	w11, w11, #16
	cbnz	w11, LBB0_22
; %bb.23:
	cmp	w10, w2
	b.eq	LBB0_20
	b	LBB0_8
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
