	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_vt_4t_24w_msa
_hevc_vt_4t_24w_msa:                    ## @hevc_vt_4t_24w_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r13
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movslq	%esi, %r14
	leaq	(,%r14,4), %rax
	subq	%rax, %r13
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	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
	callq	_ILVL_B2_SB
	leaq	64(%r13), %rdi
	movl	%r14d, %esi
	callq	_LD_SB3
	callq	_XORI_B3_128_SB
	callq	_ILVR_B2_SB
	cmpl	$4, %r15d
	jb	LBB0_3
## %bb.1:
	movl	%r15d, %edx
	shll	$6, %ebx
	sarl	$2, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rcx,2), %eax
	cltq
	leaq	(%r13,%rax,4), %r13
	leal	(%rcx,%rcx), %eax
	cltq
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	leaq	-64(,%rax,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-64(,%rcx,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_LD_SB2
	callq	_XORI_B2_128_SB
	callq	_ILVR_B2_SB
	callq	_ILVL_B2_SB
	leaq	64(%r13), %rdi
	movl	%r14d, %esi
	callq	_LD_SB2
	callq	_XORI_B2_128_SB
	callq	_ILVR_B2_SB
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %edi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	$8, %ecx
	callq	_ST_SH2
	leaq	64(%r12), %rsi
	movl	%ebx, %edi
	callq	_ST_SH
	leaq	(%r12,%r15), %rdx
	addq	$64, %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	movl	%ebx, %esi
	movl	$8, %ecx
	callq	_ST_SH2
	leaq	(%r12,%r15), %rsi
	addq	$128, %rsi
	movl	%ebx, %edi
	callq	_ST_SH
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	leaq	(%r12,%r13), %rdi
	addq	$64, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %esi
	callq	_LD_SB2
	callq	_XORI_B2_128_SB
	callq	_ILVR_B2_SB
	callq	_ILVL_B2_SB
	leaq	(%r12,%r13), %rdi
	addq	$128, %rdi
	movl	%r14d, %esi
	callq	_LD_SB2
	callq	_XORI_B2_128_SB
	callq	_ILVR_B2_SB
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_DPADD_SB2_SH
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r15,%r14), %r13
	addq	$64, %r13
	movl	%ebx, %edi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	$8, %ecx
	callq	_ST_SH2
	leaq	(%r15,%r14), %rsi
	addq	$128, %rsi
	movl	%ebx, %edi
	callq	_ST_SH
	leaq	(%r15,%r13), %r14
	addq	$64, %r14
	movl	%ebx, %edi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$8, %ecx
	callq	_ST_SH2
	leaq	(%r15,%r13), %rsi
	addq	$128, %rsi
	movl	%ebx, %edi
	callq	_ST_SH
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax), %r13
	addq	$64, %r13
	leaq	(%r15,%r14), %r12
	addq	$64, %r12
	decl	%edx
	jne	LBB0_2
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_vt_4t_24w_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_24w_msa
_hevc_vt_4t_24w_msa:                    ; @hevc_vt_4t_24w_msa
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	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
	mov	x1, x19
	bl	_LD_SB3
	bl	_XORI_B3_128_SB
	bl	_ILVR_B2_SB
	bl	_ILVL_B2_SB
	add	x0, x23, #64
	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	w24, w24, #2
	lsl	w8, w19, #1
	add	w9, w8, w19
	sbfiz	x8, x8, #2, #32
	sub	x25, x8, #64
	sbfiz	x8, x22, #2, #32
	sub	x26, x8, #64
	add	x22, x23, w9, sxtw #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w24, w24, #1
	mov	x0, x22
	mov	x1, x19
	bl	_LD_SB2
	bl	_XORI_B2_128_SB
	bl	_ILVR_B2_SB
	bl	_ILVL_B2_SB
	add	x22, x22, #64
	mov	x0, x22
	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	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x0, x20
	mov	x1, x20
	mov	x2, x21
	mov	w3, #8
	bl	_ST_SH2
	add	x21, x21, #64
	mov	x0, x20
	mov	x1, x21
	bl	_ST_SH
	add	x21, x21, x26
	mov	x0, x20
	mov	x1, x20
	mov	x2, x21
	mov	w3, #8
	bl	_ST_SH2
	add	x23, x21, #64
	mov	x0, x20
	mov	x1, x23
	bl	_ST_SH
	add	x21, x22, x25
	mov	x0, x21
	mov	x1, x19
	bl	_LD_SB2
	bl	_XORI_B2_128_SB
	bl	_ILVR_B2_SB
	bl	_ILVL_B2_SB
	add	x21, x21, #64
	mov	x0, x21
	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	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	mov	x4, x20
	mov	x5, x20
	bl	_DPADD_SB2_SH
	add	x22, x23, x26
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	mov	w3, #8
	bl	_ST_SH2
	add	x22, x22, #64
	mov	x0, x20
	mov	x1, x22
	bl	_ST_SH
	add	x22, x22, x26
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	mov	w3, #8
	bl	_ST_SH2
	add	x23, x22, #64
	mov	x0, x20
	mov	x1, x23
	bl	_ST_SH
	add	x22, x21, x25
	add	x21, x23, x26
	cbnz	w24, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_vt_4t_24w_msa
.subsections_via_symbols
