	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_bi_8t_8multx1mult_msa
_hevc_hv_bi_8t_8multx1mult_msa:         ## @hevc_hv_bi_8t_8multx1mult_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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	40(%rbp), %r14d
	movq	24(%rbp), %r12
	movq	16(%rbp), %rbx
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	movq	%r12, %rdi
	callq	_LD_SH
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%eax, %esi
	callq	_UNPCK_R_SB_SH
	movl	%ebx, %edi
	callq	_SPLATI_W4_SH
	cmpl	$8, %r14d
	jae	LBB0_1
LBB0_6:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%r14d, %esi
	shll	$6, -52(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %r14
	leaq	4(%rax), %r12
	movl	%r15d, %ebx
	movq	%rax, %r15
	addq	$6, %r15
	sarl	$3, %esi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rdx,%rdx,2), %eax
	movl	$-3, %ecx
	subl	%eax, %ecx
	movslq	%ecx, %rax
	leal	(,%rdx,8), %ecx
	subl	%edx, %ecx
	movslq	%ecx, %rcx
	addq	%rax, %rcx
	leaq	(,%rax,4), %rdi
	addq	%r13, %rdi
	leaq	(%r13,%rcx,4), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movslq	%edx, %rax
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movslq	%ebx, %rdx
	shlq	$2, %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	addq	$32, %rdi
	addq	$32, -120(%rbp)                 ## 8-byte Folded Spill
	addq	$32, -112(%rbp)                 ## 8-byte Folded Spill
	addq	$32, -104(%rbp)                 ## 8-byte Folded Spill
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	-136(%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, -76(%rbp)                 ## 4-byte Spill
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB7
	callq	_XORI_B7_128_SB
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r13d
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	cmpl	$0, 32(%rbp)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r12d
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	32(%rbp), %r13d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, -88(%rbp)                ## 4-byte Spill
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	callq	_LD_SB
	movq	%rax, %rdi
	movl	$128, %esi
	callq	___msa_xori_b
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_LD_SH
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	movq	-136(%rbp), %r9                 ## 8-byte Reload
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %ebx
	movl	%r14d, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_ILVRL_H2_SH
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	movl	-80(%rbp), %r12d                ## 4-byte Reload
	movl	%r13d, -64(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	callq	_ILVRL_H2_SH
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	_ILVRL_H2_SH
	movl	%ebx, %edi
	movl	%ebx, %r13d
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ILVRL_H2_SH
	callq	_HEVC_FILT_8TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_8TAP
	sarl	$6, %ebx
	sarl	$6, %eax
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	___msa_pckev_h
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	movl	%eax, %r9d
	callq	_ADDS_SH2_SH
	movl	%ebx, %edi
	movl	$7, %esi
	callq	___msa_srari_h
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_CLIP_SH_0_255
	movslq	%ebx, %rdi
	movq	%rdi, %rsi
	callq	___msa_pckev_b
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_ST_D1
	movl	%r13d, %eax
	movl	-88(%rbp), %r13d                ## 4-byte Reload
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	addq	%rdi, %rsi
	addq	%rcx, %r15
	addq	%rdx, %rbx
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	decl	%r13d
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,8,3           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_bi_8t_8multx1mult_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_8t_8multx1mult_msa
_hevc_hv_bi_8t_8multx1mult_msa:         ; @hevc_hv_bi_8t_8multx1mult_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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	x23, x7
	mov	x24, x6
	mov	x19, x5
	stp	x2, x4, [sp, #64]               ; 16-byte Folded Spill
	mov	x20, x3
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	mov	x21, x0
	ldr	w25, [x29, #20]
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_SB
	mov	x27, x0
	mov	w0, #128
	bl	___msa_ldi_h
	mov	x22, x0
	mov	x0, x24
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
	mov	x0, x23
	bl	_LD_SH
	mov	x23, x0
	mov	x1, x0
	bl	_UNPCK_R_SB_SH
	mov	x0, x23
	bl	_SPLATI_W4_SH
	cmp	w25, #8
	b.hs	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_2:
	ldr	w8, [x29, #16]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	lsl	w8, w22, #6
	str	w8, [sp, #108]                  ; 4-byte Folded Spill
	add	x22, x27, #2
	add	x23, x27, #4
	add	x24, x27, #6
	asr	w11, w25, #3
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	sub	w8, w10, w10, lsl #2
	sub	w8, w8, #3
	add	x0, x21, w8, sxtw #2
	lsl	w9, w10, #3
	sub	w9, w9, w10
	sxtw	x9, w9
	add	x8, x9, w8, sxtw
	sbfiz	x25, x10, #2, #32
	sbfiz	x10, x20, #2, #32
	sbfiz	x9, x19, #2, #32
	stp	x9, x10, [sp, #80]              ; 16-byte Folded Spill
	add	x8, x21, x8, lsl #2
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	str	x25, [sp, #96]                  ; 8-byte Folded Spill
	stur	x27, [x29, #-120]               ; 8-byte Folded Spill
	stp	x23, x22, [sp, #120]            ; 16-byte Folded Spill
	str	x24, [sp, #112]                 ; 8-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	add	x0, x0, #32
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x9, x8, #32
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x8, x8, #32
	stp	x8, x9, [sp, #64]               ; 16-byte Folded Spill
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x8, x8, #32
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldur	x27, [x29, #-120]               ; 8-byte Folded Reload
	ldp	x23, x22, [sp, #120]            ; 16-byte Folded Reload
	ldr	x24, [sp, #112]                 ; 8-byte Folded Reload
	ldr	w11, [sp, #52]                  ; 4-byte Folded Reload
	cbz	w11, LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sub	w11, w11, #1
	str	w11, [sp, #52]                  ; 4-byte Folded Spill
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_LD_SB7
	bl	_XORI_B7_128_SB
	mov	x2, x27
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B4_SB
	mov	x2, x27
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B4_SB
	mov	x2, x27
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B4_SB
	mov	x2, x27
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_8TAP_SH
	stur	w0, [x29, #-92]                 ; 4-byte Folded Spill
	bl	_HEVC_FILT_8TAP_SH
	stur	w0, [x29, #-96]                 ; 4-byte Folded Spill
	bl	_HEVC_FILT_8TAP_SH
	mov	x20, x0
	mov	x2, x27
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B4_SB
	mov	x2, x27
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B4_SB
	mov	x2, x27
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_8TAP_SH
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x0
	ldp	x22, x23, [sp, #64]             ; 16-byte Folded Reload
	ldr	x24, [sp, #56]                  ; 8-byte Folded Reload
	ldr	w27, [sp, #36]                  ; 4-byte Folded Reload
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	w26, w28, [x29, #-112]          ; 8-byte Folded Spill
	ldp	w25, w26, [x29, #-96]           ; 8-byte Folded Reload
	stp	w26, w20, [x29, #-100]          ; 8-byte Folded Spill
	sub	w27, w27, #1
	mov	x0, x24
	bl	_LD_SB
	mov	w1, #128
	bl	___msa_xori_b
	mov	x28, x0
	mov	x0, x22
	bl	_LD_SH
	stur	w0, [x29, #-104]                ; 4-byte Folded Spill
	mov	x0, x28
	mov	x1, x28
	ldur	x2, [x29, #-120]                ; 8-byte Folded Reload
	ldp	x4, x3, [sp, #120]              ; 16-byte Folded Reload
	ldr	x5, [sp, #112]                  ; 8-byte Folded Reload
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x28, x0
	mov	x0, x26
	ldur	w1, [x29, #-112]                ; 4-byte Folded Reload
	bl	_ILVRL_H2_SH
	mov	x0, x20
	stur	w25, [x29, #-92]                ; 4-byte Folded Spill
	mov	x1, x25
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x20, x19
	mov	x1, x19
	mov	x19, x21
	ldur	w21, [x29, #-108]               ; 4-byte Folded Reload
	bl	_ILVRL_H2_SH
	mov	x0, x28
	mov	x1, x21
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_8TAP
	mov	x26, x0
	bl	_HEVC_FILT_8TAP
	asr	w1, w26, #6
	asr	w0, w0, #6
	bl	___msa_pckev_h
	mov	x26, x0
	ldur	w1, [x29, #-104]                ; 4-byte Folded Reload
	mov	x2, x0
	ldr	w3, [sp, #108]                  ; 4-byte Folded Reload
	mov	x4, x0
	mov	x5, x0
	bl	_ADDS_SH2_SH
	mov	x0, x26
	mov	w1, #7
	bl	___msa_srari_h
	mov	x25, x0
	bl	_CLIP_SH_0_255
	sxtw	x0, w25
	ldr	x25, [sp, #96]                  ; 8-byte Folded Reload
	mov	x1, x0
	bl	___msa_pckev_b
	mov	w1, #0
	mov	x2, x23
	bl	_ST_D1
	ldp	x10, x9, [sp, #80]              ; 16-byte Folded Reload
	add	x24, x24, x25
	add	x22, x22, x9
	add	x23, x23, x10
	ldur	w26, [x29, #-100]               ; 4-byte Folded Reload
	cbnz	w27, LBB0_6
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hv_bi_8t_8multx1mult_msa
.subsections_via_symbols
