	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_bi_4t_8multx4mult_msa
_hevc_hv_bi_4t_8multx4mult_msa:         ## @hevc_hv_bi_4t_8multx4mult_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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	24(%rbp), %r15
	movq	16(%rbp), %rbx
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LD_SB
	movq	%rbx, %rdi
	movq	%rax, %rbx
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r15, %rdi
	callq	_LD_SH
	movl	%eax, %r15d
	movl	%eax, %edi
	movl	%eax, %esi
	callq	_UNPCK_R_SB_SH
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_SPLATI_W2_SH
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	40(%rbp), %esi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$8, %esi
	jae	LBB0_1
LBB0_6:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	32(%rbp), %edx
	movq	%rbx, %r15
	addq	$2, %r15
	shll	$6, -44(%rbp)                   ## 4-byte Folded Spill
	sarl	$3, %esi
	movl	%r14d, %eax
	notl	%eax
	cltq
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	leal	(%r14,%r14,2), %ecx
	movslq	%ecx, %r8
	sarl	$2, %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	leal	(,%r14,4), %edx
	movslq	%edx, %rdx
	addq	%rax, %r8
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %eax
	movslq	%eax, %rcx
	leaq	(,%r8,4), %rax
	addq	%r13, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leal	(,%r12,4), %eax
	cltq
	shlq	$2, %rdx
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%r12, -184(%rbp)                ## 8-byte Spill
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	addq	$32, %rdi
	addq	$32, -104(%rbp)                 ## 8-byte Folded Spill
	addq	$32, -96(%rbp)                  ## 8-byte Folded Spill
	addq	$32, -88(%rbp)                  ## 8-byte Folded Spill
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	-120(%rbp), %r15                ## 8-byte Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	decl	%esi
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	movl	%r14d, %esi
	callq	_LD_SB3
	callq	_XORI_B3_128_SB
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r15d
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_ILVRL_H2_SH
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_ILVRL_H2_SH
	cmpl	$4, 32(%rbp)
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edi, -76(%rbp)                 ## 4-byte Spill
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	-136(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	movq	%r13, -192(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SH4
	callq	_XORI_B4_128_SB
	movl	%r14d, 8(%rsp)
	movl	%r14d, %esi
	movl	%r14d, %ecx
	movl	%r14d, %r9d
	callq	_ADDS_SH4_SH
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %ebx
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_ILVRL_H2_SH
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_ILVRL_H2_SH
	movl	%ebx, %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, %r15d
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r12d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%ebx, 8(%rsp)
	movl	%r12d, (%rsp)
	movq	-184(%rbp), %r12                ## 8-byte Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	%r15d, %r9d
	movq	-200(%rbp), %rbx                ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	callq	_PCKEV_H4_SH
	callq	_ADDS_SH4_SH
	movl	$7, %r8d
	callq	_SRARI_H4_SH
	callq	_CLIP_SH4_0_255
	callq	_PCKEV_B2_UB
	movl	%r12d, 8(%rsp)
	movq	%rbx, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movq	-176(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rsi
	movq	-192(%rbp), %r13                ## 8-byte Reload
	addq	%rcx, %r13
	addq	%rdx, %rbx
	movl	-72(%rbp), %r15d                ## 4-byte Reload
	decl	%edi
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,4,2           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_bi_4t_8multx4mult_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_8multx4mult_msa
_hevc_hv_bi_4t_8multx4mult_msa:         ; @hevc_hv_bi_4t_8multx4mult_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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, x7
	mov	x22, x6
	mov	x23, x5
	stp	x2, x4, [sp, #48]               ; 16-byte Folded Spill
	mov	x24, x3
	mov	x25, x1
	mov	x19, x0
	ldr	w21, [x29, #20]
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	x26, x0
	mov	x0, x22
	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
	mov	w0, #128
	bl	___msa_ldi_h
	cmp	w21, #8
	b.hs	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_2:
	ldr	w10, [x29, #16]
	lsl	w28, w0, #6
	add	x22, x26, #2
	asr	w13, w21, #3
	mvn	w8, w25
	add	x0, x19, w8, sxtw #2
	add	w9, w25, w25, lsl #1
	sxtw	x9, w9
	str	w10, [sp, #20]                  ; 4-byte Folded Spill
	asr	w10, w10, #2
	str	w10, [sp, #16]                  ; 4-byte Folded Spill
	lsl	w10, w25, #2
	lsl	w11, w24, #2
	lsl	w12, w23, #2
	add	x8, x9, w8, sxtw
	sbfiz	x21, x10, #2, #32
	sbfiz	x10, x11, #2, #32
	sbfiz	x9, x12, #2, #32
	stp	x9, x10, [sp, #64]              ; 16-byte Folded Spill
	add	x8, x19, x8, lsl #2
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	stp	w24, w23, [sp, #104]            ; 8-byte Folded Spill
	str	w25, [sp, #100]                 ; 4-byte Folded Spill
	stp	x21, x26, [sp, #80]             ; 16-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	add	x0, x0, #32
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x9, x8, #32
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x8, x8, #32
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, #32
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w13, [sp, #36]                  ; 4-byte Folded Reload
	cbz	w13, LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sub	w13, w13, #1
	str	w13, [sp, #36]                  ; 4-byte Folded Spill
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x1, x25
	bl	_LD_SB3
	bl	_XORI_B3_128_SB
	mov	x4, x26
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x26
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x26
	mov	x5, x22
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x27, x0
	mov	x0, x20
	mov	x1, x19
	bl	_ILVRL_H2_SH
	mov	x0, x27
	mov	x1, x20
	bl	_ILVRL_H2_SH
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, #4
	b.lo	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w11, [sp, #16]                  ; 4-byte Folded Reload
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	x19, x10, [x29, #-96]           ; 16-byte Folded Spill
	stur	x20, [x29, #-104]               ; 8-byte Folded Spill
	sub	w11, w11, #1
	stur	w11, [x29, #-108]               ; 4-byte Folded Spill
	mov	x0, x10
	mov	x1, x25
	bl	_LD_SB4
	mov	x0, x20
	mov	x1, x24
	bl	_LD_SH4
	bl	_XORI_B4_128_SB
	mov	x1, x28
	mov	x3, x28
	mov	x5, x28
	mov	x7, x28
	bl	_ADDS_SH4_SH
	mov	x4, x26
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x26
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x26
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x26
	mov	x5, x22
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x24, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	str	w0, [sp, #112]                  ; 4-byte Folded Spill
	mov	x0, x21
	mov	x1, x27
	bl	_ILVRL_H2_SH
	mov	x0, x23
	mov	x1, x21
	bl	_ILVRL_H2_SH
	mov	x0, x24
	mov	x1, x23
	bl	_ILVRL_H2_SH
	mov	x0, x19
	mov	x1, x24
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_4TAP
	mov	x21, x0
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	bl	_HEVC_FILT_4TAP
	mov	x24, x0
	bl	_HEVC_FILT_4TAP
	mov	x27, x0
	bl	_HEVC_FILT_4TAP
	mov	x25, x0
	bl	_HEVC_FILT_4TAP
	mov	x26, x0
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	bl	_HEVC_FILT_4TAP
	mov	x20, x22
	mov	x22, x28
	mov	x28, x0
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	mov	x3, x27
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x25
	mov	x1, x26
	mov	x2, x19
	mov	x3, x28
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x23
	mov	x1, x21
	mov	x2, x27
	mov	x3, x24
	ldp	w24, w23, [sp, #104]            ; 8-byte Folded Reload
	mov	x4, x26
	ldp	x21, x26, [sp, #80]             ; 16-byte Folded Reload
	mov	x5, x25
	ldr	w25, [sp, #100]                 ; 4-byte Folded Reload
	mov	x6, x28
	mov	x28, x22
	mov	x22, x20
	mov	x7, x19
	ldp	x20, x19, [x29, #-104]          ; 16-byte Folded Reload
	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, x19
	mov	x7, x23
	bl	_ST_D4
	ldur	w11, [x29, #-108]               ; 4-byte Folded Reload
	ldur	x10, [x29, #-88]                ; 8-byte Folded Reload
	ldp	x9, x8, [sp, #64]               ; 16-byte Folded Reload
	add	x10, x10, x21
	add	x20, x20, x8
	add	x19, x19, x9
	ldr	w27, [sp, #112]                 ; 4-byte Folded Reload
	cbnz	w11, LBB0_6
	b	LBB0_3
	.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_8multx4mult_msa
.subsections_via_symbols
