	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_vt_uniwgt_4t_6w_msa
_hevc_vt_uniwgt_4t_6w_msa:              ## @hevc_vt_uniwgt_4t_6w_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movl	24(%rbp), %r13d
	movl	32(%rbp), %ebx
	movzwl	16(%rbp), %r14d
	movslq	%esi, %r12
	leaq	(,%r12,4), %rax
	subq	%rax, %r15
	movl	%r14d, %edi
	callq	___msa_fill_w
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_w
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	shll	$7, %r14d
	addl	$-6, %ebx
	movl	%r14d, %edi
	callq	___msa_fill_h
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	___msa_fill_h
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	___msa_srar_h
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	___msa_adds_s_h
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_LD_SB3
	leal	(%r12,%r12,2), %eax
	cltq
	leaq	(%r15,%rax,4), %rdi
	subq	$32, %rsp
	movl	%r12d, %esi
	callq	_LD_SB8
	addq	$32, %rsp
	callq	_XORI_B3_128_SB
	subq	$16, %rsp
	callq	_XORI_B8_128_SB
	addq	$16, %rsp
	callq	_ILVR_B2_SB
	callq	_ILVR_B2_SB
	callq	_ILVR_B2_SB
	callq	_ILVR_B2_SB
	callq	_ILVR_B2_SB
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r13d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %ebx
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ecx
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r14
	pushq	%rdx
	pushq	%rsi
	pushq	%rdi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	pushq	%r14
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	addq	$40, %rsp
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%r12
	pushq	%r15
	pushq	%rdi
	movq	%rdi, %r13
	pushq	%r14
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	addq	$48, %rsp
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_PCKEV_B2_UB
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	callq	_PCKEV_B2_UB
	xorl	%esi, %esi
	movl	$2, %edx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rcx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %r8d
	callq	_ST_W2
	leaq	16(%r14), %rcx
	movq	%r14, %r13
	movl	$2, %esi
	movl	$6, %edx
	movl	%ebx, %r8d
	callq	_ST_H2
	leal	(%rbx,%rbx), %eax
	movslq	%eax, %r14
	leaq	(,%r14,4), %rcx
	addq	%r13, %rcx
	xorl	%esi, %esi
	movl	$2, %edx
	movl	%ebx, %r8d
	callq	_ST_W2
	leaq	16(,%r14,4), %rcx
	addq	%r13, %rcx
	movl	$2, %esi
	movl	$6, %edx
	movl	%ebx, %r8d
	callq	_ST_H2
	leal	(,%rbx,4), %eax
	movslq	%eax, %r12
	leaq	(,%r12,4), %r15
	addq	%r13, %r15
	xorl	%esi, %esi
	movl	$2, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_ST_W2
	leaq	16(,%r12,4), %rcx
	addq	%r13, %rcx
	movl	$2, %esi
	movl	$6, %edx
	movl	%ebx, %r8d
	callq	_ST_H2
	leaq	(%r15,%r14,4), %rcx
	xorl	%esi, %esi
	movl	$2, %edx
	movl	%ebx, %r8d
	callq	_ST_W2
	leaq	(%r15,%r14,4), %rcx
	addq	$16, %rcx
	movl	$2, %esi
	movl	$6, %edx
	movl	%ebx, %r8d
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_H2                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_vt_uniwgt_4t_6w_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_4t_6w_msa
_hevc_vt_uniwgt_4t_6w_msa:              ; @hevc_vt_uniwgt_4t_6w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x25, x4
	stp	x3, x2, [sp, #32]               ; 16-byte Folded Spill
	mov	x24, x1
	ldr	w26, [x29, #16]
	and	w27, w6, #0xffff
	sub	x28, x0, w1, sxtw #2
	mov	x0, x27
	bl	___msa_fill_w
	str	w0, [sp, #24]                   ; 4-byte Folded Spill
	mov	x0, x26
	bl	___msa_fill_w
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	lsl	w0, w27, #7
	sub	w26, w26, #6
	bl	___msa_fill_h
	mov	x27, x0
	mov	x0, x23
	bl	___msa_fill_h
	mov	x23, x0
	mov	x0, x26
	bl	___msa_fill_h
	mov	x1, x0
	mov	x0, x27
	bl	___msa_srar_h
	mov	x1, x0
	mov	x0, x23
	bl	___msa_adds_s_h
	mov	x19, x0
	mov	x0, x25
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	x0, x28
	mov	x1, x24
	bl	_LD_SB3
	add	w8, w24, w24, lsl #1
	add	x0, x28, w8, sxtw #2
	mov	x1, x24
	bl	_LD_SB8
	bl	_XORI_B3_128_SB
	bl	_XORI_B8_128_SB
	bl	_ILVR_B2_SB
	bl	_ILVR_B2_SB
	bl	_ILVR_B2_SB
	bl	_ILVR_B2_SB
	bl	_ILVR_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x25, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x27, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x28, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	stp	w26, w27, [sp, #4]
	str	w25, [sp]
	mov	x0, x23
	str	w23, [sp, #20]                  ; 4-byte Folded Spill
	mov	x1, x25
	mov	x2, x26
	mov	x3, x27
	ldr	w23, [sp, #24]                  ; 4-byte Folded Reload
	mov	x4, x23
	mov	x24, x19
	mov	x5, x19
	ldr	w19, [sp, #28]                  ; 4-byte Folded Reload
	mov	x6, x19
	mov	x7, x0
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	stp	w22, w20, [sp, #4]
	str	w21, [sp]
	mov	x0, x28
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	mov	x4, x23
	mov	x5, x24
	mov	x6, x19
	mov	x7, x28
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x0, x25
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	mov	x2, x27
	mov	x3, x26
	bl	_PCKEV_B2_UB
	mov	x0, x21
	mov	x1, x28
	mov	x2, x20
	mov	x3, x22
	bl	_PCKEV_B2_UB
	mov	w1, #0
	mov	w2, #2
	ldp	x19, x20, [sp, #32]             ; 16-byte Folded Reload
	mov	x3, x20
	mov	x4, x19
	bl	_ST_W2
	add	x3, x20, #16
	mov	x22, x20
	mov	w1, #2
	mov	w2, #6
	mov	x4, x19
	bl	_ST_H2
	sbfiz	x21, x19, #3, #32
	add	x20, x20, x21
	mov	w1, #0
	mov	w2, #2
	mov	x3, x20
	mov	x4, x19
	bl	_ST_W2
	add	x3, x20, #16
	mov	w1, #2
	mov	w2, #6
	mov	x4, x19
	bl	_ST_H2
	add	x20, x22, w19, sxtw #4
	mov	w1, #0
	mov	w2, #2
	mov	x3, x20
	mov	x4, x19
	bl	_ST_W2
	add	x3, x20, #16
	mov	w1, #2
	mov	w2, #6
	mov	x4, x19
	bl	_ST_H2
	add	x20, x20, x21
	mov	w1, #0
	mov	w2, #2
	mov	x3, x20
	mov	x4, x19
	bl	_ST_W2
	add	x3, x20, #16
	mov	w1, #2
	mov	w2, #6
	mov	x4, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_ST_H2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_vt_uniwgt_4t_6w_msa
.subsections_via_symbols
