	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_uni_4t_6w_msa
_hevc_hv_uni_4t_6w_msa:                 ## @hevc_hv_uni_4t_6w_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, %r13
	movq	%r8, %r15
	movl	%ecx, -104(%rbp)                ## 4-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movl	%esi, %ebx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LD_SB
	movq	%rax, %r12
	movl	%ebx, %eax
	notl	%eax
	cltq
	leaq	(%r14,%rax,4), %r14
	movq	%r15, %rdi
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r13, %rdi
	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(%r12), %r13
	movq	%r14, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_LD_SB3
	leal	(%rbx,%rbx,2), %eax
	cltq
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_XORI_B3_128_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r15
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r14
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ILVRL_H2_SH
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ILVRL_H2_SH
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB8
	callq	_XORI_B8_128_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r15
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r13
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r14
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r12
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_ILVRL_H2_SH
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ILVRL_H2_SH
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ILVRL_H2_SH
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ILVRL_H2_SH
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_ILVRL_H2_SH
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ILVRL_H2_SH
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_ILVRL_H2_SH
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ILVRL_H2_SH
	callq	_PCKEV_D2_SH
	callq	_PCKEV_D2_SH
	callq	___msa_pckev_d
	movq	%rax, %r15
	callq	_HEVC_FILT_4TAP
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	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, %r12d
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	%r15, %rsi
	callq	_HEVC_FILT_4TAP
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	-96(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-100(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %edi
	movl	%r13d, %esi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%ebx, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	callq	_PCKEV_H2_SH
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	callq	_PCKEV_H2_SH
	movl	%r13d, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	callq	_PCKEV_H2_SH
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	$6, %edx
	callq	_SRARI_H2_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	movl	$7, %edx
	callq	_SAT_SH2_SH
	callq	_PCKEV_XORI128_UB
	movl	%eax, %r15d
	callq	_PCKEV_XORI128_UB
	movl	%eax, %r12d
	callq	_PCKEV_XORI128_UB
	movl	%eax, %r14d
	movl	-104(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, 40(%rsp)
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, 32(%rsp)
	movl	$3, 24(%rsp)
	movl	$2, 16(%rsp)
	movl	$1, 8(%rsp)
	movl	$0, (%rsp)
	movl	%r15d, %edi
	movl	%r12d, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$2, %r8d
	movl	$3, %r9d
	callq	_ST_W8
	movq	%rbx, %rax
	addq	$16, %rax
	movl	%r13d, 32(%rsp)
	movq	%rax, 24(%rsp)
	movl	$7, 16(%rsp)
	movl	$6, 8(%rsp)
	movl	$5, (%rsp)
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	movl	$4, %r9d
	callq	_ST_H8
	addq	$120, %rsp
	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_uni_4t_6w_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_uni_4t_6w_msa
_hevc_hv_uni_4t_6w_msa:                 ; @hevc_hv_uni_4t_6w_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	x22, x5
	mov	x23, x4
	str	w3, [sp, #36]                   ; 4-byte Folded Spill
	str	x2, [sp, #40]                   ; 8-byte Folded Spill
	mov	x24, x1
	mov	x25, 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	x21, x0
	mvn	w8, w24
	add	x25, x25, w8, sxtw #2
	mov	x0, x23
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	x0, x22
	bl	_LD_SH
	mov	x22, x0
	mov	x1, x0
	bl	_UNPCK_R_SB_SH
	mov	x0, x22
	mov	w1, #0
	bl	_SPLATI_W2_SH
	add	x22, x21, #2
	mov	x0, x25
	mov	x1, x24
	bl	_LD_SB3
	add	w8, w24, w24, lsl #1
	add	x25, x25, w8, sxtw #2
	bl	_XORI_B3_128_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x27, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	mov	x0, x27
	mov	x1, x26
	bl	_ILVRL_H2_SH
	mov	x0, x23
	mov	x1, x27
	bl	_ILVRL_H2_SH
	mov	x0, x25
	mov	x1, x24
	bl	_LD_SB8
	bl	_XORI_B8_128_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x25, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x27, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x24, x0
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x22
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x21, 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
	mov	x0, x25
	mov	x1, x23
	bl	_ILVRL_H2_SH
	mov	x0, x26
	mov	x1, x25
	bl	_ILVRL_H2_SH
	mov	x0, x27
	mov	x1, x26
	bl	_ILVRL_H2_SH
	mov	x0, x24
	mov	x1, x27
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x1, x24
	bl	_ILVRL_H2_SH
	mov	x0, x22
	mov	x1, x21
	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	_PCKEV_D2_SH
	bl	_PCKEV_D2_SH
	bl	___msa_pckev_d
	mov	x22, x0
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	bl	_HEVC_FILT_4TAP
	mov	x24, x0
	bl	_HEVC_FILT_4TAP
	mov	x25, x0
	bl	_HEVC_FILT_4TAP
	mov	x26, x0
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x20, x0
	bl	_HEVC_FILT_4TAP
	mov	x28, x0
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	bl	_HEVC_FILT_4TAP
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x27, x0
	bl	_HEVC_FILT_4TAP
	mov	x21, x0
	mov	x1, x22
	bl	_HEVC_FILT_4TAP
	mov	x22, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	mov	w4, #6
	bl	_SRA_4V
	ldr	w26, [sp, #32]                  ; 4-byte Folded Reload
	mov	x0, x26
	mov	x1, x20
	mov	x2, x28
	mov	x3, x19
	mov	x28, x19
	mov	w4, #6
	bl	_SRA_4V
	ldr	w19, [sp, #28]                  ; 4-byte Folded Reload
	mov	x0, x19
	mov	x1, x27
	mov	x2, x21
	mov	x3, x22
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x24
	mov	x1, x23
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	mov	x3, x25
	bl	_PCKEV_H2_SH
	mov	x0, x20
	mov	x1, x26
	mov	x2, x28
	ldr	w3, [sp, #24]                   ; 4-byte Folded Reload
	bl	_PCKEV_H2_SH
	mov	x0, x27
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_PCKEV_H2_SH
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	w2, #6
	bl	_SRARI_H2_SH
	mov	w22, #7
	mov	w4, #7
	bl	_SAT_SH4_SH
	mov	w2, #7
	bl	_SAT_SH2_SH
	bl	_PCKEV_XORI128_UB
	mov	x19, x0
	bl	_PCKEV_XORI128_UB
	mov	x20, x0
	bl	_PCKEV_XORI128_UB
	mov	x21, x0
	ldr	w23, [sp, #36]                  ; 4-byte Folded Reload
	str	w23, [sp, #16]
	mov	x8, #2
	movk	x8, #3, lsl #32
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	stp	x8, x24, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #1
	mov	w4, #2
	mov	w5, #3
	mov	w6, #0
	mov	w7, #1
	bl	_ST_W8
	add	x8, x24, #16
	str	w23, [sp, #16]
	str	x8, [sp, #8]
	str	w22, [sp]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	w5, #4
	mov	w6, #5
	mov	w7, #6
	bl	_ST_H8
	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
	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_uni_4t_6w_msa
.subsections_via_symbols
