	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_vt_8t_16multx4mult_msa
_hevc_vt_8t_16multx4mult_msa:           ## @hevc_vt_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	$120, %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, %r15
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	16(%rbp), %ebx
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	cmpl	$16, %ebx
	jae	LBB0_1
LBB0_6:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%ebx, %edi
	shll	$6, %r14d
	sarl	$4, %edi
	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, -48(%rbp)                 ## 4-byte Spill
	leal	(,%r12,4), %esi
	movslq	%esi, %rcx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leal	(,%rsi,4), %esi
	movslq	%esi, %rsi
	subq	%rax, %rdx
	leaq	(,%rdx,4), %rax
	addq	%r13, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	subq	%r8, %r13
	shlq	$2, %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	shlq	$2, %rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	addq	$64, %r13
	addq	$64, -72(%rbp)                  ## 8-byte Folded Spill
	addq	$64, -64(%rbp)                  ## 8-byte Folded Spill
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	movq	%rax, %r12
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	decl	%edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_LD_SB7
	callq	_XORI_B7_128_SB
	callq	_ILVR_B4_SB
	callq	_ILVR_B2_SB
	callq	_ILVL_B4_SB
	callq	_ILVL_B2_SB
	cmpl	$4, -44(%rbp)                   ## 4-byte Folded Reload
	movq	%r12, %rax
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	callq	_ILVR_B4_SB
	callq	_ILVL_B4_SB
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, %edi
	movl	%r14d, %esi
	movl	%r14d, %edx
	movl	%r14d, %ecx
	movq	%r15, %r8
	movl	%ebx, %r9d
	callq	_ST_SH4
	leaq	32(%r15), %r8
	movl	%r14d, %edi
	movl	%r14d, %esi
	movl	%r14d, %edx
	movl	%r14d, %ecx
	movl	%ebx, %r9d
	callq	_ST_SH4
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	%rcx, %r13
	addq	%rdx, %r15
	decl	%r12d
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_vt_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_8t_16multx4mult_msa
_hevc_vt_8t_16multx4mult_msa:           ; @hevc_vt_8t_16multx4mult_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, x6
	str	w5, [sp, #32]                   ; 4-byte Folded Spill
	mov	x26, x4
	mov	x20, x3
	str	x2, [sp, #40]                   ; 8-byte Folded Spill
	mov	x22, x1
	mov	x25, x0
	mov	w0, #128
	bl	___msa_ldi_h
	mov	x23, x0
	mov	x0, x26
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
	cmp	w24, #16
	b.hs	LBB0_2
LBB0_1:
	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
LBB0_2:
	lsl	w23, w23, #6
	asr	w12, w24, #4
	add	w8, w22, w22, lsl #1
	sub	x24, x25, w8, sxtw #2
	lsl	w9, w22, #3
	sub	w9, w9, w22
	sxtw	x9, w9
	ldr	w10, [sp, #32]                  ; 4-byte Folded Reload
	asr	w10, w10, #2
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	lsl	w10, w22, #2
	lsl	w11, w20, #2
	sub	x8, x9, w8, sxtw
	sbfiz	x28, x10, #2, #32
	sbfiz	x19, x11, #2, #32
	add	x27, x25, x8, lsl #2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #64
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, #64
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	add	x27, x27, #64
	ldr	w12, [sp, #36]                  ; 4-byte Folded Reload
	cbz	w12, LBB0_1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sub	w12, w12, #1
	str	w12, [sp, #36]                  ; 4-byte Folded Spill
	mov	x0, x24
	mov	x1, x22
	bl	_LD_SB7
	bl	_XORI_B7_128_SB
	bl	_ILVR_B4_SB
	bl	_ILVR_B2_SB
	bl	_ILVL_B4_SB
	bl	_ILVL_B2_SB
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cmp	w8, #4
	b.lo	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x25, [sp, #40]                  ; 8-byte Folded Reload
	mov	x26, x27
	ldr	w21, [sp, #28]                  ; 4-byte Folded Reload
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w21, w21, #1
	mov	x0, x26
	mov	x1, x22
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	bl	_ILVR_B4_SB
	bl	_ILVL_B4_SB
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	mov	x0, x23
	mov	x1, x23
	mov	x2, x23
	mov	x3, x23
	mov	x4, x25
	mov	x5, x20
	bl	_ST_SH4
	add	x4, x25, #32
	mov	x0, x23
	mov	x1, x23
	mov	x2, x23
	mov	x3, x23
	mov	x5, x20
	bl	_ST_SH4
	add	x26, x26, x28
	add	x25, x25, x19
	cbnz	w21, LBB0_6
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_vt_8t_16multx4mult_msa
.subsections_via_symbols
