	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_4t_8x6_msa
_hevc_hv_4t_8x6_msa:                    ## @hevc_hv_4t_8x6_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LD_SB
	movq	%rax, %r12
	movl	%r15d, %eax
	notl	%eax
	cltq
	leaq	(%rbx,%rax,4), %r13
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	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(%r12), %r14
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %ebx
	shll	$6, %ebx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_LD_SB5
	leal	(%r15,%r15,4), %eax
	cltq
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	movl	%r15d, %esi
	callq	_LD_SB4
	callq	_XORI_B5_128_SB
	callq	_XORI_B4_128_SB
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r14, %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, %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, %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
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_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, %r12d
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r15d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%r13d, %r12d
	movl	%r13d, %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	-92(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%r15d, %edi
	movl	-88(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%r13d, %eax
	movl	%r13d, 40(%rsp)
	movl	%r12d, -80(%rbp)                ## 4-byte Spill
	movl	%r12d, 32(%rsp)
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 24(%rsp)
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 16(%rsp)
	movl	%eax, 8(%rsp)
	movl	%r14d, (%rsp)
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	callq	_PCKEV_H4_SW
	movl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%esi, %r8d
	movl	%r12d, %r9d
	callq	_PCKEV_H2_SW
	movl	%r13d, %edi
	movl	%ebx, %esi
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_ST_SW2
	leal	(%r14,%r14), %eax
	movslq	%eax, %r13
	leaq	(%r15,%r13,4), %rbx
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_ST_SW2
	leaq	(%rbx,%r13,4), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movl	%r14d, %ecx
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_SW2                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,4,2           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_4t_8x6_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_8x6_msa
_hevc_hv_4t_8x6_msa:                    ; @hevc_hv_4t_8x6_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x5
	mov	x21, x4
	str	w3, [sp, #40]                   ; 4-byte Folded Spill
	str	x2, [sp, #32]                   ; 8-byte Folded Spill
	mov	x24, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LD_SB
	mov	x22, x0
	mvn	w8, w24
	add	x25, x23, w8, sxtw #2
	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	x23, x22, #2
	mov	w0, #128
	bl	___msa_ldi_h
	lsl	w21, w0, #6
	mov	x0, x25
	mov	x1, x24
	bl	_LD_SB5
	add	w8, w24, w24, lsl #2
	add	x0, x25, w8, sxtw #2
	mov	x1, x24
	bl	_LD_SB4
	bl	_XORI_B5_128_SB
	bl	_XORI_B4_128_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_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
	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_4TAP
	mov	x28, x0
	bl	_HEVC_FILT_4TAP
	mov	x20, x0
	bl	_HEVC_FILT_4TAP
	mov	x24, x0
	bl	_HEVC_FILT_4TAP
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	bl	_HEVC_FILT_4TAP
	mov	x27, x0
	bl	_HEVC_FILT_4TAP
	mov	x25, x0
	bl	_HEVC_FILT_4TAP
	mov	x21, x0
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x26, x0
	bl	_HEVC_FILT_4TAP
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x22, x0
	mov	x0, x28
	mov	x1, x20
	mov	x2, x24
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x23
	mov	x1, x27
	mov	x2, x25
	mov	x3, x21
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x26
	ldr	w21, [sp, #28]                  ; 4-byte Folded Reload
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	mov	w4, #6
	bl	_SRA_4V
	stp	w23, w25, [sp, #8]
	stp	w28, w24, [sp]
	mov	x0, x20
	mov	x1, x28
	ldr	w2, [sp, #44]                   ; 4-byte Folded Reload
	mov	x3, x24
	mov	x19, x24
	mov	x4, x27
	mov	x5, x23
	ldr	w6, [sp, #20]                   ; 4-byte Folded Reload
	mov	x7, x25
	bl	_PCKEV_H4_SW
	mov	x0, x21
	mov	x1, x26
	mov	x2, x22
	ldr	w24, [sp, #24]                  ; 4-byte Folded Reload
	mov	x3, x24
	mov	x4, x26
	mov	x5, x24
	bl	_PCKEV_H2_SW
	mov	x0, x28
	mov	x1, x19
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	mov	x2, x19
	ldr	w21, [sp, #40]                  ; 4-byte Folded Reload
	mov	x3, x21
	bl	_ST_SW2
	lsl	w8, w21, #1
	sbfiz	x20, x8, #2, #32
	add	x19, x19, x20
	mov	x0, x23
	mov	x1, x25
	mov	x2, x19
	mov	x3, x21
	bl	_ST_SW2
	add	x2, x19, x20
	mov	x0, x26
	mov	x1, x24
	mov	x3, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_ST_SW2
	.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_4t_8x6_msa
.subsections_via_symbols
