	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bs_copy_mem                    ## -- Begin function bs_copy_mem
	.p2align	4, 0x90
_bs_copy_mem:                           ## @bs_copy_mem
	.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
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	$8, %edx
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi), %eax
	movb	%al, (%rdi)
	movzbl	1(%rsi), %eax
	movb	%al, 1(%rdi)
	movzbl	2(%rsi), %eax
	movb	%al, 2(%rdi)
	movzbl	3(%rsi), %eax
	movb	%al, 3(%rdi)
	movzbl	4(%rsi), %eax
	movb	%al, 4(%rdi)
	movzbl	5(%rsi), %eax
	movb	%al, 5(%rdi)
	movzbl	6(%rsi), %eax
	movb	%al, 6(%rdi)
	movzbl	7(%rsi), %eax
	addq	$8, %rsi
	movb	%al, 7(%rdi)
	addq	$8, %rdi
	addl	$-8, %edx
	cmpl	$8, %edx
	jae	LBB0_24
LBB0_2:
	testl	%edx, %edx
	je	LBB0_13
## %bb.3:
	leal	-1(%rdx), %eax
	cmpl	$7, %eax
	jb	LBB0_4
## %bb.5:
	movq	%rdi, %rcx
	subq	%rsi, %rcx
	cmpq	$32, %rcx
	jb	LBB0_4
## %bb.6:
	leaq	1(%rax), %r8
	movabsq	$8589934560, %r10               ## imm = 0x1FFFFFFE0
	cmpl	$31, %eax
	jae	LBB0_14
## %bb.7:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_14:
	movq	%r8, %rcx
	andq	%r10, %rcx
	leaq	-32(%rcx), %rax
	movq	%rax, %r11
	shrq	$5, %r11
	incq	%r11
	movl	%r11d, %r9d
	andl	$3, %r9d
	cmpq	$96, %rax
	jae	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	jmp	LBB0_18
LBB0_16:
	andq	$-4, %r11
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_17:                                ## =>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, %r11
	jne	LBB0_17
LBB0_18:
	testq	%r9, %r9
	je	LBB0_21
## %bb.19:
	leaq	(%rdi,%rax), %r11
	addq	$16, %r11
	addq	%rsi, %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rbx), %xmm0
	movups	(%rax,%rbx), %xmm1
	movups	%xmm0, -16(%r11,%rbx)
	movups	%xmm1, (%r11,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_20
LBB0_21:
	cmpq	%rcx, %r8
	je	LBB0_13
## %bb.22:
	testb	$24, %r8b
	je	LBB0_23
LBB0_8:
	addq	$24, %r10
	andq	%r8, %r10
	subl	%r10d, %edx
	leaq	(%rsi,%r10), %r9
	leaq	(%rdi,%r10), %rax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rcx), %rbx
	movq	%rbx, (%rdi,%rcx)
	addq	$8, %rcx
	cmpq	%rcx, %r10
	jne	LBB0_9
## %bb.10:
	cmpq	%r10, %r8
	jne	LBB0_11
	jmp	LBB0_13
LBB0_23:
	addq	%rcx, %rdi
	addq	%rcx, %rsi
	subl	%ecx, %edx
LBB0_4:
	movq	%rsi, %r9
	movq	%rdi, %rax
LBB0_11:
	incl	%edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r9,%rcx), %ebx
	movb	%bl, (%rax,%rcx)
	decl	%edx
	incq	%rcx
	cmpl	$1, %edx
	ja	LBB0_12
LBB0_13:
	popq	%rbx
	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	_bs_copy_mem                    ; -- Begin function bs_copy_mem
	.p2align	2
_bs_copy_mem:                           ; @bs_copy_mem
	.cfi_startproc
; %bb.0:
	cmp	w2, #8
	b.lo	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x1]
	strb	w8, [x0]
	ldrb	w8, [x1, #1]
	strb	w8, [x0, #1]
	ldrb	w8, [x1, #2]
	strb	w8, [x0, #2]
	ldrb	w8, [x1, #3]
	strb	w8, [x0, #3]
	ldrb	w8, [x1, #4]
	strb	w8, [x0, #4]
	ldrb	w8, [x1, #5]
	strb	w8, [x0, #5]
	ldrb	w8, [x1, #6]
	strb	w8, [x0, #6]
	add	x8, x1, #8
	ldrb	w10, [x1, #7]
	add	x9, x0, #8
	strb	w10, [x0, #7]
	sub	w2, w2, #8
	mov	x1, x8
	mov	x0, x9
	cmp	w2, #8
	b.hs	LBB0_1
; %bb.2:
	mov	x0, x9
	mov	x1, x8
LBB0_3:
	cbz	w2, LBB0_19
; %bb.4:
	sub	w9, w2, #1
	cmp	w9, #7
	b.lo	LBB0_8
; %bb.5:
	sub	x8, x0, x1
	cmp	x8, #64
	b.lo	LBB0_8
; %bb.6:
	add	x8, x9, #1
	cmp	w9, #63
	b.hs	LBB0_9
; %bb.7:
	mov	x11, #0
	b	LBB0_13
LBB0_8:
	mov	x9, x1
	mov	x10, x0
	b	LBB0_17
LBB0_9:
	and	x11, x8, #0x1ffffffc0
	add	x9, x1, #32
	add	x10, x0, #32
	mov	x12, x11
LBB0_10:                                ; =>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	x12, x12, #64
	b.ne	LBB0_10
; %bb.11:
	cmp	x8, x11
	b.eq	LBB0_19
; %bb.12:
	tst	x8, #0x38
	b.eq	LBB0_16
LBB0_13:
	and	x12, x8, #0x1fffffff8
	sub	w2, w2, w12
	add	x9, x1, x12
	add	x10, x0, x12
	add	x13, x0, x11
	add	x14, x1, x11
	sub	x11, x11, x12
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x14], #8
	str	d0, [x13], #8
	adds	x11, x11, #8
	b.ne	LBB0_14
; %bb.15:
	cmp	x8, x12
	b.ne	LBB0_17
	b	LBB0_19
LBB0_16:
	add	x10, x0, x11
	add	x9, x1, x11
	sub	w2, w2, w11
LBB0_17:
	add	w8, w2, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9], #1
	strb	w11, [x10], #1
	sub	w8, w8, #1
	cmp	w8, #1
	b.hi	LBB0_18
LBB0_19:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
