	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_uniwgt_8t_64w_msa
_hevc_hz_uniwgt_8t_64w_msa:             ## @hevc_hz_uniwgt_8t_64w_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, %r14d
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movl	24(%rbp), %ebx
	movl	32(%rbp), %r12d
	movl	16(%rbp), %r13d
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	___msa_fill_w
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	shll	$7, %r13d
	addl	$-6, %r12d
	movl	%r13d, %edi
	callq	___msa_fill_h
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	___msa_fill_h
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	___msa_srar_h
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	___msa_adds_s_h
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %r12
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdx
	leaq	2(%rbx), %r15
	leaq	4(%rbx), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	leaq	6(%rbx), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	8(%rbx), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	10(%rbx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	12(%rbx), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	addq	$14, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	addq	$-12, %r12
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-64(%rbp), %rdx                 ## 4-byte Folded Reload
	shlq	$2, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	movq	%r15, -160(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %r13
	leaq	(%r12,%r14), %rdi
	leaq	(%rcx,%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$16, %esi
	callq	_LD_SB2
	leaq	(%r12,%r14), %rdi
	addq	$96, %rdi
	callq	_LD_SB
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdx
	callq	_XORI_B3_128_SB
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	-144(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	movq	-112(%rbp), %r9                 ## 8-byte Reload
	callq	_VSHF_B4_SB
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	%rbx, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movq	%rbx, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r12d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %ebx
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r13d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r15d
	movl	%eax, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%ebx, 16(%rsp)
	movl	%r12d, 8(%rsp)
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movl	-88(%rbp), %r8d                 ## 4-byte Reload
	movl	-80(%rbp), %r9d                 ## 4-byte Reload
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	%ebx, %edi
	movl	%r12d, %esi
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	movl	%r15d, %edx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	-160(%rbp), %r15                ## 8-byte Reload
	callq	_PCKEV_B2_UB
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	$16, %ecx
	callq	_ST_UB2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subq	$-128, %r14
	cmpl	$256, %r14d                     ## imm = 0x100
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	-104(%rbp), %r12                ## 8-byte Folded Reload
	addq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	decl	%r14d
	jne	LBB0_2
LBB0_5:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,8,3           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_uniwgt_8t_64w_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_hz_uniwgt_8t_64w_msa
_hevc_hz_uniwgt_8t_64w_msa:             ; @hevc_hz_uniwgt_8t_64w_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	x19, x7
	mov	x20, x6
	mov	x23, x5
	mov	x21, x4
	mov	x24, x3
	mov	x28, x2
	mov	x25, x1
	mov	x26, x0
	ldr	w22, [x29, #16]
	mov	x0, x6
	bl	___msa_fill_w
	str	w0, [sp, #92]                   ; 4-byte Folded Spill
	mov	x0, x22
	bl	___msa_fill_w
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	lsl	w0, w20, #7
	sub	w20, w22, #6
	bl	___msa_fill_h
	mov	x22, x0
	mov	x0, x19
	bl	___msa_fill_h
	mov	x19, x0
	mov	x0, x20
	bl	___msa_fill_h
	mov	x1, x0
	mov	x0, x22
	bl	___msa_srar_h
	mov	x1, x0
	mov	x0, x19
	bl	___msa_adds_s_h
	str	w0, [sp, #84]                   ; 4-byte Folded Spill
	mov	x0, x21
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_SB
	cbz	w23, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x21, x0, #2
	mov	x10, x24
	add	x24, x0, #4
	mov	x9, x25
	add	x25, x0, #6
	add	x20, x0, #8
	mov	x11, x26
	add	x26, x0, #10
	add	x27, x0, #12
	add	x8, x0, #14
	stp	x8, x0, [sp, #48]               ; 16-byte Folded Spill
	sub	x8, x11, #12
	sbfiz	x11, x9, #2, #32
	sbfiz	x9, x10, #2, #32
	stp	x9, x11, [sp, #24]              ; 16-byte Folded Spill
	stp	x25, x24, [sp, #64]             ; 16-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	str	w23, [sp, #44]                  ; 4-byte Folded Spill
	mov	x22, #0
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x23, x8, x22
	add	x8, x28, x22
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
	mov	x0, x23
	mov	w1, #16
	bl	_LD_SB2
	add	x0, x23, #96
	bl	_LD_SB
	mov	x23, x0
	mov	x2, x0
	bl	_XORI_B3_128_SB
	mov	x2, x19
	mov	x3, x21
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x2, x20
	mov	x3, x26
	mov	x4, x27
	ldr	x5, [sp, #48]                   ; 8-byte Folded Reload
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x21
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x0, x23
	mov	x1, x23
	mov	x2, x19
	mov	x3, x21
	mov	x4, x24
	mov	x5, x25
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x24, x28
	mov	x28, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x25, x27
	mov	x27, x26
	mov	x26, x20
	mov	x20, x21
	mov	x21, x0
	stp	w19, w0, [sp, #4]
	str	w28, [sp]
	mov	x0, x23
	mov	x1, x28
	mov	x2, x19
	mov	x3, x21
	ldp	w6, w4, [sp, #88]               ; 8-byte Folded Reload
	ldr	w5, [sp, #84]                   ; 4-byte Folded Reload
	mov	x7, x23
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x0, x28
	mov	x28, x24
	mov	x1, x23
	mov	x2, x21
	mov	x21, x20
	mov	x20, x26
	mov	x26, x27
	mov	x27, x25
	mov	x3, x19
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	ldp	x25, x24, [sp, #64]             ; 16-byte Folded Reload
	bl	_PCKEV_B2_UB
	ldur	x2, [x29, #-88]                 ; 8-byte Folded Reload
	mov	w3, #16
	bl	_ST_UB2
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x22, x22, #128
	cmp	w22, #256
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x8, x9
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x28, x28, x9
	ldr	w23, [sp, #44]                  ; 4-byte Folded Reload
	subs	w23, w23, #1
	b.ne	LBB0_2
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_uniwgt_8t_64w_msa
.subsections_via_symbols
