	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_vt_8t_16w_mult_msa
_common_vt_8t_16w_mult_msa:             ## @common_vt_8t_16w_mult_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	$168, %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
	movl	%ecx, %r12d
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movl	16(%rbp), %ebx
	movq	%r8, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SB
	cmpl	$16, %ebx
	jae	LBB0_1
LBB0_6:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	sarl	$4, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leal	(%rdi,%rdi,2), %eax
	cltq
	leaq	(,%rax,4), %rcx
	leal	(,%rdi,8), %edx
	subl	%edi, %edx
	movslq	%edx, %rdx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	sarl	$2, %esi
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	leal	(,%rdi,4), %esi
	movslq	%esi, %r15
	leal	(,%r12,4), %esi
	movslq	%esi, %rsi
	subq	%rax, %rdx
	leaq	(,%rdx,4), %rax
	addq	%r13, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	subq	%rcx, %r13
	shlq	$2, %r15
	shlq	$2, %rsi
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -152(%rbp)                ## 8-byte Spill
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-128(%rbp), %r13                ## 8-byte Reload
	addq	$64, %r13
	addq	$64, -112(%rbp)                 ## 8-byte Folded Spill
	addq	$64, -104(%rbp)                 ## 8-byte Folded Spill
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	decl	%ebx
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	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
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-64(%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
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r13d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %ebx
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r12d
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r14d
	movl	%r13d, -84(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	-88(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	movl	%r15d, -76(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	%r13d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	movl	%r12d, %edi
	movl	%r15d, %esi
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r14d, %ecx
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	movl	%ebx, 8(%rsp)
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movl	%r14d, (%rsp)
	movl	%r12d, %edi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	_PCKEV_B4_UB
	callq	_XORI_B4_128_UB
	movq	%rbx, %r8
	movl	%r12d, %r9d
	callq	_ST_UB4
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	-136(%rbp), %rax                ## 8-byte Reload
	addq	%r13, %rcx
	addq	%rax, %rbx
	decl	%edx
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_common_vt_8t_16w_mult_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function common_vt_8t_16w_mult_msa
_common_vt_8t_16w_mult_msa:             ; @common_vt_8t_16w_mult_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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, x6
	str	w5, [sp, #20]                   ; 4-byte Folded Spill
	mov	x19, x3
	str	x2, [sp, #48]                   ; 8-byte Folded Spill
	mov	x20, x1
	mov	x24, x0
	mov	x0, x4
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SB
	cmp	w23, #16
	b.hs	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_2:
	asr	w12, w23, #4
	add	w8, w20, w20, lsl #1
	sub	x0, x24, w8, sxtw #2
	lsl	w9, w20, #3
	sub	w9, w9, w20
	sxtw	x9, w9
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	asr	w10, w10, #2
	str	w10, [sp, #16]                  ; 4-byte Folded Spill
	lsl	w10, w20, #2
	lsl	w11, w19, #2
	sub	x8, x9, w8, sxtw
	sbfiz	x21, x10, #2, #32
	sbfiz	x22, x11, #2, #32
	add	x8, x24, x8, lsl #2
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	stp	w20, w19, [sp, #76]             ; 8-byte Folded Spill
	stp	x22, x21, [sp, #56]             ; 16-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	add	x0, x0, #64
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x9, x8, #64
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, #64
	stp	x8, x9, [sp, #40]               ; 16-byte Folded Spill
	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
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x1, x20
	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, #20]                   ; 4-byte Folded Reload
	cmp	w8, #4
	b.lo	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x25, x23, [sp, #40]             ; 16-byte Folded Reload
	ldr	w26, [sp, #16]                  ; 4-byte Folded Reload
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x23, [sp, #88]                  ; 8-byte Folded Spill
	sub	w26, w26, #1
	mov	x0, x25
	mov	x1, x20
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	bl	_ILVR_B4_SB
	bl	_ILVL_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x27, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x28, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x24, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x20, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x22, x0
	mov	x0, x27
	mov	x1, x28
	str	w19, [sp, #84]                  ; 4-byte Folded Spill
	mov	x2, x19
	mov	x3, x24
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	mov	x3, x22
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	x0, x27
	mov	x1, x28
	mov	x2, x19
	mov	x3, x24
	mov	w4, #7
	bl	_SAT_SH4_SH
	mov	x0, x21
	mov	x1, x23
	mov	x2, x20
	mov	x3, x22
	mov	w4, #7
	bl	_SAT_SH4_SH
	mov	x0, x21
	mov	x1, x27
	mov	x2, x23
	ldr	x23, [sp, #88]                  ; 8-byte Folded Reload
	mov	x3, x28
	mov	x4, x20
	ldp	w20, w19, [sp, #76]             ; 8-byte Folded Reload
	ldr	w5, [sp, #84]                   ; 4-byte Folded Reload
	mov	x6, x22
	ldp	x22, x21, [sp, #56]             ; 16-byte Folded Reload
	mov	x7, x24
	bl	_PCKEV_B4_UB
	bl	_XORI_B4_128_UB
	mov	x4, x23
	mov	x5, x19
	bl	_ST_UB4
	add	x25, x25, x21
	add	x23, x23, x22
	cbnz	w26, LBB0_6
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_common_vt_8t_16w_mult_msa
.subsections_via_symbols
