	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_uniwgt_8t_12w_msa
_hevc_hz_uniwgt_8t_12w_msa:             ## @hevc_hz_uniwgt_8t_12w_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	$200, %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, %rbx
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movl	24(%rbp), %r15d
	movl	32(%rbp), %r12d
	movzwl	16(%rbp), %r13d
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	___msa_fill_w
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	shll	$7, %r13d
	addl	$-6, %r12d
	movl	%r13d, %edi
	callq	___msa_fill_h
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	___msa_fill_h
	movl	%eax, %r15d
	movl	%r12d, %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, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	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), %rbx
	movq	(%rbx), %rdi
	callq	_LD_SB
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	addq	$64, %rdi
	callq	_LD_SB
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	$4, %ecx
	jb	LBB0_3
## %bb.1:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %rdx
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rdx
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	addq	$6, %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %rdx
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rdx
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	addq	$6, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	sarl	$2, %ecx
	addq	$-12, %r14
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %eax
	movslq	%eax, %rdx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %rdx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -192(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %esi
	callq	_LD_SB4
	leaq	32(%r14), %rdi
	movl	%ebx, %esi
	callq	_LD_SB4
	callq	_XORI_B8_128_SB
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-184(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rcx
	movq	-176(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r8
	movq	-168(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r13d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-160(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rcx
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r8
	movq	-144(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%r13d, 32(%rsp)
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 24(%rsp)
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, 16(%rsp)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 8(%rsp)
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, (%rsp)
	movl	%r15d, %esi
	movl	%r13d, %ecx
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_HEVC_UNIW_RND_CLIP2_MAX_SATU_H
	movl	%r15d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_PCKEV_B3_UB
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	%r14d, 8(%rsp)
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	leaq	32(%rbx), %r9
	movl	%r14d, (%rsp)
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_ST_W4
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-192(%rbp), %r14                ## 8-byte Reload
	addq	-136(%rbp), %r14                ## 8-byte Folded Reload
	addq	-128(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	decl	%ecx
	jne	LBB0_2
LBB0_3:
	addq	$200, %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_12w_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_12w_msa
_hevc_hz_uniwgt_8t_12w_msa:             ; @hevc_hz_uniwgt_8t_12w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x21, x7
	mov	x19, x5
	mov	x22, x4
	stp	w1, w3, [x29, #-96]             ; 8-byte Folded Spill
	mov	x20, x2
	mov	x24, x0
	ldr	w23, [x29, #16]
	and	w25, w6, #0xffff
	mov	x0, x25
	bl	___msa_fill_w
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	mov	x0, x23
	bl	___msa_fill_w
	str	w0, [sp, #92]                   ; 4-byte Folded Spill
	lsl	w0, w25, #7
	sub	w23, w23, #6
	bl	___msa_fill_h
	mov	x25, x0
	mov	x0, x21
	bl	___msa_fill_h
	mov	x21, x0
	mov	x0, x23
	bl	___msa_fill_h
	mov	x1, x0
	mov	x0, x25
	bl	___msa_srar_h
	mov	x1, x0
	mov	x0, x21
	bl	___msa_adds_s_h
	str	w0, [sp, #84]                   ; 4-byte Folded Spill
	mov	x0, x22
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
Lloh0:
	adrp	x21, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ff_hevc_mask_arr@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_LD_SB
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	ldr	x8, [x21]
	add	x0, x8, #64
	bl	_LD_SB
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	cmp	w19, #4
	b.lo	LBB0_3
; %bb.1:
	ldp	x10, x8, [sp, #96]              ; 16-byte Folded Reload
	add	x11, x8, #2
	add	x9, x8, #4
	stp	x9, x11, [sp, #64]              ; 16-byte Folded Spill
	asr	w11, w19, #2
	add	x9, x8, #6
	add	x8, x10, #2
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
	ldp	w8, w9, [x29, #-96]             ; 8-byte Folded Reload
	lsl	w8, w8, #2
	lsl	w9, w9, #2
	add	x12, x10, #4
	add	x10, x10, #6
	stp	x10, x12, [sp, #32]             ; 16-byte Folded Spill
	sub	x24, x24, #12
	sbfiz	x10, x8, #2, #32
	sbfiz	x8, x9, #2, #32
	stp	x8, x10, [sp, #16]              ; 16-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w11, #1
	stur	w11, [x29, #-84]                ; 4-byte Folded Spill
	mov	x0, x24
	ldur	w21, [x29, #-96]                ; 4-byte Folded Reload
	mov	x1, x21
	bl	_LD_SB4
	add	x0, x24, #32
	mov	x1, x21
	bl	_LD_SB4
	bl	_XORI_B8_128_SB
	ldr	x19, [sp, #104]                 ; 8-byte Folded Reload
	mov	x2, x19
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	mov	x3, x21
	mov	x4, x22
	ldr	x23, [sp, #56]                  ; 8-byte Folded Reload
	mov	x5, x23
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x23, x0
	ldr	x19, [sp, #96]                  ; 8-byte Folded Reload
	mov	x2, x19
	ldp	x27, x28, [sp, #40]             ; 16-byte Folded Reload
	mov	x3, x28
	mov	x4, x27
	ldr	x25, [sp, #32]                  ; 8-byte Folded Reload
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x28
	mov	x4, x27
	mov	x5, x25
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	ldr	w25, [sp, #84]                  ; 4-byte Folded Reload
	stur	w0, [x29, #-88]                 ; 4-byte Folded Spill
	bl	_HEVC_FILT_8TAP_SH
	ldr	w27, [sp, #88]                  ; 4-byte Folded Reload
	mov	x19, x0
	stp	w22, w23, [sp, #4]
	str	w21, [sp]
	mov	x0, x26
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x27
	mov	x5, x25
	mov	x28, x20
	ldr	w20, [sp, #92]                  ; 4-byte Folded Reload
	mov	x6, x20
	mov	x7, x26
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	ldur	w0, [x29, #-88]                 ; 4-byte Folded Reload
	mov	x1, x19
	mov	x2, x27
	mov	x3, x25
	mov	x4, x20
	mov	x20, x28
	bl	_HEVC_UNIW_RND_CLIP2_MAX_SATU_H
	mov	x0, x21
	mov	x1, x26
	mov	x2, x23
	mov	x3, x22
	bl	_PCKEV_B3_UB
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x28
	ldur	w21, [x29, #-92]                ; 4-byte Folded Reload
	mov	x7, x21
	bl	_ST_D4
	add	x5, x28, #32
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x6, x21
	bl	_ST_W4
	ldur	w11, [x29, #-84]                ; 4-byte Folded Reload
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x24, x24, x8
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x20, x28, x8
	cbnz	w11, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_uniwgt_8t_12w_msa
.subsections_via_symbols
