	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_vt_biwgt_4t_8x6_msa
_hevc_vt_biwgt_4t_8x6_msa:              ## @hevc_vt_biwgt_4t_8x6_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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	16(%rbp), %r12
	movzwl	24(%rbp), %eax
	movl	32(%rbp), %edi
	movl	56(%rbp), %r13d
	movl	48(%rbp), %edx
	movslq	%esi, %r15
	leaq	(,%r15,4), %rcx
	addl	40(%rbp), %edx
	subq	%rcx, %r14
	movl	%r13d, %ecx
	shll	%cl, %edx
	movl	%edi, %ebx
	shll	$16, %ebx
	orl	%eax, %ebx
	shll	$13, %edi
	addl	%edx, %edi
	callq	___msa_fill_w
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_w
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	incl	%r13d
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_LD_SB3
	leal	(%r15,%r15,2), %eax
	cltq
	leaq	(%r14,%rax,4), %rbx
	callq	_XORI_B3_128_SB
	callq	_ILVR_B2_SB
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_LD_SB6
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_LD_SH6
	callq	_XORI_B6_128_SB
	callq	_ILVR_B4_SB
	callq	_ILVR_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r13
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r15
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r14
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, 64(%rsp)
	movq	%r14, %rdx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, 56(%rsp)
	movq	%r15, 48(%rsp)
	movq	%r13, 40(%rsp)
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 32(%rsp)
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, 24(%rsp)
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, 16(%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_HEVC_BIW_RND_CLIP4
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, 16(%rsp)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 8(%rsp)
	movl	%ebx, (%rsp)
	movq	%rsi, %rbx
	movl	%r14d, %r8d
	movl	%r12d, %r9d
	callq	_HEVC_BIW_RND_CLIP2
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%r15, %r9
	callq	_PCKEV_B2_SH
	movl	%ebx, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	___msa_pckev_b
	movq	%rax, %r14
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, 8(%rsp)
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, (%rsp)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	leal	(,%rbx,4), %eax
	movq	%rbx, %r8
	cltq
	leaq	(%r12,%rax,4), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_D2                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_vt_biwgt_4t_8x6_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_biwgt_4t_8x6_msa
_hevc_vt_biwgt_4t_8x6_msa:              ; @hevc_vt_biwgt_4t_8x6_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x22, x7
	mov	x26, x6
	mov	x19, x5
	str	x4, [sp, #56]                   ; 8-byte Folded Spill
	mov	x24, x3
	mov	x25, x2
	mov	x27, x1
	ldp	w8, w9, [x29, #16]
	ldp	w10, w20, [x29, #24]
	sub	x28, x0, w1, sxtw #2
	add	w9, w10, w9
	lsl	w9, w9, w20
	bfi	w22, w8, #16, #16
	add	w0, w9, w8, lsl #13
	bl	___msa_fill_w
	mov	x21, x0
	mov	x0, x22
	bl	___msa_fill_w
	mov	x22, x0
	add	w0, w20, #1
	bl	___msa_fill_w
	mov	x23, x0
	mov	x0, x26
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	x0, x28
	mov	x1, x27
	bl	_LD_SB3
	add	w8, w27, w27, lsl #1
	add	x26, x28, w8, sxtw #2
	bl	_XORI_B3_128_SB
	bl	_ILVR_B2_SB
	mov	x0, x26
	mov	x1, x27
	bl	_LD_SB6
	mov	x0, x25
	mov	x1, x24
	bl	_LD_SH6
	bl	_XORI_B6_128_SB
	bl	_ILVR_B4_SB
	bl	_ILVR_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x24, 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	x20, x0
	stp	x26, x27, [sp, #32]
	stp	x24, x25, [sp, #16]
	stp	w23, w21, [sp, #4]
	str	w22, [sp]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x27
	bl	_HEVC_BIW_RND_CLIP4
	str	x20, [sp]
	mov	x0, x28
	mov	x1, x20
	mov	x4, x22
	mov	x5, x23
	mov	x6, x21
	mov	x7, x28
	bl	_HEVC_BIW_RND_CLIP2
	mov	x0, x25
	mov	x1, x24
	mov	x2, x27
	mov	x3, x26
	mov	x4, x24
	mov	x5, x25
	bl	_PCKEV_B2_SH
	mov	x0, x20
	mov	x1, x28
	bl	___msa_pckev_b
	mov	x20, x0
	mov	x0, x24
	mov	x1, x25
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	ldr	x21, [sp, #56]                  ; 8-byte Folded Reload
	mov	x6, x21
	mov	x7, x19
	bl	_ST_D4
	lsl	w8, w19, #2
	add	x3, x21, w8, sxtw #2
	mov	x0, x20
	mov	w1, #0
	mov	w2, #1
	mov	x4, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_ST_D2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_vt_biwgt_4t_8x6_msa
.subsections_via_symbols
