	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stack_copy
_stack_copy:                            ## @stack_copy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.1:
	cmpq	$8, %rdx
	jb	LBB0_12
## %bb.2:
	movq	%rdi, %rax
	subq	%rsi, %rax
	cmpq	$32, %rax
	jb	LBB0_12
## %bb.3:
	movq	%rdx, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rax
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movl	%ecx, %r9d
	andl	$3, %r9d
	cmpq	$24, %rax
	jae	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rax,4), %xmm0
	movups	16(%rsi,%rax,4), %xmm1
	movups	%xmm0, (%rdi,%rax,4)
	movups	%xmm1, 16(%rdi,%rax,4)
	movups	32(%rsi,%rax,4), %xmm0
	movups	48(%rsi,%rax,4), %xmm1
	movups	%xmm0, 32(%rdi,%rax,4)
	movups	%xmm1, 48(%rdi,%rax,4)
	movups	64(%rsi,%rax,4), %xmm0
	movups	80(%rsi,%rax,4), %xmm1
	movups	%xmm0, 64(%rdi,%rax,4)
	movups	%xmm1, 80(%rdi,%rax,4)
	movups	96(%rsi,%rax,4), %xmm0
	movups	112(%rsi,%rax,4), %xmm1
	movups	%xmm0, 96(%rdi,%rax,4)
	movups	%xmm1, 112(%rdi,%rax,4)
	addq	$32, %rax
	addq	$-4, %rcx
	jne	LBB0_6
LBB0_7:
	testq	%r9, %r9
	je	LBB0_10
## %bb.8:
	leaq	(%rdi,%rax,4), %r10
	addq	$16, %r10
	leaq	(%rsi,%rax,4), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ## =>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, %r9
	jne	LBB0_9
LBB0_10:
	cmpq	%rdx, %r8
	je	LBB0_17
## %bb.11:
	andl	$7, %edx
	leaq	(%rsi,%r8,4), %rsi
	leaq	(%rdi,%r8,4), %rdi
LBB0_12:
	leaq	-1(%rdx), %r8
	movq	%rdx, %rcx
	andq	$7, %rcx
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	decq	%rdx
	movl	(%rsi), %eax
	addq	$4, %rsi
	movl	%eax, (%rdi)
	addq	$4, %rdi
	decq	%rcx
	jne	LBB0_13
LBB0_14:
	cmpq	$7, %r8
	jb	LBB0_17
## %bb.15:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rax,4), %ecx
	movl	%ecx, (%rdi,%rax,4)
	movl	4(%rsi,%rax,4), %ecx
	movl	%ecx, 4(%rdi,%rax,4)
	movl	8(%rsi,%rax,4), %ecx
	movl	%ecx, 8(%rdi,%rax,4)
	movl	12(%rsi,%rax,4), %ecx
	movl	%ecx, 12(%rdi,%rax,4)
	movl	16(%rsi,%rax,4), %ecx
	movl	%ecx, 16(%rdi,%rax,4)
	movl	20(%rsi,%rax,4), %ecx
	movl	%ecx, 20(%rdi,%rax,4)
	movl	24(%rsi,%rax,4), %ecx
	movl	%ecx, 24(%rdi,%rax,4)
	movl	28(%rsi,%rax,4), %ecx
	movl	%ecx, 28(%rdi,%rax,4)
	addq	$8, %rax
	cmpq	%rax, %rdx
	jne	LBB0_16
LBB0_17:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stack_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stack_copy
_stack_copy:                            ; @stack_copy
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_8
; %bb.1:
	cmp	x2, #16
	b.lo	LBB0_6
; %bb.2:
	sub	x8, x0, x1
	cmp	x8, #64
	b.lo	LBB0_6
; %bb.3:
	and	x11, x2, #0xfffffffffffffff0
	and	x8, x2, #0xf
	lsl	x10, x11, #2
	add	x9, x1, x10
	add	x10, x0, x10
	add	x12, x0, #32
	add	x13, x1, #32
	mov	x14, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x2
	b.ne	LBB0_7
	b	LBB0_8
LBB0_6:
	mov	x8, x2
	mov	x9, x1
	mov	x10, x0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	str	w11, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stack_copy
.subsections_via_symbols
