	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_uniwgt_copy_64w_msa
_hevc_uniwgt_copy_64w_msa:              ## @hevc_uniwgt_copy_64w_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movl	24(%rbp), %r12d
	movl	16(%rbp), %r13d
	movzwl	%r9w, %edi
	callq	___msa_fill_w
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	___msa_fill_h
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	___msa_fill_w
	cmpl	$2, %ebx
	jb	LBB0_3
## %bb.1:
	movl	%eax, %r12d
	sarl	%ebx
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-56(%rbp), %rcx                 ## 4-byte Folded Reload
	leaq	(,%rax,8), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_LD_SB4
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax), %rdi
	movl	$16, %esi
	callq	_LD_SB4
	xorl	%edi, %edi
	callq	_ILVRL_B2_SH
	xorl	%edi, %edi
	callq	_ILVRL_B2_SH
	xorl	%edi, %edi
	callq	_ILVRL_B2_SH
	xorl	%edi, %edi
	callq	_ILVRL_B2_SH
	xorl	%edi, %edi
	callq	_ILVRL_B2_SH
	xorl	%edi, %edi
	callq	_ILVRL_B2_SH
	xorl	%edi, %edi
	callq	_ILVRL_B2_SH
	xorl	%edi, %edi
	callq	_ILVRL_B2_SH
	movl	$6, %r8d
	callq	_SLLI_4V
	movl	$6, %r8d
	callq	_SLLI_4V
	movl	$6, %r8d
	callq	_SLLI_4V
	movl	$6, %r8d
	callq	_SLLI_4V
	movl	%r12d, (%rsp)
	movq	%r14, %r15
	movl	%r12d, %r14d
	movl	%r13d, %r12d
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	%r14d, (%rsp)
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	%r14d, (%rsp)
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	%r14d, (%rsp)
	movl	%r13d, %r8d
	movl	%r12d, %r13d
	movl	%r14d, %r12d
	movq	%r15, %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	%r13d, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	callq	_PCKEV_B2_UB
	callq	_PCKEV_B2_UB
	callq	_PCKEV_B2_UB
	callq	_PCKEV_B2_UB
	movq	%r14, %r8
	movl	$16, %r9d
	callq	_ST_UB4
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %r8
	movl	$16, %r9d
	callq	_ST_UB4
	addq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	addq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	decl	%ebx
	jne	LBB0_2
LBB0_3:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_uniwgt_copy_64w_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_uniwgt_copy_64w_msa
_hevc_uniwgt_copy_64w_msa:              ; @hevc_uniwgt_copy_64w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x7
	mov	x22, x6
	mov	x26, x4
	mov	x24, x3
	mov	x19, x2
	mov	x25, x1
	mov	x20, x0
	and	w0, w5, #0xffff
	bl	___msa_fill_w
	mov	x21, x0
	mov	x0, x22
	bl	___msa_fill_h
	mov	x22, x0
	mov	x0, x23
	bl	___msa_fill_w
	cmp	w26, #2
	b.lo	LBB0_3
; %bb.1:
	mov	x23, x0
	asr	w26, w26, #1
	sbfiz	x27, x25, #3, #32
	sbfiz	x25, x25, #2, #32
	sbfiz	x28, x24, #3, #32
	sbfiz	x24, x24, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w26, w26, #1
	mov	x0, x20
	mov	w1, #16
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_LD_SB4
	add	x0, x20, x25
	mov	w1, #16
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_LD_SB4
	mov	x0, #0
	mov	x1, #0
	bl	_ILVRL_B2_SH
	mov	x0, #0
	mov	x1, #0
	bl	_ILVRL_B2_SH
	mov	x0, #0
	mov	x1, #0
	bl	_ILVRL_B2_SH
	mov	x0, #0
	mov	x1, #0
	bl	_ILVRL_B2_SH
	mov	x0, #0
	mov	x1, #0
	bl	_ILVRL_B2_SH
	mov	x0, #0
	mov	x1, #0
	bl	_ILVRL_B2_SH
	mov	x0, #0
	mov	x1, #0
	bl	_ILVRL_B2_SH
	mov	x0, #0
	mov	x1, #0
	bl	_ILVRL_B2_SH
	mov	w4, #6
	bl	_SLLI_4V
	mov	w4, #6
	bl	_SLLI_4V
	mov	w4, #6
	bl	_SLLI_4V
	mov	w4, #6
	bl	_SLLI_4V
	mov	x4, x21
	mov	x5, x22
	mov	x6, x23
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x4, x21
	mov	x5, x22
	mov	x6, x23
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x4, x21
	mov	x5, x22
	mov	x6, x23
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x4, x21
	mov	x5, x22
	mov	x6, x23
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	bl	_PCKEV_B2_UB
	bl	_PCKEV_B2_UB
	bl	_PCKEV_B2_UB
	bl	_PCKEV_B2_UB
	mov	x4, x19
	mov	w5, #16
	bl	_ST_UB4
	add	x4, x19, x24
	mov	w5, #16
	bl	_ST_UB4
	add	x20, x20, x27
	add	x19, x19, x28
	cbnz	w26, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_uniwgt_copy_64w_msa
.subsections_via_symbols
