	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_biwgt_4t_8multx4mult_msa
_hevc_hv_biwgt_4t_8multx4mult_msa:      ## @hevc_hv_biwgt_4t_8multx4mult_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	$248, %rsp
	.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, -184(%rbp)                 ## 8-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movzwl	40(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	48(%rbp), %r12d
	movl	72(%rbp), %r13d
	movl	64(%rbp), %ebx
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbp), %r14
	callq	_LD_SB
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	24(%rbp), %rdi
	callq	_LD_SH
	movl	%eax, %r14d
	movl	%eax, %edi
	movl	%eax, %esi
	callq	_UNPCK_R_SB_SH
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_SPLATI_W2_SH
	addl	56(%rbp), %ebx
	movl	%r13d, %ecx
	shll	%cl, %ebx
	movl	%r12d, %r14d
	shll	$16, %r14d
	addl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	shll	$7, %r12d
	movl	%r12d, %edi
	callq	___msa_fill_w
	movl	%eax, %r12d
	movl	%ebx, %edi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	callq	___msa_fill_w
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	callq	___msa_fill_w
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	incl	%r13d
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	80(%rbp), %r8d
	movq	-88(%rbp), %r11                 ## 8-byte Reload
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	cmpl	$8, %r8d
	jae	LBB0_1
