	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_uniwgt_4t_4x2_msa
_hevc_hv_uniwgt_4t_4x2_msa:             ## @hevc_hv_uniwgt_4t_4x2_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, %ebx
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movl	24(%rbp), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	32(%rbp), %r13d
	movl	16(%rbp), %r12d
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$16, %rdi
	callq	_LD_SB
	movq	%rax, %r14
	notl	%ebx
	movslq	%ebx, %rax
	leaq	(%r15,%rax,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	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
	leaq	2(%r14), %rbx
	movl	%r12d, %edi
	callq	___msa_fill_w
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	___msa_fill_h
	movq	%rax, %r15
	addl	$-6, %r13d
	movl	%r13d, %edi
	callq	___msa_fill_h
	movq	%rax, %r13
	shll	$7, %r12d
	movl	%r12d, %edi
	callq	___msa_fill_h
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	___msa_srar_h
	addq	%rax, %r15
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_LD_SB5
	callq	_XORI_B5_128_SB
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r14
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ILVRL_H2_SH
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	sarl	$6, %r14d
	sarl	$6, %ebx
	movl	%r14d, %edi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %esi
	movl	%ebx, %edx
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	callq	_MUL2
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_SRAR_W2_SW
	movslq	%ebx, %rdi
	movslq	%r14d, %rsi
	callq	___msa_pckev_h
	addq	%rax, %r15
	movq	%r15, %rdi
	callq	_CLIP_SH_0_255
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	___msa_pckev_b
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_W2                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,8,3           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_uniwgt_4t_4x2_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_4x2_msa
_hevc_hv_uniwgt_4t_4x2_msa:             ; @hevc_hv_uniwgt_4t_4x2_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	x27, x7
	mov	x25, x6
	mov	x21, x5
	mov	x22, x4
	str	w3, [sp, #12]                   ; 4-byte Folded Spill
	mov	x20, x2
	mov	x24, x1
	mov	x26, x0
	ldr	w28, [x29, #16]
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, #16
	bl	_LD_SB
	mov	x23, x0
	mvn	w8, w24
	add	x26, x26, w8, sxtw #2
	mov	x0, x22
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	x0, x21
	bl	_LD_SH
	mov	x21, x0
	mov	x1, x0
	bl	_UNPCK_R_SB_SH
	mov	x0, x21
	mov	w1, #0
	bl	_SPLATI_W2_SH
	add	x19, x23, #2
	mov	x0, x25
	bl	___msa_fill_w
	mov	x22, x0
	mov	x0, x28
	bl	___msa_fill_w
	mov	x21, x0
	mov	x0, x27
	bl	___msa_fill_h
	mov	x27, x0
	sub	w0, w28, #6
	bl	___msa_fill_h
	mov	x28, x0
	lsl	w0, w25, #7
	bl	___msa_fill_h
	mov	x1, x28
	bl	___msa_srar_h
	add	x27, x0, x27
	mov	x0, x26
	mov	x1, x24
	bl	_LD_SB5
	bl	_XORI_B5_128_SB
	mov	x4, x23
	mov	x5, x19
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x19
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x19
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x24, x0
	mov	x0, x23
	mov	x1, x19
	bl	_ILVRL_H2_SH
	mov	x0, x24
	mov	x1, x23
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	asr	w24, w19, #6
	asr	w25, w0, #6
	mov	x0, x24
	mov	x1, x22
	mov	x2, x25
	mov	x3, x22
	mov	x4, x24
	mov	x5, x25
	bl	_MUL2
	mov	x0, x24
	mov	x1, x25
	mov	x2, x21
	bl	_SRAR_W2_SW
	sbfx	x0, x23, #6, #26
	sbfx	x1, x19, #6, #26
	bl	___msa_pckev_h
	add	x19, x27, x0
	mov	x0, x19
	bl	_CLIP_SH_0_255
	mov	x0, x19
	mov	x1, x19
	bl	___msa_pckev_b
	mov	w1, #0
	mov	w2, #1
	mov	x3, x20
	ldr	w4, [sp, #12]                   ; 4-byte Folded Reload
	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
	b	_ST_W2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_uniwgt_4t_4x2_msa
.subsections_via_symbols
