	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_4t_4x2_msa
_hevc_hv_4t_4x2_msa:                    ## @hevc_hv_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r14
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$16, %rdi
	callq	_LD_SB
	movq	%rax, %r13
	movq	%r12, %rax
	notq	%rax
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r15, %rdi
	callq	_LD_SH
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%eax, %esi
	callq	_UNPCK_R_SB_SH
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_SPLATI_W2_SH
	leaq	2(%r13), %r15
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %ebx
	shll	$6, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_LD_SB5
	callq	_XORI_B5_128_SB
	movq	%r13, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%r13, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%r13, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP
	sarl	$6, %ebx
	sarl	$6, %eax
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	___msa_pckev_h
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_D2                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,8,3           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_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_4t_4x2_msa
_hevc_hv_4t_4x2_msa:                    ; @hevc_hv_4t_4x2_msa
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x5
	mov	x22, x4
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x24, x0
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	x25, x0
	mvn	x8, x23
	add	x24, x24, x8, lsl #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	x21, x25, #2
	mov	w0, #128
	bl	___msa_ldi_h
	lsl	w22, w0, #6
	mov	x0, x24
	mov	x1, x23
	bl	_LD_SB5
	bl	_XORI_B5_128_SB
	mov	x4, x25
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x25
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x25
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x22
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x22
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x22
	bl	_DPADD_SB2_SH
	mov	x0, x22
	mov	x1, x22
	bl	_ILVRL_H2_SH
	mov	x0, x22
	mov	x1, x22
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_4TAP
	mov	x21, x0
	bl	_HEVC_FILT_4TAP
	asr	w1, w21, #6
	asr	w0, w0, #6
	bl	___msa_pckev_h
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #0
	mov	w2, #1
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ST_D2
	.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_4t_4x2_msa
.subsections_via_symbols
