	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hv_uni_4t_8multx4mult_msa
_hevc_hv_uni_4t_8multx4mult_msa:        ## @hevc_hv_uni_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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %rbx
	movl	%ecx, %r12d
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LD_SB
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r15, %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
	movl	24(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movl	16(%rbp), %edx
	movq	%r14, %rbx
	addq	$2, %rbx
	movl	%r13d, %eax
	notl	%eax
	movslq	%eax, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	leaq	(%r9,%r8,4), %rdi
	leal	(%r13,%r13,2), %ecx
	movslq	%ecx, %rcx
	sarl	$2, %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	leal	(,%r13,4), %edx
	movslq	%edx, %rax
	leal	(,%r12,4), %edx
	movslq	%edx, %rdx
	addq	%r8, %rcx
	leaq	(%r9,%rcx,4), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%r12, -152(%rbp)                ## 8-byte Spill
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	addq	$32, %rdi
	addq	$32, -96(%rbp)                  ## 8-byte Folded Spill
	addq	$32, -88(%rbp)                  ## 8-byte Folded Spill
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	decl	%esi
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movl	%r13d, %esi
	callq	_LD_SB3
	callq	_XORI_B3_128_SB
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r14, %r8
	movq	%rbx, %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, 16(%rbp)
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%esi, -80(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %r8
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r14, %r8
	movq	%rbx, %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, -76(%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, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r15d
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP
	movl	%eax, %r13d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	-72(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	$6, %r8d
	callq	_SRA_4V
	movl	%ebx, 8(%rsp)
	movl	%r13d, (%rsp)
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	%r15d, %r9d
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	callq	_PCKEV_H4_SH
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	callq	_PCKEV_XORI128_UB
	movl	%eax, %r14d
	callq	_PCKEV_XORI128_UB
	movl	%r12d, 8(%rsp)
	movq	%rbx, (%rsp)
	movl	%r14d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	-136(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rdx
	addq	%rcx, %rbx
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	decl	%esi
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$168, %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_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_uni_4t_8multx4mult_msa
_hevc_hv_uni_4t_8multx4mult_msa:        ; @hevc_hv_uni_4t_8multx4mult_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x21, x7
	str	w6, [sp, #28]                   ; 4-byte Folded Spill
	mov	x20, x5
	mov	x25, x4
	mov	x22, x3
	str	x2, [sp, #56]                   ; 8-byte Folded Spill
	mov	x23, x1
	mov	x19, 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	x24, x0
	mov	x0, x25
	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
	cbz	w21, LBB0_6
; %bb.1:
	add	x25, x24, #2
	mvn	w8, w23
	add	x0, x19, w8, sxtw #2
	add	w9, w23, w23, lsl #1
	sxtw	x9, w9
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	asr	w10, w10, #2
	str	w10, [sp, #24]                  ; 4-byte Folded Spill
	lsl	w10, w23, #2
	lsl	w11, w22, #2
	add	x8, x9, w8, sxtw
	sbfiz	x26, x10, #2, #32
	sbfiz	x28, x11, #2, #32
	add	x8, x19, x8, lsl #2
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	stp	w23, w22, [sp, #80]             ; 8-byte Folded Spill
	stp	x26, x24, [sp, #64]             ; 16-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #32]                   ; 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	w21, [sp, #44]                  ; 4-byte Folded Reload
	cbz	w21, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sub	w21, w21, #1
	str	w21, [sp, #44]                  ; 4-byte Folded Spill
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	x1, x23
	bl	_LD_SB3
	bl	_XORI_B3_128_SB
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x27, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	mov	x0, x27
	mov	x1, x19
	bl	_ILVRL_H2_SH
	mov	x0, x20
	mov	x1, x27
	bl	_ILVRL_H2_SH
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #4
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x19, [sp, #48]              ; 16-byte Folded Reload
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
	str	x19, [sp, #96]                  ; 8-byte Folded Spill
	sub	w9, w9, #1
	str	w9, [sp, #92]                   ; 4-byte Folded Spill
	ldur	x0, [x29, #-88]                 ; 8-byte Folded Reload
	mov	x1, x23
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	mov	x0, x22
	mov	x1, x20
	bl	_ILVRL_H2_SH
	mov	x0, x26
	mov	x1, x22
	bl	_ILVRL_H2_SH
	mov	x0, x21
	mov	x1, x26
	bl	_ILVRL_H2_SH
	mov	x0, x19
	mov	x1, x21
	bl	_ILVRL_H2_SH
	bl	_HEVC_FILT_4TAP
	mov	x20, x0
	bl	_HEVC_FILT_4TAP
	mov	x21, x0
	bl	_HEVC_FILT_4TAP
	mov	x22, x0
	bl	_HEVC_FILT_4TAP
	mov	x26, x0
	bl	_HEVC_FILT_4TAP
	mov	x23, x0
	bl	_HEVC_FILT_4TAP
	mov	x24, x0
	bl	_HEVC_FILT_4TAP
	mov	x27, x28
	mov	x28, x25
	mov	x25, x0
	bl	_HEVC_FILT_4TAP
	mov	x19, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x26
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	x3, x19
	mov	w4, #6
	bl	_SRA_4V
	mov	x0, x21
	mov	x1, x20
	mov	x2, x26
	mov	x3, x22
	mov	x4, x24
	ldp	x26, x24, [sp, #64]             ; 16-byte Folded Reload
	mov	x5, x23
	ldp	w23, w22, [sp, #80]             ; 8-byte Folded Reload
	mov	x6, x19
	mov	x7, x25
	mov	x25, x28
	mov	x28, x27
	bl	_PCKEV_H4_SH
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	mov	x19, x0
	bl	_PCKEV_XORI128_UB
	mov	x1, x0
	mov	x0, x19
	ldr	x19, [sp, #96]                  ; 8-byte Folded Reload
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x19
	mov	x7, x22
	bl	_ST_D4
	ldp	w20, w9, [sp, #88]              ; 8-byte Folded Reload
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	add	x8, x8, x26
	add	x19, x19, x27
	cbnz	w9, LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	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_8multx4mult_msa
.subsections_via_symbols
