	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_width16_msa
_copy_width16_msa:                      ## @copy_width16_msa
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	imull	$-1431655765, %r8d, %eax        ## imm = 0xAAAAAAAB
	addl	$715827880, %eax                ## imm = 0x2AAAAAA8
	rorl	$2, %eax
	cmpl	$357913940, %eax                ## imm = 0x15555554
	jbe	LBB0_1
## %bb.4:
	testb	$7, %r13b
	je	LBB0_10
## %bb.5:
	testb	$3, %r13b
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.6:
	cmpl	$4, %r13d
	jb	LBB0_9
## %bb.7:
	sarl	$2, %r13d
	leal	(,%r14,4), %eax
	movslq	%eax, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	movslq	%eax, %r15
	shlq	$2, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	shlq	$2, %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_LD_UB4
	movq	%r12, %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_ST_UB4
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	%r15, %r12
	decl	%r13d
	jne	LBB0_8
	jmp	LBB0_9
LBB0_1:
	leal	11(%r13), %eax
	cmpl	$23, %eax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jb	LBB0_9
## %bb.2:
	movslq	%r13d, %rax
	imulq	$715827883, %rax, %r15          ## imm = 0x2AAAAAAB
	movq	%r15, %rax
	shrq	$63, %rax
	sarq	$33, %r15
	addl	%eax, %r15d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	leal	(,%rdx,8), %eax
	movslq	%eax, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leal	(,%rcx,8), %eax
	movslq	%eax, %rdi
	leal	(,%rdx,4), %eax
	cltq
	leal	(,%rcx,4), %ecx
	movslq	%ecx, %rcx
	shlq	$2, %rax
	leaq	(%rax,%rsi,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	shlq	$2, %rcx
	leaq	(%rcx,%rdi,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_LD_UB8
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, 24(%rsp)
	movq	%r12, 16(%rsp)
	callq	_ST_UB8
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	%r12, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_LD_UB4
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movl	%r13d, %r9d
	callq	_ST_UB4
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	decl	%r15d
	jne	LBB0_3
LBB0_9:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r13d, %r8d
	movl	$16, %r9d
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_copy_16multx8mult_msa          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_width16_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_width16_msa
_copy_width16_msa:                      ; @copy_width16_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w8, #43691
	movk	w8, #10922, lsl #16
	smull	x8, w4, w8
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w25, w8, w9
	mov	w8, #12
	msub	w8, w25, w8, w4
	cbz	w8, LBB0_6
; %bb.1:
	tst	w4, #0x7
	b.eq	LBB0_10
; %bb.2:
	tst	w4, #0x3
	b.ne	LBB0_9
; %bb.3:
	cmp	w4, #4
	b.lo	LBB0_9
; %bb.4:
	asr	w23, w4, #2
	lsl	w8, w21, #2
	lsl	w9, w19, #2
	sbfiz	x24, x8, #2, #32
	sbfiz	x25, x9, #2, #32
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w23, w23, #1
	mov	x0, x22
	mov	x1, x21
	bl	_LD_UB4
	mov	x4, x20
	mov	x5, x19
	bl	_ST_UB4
	add	x22, x22, x24
	add	x20, x20, x25
	cbnz	w23, LBB0_5
	b	LBB0_9
LBB0_6:
	add	w8, w4, #11
	cmp	w8, #23
	b.lo	LBB0_9
; %bb.7:
	lsl	w8, w21, #3
	lsl	w9, w19, #3
	lsl	w10, w21, #2
	lsl	w11, w19, #2
	sbfiz	x26, x8, #2, #32
	add	x8, x26, w10, sxtw #2
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	sbfiz	x28, x9, #2, #32
	add	x27, x28, w11, sxtw #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	w25, w25, #1
	mov	x0, x22
	mov	x1, x21
	bl	_LD_UB8
	add	x23, x22, x26
	str	w19, [sp, #8]
	str	x20, [sp]
	bl	_ST_UB8
	add	x24, x20, x28
	mov	x0, x23
	mov	x1, x21
	bl	_LD_UB4
	mov	x4, x24
	mov	x5, x19
	bl	_ST_UB4
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x22, x22, x8
	add	x20, x20, x27
	cbnz	w25, LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	w5, #16
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_copy_16multx8mult_msa
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_width16_msa
.subsections_via_symbols
