	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_8t_12w_msa
_hevc_hv_8t_12w_msa:                    ## @hevc_hv_8t_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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movl	%esi, %r15d
	leal	(%r15,%r15,2), %eax
	movl	$-3, %ecx
	subl	%eax, %ecx
	movslq	%ecx, %rax
	leaq	(%rdi,%rax,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	movq	%rbx, %rdi
	callq	_LD_SH
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%eax, %esi
	callq	_UNPCK_R_SB_SH
	movl	%ebx, %edi
	callq	_SPLATI_W4_SH
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %r12
	leaq	2(%rax), %r13
	addq	$4, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	6(%r12), %r14
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %ebx
	shll	$6, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_LD_SB7
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	leal	(,%r15,8), %eax
	subl	%r15d, %eax
	cltq
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	callq	_XORI_B7_128_SB
	movq	%r12, %rdx
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B4_SB
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B4_SB
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B4_SB
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r15, %r13
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B4_SB
	movl	%ebx, 40(%rsp)
	movl	%ebx, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	%ebx, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%ebx, 40(%rsp)
	movl	%ebx, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	%ebx, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%ebx, 40(%rsp)
	movl	%ebx, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	%ebx, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%ebx, 40(%rsp)
	movl	%ebx, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	%ebx, 16(%rsp)
	callq	_DPADD_SB4_SH
	movq	%r12, %rdx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r14, %r9
	callq	_VSHF_B4_SB
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r14, %r9
	callq	_VSHF_B4_SB
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	movq	%r12, %rdx
	movq	%r13, %r8
	movq	%r15, %rcx
	movq	%r14, %r9
	callq	_VSHF_B4_SB
	movl	%ebx, 40(%rsp)
	movl	%ebx, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	%ebx, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%ebx, 40(%rsp)
	movl	%ebx, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	%ebx, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%ebx, 40(%rsp)
	movl	%ebx, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	16(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rcx,%rdx,4), %r12
	movslq	-96(%rbp), %rcx                 ## 4-byte Folded Reload
	movslq	-112(%rbp), %rdx                ## 4-byte Folded Reload
	shlq	$2, %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, %r14d
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_LD_SB
	movl	%eax, %edi
	movl	$128, %esi
	callq	___msa_xori_b
	movq	%rax, %rdi
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_VSHF_B4_SB
	movl	%r13d, 40(%rsp)
	movl	%r13d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r13d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_8TAP
	movl	%eax, %r15d
	callq	_HEVC_FILT_8TAP
	sarl	$6, %r15d
	sarl	$6, %eax
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	___msa_pckev_h
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ST_SW
	addq	-128(%rbp), %r12                ## 8-byte Folded Reload
	addq	-120(%rbp), %rbx                ## 8-byte Folded Reload
	decl	%r14d
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
LBB0_4:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	addq	$32, %r14
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$64, %rdi
	callq	_LD_SB
	movq	%rax, %rbx
	leaq	2(%rax), %r13
	leaq	4(%rax), %r12
	leaq	6(%rax), %r15
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB7
	callq	_XORI_B7_128_SB
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, -184(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdx
	movq	%r13, -176(%rbp)                ## 8-byte Spill
	movq	%r13, %rcx
	movq	%r12, -168(%rbp)                ## 8-byte Spill
	movq	%r12, %r8
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 40(%rsp)
	movl	%r13d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r13d, 40(%rsp)
	movl	%r13d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r13d, 40(%rsp)
	movl	%r13d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r13d, 40(%rsp)
	movl	%r13d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r13d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	$1, %esi
	callq	___msa_splati_d
	movl	16(%rbp), %ecx
	cmpl	$4, %ecx
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jb	LBB0_7
## %bb.5:
	movq	%rax, %rdi
	sarl	$2, %ecx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rax,4), %rsi
	addq	$32, %rdx
	leal	(,%r12,4), %eax
	movslq	%eax, %r8
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %r8
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, -136(%rbp)                ## 4-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movl	-120(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_LD_SB4
	movq	%rbx, %rdi
	callq	_XORI_B4_128_SB
	movq	%rbx, %rdi
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-176(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rcx
	movq	-168(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %r8
	movq	-160(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movl	%r13d, 40(%rsp)
	movl	%r13d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r13d, 40(%rsp)
	movl	%r13d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r13d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	___msa_ilvr_h
	movl	%eax, %r15d
	movl	%r13d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	$1, %esi
	callq	___msa_splati_d
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	___msa_ilvr_h
	movl	%eax, %r14d
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	-128(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %esi
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r15d, %ecx
	callq	_HEVC_FILT_8TAP
	movl	%eax, %r13d
	callq	_HEVC_FILT_8TAP
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r14d, -120(%rbp)               ## 4-byte Spill
	movl	%r14d, %ecx
	callq	_HEVC_FILT_8TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_8TAP
	movl	%eax, %r12d
	movl	%r13d, %edi
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%r14d, %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	movl	%ebx, %r9d
	callq	_PCKEV_H2_SW
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 8(%rsp)
	movq	%r14, (%rsp)
	movl	%r13d, %edi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	%ebx, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movl	%r13d, %edi
	movl	$1, %esi
	callq	___msa_splati_d
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movl	-136(%rbp), %ecx                ## 4-byte Reload
	movq	%rax, %rdi
	addq	-88(%rbp), %rsi                 ## 8-byte Folded Reload
	addq	-152(%rbp), %rdx                ## 8-byte Folded Reload
	movl	%r15d, -128(%rbp)               ## 4-byte Spill
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	decl	%ecx
	jne	LBB0_6
LBB0_7:
	addq	$200, %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_8t_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_8t_12w_msa
_hevc_hv_8t_12w_msa:                    ; @hevc_hv_8t_12w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	str	w6, [sp, #72]                   ; 4-byte Folded Spill
	mov	x19, x5
	mov	x26, x3
	str	x2, [sp, #32]                   ; 8-byte Folded Spill
	mov	x25, x1
	sub	w8, w1, w1, lsl #2
	sub	w8, w8, #3
	add	x27, x0, w8, sxtw #2
	mov	x0, x4
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
	mov	x0, x19
	bl	_LD_SH
	mov	x19, x0
	mov	x1, x0
	bl	_UNPCK_R_SB_SH
	mov	x0, x19
	bl	_SPLATI_W4_SH
Lloh0:
	adrp	x19, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ff_hevc_mask_arr@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_LD_SB
	mov	x22, x0
	add	x23, x0, #2
	add	x20, x0, #4
	add	x28, x0, #6
	mov	w0, #128
	bl	___msa_ldi_h
	lsl	w21, w0, #6
	mov	x0, x27
	mov	x1, x25
	bl	_LD_SB7
	lsl	w8, w25, #3
	sub	w8, w8, w25
	sxtw	x8, w8
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	bl	_XORI_B7_128_SB
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	mov	x5, x28
	bl	_VSHF_B4_SB
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	mov	x5, x28
	bl	_VSHF_B4_SB
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	mov	x5, x28
	bl	_VSHF_B4_SB
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	mov	x5, x28
	bl	_VSHF_B4_SB
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	mov	x5, x28
	bl	_VSHF_B4_SB
	mov	x2, x22
	mov	x3, x23
	mov	x4, x20
	mov	x5, x28
	bl	_VSHF_B4_SB
	mov	x24, x22
	mov	x2, x22
	mov	x22, x23
	mov	x3, x23
	mov	x23, x26
	mov	x26, x20
	mov	x4, x20
	mov	x5, x28
	bl	_VSHF_B4_SB
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	ldr	w9, [sp, #72]                   ; 4-byte Folded Reload
	stp	x25, x23, [sp, #80]             ; 16-byte Folded Spill
	cbz	w9, LBB0_4
; %bb.1:
	mov	x8, x27
	mov	x27, x9
	sbfiz	x9, x25, #2, #32
	stur	x9, [x29, #-88]                 ; 8-byte Folded Spill
	sbfiz	x9, x23, #2, #32
	str	x9, [sp, #96]                   ; 8-byte Folded Spill
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	mov	x25, x28
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x20, x8, x9, lsl #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w27, w27, #1
	mov	x0, x20
	bl	_LD_SB
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #128
	bl	___msa_xori_b
	mov	x28, x0
	mov	x1, x0
	mov	x2, x24
	mov	x3, x22
	mov	x4, x26
	mov	x5, x25
	bl	_VSHF_B4_SB
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	mov	x0, x21
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x1, x21
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_8TAP
	mov	x23, x0
	bl	_HEVC_FILT_8TAP
	asr	w1, w23, #6
	asr	w0, w0, #6
	bl	___msa_pckev_h
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x19
	bl	_ST_SW
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	add	x20, x20, x8
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x19, x19, x8
	cbnz	w27, LBB0_2
; %bb.3:
	ldp	x25, x23, [sp, #80]             ; 16-byte Folded Reload
	ldr	w24, [sp, #72]                  ; 4-byte Folded Reload
	ldr	x27, [sp, #64]                  ; 8-byte Folded Reload
Lloh2:
	adrp	x19, _ff_hevc_mask_arr@GOTPAGE
Lloh3:
	ldr	x19, [x19, _ff_hevc_mask_arr@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
                                        ; implicit-def: $x28
	mov	x24, x9
LBB0_5:
	add	x27, x27, #32
	ldr	x8, [x19]
	add	x0, x8, #64
	bl	_LD_SB
	mov	x19, x0
	add	x20, x0, #2
	add	x22, x0, #4
	add	x26, x0, #6
	mov	x0, x27
	mov	x1, x25
	bl	_LD_SB7
	bl	_XORI_B7_128_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x22
	mov	x5, x26
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x22
	mov	x5, x26
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x22
	mov	x5, x26
	bl	_VSHF_B4_SB
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	mov	x2, x19
	mov	x3, x20
	stp	x26, x22, [sp, #48]             ; 16-byte Folded Spill
	mov	x4, x22
	mov	x5, x26
	bl	_VSHF_B4_SB
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	mov	x0, x21
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	w1, #1
	bl	___msa_splati_d
	cmp	w24, #4
	b.lo	LBB0_8
; %bb.6:
	mov	x20, x28
	asr	w24, w24, #2
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x22, x8, #32
	lsl	w8, w25, #2
	lsl	w9, w23, #2
	sbfiz	x10, x8, #2, #32
	sbfiz	x8, x9, #2, #32
	stp	x8, x10, [sp, #24]              ; 16-byte Folded Spill
                                        ; implicit-def: $w28
                                        ; implicit-def: $w26
                                        ; implicit-def: $w19
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x23, x27, x8, lsl #2
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	stur	w28, [x29, #-88]                ; 4-byte Folded Spill
	sub	w24, w24, #1
	mov	x0, x23
	mov	x1, x25
	mov	x2, x20
	bl	_LD_SB4
	mov	x0, x20
	bl	_XORI_B4_128_SB
	mov	x0, x20
	ldp	x27, x25, [sp, #64]             ; 16-byte Folded Reload
	mov	x2, x25
	mov	x3, x27
	ldp	x20, x28, [sp, #48]             ; 16-byte Folded Reload
	mov	x4, x28
	mov	x5, x20
	bl	_VSHF_B4_SB
	mov	x2, x25
	mov	x3, x27
	mov	x4, x28
	mov	x5, x20
	bl	_VSHF_B4_SB
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	stp	w21, w21, [sp, #8]
	stp	w21, w21, [sp]
	bl	_DPADD_SB4_SH
	mov	x0, x21
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	___msa_ilvr_h
	mov	x27, x0
	mov	x0, x21
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	w1, #1
	bl	___msa_splati_d
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x21
	bl	___msa_ilvr_h
	mov	x28, x0
	mov	x0, x19
	mov	x1, x26
	ldur	w25, [x29, #-88]                ; 4-byte Folded Reload
	mov	x2, x25
	mov	x3, x27
	bl	_HEVC_FILT_8TAP
	mov	x19, x0
	bl	_HEVC_FILT_8TAP
	mov	x20, x0
	mov	x0, x26
	mov	x1, x25
	mov	x2, x27
	mov	x3, x28
	bl	_HEVC_FILT_8TAP
	mov	x26, x0
	bl	_HEVC_FILT_8TAP
	mov	x25, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x26
	mov	x3, x25
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x20
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	mov	x1, x19
	mov	x2, x25
	ldr	x25, [sp, #80]                  ; 8-byte Folded Reload
	mov	x3, x26
	mov	x4, x19
	mov	x5, x26
	bl	_PCKEV_H2_SW
	mov	x0, x19
	mov	x1, x26
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x22
	ldr	x7, [sp, #88]                   ; 8-byte Folded Reload
                                        ; kill: def $w7 killed $w7 killed $x7
	bl	_ST_D4
	mov	x0, x21
	mov	w1, #1
	bl	___msa_splati_d
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x23, x23, x8
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x22, x22, x8
	mov	x26, x27
	ldur	w19, [x29, #-88]                ; 4-byte Folded Reload
	cbnz	w24, LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_8t_12w_msa
.subsections_via_symbols
