	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_bi_4t_8multx4_msa
_hevc_hv_bi_4t_8multx4_msa:             ## @hevc_hv_bi_4t_8multx4_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	$152, %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, %r14
	movq	%rcx, %r15
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	24(%rbp), %rbx
	movq	16(%rbp), %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%rbx, %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
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LD_SB
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$128, %edi
	callq	___msa_ldi_h
	movq	32(%rbp), %rcx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	shll	$6, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	notq	%rax
	leaq	(%r12,%rax,4), %rbx
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_LD_SB7
	addq	$32, %rbx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	callq	_XORI_B7_128_SB
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_LD_SH4
	addq	$32, %rbx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rsp)
	movl	%ecx, %esi
	movl	%ecx, %r9d
	callq	_ADDS_SH4_SH
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r14d
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_ILVRL_H2_SH
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_ILVRL_H2_SH
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r13d
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_ILVRL_H2_SH
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_ILVRL_H2_SH
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_4TAP
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r12d
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%ebx, 8(%rsp)
	movl	%r13d, (%rsp)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movl	%r12d, %r9d
	callq	_PCKEV_H4_SH
	callq	_ADDS_SH4_SH
	movl	$7, %r8d
	callq	_SRARI_H4_SH
	callq	_CLIP_SH4_0_255
	callq	_PCKEV_B2_UB
	movq	%r13, 8(%rsp)
	movq	%r14, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	addq	$32, %r14
	decq	%rcx
	jne	LBB0_2
LBB0_3:
	addq	$152, %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_bi_4t_8multx4_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_8multx4_msa
_hevc_hv_bi_4t_8multx4_msa:             ; @hevc_hv_bi_4t_8multx4_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x24, x7
	mov	x19, x5
	mov	x25, x4
	mov	x21, x3
	mov	x22, x2
	str	x1, [sp, #56]                   ; 8-byte Folded Spill
	mov	x27, x0
	ldr	x23, [x29, #16]
	mov	x0, x6
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	x0, x24
	bl	_LD_SH
	mov	x24, x0
	mov	x1, x0
	bl	_UNPCK_R_SB_SH
	mov	x0, x24
	mov	w1, #0
	bl	_SPLATI_W2_SH
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LD_SB
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	mov	w0, #128
	bl	___msa_ldi_h
	cbz	x23, LBB0_3
; %bb.1:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x8, x8, #2
	stp	x8, x21, [sp, #24]              ; 16-byte Folded Spill
	lsl	w8, w0, #6
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	mvn	x8, x8
	add	x24, x27, x8, lsl #2
	str	x19, [sp, #40]                  ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x23, #1
	str	x23, [sp, #72]                  ; 8-byte Folded Spill
	mov	x0, x24
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
	bl	_LD_SB7
	add	x24, x24, #32
	str	x24, [sp, #64]                  ; 8-byte Folded Spill
	bl	_XORI_B7_128_SB
	mov	x0, x22
	mov	x1, x21
	bl	_LD_SH4
	add	x27, x22, #32
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	mov	x3, x1
	mov	x5, x1
	mov	x7, x1
	bl	_ADDS_SH4_SH
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	mov	x4, x23
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x28, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x21, x0
	mov	x0, x19
	mov	x1, x28
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x1, x19
	bl	_ILVRL_H2_SH
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x28, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x26, x0
	mov	x0, x19
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x28
	mov	x1, x19
	bl	_ILVRL_H2_SH
	mov	x0, x23
	mov	x1, x28
	bl	_ILVRL_H2_SH
	mov	x0, x26
	mov	x1, x23
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	bl	_HEVC_FILT_4TAP
	mov	x21, x0
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	bl	_HEVC_FILT_4TAP
	mov	x26, x0
	bl	_HEVC_FILT_4TAP
	mov	x28, x0
	bl	_HEVC_FILT_4TAP
	mov	x20, x0
	bl	_HEVC_FILT_4TAP
	mov	x22, x0
	bl	_HEVC_FILT_4TAP
	mov	x24, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x26
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x28
	mov	x1, x20
	mov	x2, x22
	mov	x3, x24
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x21
	mov	x1, x19
	ldp	x21, x19, [sp, #32]             ; 16-byte Folded Reload
	mov	x2, x26
	mov	x3, x23
	mov	x4, x20
	mov	x5, x28
	mov	x6, x24
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	mov	x7, x22
	mov	x22, x27
	bl	_PCKEV_H4_SH
	bl	_ADDS_SH4_SH
	mov	w4, #7
	bl	_SRARI_H4_SH
	bl	_CLIP_SH4_0_255
	bl	_PCKEV_B2_UB
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x25
	mov	x7, x19
	bl	_ST_D4
	add	x25, x25, #32
	cbnz	x23, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	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_bi_4t_8multx4_msa
.subsections_via_symbols