LBB0_7:
	addq	$248, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	32(%rbp), %edx
	movq	%r15, %r13
	addq	$2, %r13
	shll	$6, %r12d
	addl	%r12d, -68(%rbp)                ## 4-byte Folded Spill
	sarl	$3, %r8d
	movl	%r11d, %eax
	notl	%eax
	movslq	%eax, %r9
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%r9,4), %rdi
	leal	(%r11,%r11,2), %ecx
	movslq	%ecx, %r10
	sarl	$2, %edx
	movl	%edx, -124(%rbp)                ## 4-byte Spill
	leal	(,%r11,4), %edx
	movslq	%edx, %rax
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	leal	(,%rdx,4), %edx
	movslq	%edx, %rcx
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	leal	(,%rdx,4), %edx
	movslq	%edx, %rdx
	addq	%r9, %r10
	leaq	(%rsi,%r10,4), %rsi
	movq	%rsi, -168(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	shlq	$2, %rcx
	shlq	$2, %rdx
                                        ## implicit-def: $esi
                                        ## kill: killed $esi
                                        ## implicit-def: $esi
                                        ## kill: killed $esi
                                        ## implicit-def: $esi
                                        ## kill: killed $esi
                                        ## implicit-def: $esi
                                        ## kill: killed $esi
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movq	%rcx, -216(%rbp)                ## 8-byte Spill
	movq	%rdx, -208(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %r11                 ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	-112(%rbp), %r13                ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	addq	$32, %rdi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	addq	$32, %r14
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	addq	$32, %rbx
	addq	$32, -168(%rbp)                 ## 8-byte Folded Spill
	movl	-128(%rbp), %r8d                ## 4-byte Reload
	testl	%r8d, %r8d
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	decl	%r8d
	movl	%r8d, -128(%rbp)                ## 4-byte Spill
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	movq	%r11, %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB3
	callq	_XORI_B3_128_SB
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r12d
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_ILVRL_H2_SH
	cmpl	$4, 32(%rbp)
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jb	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	movl	-124(%rbp), %edi                ## 4-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	-112(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edi, -156(%rbp)                ## 4-byte Spill
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	movq	%rbx, -232(%rbp)                ## 8-byte Spill
	movq	%r14, -240(%rbp)                ## 8-byte Spill
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	movq	%rbx, %rdi
	movq	-176(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SH4
	callq	_XORI_B4_128_SB
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %ebx
	movl	%eax, -152(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_ILVRL_H2_SH
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_4TAP
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r15d
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r12d
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%ebx, %r14d
	movl	%r12d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 40(%rsp)
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 32(%rsp)
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 24(%rsp)
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, 16(%rsp)
	movl	%r14d, 8(%rsp)
	movl	%r12d, (%rsp)
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movl	-148(%rbp), %edx                ## 4-byte Reload
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	-140(%rbp), %r8d                ## 4-byte Reload
	movl	-144(%rbp), %r9d                ## 4-byte Reload
	callq	_PCKEV_H4_SW
	movl	%r15d, %edi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	callq	_ILVRL_H2_SH
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ILVRL_H2_SH
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	-136(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %edx
	callq	___msa_dpadd_s_w
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%r13d, %edx
	callq	___msa_dpadd_s_w
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%r13d, %edx
	callq	___msa_dpadd_s_w
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%r13d, %edx
	callq	___msa_dpadd_s_w
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%r13d, %edx
	callq	___msa_dpadd_s_w
	movl	%eax, %r15d
	movl	%ebx, %edi
	movl	%r13d, %edx
	callq	___msa_dpadd_s_w
	movl	%eax, %r12d
	movl	%ebx, %edi
	movl	%r13d, %edx
	callq	___msa_dpadd_s_w
	movl	%eax, %r14d
	movl	%ebx, %edi
	movl	%r13d, %edx
	callq	___msa_dpadd_s_w
	movl	%eax, %r13d
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-132(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_SRAR_W4_SW
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	callq	_SRAR_W4_SW
	movl	%r14d, 8(%rsp)
	movl	%r13d, (%rsp)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	%r15d, %r9d
	movq	-240(%rbp), %r14                ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	callq	_PCKEV_H4_SH
	callq	_CLIP_SH4_0_255
	callq	_PCKEV_B2_UB
	movq	-184(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 8(%rsp)
	movq	%r14, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movl	-156(%rbp), %edi                ## 4-byte Reload
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	movq	-224(%rbp), %rax                ## 8-byte Reload
	movq	-88(%rbp), %r11                 ## 8-byte Reload
	addq	%rax, %rsi
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	addq	%rcx, %rbx
	addq	%rdx, %r14
	movl	-152(%rbp), %r12d               ## 4-byte Reload
	decl	%edi
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,4,2           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_biwgt_4t_8multx4mult_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_4t_8multx4mult_msa
_hevc_hv_biwgt_4t_8multx4mult_msa:      ; @hevc_hv_biwgt_4t_8multx4mult_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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	x21, x6
	mov	x28, x5
	mov	x19, x4
	str	w3, [sp, #124]                  ; 4-byte Folded Spill
	str	x2, [sp, #48]                   ; 8-byte Folded Spill
	str	w1, [sp, #140]                  ; 4-byte Folded Spill
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	ldp	w26, w23, [x29, #36]
	ldrh	w22, [x29, #20]
	ldp	w24, w25, [x29, #24]
	ldr	w27, [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
	str	x0, [sp, #128]                  ; 8-byte Folded Spill
	mov	x0, x21
	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
	add	w8, w27, w25
	lsl	w21, w8, w26
	bfi	w22, w24, #16, #16
	lsl	w0, w24, #7
	bl	___msa_fill_w
	mov	x20, x0
	mov	x0, x21
	bl	___msa_fill_w
	mov	x21, x0
	mov	x0, x22
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	bl	___msa_fill_w
	str	w0, [sp, #120]                  ; 4-byte Folded Spill
	add	w0, w26, #1
	bl	___msa_fill_w
	cmp	w23, #8
	b.hs	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_2:
	mov	x26, x0
	ldr	w10, [x29, #16]
	ldr	x8, [sp, #128]                  ; 8-byte Folded Reload
	add	x8, x8, #2
	add	w9, w21, w20, lsl #6
	str	w9, [sp, #100]                  ; 4-byte Folded Spill
	mov	x21, x8
	asr	w13, w23, #3
	ldr	w11, [sp, #140]                 ; 4-byte Folded Reload
	mvn	w8, w11
	ldur	x14, [x29, #-96]                ; 8-byte Folded Reload
	add	x0, x14, w8, sxtw #2
	add	w9, w11, w11, lsl #1
	sxtw	x9, w9
	str	w10, [sp, #20]                  ; 4-byte Folded Spill
	asr	w10, w10, #2
	str	w10, [sp, #16]                  ; 4-byte Folded Spill
	lsl	w10, w11, #2
	ldr	w11, [sp, #124]                 ; 4-byte Folded Reload
	lsl	w11, w11, #2
	lsl	w12, w28, #2
	add	x8, x9, w8, sxtw
	add	x8, x14, x8, lsl #2
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	sbfiz	x9, x10, #2, #32
	sbfiz	x10, x11, #2, #32
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
                                        ; implicit-def: $w8
                                        ; kill: killed $w8
	sbfiz	x11, x12, #2, #32
	str	w28, [sp, #116]                 ; 4-byte Folded Spill
	str	x21, [sp, #104]                 ; 8-byte Folded Spill
	stp	x10, x9, [sp, #80]              ; 16-byte Folded Spill
	str	x11, [sp, #72]                  ; 8-byte Folded Spill
	str	w26, [sp, #68]                  ; 4-byte Folded Spill
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	w26, [x29, #-96]                ; 4-byte Folded Reload
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	stur	w26, [x29, #-96]                ; 4-byte Folded Spill
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	add	x0, x0, #32
	ldp	x19, x22, [sp, #40]             ; 16-byte Folded Reload
	add	x19, x19, #32
	add	x22, x22, #32
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x8, x8, #32
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w13, [sp, #36]                  ; 4-byte Folded Reload
	cbz	w13, LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	sub	w13, w13, #1
	str	w13, [sp, #36]                  ; 4-byte Folded Spill
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	ldr	w1, [sp, #140]                  ; 4-byte Folded Reload
	bl	_LD_SB3
	bl	_XORI_B3_128_SB
	ldr	x20, [sp, #128]                 ; 8-byte Folded Reload
	mov	x4, x20
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x20
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x20
	mov	x5, x21
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x24, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x27, x0
	mov	x0, x24
	mov	x1, x23
	bl	_ILVRL_H2_SH
	mov	x0, x27
	mov	x1, x24
	bl	_ILVRL_H2_SH
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, #4
	stp	x19, x22, [sp, #40]             ; 16-byte Folded Spill
	b.lo	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w12, [sp, #16]                  ; 4-byte Folded Reload
	ldur	w26, [x29, #-96]                ; 4-byte Folded Reload
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	stp	x22, x19, [x29, #-128]          ; 16-byte Folded Spill
	sub	w12, w12, #1
	stur	w12, [x29, #-132]               ; 4-byte Folded Spill
	mov	x0, x8
	ldr	w1, [sp, #140]                  ; 4-byte Folded Reload
	bl	_LD_SB4
	mov	x0, x22
	ldr	w1, [sp, #124]                  ; 4-byte Folded Reload
	bl	_LD_SH4
	bl	_XORI_B4_128_SB
	ldr	x19, [sp, #128]                 ; 8-byte Folded Reload
	mov	x4, x19
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x19
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x19
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x19
	mov	x5, x21
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x25, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x28, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	stur	w0, [x29, #-136]                ; 4-byte Folded Spill
	mov	x0, x25
	mov	x1, x27
	bl	_ILVRL_H2_SH
	mov	x0, x22
	mov	x1, x25
	bl	_ILVRL_H2_SH
	mov	x0, x28
	mov	x1, x22
	bl	_ILVRL_H2_SH
	mov	x0, x19
	mov	x1, x28
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_4TAP
	mov	x22, x0
	stur	w0, [x29, #-140]                ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x27, x0
	bl	_HEVC_FILT_4TAP
	mov	x24, x0
	str	w0, [sp, #144]                  ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x28, x0
	bl	_HEVC_FILT_4TAP
	mov	x20, x0
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	bl	_HEVC_FILT_4TAP
	mov	x21, x0
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	mov	x0, x22
	mov	x1, x27
	mov	x2, x24
	mov	x3, x28
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x23
	mov	w4, #6
	bl	_SRA_4V
	mov	x25, x26
	str	w26, [sp, #12]
	ldur	w22, [x29, #-108]               ; 4-byte Folded Reload
	str	w22, [sp, #8]
	ldur	w26, [x29, #-104]               ; 4-byte Folded Reload
	str	w26, [sp, #4]
	ldur	w24, [x29, #-100]               ; 4-byte Folded Reload
	str	w24, [sp]
	mov	x0, x27
	ldur	w1, [x29, #-140]                ; 4-byte Folded Reload
	mov	x2, x28
	ldr	w3, [sp, #144]                  ; 4-byte Folded Reload
	mov	x4, x19
	mov	x5, x20
	mov	x6, x23
	mov	x7, x21
	bl	_PCKEV_H4_SW
	mov	x0, x24
	bl	_ILVRL_H2_SH
	mov	x0, x26
	bl	_ILVRL_H2_SH
	mov	x0, x22
	bl	_ILVRL_H2_SH
	mov	x0, x25
	bl	_ILVRL_H2_SH
	ldr	w23, [sp, #100]                 ; 4-byte Folded Reload
	mov	x0, x23
	ldr	w22, [sp, #120]                 ; 4-byte Folded Reload
	mov	x2, x22
	bl	___msa_dpadd_s_w
	mov	x27, x0
	mov	x0, x23
	mov	x2, x22
	bl	___msa_dpadd_s_w
	mov	x24, x0
	mov	x0, x23
	mov	x2, x22
	bl	___msa_dpadd_s_w
	mov	x28, x0
	mov	x0, x23
	mov	x2, x22
	bl	___msa_dpadd_s_w
	mov	x25, x0
	mov	x0, x23
	mov	x2, x22
	bl	___msa_dpadd_s_w
	mov	x19, x0
	mov	x0, x23
	mov	x2, x22
	bl	___msa_dpadd_s_w
	mov	x20, x0
	mov	x0, x23
	mov	x2, x22
	bl	___msa_dpadd_s_w
	mov	x21, x0
	mov	x0, x23
	mov	x2, x22
	bl	___msa_dpadd_s_w
	mov	x22, x0
	mov	x0, x27
	mov	x1, x24
	mov	x2, x28
	mov	x3, x25
	ldr	w23, [sp, #68]                  ; 4-byte Folded Reload
	mov	x4, x23
	bl	_SRAR_W4_SW
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	bl	_SRAR_W4_SW
	stp	w24, w27, [x29, #-104]          ; 8-byte Folded Spill
	mov	x0, x24
	mov	x1, x27
	mov	x26, x25
	mov	x2, x25
	stur	w28, [x29, #-108]               ; 4-byte Folded Spill
	mov	x3, x28
	mov	x4, x20
	mov	x5, x19
	mov	x6, x22
	ldp	x22, x19, [x29, #-128]          ; 16-byte Folded Reload
	mov	x7, x21
	ldr	x21, [sp, #104]                 ; 8-byte Folded Reload
	bl	_PCKEV_H4_SH
	bl	_CLIP_SH4_0_255
	bl	_PCKEV_B2_UB
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x19
	ldr	w7, [sp, #116]                  ; 4-byte Folded Reload
	bl	_ST_D4
	ldp	w27, w12, [x29, #-136]          ; 8-byte Folded Reload
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldp	x11, x10, [sp, #72]             ; 16-byte Folded Reload
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	add	x8, x8, x9
	add	x22, x22, x10
	add	x19, x19, x11
	cbnz	w12, LBB0_7
	b	LBB0_4
	.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_4t_8multx4mult_msa
.subsections_via_symbols
