	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_biwgt_8t_8multx2mult_msa
_hevc_hv_biwgt_8t_8multx2mult_msa:      ## @hevc_hv_biwgt_8t_8multx2mult_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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movq	%r8, -136(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movzwl	40(%rbp), %r12d
	movl	48(%rbp), %r14d
	movl	72(%rbp), %r13d
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	64(%rbp), %r15d
	callq	_LD_SB
	addl	56(%rbp), %r15d
	movl	%r13d, %ecx
	shll	%cl, %r15d
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ebx
	shll	$16, %ebx
	orl	%r12d, %ebx
	shll	$7, %r14d
	movl	%r14d, %edi
	callq	___msa_fill_w
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	___msa_fill_w
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	incl	%r13d
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_w
	movl	%eax, %r13d
	movq	16(%rbp), %rdi
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	movq	24(%rbp), %rdi
	callq	_LD_SH
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%rax, %rsi
	callq	_UNPCK_R_SB_SH
	movq	%rbx, %rdi
	callq	_SPLATI_W4_SH
	movl	80(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movl	32(%rbp), %edx
	shll	$6, %r14d
	addl	%r14d, -52(%rbp)                ## 4-byte Folded Spill
	movslq	%r13d, %rax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %r14
	leaq	4(%rax), %r13
	addq	$6, %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rax,2), %edi
	movl	$-3, %ecx
	subl	%edi, %ecx
	movslq	%ecx, %r9
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	leaq	(%r10,%r9,4), %rdi
	leal	(,%rax,8), %ecx
	subl	%eax, %ecx
	movslq	%ecx, %r8
	sarl	%edx
	movl	%edx, -100(%rbp)                ## 4-byte Spill
	leal	(%rax,%rax), %edx
	movslq	%edx, %rdx
	addq	%r9, %r8
	movq	-144(%rbp), %rax                ## 8-byte Reload
	addl	%eax, %eax
	movslq	%eax, %rcx
	leaq	(%r10,%r8,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-152(%rbp), %rax                ## 8-byte Reload
	addl	%eax, %eax
	cltq
	shlq	$2, %rdx
	movq	%rdx, -232(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-208(%rbp), %rdi                ## 8-byte Reload
	addq	$32, %rdi
	addq	$32, -128(%rbp)                 ## 8-byte Folded Spill
	addq	$32, -136(%rbp)                 ## 8-byte Folded Spill
	addq	$32, -120(%rbp)                 ## 8-byte Folded Spill
	movl	-104(%rbp), %esi                ## 4-byte Reload
	testl	%esi, %esi
	movq	-160(%rbp), %r14                ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	decl	%esi
	movl	%esi, -104(%rbp)                ## 4-byte Spill
	movq	%rdi, -208(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB7
	callq	_XORI_B7_128_SB
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	-168(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movq	%rax, %rbx
	callq	_HEVC_FILT_8TAP_SH
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movq	%rax, %r14
	callq	_HEVC_FILT_8TAP_SH
	movq	%rax, %r15
	callq	_HEVC_FILT_8TAP_SH
	cmpl	$2, 32(%rbp)
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	%ecx, -112(%rbp)                ## 4-byte Spill
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB2
	callq	_XORI_B2_128_SB
	movq	%r12, -272(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SH2
	movq	%rbx, 8(%rsp)
	movq	%rbx, %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, (%rsp)
	movq	%r13, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%r15, %r8
	movq	%r15, -256(%rbp)                ## 8-byte Spill
	movq	%r14, %r9
	callq	_ILVR_H4_SH
	movq	%r13, 8(%rsp)
	movq	%rbx, (%rsp)
	movq	%r13, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_ILVL_H4_SH
	movq	%r14, %rdi
	movq	%r14, -264(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_ILVR_H2_SH
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_ILVL_H2_SH
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-160(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-168(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_8TAP
	movl	%eax, %r14d
	callq	_HEVC_FILT_8TAP
	movl	%eax, %r13d
	sarl	$6, %r14d
	sarl	$6, %r13d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_8TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_8TAP
	sarl	$6, %ebx
	sarl	$6, %eax
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_PCKEV_H2_SH
	callq	_ILVRL_H2_SH
	callq	_ILVRL_H2_SH
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	-240(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdx
	callq	___msa_dpadd_s_w
	movl	%eax, %r14d
	movl	%ebx, %edi
	movq	%r12, %rdx
	callq	___msa_dpadd_s_w
	movl	%eax, %r13d
	movl	%ebx, %edi
	movq	%r12, %rdx
	callq	___msa_dpadd_s_w
	movl	%eax, %r15d
	movl	%ebx, %edi
	movq	%r12, %rdx
	callq	___msa_dpadd_s_w
	movl	%eax, %r12d
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	movl	-108(%rbp), %r8d                ## 4-byte Reload
	callq	_SRAR_W4_SW
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	callq	_CLIP_SW4_0_255
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	callq	_PCKEV_H2_SH
	callq	___msa_pckev_b
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rcx
	movq	-152(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_ST_D2
	movl	-112(%rbp), %ecx                ## 4-byte Reload
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	movq	-216(%rbp), %rsi                ## 8-byte Reload
	movq	-224(%rbp), %rdx                ## 8-byte Reload
	movq	-232(%rbp), %r8                 ## 8-byte Reload
	addq	%r8, %rdi
	movq	-272(%rbp), %r12                ## 8-byte Reload
	addq	%rdx, %r12
	addq	%rsi, %rbx
	movq	%rbx, -176(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-264(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-256(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-184(%rbp), %r14                ## 8-byte Reload
	movq	-192(%rbp), %r15                ## 8-byte Reload
	movq	-248(%rbp), %rax                ## 8-byte Reload
	decl	%ecx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,4,2           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_biwgt_8t_8multx2mult_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_biwgt_8t_8multx2mult_msa
_hevc_hv_biwgt_8t_8multx2mult_msa:      ; @hevc_hv_biwgt_8t_8multx2mult_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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	x20, x7
	mov	x24, x6
	stp	w3, w5, [sp, #136]              ; 8-byte Folded Spill
	stp	x2, x4, [sp, #64]               ; 16-byte Folded Spill
	stur	w1, [x29, #-148]                ; 4-byte Folded Spill
	mov	x27, x0
	ldp	w25, w19, [x29, #36]
	ldrh	w23, [x29, #20]
	ldp	w21, w22, [x29, #24]
	ldr	w26, [x29, #32]
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LD_SB
	add	w8, w26, w22
	mov	x26, x0
	lsl	w22, w8, w25
	bfi	w23, w21, #16, #16
	lsl	w0, w21, #7
	bl	___msa_fill_w
	mov	x21, x0
	mov	x0, x22
	bl	___msa_fill_w
	mov	x22, x0
	add	w0, w25, #1
	bl	___msa_fill_w
	str	w0, [sp, #132]                  ; 4-byte Folded Spill
	mov	x0, x23
	bl	___msa_fill_w
	mov	x23, x0
	mov	x0, x24
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
	mov	x0, x20
	bl	_LD_SH
	mov	x20, x0
	mov	x1, x0
	bl	_UNPCK_R_SB_SH
	mov	x0, x20
	bl	_SPLATI_W4_SH
	cbz	w19, LBB0_6
; %bb.1:
	ldr	w10, [x29, #16]
	add	w8, w22, w21, lsl #6
	str	w8, [sp, #92]                   ; 4-byte Folded Spill
	sxtw	x8, w23
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	mov	x8, x26
	add	x24, x26, #2
	add	x23, x26, #4
	add	x20, x26, #6
	ldur	w11, [x29, #-148]               ; 4-byte Folded Reload
	sub	w8, w11, w11, lsl #2
	sub	w8, w8, #3
	add	x0, x27, w8, sxtw #2
	lsl	w9, w11, #3
	sub	w9, w9, w11
	sxtw	x9, w9
	str	w10, [sp, #36]                  ; 4-byte Folded Spill
	asr	w10, w10, #1
	str	w10, [sp, #32]                  ; 4-byte Folded Spill
	lsl	w10, w11, #1
	ldp	w11, w12, [sp, #136]            ; 8-byte Folded Reload
	lsl	w11, w11, #1
	lsl	w12, w12, #1
	add	x8, x9, w8, sxtw
	sbfiz	x9, x10, #2, #32
	stp	x9, x26, [sp, #112]             ; 16-byte Folded Spill
	sbfiz	x10, x11, #2, #32
	sbfiz	x9, x12, #2, #32
	stp	x9, x10, [sp, #96]              ; 16-byte Folded Spill
	add	x8, x27, x8, lsl #2
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	stp	x20, x23, [sp, #152]            ; 16-byte Folded Spill
	str	x24, [sp, #144]                 ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	add	x0, x0, #32
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x9, x8, #32
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x8, x8, #32
	stp	x9, x8, [sp, #64]               ; 16-byte Folded Spill
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x8, x8, #32
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w19, [sp, #52]                  ; 4-byte Folded Reload
	ldp	x24, x20, [sp, #144]            ; 16-byte Folded Reload
	ldr	x23, [sp, #160]                 ; 8-byte Folded Reload
	cbz	w19, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sub	w19, w19, #1
	str	w19, [sp, #52]                  ; 4-byte Folded Spill
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldur	w1, [x29, #-148]                ; 4-byte Folded Reload
	bl	_LD_SB7
	bl	_XORI_B7_128_SB
	mov	x22, x26
	mov	x2, x26
	mov	x3, x24
	mov	x4, x23
	mov	x5, x20
	bl	_VSHF_B4_SB
	mov	x2, x26
	mov	x3, x24
	mov	x4, x23
	mov	x5, x20
	bl	_VSHF_B4_SB
	mov	x2, x26
	mov	x3, x24
	mov	x4, x23
	mov	x5, x20
	bl	_VSHF_B4_SB
	mov	x2, x26
	mov	x3, x24
	mov	x4, x23
	mov	x5, x20
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x19, x23
	mov	x23, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x25, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x27, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x21, x0
	mov	x2, x26
	mov	x3, x24
	mov	x4, x19
	mov	x5, x20
	bl	_VSHF_B4_SB
	mov	x2, x26
	mov	x3, x24
	mov	x4, x19
	mov	x5, x20
	bl	_VSHF_B4_SB
	mov	x2, x26
	mov	x3, x24
	mov	x4, x19
	mov	x19, x27
	mov	x5, x20
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x20, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x28, x0
	bl	_HEVC_FILT_8TAP_SH
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w8, #2
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x2, x0
	ldr	x11, [sp, #72]                  ; 8-byte Folded Reload
	stur	x11, [x29, #-104]               ; 8-byte Folded Spill
	ldp	x11, x24, [sp, #56]             ; 16-byte Folded Reload
	ldr	w12, [sp, #32]                  ; 4-byte Folded Reload
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stur	x19, [x29, #-144]               ; 8-byte Folded Spill
	stur	x11, [x29, #-96]                ; 8-byte Folded Spill
	mov	x22, x26
	sub	w12, w12, #1
	stur	w12, [x29, #-108]               ; 4-byte Folded Spill
	mov	x0, x11
	ldur	w1, [x29, #-148]                ; 4-byte Folded Reload
	mov	x26, x2
	bl	_LD_SB2
	bl	_XORI_B2_128_SB
	stp	x20, x24, [x29, #-128]          ; 16-byte Folded Spill
	mov	x0, x24
	ldr	w1, [sp, #136]                  ; 4-byte Folded Reload
	bl	_LD_SH2
	mov	x0, x25
	mov	x1, x23
	mov	x27, x21
	mov	x2, x21
	mov	x3, x19
	mov	x4, x28
	stur	x28, [x29, #-136]               ; 8-byte Folded Spill
	mov	x5, x20
	mov	x6, x19
	mov	x7, x25
	bl	_ILVR_H4_SH
	mov	x0, x25
	mov	x1, x23
	mov	x2, x21
	mov	x3, x19
	mov	x4, x28
	mov	x5, x20
	mov	x6, x19
	mov	x7, x25
	bl	_ILVL_H4_SH
	mov	x0, x20
	mov	x1, x21
	mov	x2, x26
	mov	x3, x28
	bl	_ILVR_H2_SH
	mov	x0, x20
	mov	x1, x21
	mov	x2, x26
	mov	x20, x26
	mov	x3, x28
	bl	_ILVL_H2_SH
	mov	x2, x22
	ldp	x21, x28, [sp, #144]            ; 16-byte Folded Reload
	mov	x3, x21
	ldr	x19, [sp, #160]                 ; 8-byte Folded Reload
	mov	x4, x19
	mov	x5, x28
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x24, x0
	mov	x1, x26
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_8TAP
	mov	x23, x0
	bl	_HEVC_FILT_8TAP
	asr	w23, w23, #6
	asr	w25, w0, #6
	mov	x2, x22
	mov	x3, x21
	mov	x4, x19
	mov	x5, x28
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x22, x0
	mov	x1, x24
	mov	x28, x24
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_8TAP
	mov	x26, x0
	bl	_HEVC_FILT_8TAP
	asr	w3, w26, #6
	asr	w2, w0, #6
	mov	x0, x25
	mov	x1, x23
	bl	_PCKEV_H2_SH
	bl	_ILVRL_H2_SH
	bl	_ILVRL_H2_SH
	ldr	w19, [sp, #92]                  ; 4-byte Folded Reload
	mov	x0, x19
	ldr	x21, [sp, #80]                  ; 8-byte Folded Reload
	mov	x2, x21
	bl	___msa_dpadd_s_w
	mov	x23, x0
	mov	x0, x19
	mov	x2, x21
	bl	___msa_dpadd_s_w
	mov	x25, x0
	mov	x0, x19
	mov	x2, x21
	bl	___msa_dpadd_s_w
	mov	x26, x0
	mov	x0, x19
	mov	x2, x21
	bl	___msa_dpadd_s_w
	mov	x24, x0
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	mov	x3, x26
	ldr	w4, [sp, #132]                  ; 4-byte Folded Reload
	bl	_SRAR_W4_SW
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	mov	x3, x26
	bl	_CLIP_SW4_0_255
	mov	x0, x25
	mov	x1, x23
	mov	x2, x24
	ldr	w23, [sp, #140]                 ; 4-byte Folded Reload
	mov	x3, x26
	ldr	x26, [sp, #120]                 ; 8-byte Folded Reload
	bl	_PCKEV_H2_SH
	bl	___msa_pckev_b
	mov	w1, #0
	mov	w2, #1
	ldur	x19, [x29, #-104]               ; 8-byte Folded Reload
	mov	x3, x19
	mov	x4, x23
	bl	_ST_D2
	ldur	w12, [x29, #-108]               ; 4-byte Folded Reload
	ldur	x11, [x29, #-96]                ; 8-byte Folded Reload
	ldp	x10, x9, [sp, #96]              ; 16-byte Folded Reload
	ldr	x8, [sp, #112]                  ; 8-byte Folded Reload
	add	x11, x11, x8
	ldur	x24, [x29, #-120]               ; 8-byte Folded Reload
	add	x24, x24, x9
	add	x19, x19, x10
	stur	x19, [x29, #-104]               ; 8-byte Folded Spill
	ldp	x23, x21, [x29, #-144]          ; 16-byte Folded Reload
	mov	x25, x27
	ldur	x19, [x29, #-128]               ; 8-byte Folded Reload
	mov	x2, x22
	cbnz	w12, LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,4,2           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_biwgt_8t_8multx2mult_msa
.subsections_via_symbols
