	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_vt_uniwgt_4t_24w_msa
_hevc_vt_uniwgt_4t_24w_msa:             ## @hevc_vt_uniwgt_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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movl	24(%rbp), %r15d
	movl	32(%rbp), %ebx
	movzwl	16(%rbp), %r13d
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movslq	%esi, %r12
	leaq	(,%r12,4), %rax
	subq	%rax, %r14
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_w
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	shll	$7, %r13d
	addl	$-6, %ebx
	movl	%r13d, %edi
	callq	___msa_fill_h
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	___msa_fill_h
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	___msa_srar_h
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	___msa_adds_s_h
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_LD_SB3
	leaq	64(%r14), %rdi
	movl	%r12d, %esi
	callq	_LD_SB3
	leal	(%r12,%r12,2), %eax
	cltq
	leaq	(%r14,%rax,4), %r14
	callq	_XORI_B3_128_SB
	callq	_XORI_B3_128_SB
	callq	_ILVR_B2_SB
	callq	_ILVL_B2_SB
	callq	_ILVR_B2_SB
	shll	$2, %r12d
	movslq	%r12d, %rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	$-8, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r14, -192(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_LD_SB4
	leaq	64(%r14), %rdi
	movl	%ebx, %esi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	callq	_XORI_B4_128_SB
	callq	_ILVR_B2_SB
	callq	_ILVL_B2_SB
	callq	_ILVRL_B2_SB
	callq	_ILVRL_B2_SB
	callq	_ILVR_B2_SB
	callq	_ILVR_B2_SB
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r12d
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %ebx
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r14d
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	callq	_HEVC_FILT_4TAP_SH
	movl	%eax, %r13d
	subq	$8, %rsp
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdx
	movq	%rbx, -176(%rbp)                ## 8-byte Spill
	movq	%r15, -184(%rbp)                ## 8-byte Spill
	movl	%r15d, %ecx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r9d
	pushq	%r15
	pushq	%rdx
	pushq	%rsi
	pushq	%rdi
	movq	-128(%rbp), %r15                ## 8-byte Reload
	pushq	%r15
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	addq	$40, %rsp
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	pushq	%r14
	pushq	%rdx
	pushq	%rsi
	pushq	%rdi
	movq	%rdi, %r14
	pushq	%r15
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	addq	$40, %rsp
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	pushq	%r13
	pushq	%rdx
	pushq	%rsi
	movq	%rsi, %r12
	pushq	%rdi
	movq	%rdi, %rbx
	pushq	%r15
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	addq	$16, %rsp
	movl	%r14d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-160(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	-176(%rbp), %r9                 ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	callq	_PCKEV_B4_UB
	addq	$48, %rsp
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_PCKEV_B2_UB
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %r9d
	callq	_ST_UB4
	leaq	64(%rbx), %rax
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	%r14
	movq	-192(%rbp), %r14                ## 8-byte Reload
	pushq	%rax
	callq	_ST_D4
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	addq	$16, %rsp
	addq	-120(%rbp), %r14                ## 8-byte Folded Reload
	addq	-112(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	incl	%eax
	jne	LBB0_1
## %bb.2:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_vt_uniwgt_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_uniwgt_4t_24w_msa
_hevc_vt_uniwgt_4t_24w_msa:             ; @hevc_vt_uniwgt_4t_24w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x20, x7
	mov	x21, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	ldr	w22, [x29, #16]
	and	w23, w6, #0xffff
	sub	x19, x0, w1, sxtw #2
	mov	x0, x23
	bl	___msa_fill_w
	str	w0, [sp, #52]                   ; 4-byte Folded Spill
	mov	x0, x22
	bl	___msa_fill_w
	str	w0, [sp, #48]                   ; 4-byte Folded Spill
	lsl	w0, w23, #7
	sub	w22, w22, #6
	bl	___msa_fill_h
	mov	x23, x0
	mov	x0, x20
	bl	___msa_fill_h
	mov	x20, x0
	mov	x0, x22
	bl	___msa_fill_h
	mov	x1, x0
	mov	x0, x23
	bl	___msa_srar_h
	mov	x1, x0
	mov	x0, x20
	bl	___msa_adds_s_h
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	mov	x0, x21
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	x0, x19
	mov	x1, x26
	bl	_LD_SB3
	add	x0, x19, #64
	mov	x1, x26
	bl	_LD_SB3
	add	w8, w26, w26, lsl #1
	add	x19, x19, w8, sxtw #2
	bl	_XORI_B3_128_SB
	bl	_XORI_B3_128_SB
	bl	_ILVR_B2_SB
	bl	_ILVL_B2_SB
	bl	_ILVR_B2_SB
	stp	w26, w24, [sp, #56]             ; 8-byte Folded Spill
	lsl	w8, w26, #2
	lsl	w9, w24, #2
	sbfiz	x10, x8, #2, #32
	sbfiz	x8, x9, #2, #32
	stp	x8, x10, [sp, #24]              ; 16-byte Folded Spill
	mov	w8, #-8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [sp, #84]                   ; 4-byte Folded Spill
	stur	x19, [x29, #-88]                ; 8-byte Folded Spill
	str	x25, [sp, #88]                  ; 8-byte Folded Spill
	mov	x0, x19
	ldr	w19, [sp, #56]                  ; 4-byte Folded Reload
	mov	x1, x19
	bl	_LD_SB4
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	add	x0, x8, #64
	mov	x1, x19
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	bl	_XORI_B4_128_SB
	bl	_ILVR_B2_SB
	bl	_ILVL_B2_SB
	bl	_ILVRL_B2_SB
	bl	_ILVRL_B2_SB
	bl	_ILVR_B2_SB
	bl	_ILVR_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	stur	w0, [x29, #-92]                 ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x28, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_4TAP_SH
	str	w0, [sp, #80]                   ; 4-byte Folded Spill
	bl	_HEVC_FILT_4TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x24, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x27, x0
	bl	_HEVC_FILT_4TAP_SH
	mov	x25, x0
	stp	w28, w19, [sp, #72]             ; 8-byte Folded Spill
	stp	w28, w19, [sp, #4]
	str	w21, [sp, #68]                  ; 4-byte Folded Spill
	str	w21, [sp]
	ldur	w0, [x29, #-92]                 ; 4-byte Folded Reload
	mov	x1, x21
	mov	x2, x28
	mov	x3, x19
	ldp	w19, w28, [sp, #48]             ; 8-byte Folded Reload
	mov	x4, x28
	ldr	w21, [sp, #44]                  ; 4-byte Folded Reload
	mov	x5, x21
	mov	x6, x19
	mov	x7, x0
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	stp	w23, w20, [sp, #4]
	mov	x1, x22
	str	w22, [sp, #64]                  ; 4-byte Folded Spill
	str	w22, [sp]
	ldr	w22, [sp, #80]                  ; 4-byte Folded Reload
	mov	x0, x22
	mov	x2, x23
	mov	x3, x20
	mov	x4, x28
	mov	x5, x21
	mov	x6, x19
	mov	x7, x22
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	stp	w27, w25, [sp, #4]
	str	w26, [sp]
	mov	x0, x24
	mov	x1, x26
	mov	x2, x27
	mov	x3, x25
	mov	x4, x28
	mov	x5, x21
	mov	x6, x19
	mov	x7, x24
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x0, x22
	ldur	w1, [x29, #-92]                 ; 4-byte Folded Reload
	ldp	w2, w3, [sp, #64]               ; 8-byte Folded Reload
	mov	x4, x23
	ldp	w5, w7, [sp, #72]               ; 8-byte Folded Reload
	mov	x6, x20
	bl	_PCKEV_B4_UB
	mov	x0, x26
	mov	x1, x24
	mov	x2, x25
	ldr	x25, [sp, #88]                  ; 8-byte Folded Reload
	mov	x3, x27
	bl	_PCKEV_B2_UB
	mov	x4, x25
	ldr	w19, [sp, #60]                  ; 4-byte Folded Reload
	mov	x5, x19
	bl	_ST_UB4
	add	x6, x25, #64
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x7, x19
	ldur	x19, [x29, #-88]                ; 8-byte Folded Reload
	bl	_ST_D4
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	add	x19, x19, x8
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x25, x25, x8
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	adds	w8, w8, #1
	b.lo	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_vt_uniwgt_4t_24w_msa
.subsections_via_symbols
