	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_uniwgt_4t_12w_msa
_hevc_hv_uniwgt_4t_12w_msa:             ## @hevc_hv_uniwgt_4t_12w_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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	40(%rbp), %r13d
	movl	24(%rbp), %r14d
	movl	%esi, %eax
	notl	%eax
	cltq
	leaq	(%rdi,%rax,4), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	%r8, %rdi
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r12, %rdi
	callq	_LD_SH
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%rax, %rsi
	callq	_UNPCK_R_SB_SH
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_SPLATI_W2_SH
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %r12
	leaq	2(%rax), %r15
	movl	%r14d, %edi
	callq	___msa_fill_w
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	32(%rbp), %edi
	callq	___msa_fill_h
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addl	$-6, %r13d
	movl	%r13d, %edi
	callq	___msa_fill_h
	movq	%rax, %rbx
	shll	$7, %r14d
	movl	%r14d, %edi
	callq	___msa_fill_h
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	___msa_srar_h
	movq	%rax, %r13
	addq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	movq	-168(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_LD_SB3
	leal	(%rbx,%rbx,2), %eax
	cltq
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	(%r14,%rax,4), %r14
	callq	_XORI_B3_128_SB
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movq	%r12, %r8
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r15
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ILVRL_H2_SH
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ILVRL_H2_SH
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	movslq	%eax, %rcx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %rcx
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	$-4, %eax
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%r13, -176(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r13
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r14
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r15
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ILVRL_H2_SH
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ILVRL_H2_SH
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ILVRL_H2_SH
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r15d
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%r12d, %edi
	movl	-88(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	movl	%r12d, -136(%rbp)               ## 4-byte Spill
	movl	%r13d, %r9d
	callq	_MUL2
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	-112(%rbp), %edx                ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	%edx, %r9d
	callq	_MUL2
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	%r13d, %r9d
	callq	_MUL2
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movl	%edi, %r8d
	movl	%edx, %r9d
	callq	_MUL2
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %r8d
	callq	_SRAR_W4_SW
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	movl	-112(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %edx
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	callq	_SRAR_W4_SW
	movl	%r13d, 8(%rsp)
	movl	%r12d, (%rsp)
	movq	-160(%rbp), %r14                ## 8-byte Reload
	movq	-176(%rbp), %r13                ## 8-byte Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-136(%rbp), %esi                ## 4-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_PCKEV_H4_SH
	movq	%r13, %rsi
	movq	%r13, %rcx
	callq	_ADD2
	movq	%r13, %rsi
	movq	%r13, %rcx
	callq	_ADD2
	callq	_CLIP_SH4_0_255
	callq	_PCKEV_B2_UB
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 8(%rsp)
	movq	%rbx, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	addq	-200(%rbp), %r14                ## 8-byte Folded Reload
	addq	-192(%rbp), %rbx                ## 8-byte Folded Reload
	movq	-144(%rbp), %r12                ## 8-byte Reload
	incl	%eax
	jne	LBB0_1
## %bb.2:
	movq	-168(%rbp), %r15                ## 8-byte Reload
	leaq	32(%r15), %r14
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	addq	$32, %r13
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$16, %rdi
	callq	_LD_SB
	movq	%rax, %rbx
	leaq	2(%rax), %r12
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB3
	movq	-184(%rbp), %rax                ## 8-byte Reload
	leaq	(%r15,%rax,4), %r15
	addq	$32, %r15
	callq	_XORI_B3_128_SB
	movq	%rbx, %r8
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	%rbx, %r8
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r14
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	movl	$1, %esi
	callq	___msa_splati_d
	movq	%rax, %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,8), %eax
	movslq	%eax, %rcx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,8), %eax
	cltq
	shlq	$2, %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	$-2, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB8
	callq	_XORI_B8_128_SB
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r13
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r15
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r12
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	___msa_ilvr_h
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ILVRL_H2_SH
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ILVRL_H2_SH
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	$1, %esi
	callq	___msa_splati_d
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	___msa_ilvr_h
	movq	%rax, %rbx
	movq	%r14, %rsi
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_HEVC_FILT_4TAP
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rsi
	callq	_HEVC_FILT_4TAP
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	movl	%eax, -152(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r15d
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%ebx, %r15d
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	callq	_MUL2
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%edi, %r8d
	movl	%edx, %r9d
	callq	_MUL2
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	-152(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%r12d, %r8d
	movl	%r13d, %r9d
	callq	_MUL2
	movl	-72(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	movl	%r15d, %r9d
	callq	_MUL2
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_SRAR_W4_SW
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	callq	_SRAR_W4_SW
	movl	%r14d, 8(%rsp)
	movl	%r15d, (%rsp)
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movl	%r12d, %r9d
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	callq	_PCKEV_H4_SH
	movq	%rbx, %rsi
	movq	%rbx, %rcx
	callq	_ADD2
	movq	%rbx, %rsi
	movq	%rbx, %rcx
	callq	_ADD2
	callq	_CLIP_SH4_0_255
	callq	_PCKEV_B2_UB
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 40(%rsp)
	movq	%r13, 32(%rsp)
	movl	$3, 24(%rsp)
	movl	$2, 16(%rsp)
	movl	$1, 8(%rsp)
	movl	$0, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$2, %r8d
	movl	$3, %r9d
	callq	_ST_W8
	movq	-160(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$1, %esi
	callq	___msa_splati_d
	movq	%rax, %r14
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movq	-112(%rbp), %r15                ## 8-byte Reload
	addq	-128(%rbp), %r15                ## 8-byte Folded Reload
	addq	-120(%rbp), %r13                ## 8-byte Folded Reload
	incl	%eax
	jne	LBB0_3
## %bb.4:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,8,3           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_uniwgt_4t_12w_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_hv_uniwgt_4t_12w_msa
_hevc_hv_uniwgt_4t_12w_msa:             ; @hevc_hv_uniwgt_4t_12w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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, x7
	mov	x20, x5
	mov	x24, x3
	str	x2, [sp, #56]                   ; 8-byte Folded Spill
	mov	x25, x1
	ldp	w22, w23, [x29, #16]
	mvn	w8, w1
	add	x27, x0, w8, sxtw #2
	mov	x0, x4
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	x0, x20
	bl	_LD_SH
	mov	x20, x0
	mov	x1, x0
	bl	_UNPCK_R_SB_SH
	mov	x0, x20
	mov	w1, #0
	bl	_SPLATI_W2_SH
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_SB
	mov	x28, x0
	add	x26, x0, #2
	mov	x0, x19
	bl	___msa_fill_w
	mov	x21, x0
	mov	x0, x23
	bl	___msa_fill_w
	stur	w0, [x29, #-92]                 ; 4-byte Folded Spill
	mov	x0, x22
	bl	___msa_fill_h
	mov	x20, x0
	sub	w0, w23, #6
	bl	___msa_fill_h
	mov	x22, x0
	lsl	w0, w19, #7
	bl	___msa_fill_h
	mov	x1, x22
	bl	___msa_srar_h
	add	x23, x0, x20
	mov	x0, x27
	mov	x1, x25
	bl	_LD_SB3
	add	w8, w25, w25, lsl #1
	sxtw	x9, w8
	stp	x9, x27, [sp, #40]              ; 16-byte Folded Spill
	add	x27, x27, w8, sxtw #2
	bl	_XORI_B3_128_SB
	mov	x4, x28
	mov	x5, x26
	bl	_VSHF_B2_SB
	mov	x4, x28
	mov	x5, x26
	bl	_VSHF_B2_SB
	stp	x26, x28, [sp, #80]             ; 16-byte Folded Spill
	mov	x4, x28
	mov	x5, x26
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	mov	x0, x22
	mov	x1, x20
	bl	_ILVRL_H2_SH
	mov	x0, x19
	mov	x1, x22
	bl	_ILVRL_H2_SH
	stp	w25, w24, [x29, #-88]           ; 8-byte Folded Spill
	lsl	w8, w25, #2
	lsl	w9, w24, #2
	sbfiz	x10, x8, #2, #32
	sbfiz	x8, x9, #2, #32
	stp	x8, x10, [sp, #64]              ; 16-byte Folded Spill
	mov	w8, #-4
	ldr	x24, [sp, #56]                  ; 8-byte Folded Reload
	stur	w21, [x29, #-96]                ; 4-byte Folded Spill
	stur	x23, [x29, #-104]               ; 8-byte Folded Spill
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [sp, #108]                  ; 4-byte Folded Spill
	str	x27, [sp, #112]                 ; 8-byte Folded Spill
	mov	x0, x27
	ldur	w1, [x29, #-88]                 ; 4-byte Folded Reload
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	ldp	x22, x20, [sp, #80]             ; 16-byte Folded Reload
	mov	x4, x20
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x20
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x20
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x20
	mov	x5, x22
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x25, x0
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	mov	x0, x20
	mov	x1, x19
	bl	_ILVRL_H2_SH
	mov	x0, x22
	mov	x1, x20
	bl	_ILVRL_H2_SH
	mov	x0, x23
	mov	x1, x22
	bl	_ILVRL_H2_SH
	mov	x0, x25
	mov	x1, x23
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	bl	_HEVC_FILT_4TAP
	mov	x20, x0
	bl	_HEVC_FILT_4TAP
	mov	x22, x0
	bl	_HEVC_FILT_4TAP
	mov	x27, x0
	bl	_HEVC_FILT_4TAP
	mov	x26, x0
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	bl	_HEVC_FILT_4TAP
	mov	x25, x0
	bl	_HEVC_FILT_4TAP
	mov	x28, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x27
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x26
	mov	x1, x23
	mov	x2, x25
	mov	x3, x28
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x21
	mov	x4, x19
	mov	x5, x22
	bl	_MUL2
	mov	x0, x26
	mov	x1, x21
	mov	x2, x25
	mov	x3, x21
	mov	x4, x26
	mov	x5, x25
	bl	_MUL2
	mov	x0, x20
	mov	x1, x21
	mov	x2, x27
	mov	x3, x21
	mov	x4, x20
	mov	x5, x27
	bl	_MUL2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x28
	mov	x3, x21
	mov	x4, x23
	mov	x5, x28
	bl	_MUL2
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x27
	ldur	w21, [x29, #-92]                ; 4-byte Folded Reload
	mov	x4, x21
	bl	_SRAR_W4_SW
	mov	x0, x26
	mov	x1, x23
	mov	x2, x25
	mov	x3, x28
	mov	x4, x21
	ldur	w21, [x29, #-96]                ; 4-byte Folded Reload
	bl	_SRAR_W4_SW
	mov	x0, x20
	mov	x1, x19
	mov	x2, x27
	ldr	x27, [sp, #112]                 ; 8-byte Folded Reload
	mov	x3, x22
	mov	x4, x23
	ldur	x23, [x29, #-104]               ; 8-byte Folded Reload
	mov	x5, x26
	mov	x6, x28
	mov	x7, x25
	bl	_PCKEV_H4_SH
	mov	x1, x23
	mov	x3, x23
	bl	_ADD2
	mov	x1, x23
	mov	x3, x23
	bl	_ADD2
	bl	_CLIP_SH4_0_255
	bl	_PCKEV_B2_UB
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x24
	ldur	w7, [x29, #-84]                 ; 4-byte Folded Reload
	bl	_ST_D4
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x27, x27, x8
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x24, x24, x8
	ldr	w8, [sp, #108]                  ; 4-byte Folded Reload
	ldr	x19, [sp, #96]                  ; 8-byte Folded Reload
	adds	w8, w8, #1
	b.lo	LBB0_1
; %bb.2:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x19, x8, #32
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x23, x8, #32
Lloh3:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, #16
	bl	_LD_SB
	mov	x20, x0
	add	x24, x0, #2
	mov	x0, x19
	ldur	w22, [x29, #-88]                ; 4-byte Folded Reload
	mov	x1, x22
	bl	_LD_SB3
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x26, x19, x8, lsl #2
	bl	_XORI_B3_128_SB
	mov	x4, x20
	mov	x5, x24
	bl	_VSHF_B2_SB
	stp	x24, x20, [sp, #80]             ; 16-byte Folded Spill
	mov	x4, x20
	mov	x5, x24
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	mov	x1, x19
	bl	_ILVRL_H2_SH
	mov	x0, x20
	mov	w1, #1
	bl	___msa_splati_d
	mov	x19, x0
	lsl	w8, w22, #3
	ldur	w9, [x29, #-84]                 ; 4-byte Folded Reload
	lsl	w9, w9, #3
	sbfiz	x10, x8, #2, #32
	sbfiz	x8, x9, #2, #32
	stp	x8, x10, [sp, #64]              ; 16-byte Folded Spill
	mov	w8, #-2
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [sp, #108]                  ; 4-byte Folded Spill
	str	x23, [sp, #112]                 ; 8-byte Folded Spill
	mov	x0, x26
	ldur	w1, [x29, #-88]                 ; 4-byte Folded Reload
	bl	_LD_SB8
	bl	_XORI_B8_128_SB
	ldp	x22, x20, [sp, #80]             ; 16-byte Folded Reload
	mov	x4, x20
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x20
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x20
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x20
	mov	x5, x22
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x25, x0
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	mov	x0, x20
	mov	x1, x19
	bl	___msa_ilvr_h
	mov	x24, x0
	mov	x0, x22
	mov	x1, x20
	bl	_ILVRL_H2_SH
	mov	x0, x23
	mov	x1, x22
	bl	_ILVRL_H2_SH
	mov	x0, x25
	mov	x1, x23
	bl	_ILVRL_H2_SH
	mov	x0, x20
	mov	w1, #1
	bl	___msa_splati_d
	mov	x1, x25
	bl	___msa_ilvr_h
	mov	x23, x0
	mov	x1, x24
	bl	_HEVC_FILT_4TAP
	mov	x28, x0
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	mov	x0, x24
	bl	_HEVC_FILT_4TAP
	mov	x20, x0
	bl	_HEVC_FILT_4TAP
	mov	x22, x0
	mov	x1, x23
	bl	_HEVC_FILT_4TAP
	mov	x25, x0
	bl	_HEVC_FILT_4TAP
	mov	x24, x0
	mov	x0, x23
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	bl	_HEVC_FILT_4TAP
	mov	x27, x0
	mov	x0, x28
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x27
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x28
	mov	x1, x21
	mov	x2, x19
	mov	x3, x21
	mov	x4, x28
	mov	x5, x19
	bl	_MUL2
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x22
	bl	_MUL2
	mov	x0, x25
	mov	x1, x21
	mov	x2, x24
	mov	x3, x21
	mov	x4, x25
	mov	x5, x24
	bl	_MUL2
	mov	x0, x23
	mov	x1, x21
	mov	x2, x27
	mov	x3, x21
	mov	x4, x23
	mov	x5, x27
	bl	_MUL2
	mov	x0, x28
	mov	x1, x19
	mov	x2, x20
	mov	x3, x22
	ldur	w21, [x29, #-92]                ; 4-byte Folded Reload
	mov	x4, x21
	bl	_SRAR_W4_SW
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x27
	mov	x4, x21
	ldur	w21, [x29, #-96]                ; 4-byte Folded Reload
	bl	_SRAR_W4_SW
	mov	x0, x19
	mov	x1, x28
	mov	x2, x22
	mov	x3, x20
	mov	x4, x24
	mov	x5, x25
	mov	x6, x27
	mov	x7, x23
	ldr	x23, [sp, #112]                 ; 8-byte Folded Reload
	ldur	x19, [x29, #-104]               ; 8-byte Folded Reload
	bl	_PCKEV_H4_SH
	mov	x1, x19
	mov	x3, x19
	bl	_ADD2
	mov	x1, x19
	mov	x3, x19
	bl	_ADD2
	bl	_CLIP_SH4_0_255
	bl	_PCKEV_B2_UB
	ldur	w8, [x29, #-84]                 ; 4-byte Folded Reload
	str	w8, [sp, #16]
	mov	x8, #2
	movk	x8, #3, lsl #32
	stp	x8, x23, [sp]
	mov	w2, #0
	mov	w3, #1
	mov	w4, #2
	mov	w5, #3
	mov	w6, #0
	mov	w7, #1
	bl	_ST_W8
	ldr	x0, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #1
	bl	___msa_splati_d
	mov	x19, x0
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x26, x26, x8
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x23, x23, x8
	ldr	w8, [sp, #108]                  ; 4-byte Folded Reload
	adds	w8, w8, #1
	b.lo	LBB0_3
; %bb.4:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_uniwgt_4t_12w_msa
.subsections_via_symbols
