	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_bi_4t_8x6_msa
_hevc_hv_bi_4t_8x6_msa:                 ## @hevc_hv_bi_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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	24(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %r14
	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	-56(%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), %rbx
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %r14d
	shll	$6, %r14d
	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	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_LD_SH6
	movl	%r14d, 8(%rsp)
	movl	%r14d, %esi
	movl	%r14d, %ecx
	movl	%r14d, %r9d
	callq	_ADDS_SH4_SH
	movl	%r14d, %esi
	movl	%r14d, %ecx
	callq	_ADDS_SH2_SH
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_ILVRL_H2_SH
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	movl	%r12d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_ILVRL_H2_SH
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_ILVRL_H2_SH
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_4TAP
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rsp)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_PCKEV_H4_SH
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_PCKEV_H2_SH
	callq	_ADDS_SH4_SH
	callq	_ADDS_SH2_SH
	movl	$7, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %edx
	callq	_SRARI_H2_SH
	callq	_CLIP_SH4_0_255
	callq	_CLIP_SH2_0_255
	callq	_PCKEV_B2_UB
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	___msa_pckev_b
	movq	%rax, %r14
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, 8(%rsp)
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	leal	(,%rbx,4), %eax
	movq	%rbx, %r8
	cltq
	leaq	(%r15,%rax,4), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	addq	$120, %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,4,2           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_bi_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_bi_4t_8x6_msa
_hevc_hv_bi_4t_8x6_msa:                 ; @hevc_hv_bi_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	x22, x7
	mov	x25, x6
	str	w5, [sp, #40]                   ; 4-byte Folded Spill
	str	x4, [sp, #32]                   ; 8-byte Folded Spill
	mov	x23, x3
	mov	x24, x2
	mov	x26, x1
	mov	x27, 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, w26
	add	x27, x27, w8, sxtw #2
	mov	x0, x25
	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	w0, #128
	bl	___msa_ldi_h
	lsl	w25, w0, #6
	mov	x0, x27
	mov	x1, x26
	bl	_LD_SB5
	add	w8, w26, w26, lsl #2
	add	x0, x27, w8, sxtw #2
	mov	x1, x26
	bl	_LD_SB4
	bl	_XORI_B5_128_SB
	bl	_XORI_B4_128_SB
	mov	x0, x24
	mov	x1, x23
	bl	_LD_SH6
	mov	x1, x25
	mov	x3, x25
	mov	x5, x25
	mov	x7, x25
	bl	_ADDS_SH4_SH
	mov	x1, x25
	mov	x3, x25
	bl	_ADDS_SH2_SH
	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
	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
	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	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x24, x0
	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	x28, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	mov	x0, x22
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x23
	mov	x1, x22
	bl	_ILVRL_H2_SH
	mov	x0, x24
	mov	x1, x23
	bl	_ILVRL_H2_SH
	mov	x0, x25
	mov	x1, x24
	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, x28
	mov	x1, x27
	bl	_ILVRL_H2_SH
	mov	x0, x20
	mov	x1, x28
	bl	_ILVRL_H2_SH
	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	x20, x0
	bl	_HEVC_FILT_4TAP
	mov	x26, x0
	bl	_HEVC_FILT_4TAP
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP
	mov	x27, 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	x21, x0
	bl	_HEVC_FILT_4TAP
	mov	x22, x0
	bl	_HEVC_FILT_4TAP
	mov	x28, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	x3, x20
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x26
	ldr	w1, [sp, #44]                   ; 4-byte Folded Reload
	mov	x2, x27
	mov	x3, x19
	mov	x27, x19
	mov	w4, #6
	bl	_SRA_4V
	ldr	w19, [sp, #28]                  ; 4-byte Folded Reload
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x28
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x24
	mov	x1, x23
	mov	x2, x20
	mov	x3, x25
	ldr	w4, [sp, #44]                   ; 4-byte Folded Reload
	mov	x5, x26
	mov	x6, x27
	ldr	w7, [sp, #24]                   ; 4-byte Folded Reload
	bl	_PCKEV_H4_SH
	mov	x0, x21
	mov	x1, x19
	mov	x2, x28
	mov	x3, x22
	bl	_PCKEV_H2_SH
	bl	_ADDS_SH4_SH
	bl	_ADDS_SH2_SH
	mov	w4, #7
	bl	_SRARI_H4_SH
	mov	w2, #7
	bl	_SRARI_H2_SH
	bl	_CLIP_SH4_0_255
	bl	_CLIP_SH2_0_255
	bl	_PCKEV_B2_UB
	mov	x0, #0
	mov	x1, #0
	bl	___msa_pckev_b
	mov	x19, x0
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	mov	x6, x21
	ldr	w20, [sp, #40]                  ; 4-byte Folded Reload
	mov	x7, x20
	bl	_ST_D4
	lsl	w8, w20, #2
	add	x3, x21, w8, sxtw #2
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	mov	x4, x20
	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_D2
	.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_bi_4t_8x6_msa
.subsections_via_symbols
