	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_vt_4t_6w_msa
_hevc_vt_4t_6w_msa:                     ## @hevc_vt_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
	movl	%r9d, %ebx
	movq	%r8, %r15
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r13
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movslq	%esi, %r14
	leaq	(,%r14,4), %rax
	subq	%rax, %r13
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_LD_SB3
	callq	_XORI_B3_128_SB
	callq	_ILVR_B2_SB
	cmpl	$4, %ebx
	jb	LBB0_3
## %bb.1:
	shll	$6, %r12d
	sarl	$2, %ebx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rcx,2), %eax
	cltq
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	leal	(%rcx,%rcx), %eax
	movslq	%eax, %rcx
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(,%rcx,8), %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	-16(,%rax,4), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-104(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_LD_SB2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %r14
	callq	_XORI_B2_128_SB
	callq	_ILVR_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_LD_SB2
	callq	_XORI_B2_128_SB
	callq	_ILVR_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	___msa_copy_u_d
	movl	%eax, %ebx
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	___msa_copy_u_d
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	___msa_copy_u_d
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	___msa_copy_u_d
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	$2, %esi
	callq	___msa_copy_u_w
	movl	%eax, %r14d
	movl	%r12d, %edi
	movl	$2, %esi
	callq	___msa_copy_u_w
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	$2, %esi
	callq	___msa_copy_u_w
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	$2, %esi
	callq	___msa_copy_u_w
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_SD
	leaq	16(%r15), %rsi
	movl	%r14d, %edi
	callq	_SW
	leaq	(%r15,%r13), %rbx
	addq	$16, %rbx
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_SD
	leaq	(%r15,%r13), %rsi
	addq	$32, %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_SW
	leaq	(%rbx,%r13), %r14
	addq	$16, %r14
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	callq	_SD
	leaq	(%rbx,%r13), %rsi
	addq	$32, %rsi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_SW
	leaq	(%r14,%r13), %rbx
	addq	$16, %rbx
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	callq	_SD
	leaq	(%r14,%r13), %rsi
	addq	$32, %rsi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_SW
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	leaq	(%rbx,%r13), %rax
	addq	$16, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	decl	%ebx
	jne	LBB0_2
LBB0_3:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_vt_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_4t_6w_msa
_hevc_vt_4t_6w_msa:                     ; @hevc_vt_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	x24, x5
	mov	x25, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	sub	x23, x0, w1, sxtw #2
	mov	w0, #128
	bl	___msa_ldi_h
	mov	x20, x0
	mov	x0, x25
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	x0, x23
	str	w19, [sp, #36]                  ; 4-byte Folded Spill
	mov	x1, x19
	bl	_LD_SB3
	bl	_XORI_B3_128_SB
	bl	_ILVR_B2_SB
	cmp	w24, #4
	b.lo	LBB0_3
; %bb.1:
	lsl	w20, w20, #6
	asr	w26, w24, #2
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	lsl	w8, w9, #1
	add	w9, w8, w9
	sbfiz	x10, x8, #3, #32
	sbfiz	x8, x8, #2, #32
	stp	x8, x10, [sp, #16]              ; 16-byte Folded Spill
	sbfiz	x8, x22, #2, #32
	sub	x8, x8, #16
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	add	x22, x23, w9, sxtw #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w26, w26, #1
	mov	x0, x22
	ldr	w19, [sp, #36]                  ; 4-byte Folded Reload
	mov	x1, x19
	bl	_LD_SB2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x23, x22, x8
	bl	_XORI_B2_128_SB
	bl	_ILVR_B2_SB
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x0, x23
	mov	x1, x19
	bl	_LD_SB2
	bl	_XORI_B2_128_SB
	bl	_ILVR_B2_SB
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x0, x20
	mov	w1, #0
	bl	___msa_copy_u_d
	mov	x24, x0
	mov	x0, x20
	mov	w1, #0
	bl	___msa_copy_u_d
	mov	x25, x0
	mov	x0, x20
	mov	w1, #0
	bl	___msa_copy_u_d
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	mov	x0, x20
	mov	w1, #0
	bl	___msa_copy_u_d
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	mov	x0, x20
	mov	w1, #2
	bl	___msa_copy_u_w
	mov	x27, x0
	mov	x0, x20
	mov	w1, #2
	bl	___msa_copy_u_w
	mov	x28, x0
	mov	x0, x20
	mov	w1, #2
	bl	___msa_copy_u_w
	mov	x19, x0
	mov	x0, x20
	mov	w1, #2
	bl	___msa_copy_u_w
	mov	x23, x0
	mov	x0, x24
	mov	x1, x21
	bl	_SD
	add	x21, x21, #16
	mov	x0, x27
	mov	x1, x21
	bl	_SW
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	add	x21, x21, x24
	mov	x0, x25
	mov	x1, x21
	bl	_SD
	add	x21, x21, #16
	mov	x0, x28
	mov	x1, x21
	bl	_SW
	add	x21, x21, x24
	ldr	w0, [sp, #40]                   ; 4-byte Folded Reload
	mov	x1, x21
	bl	_SD
	add	x21, x21, #16
	mov	x0, x19
	mov	x1, x21
	bl	_SW
	add	x19, x21, x24
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	mov	x1, x19
	bl	_SD
	add	x19, x19, #16
	mov	x0, x23
	mov	x1, x19
	bl	_SW
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x22, x22, x8
	add	x21, x19, x24
	cbnz	w26, LBB0_2
LBB0_3:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_vt_4t_6w_msa
.subsections_via_symbols
