	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_vt_uniwgt_8t_16multx4mult_msa
_hevc_vt_uniwgt_8t_16multx4mult_msa:    ## @hevc_vt_uniwgt_8t_16multx4mult_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, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movl	%esi, %ebx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %r15d
	movl	32(%rbp), %r12d
	movl	16(%rbp), %r13d
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	___msa_fill_w
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	shll	$7, %r13d
	addl	$-6, %r12d
	movl	%r13d, %edi
	callq	___msa_fill_h
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	___msa_fill_h
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	___msa_fill_h
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	___msa_srar_h
	movl	%r15d, %edi
	movq	%rbx, %r12
	movl	%eax, %esi
	callq	___msa_adds_s_h
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	movl	40(%rbp), %ecx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.1:
	leal	(%r12,%r12,2), %eax
	cltq
	leaq	(,%rax,4), %r8
	leal	(,%r12,8), %edx
	subl	%r12d, %edx
	movslq	%edx, %rdx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	sarl	$2, %esi
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	leal	(,%r12,4), %esi
	movslq	%esi, %r15
	leal	(,%r14,4), %esi
	movslq	%esi, %r13
	subq	%rax, %rdx
	leaq	(%rdi,%rdx,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	subq	%r8, %rdi
	shlq	$2, %r15
	shlq	$2, %r13
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	movq	%r12, -152(%rbp)                ## 8-byte Spill
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	addq	$64, %rdi
	addq	$64, -128(%rbp)                 ## 8-byte Folded Spill
	addq	$64, -120(%rbp)                 ## 8-byte Folded Spill
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	decl	%ecx
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, %esi
	callq	_LD_SB7
	callq	_XORI_B7_128_SB
	cmpl	$4, -44(%rbp)                   ## 4-byte Folded Reload
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, -112(%rbp)                ## 4-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	callq	_ILVR_B4_SB
	callq	_ILVR_B2_SB
	callq	_ILVL_B4_SB
	callq	_ILVL_B2_SB
	callq	_ILVR_B4_SB
	callq	_ILVL_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r12d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %ebx
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r14d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r13d
	movl	%r14d, -100(%rbp)               ## 4-byte Spill
	movl	%r14d, 32(%rsp)
	movl	%ebx, -104(%rbp)                ## 4-byte Spill
	movl	%ebx, 24(%rsp)
	movl	%r12d, %esi
	movl	%r12d, -96(%rbp)                ## 4-byte Spill
	movl	%r12d, 16(%rsp)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 8(%rsp)
	movl	-88(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, (%rsp)
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	-92(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %r8d
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	%r13d, 32(%rsp)
	movl	%r15d, 24(%rsp)
	movl	-108(%rbp), %esi                ## 4-byte Reload
	movl	%esi, 16(%rsp)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 8(%rsp)
	movl	%r12d, (%rsp)
	movl	%esi, %r12d
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	-96(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-100(%rbp), %edx                ## 4-byte Reload
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	callq	_PCKEV_B2_UB
	movl	%r12d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movl	%r13d, %edx
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	movq	-160(%rbp), %r14                ## 8-byte Reload
	movl	%r15d, %ecx
	movq	-136(%rbp), %r13                ## 8-byte Reload
	movq	-144(%rbp), %r15                ## 8-byte Reload
	callq	_PCKEV_B2_UB
	movq	%rbx, %r8
	movl	%r14d, %r9d
	callq	_ST_UB4
	movl	-112(%rbp), %ecx                ## 4-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%r15, %rax
	addq	%r13, %rbx
	decl	%ecx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_vt_uniwgt_8t_16multx4mult_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_vt_uniwgt_8t_16multx4mult_msa
_hevc_vt_uniwgt_8t_16multx4mult_msa:    ; @hevc_vt_uniwgt_8t_16multx4mult_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x19, x7
	mov	x25, x6
	str	w5, [sp, #36]                   ; 4-byte Folded Spill
	mov	x26, x4
	mov	x20, x3
	str	x2, [sp, #64]                   ; 8-byte Folded Spill
	mov	x21, x1
	mov	x27, x0
	ldp	w28, w22, [x29, #16]
	mov	x0, x6
	bl	___msa_fill_w
	str	w0, [sp, #100]                  ; 4-byte Folded Spill
	mov	x0, x28
	bl	___msa_fill_w
	str	w0, [sp, #32]                   ; 4-byte Folded Spill
	lsl	w0, w25, #7
	sub	w25, w28, #6
	bl	___msa_fill_h
	mov	x28, x0
	mov	x0, x19
	bl	___msa_fill_h
	mov	x19, x0
	mov	x0, x25
	bl	___msa_fill_h
	mov	x1, x0
	mov	x0, x28
	bl	___msa_srar_h
	mov	x1, x0
	mov	x0, x19
	bl	___msa_adds_s_h
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	mov	x0, x26
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
	cbz	w22, LBB0_6
; %bb.1:
	add	w8, w21, w21, lsl #1
	sub	x0, x27, w8, sxtw #2
	lsl	w9, w21, #3
	sub	w9, w9, w21
	sxtw	x9, w9
	ldr	w10, [sp, #36]                  ; 4-byte Folded Reload
	asr	w10, w10, #2
	str	w10, [sp, #24]                  ; 4-byte Folded Spill
	lsl	w10, w21, #2
	lsl	w11, w20, #2
	sub	x8, x9, w8, sxtw
	sbfiz	x23, x10, #2, #32
	sbfiz	x24, x11, #2, #32
	add	x8, x27, x8, lsl #2
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	stp	w21, w20, [sp, #92]             ; 8-byte Folded Spill
	stp	x24, x23, [sp, #72]             ; 16-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	add	x0, x0, #64
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x9, x8, #64
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x8, x8, #64
	stp	x8, x9, [sp, #56]               ; 16-byte Folded Spill
	ldr	w22, [sp, #52]                  ; 4-byte Folded Reload
	cbz	w22, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	sub	w22, w22, #1
	str	w22, [sp, #52]                  ; 4-byte Folded Spill
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	mov	x1, x21
	bl	_LD_SB7
	bl	_XORI_B7_128_SB
	ldp	w27, w8, [sp, #32]              ; 8-byte Folded Reload
	cmp	w8, #4
	ldr	w28, [sp, #28]                  ; 4-byte Folded Reload
	b.lo	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x19, [sp, #56]              ; 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
	stp	x19, x8, [x29, #-96]            ; 16-byte Folded Spill
	sub	w9, w9, #1
	stur	w9, [x29, #-100]                ; 4-byte Folded Spill
	mov	x0, x8
	mov	x1, x21
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	bl	_ILVR_B4_SB
	bl	_ILVR_B2_SB
	bl	_ILVL_B4_SB
	bl	_ILVL_B2_SB
	bl	_ILVR_B4_SB
	bl	_ILVL_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x20, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x24, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x25, x0
	stp	w26, w20, [sp, #4]
	str	w21, [sp]
	mov	x0, x19
	str	w19, [sp, #104]                 ; 4-byte Folded Spill
	mov	x1, x21
	mov	x2, x26
	mov	x3, x20
	mov	x19, x28
	mov	x28, x27
	ldr	w27, [sp, #100]                 ; 4-byte Folded Reload
	mov	x4, x27
	mov	x5, x19
	mov	x6, x28
	mov	x7, x0
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	stp	w24, w25, [sp, #4]
	str	w23, [sp]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	mov	x4, x27
	mov	x27, x28
	mov	x28, x19
	ldur	x19, [x29, #-96]                ; 8-byte Folded Reload
	mov	x5, x28
	mov	x6, x27
	mov	x7, x22
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x0, x21
	ldr	w1, [sp, #104]                  ; 4-byte Folded Reload
	mov	x2, x20
	ldp	w21, w20, [sp, #92]             ; 8-byte Folded Reload
	mov	x3, x26
	bl	_PCKEV_B2_UB
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	mov	x3, x24
	ldp	x24, x23, [sp, #72]             ; 16-byte Folded Reload
	bl	_PCKEV_B2_UB
	mov	x4, x19
	mov	x5, x20
	bl	_ST_UB4
	ldur	w9, [x29, #-100]                ; 4-byte Folded Reload
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	add	x8, x8, x23
	add	x19, x19, x24
	cbnz	w9, LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_vt_uniwgt_8t_16multx4mult_msa
.subsections_via_symbols
