	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_uniwgt_8t_32w_msa
_hevc_hz_uniwgt_8t_32w_msa:             ## @hevc_hz_uniwgt_8t_32w_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, -52(%rbp)                 ## 4-byte Spill
	movq	%r8, %r15
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movl	24(%rbp), %r14d
	movl	32(%rbp), %r13d
	movl	16(%rbp), %ebx
	movl	%ebx, %edi
	callq	___msa_fill_w
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	shll	$7, %ebx
	addl	$-6, %r13d
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	___msa_fill_h
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	___msa_fill_h
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	___msa_srar_h
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	___msa_adds_s_h
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	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
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r15d
	jb	LBB0_3
## %bb.1:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	addq	$6, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	sarl	%r15d
	addq	$-12, %r12
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	leaq	(,%rax,8), %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	(,%rcx,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_LD_SB4
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%r12,%rax), %rdi
	movl	$8, %esi
	callq	_LD_SB4
	callq	_XORI_B8_128_SB
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-152(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rcx
	movq	-144(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r8
	movq	-136(%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, -48(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	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
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r15d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r13d
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 32(%rsp)
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 24(%rsp)
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, 16(%rsp)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 8(%rsp)
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, (%rsp)
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	%r13d, 32(%rsp)
	movl	%r15d, 24(%rsp)
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, 16(%rsp)
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 8(%rsp)
	movl	%r12d, (%rsp)
	movl	%esi, %r12d
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	callq	_PCKEV_B2_UB
	movl	%r12d, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	_PCKEV_B2_UB
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	$16, %ecx
	callq	_ST_UB2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax), %rdx
	movl	$16, %ecx
	callq	_ST_UB2
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movq	-160(%rbp), %r12                ## 8-byte Reload
	addq	-112(%rbp), %r12                ## 8-byte Folded Reload
	addq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	decl	%r15d
	jne	LBB0_2
LBB0_3:
	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_32w_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_32w_msa
_hevc_hz_uniwgt_8t_32w_msa:             ; @hevc_hz_uniwgt_8t_32w_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	x20, x7
	mov	x21, x6
	mov	x24, x5
	mov	x22, x4
	mov	x28, x3
	mov	x19, x2
	mov	x26, x1
	mov	x27, x0
	ldr	w23, [x29, #16]
	mov	x0, x6
	bl	___msa_fill_w
	str	w0, [sp, #92]                   ; 4-byte Folded Spill
	mov	x0, x23
	bl	___msa_fill_w
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	lsl	w0, w21, #7
	sub	w21, w23, #6
	bl	___msa_fill_h
	mov	x23, x0
	mov	x0, x20
	bl	___msa_fill_h
	mov	x20, x0
	mov	x0, x21
	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, #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	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_SB
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
	cmp	w24, #2
	b.lo	LBB0_3
; %bb.1:
	asr	w9, w24, #1
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x11, x8, #2
	sbfiz	x10, x26, #3, #32
	stp	x10, x11, [sp, #64]             ; 16-byte Folded Spill
	add	x11, x8, #4
	sbfiz	x10, x26, #2, #32
	str	x10, [sp, #56]                  ; 8-byte Folded Spill
	add	x8, x8, #6
	stp	x8, x11, [sp, #24]              ; 16-byte Folded Spill
	sub	x10, x27, #12
	sbfiz	x11, x28, #3, #32
	sbfiz	x8, x28, #2, #32
	stp	x8, x11, [sp, #40]              ; 16-byte Folded Spill
	ldr	w21, [sp, #92]                  ; 4-byte Folded Reload
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	stp	x19, x10, [x29, #-96]           ; 16-byte Folded Spill
	sub	w9, w9, #1
	stur	w9, [x29, #-100]                ; 4-byte Folded Spill
	mov	x0, x10
	mov	w1, #8
	bl	_LD_SB4
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldur	x9, [x29, #-88]                 ; 8-byte Folded Reload
	add	x0, x9, x8
	mov	w1, #8
	bl	_LD_SB4
	bl	_XORI_B8_128_SB
	ldr	x19, [sp, #96]                  ; 8-byte Folded Reload
	mov	x2, x19
	ldr	x20, [sp, #72]                  ; 8-byte Folded Reload
	mov	x3, x20
	ldp	x25, x23, [sp, #24]             ; 16-byte Folded Reload
	mov	x4, x23
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	mov	x5, x25
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x24, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x26, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x27, x0
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	mov	x5, x25
	bl	_VSHF_B4_SB
	mov	x2, x19
	mov	x3, x20
	mov	x4, x23
	mov	x5, x25
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x28, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x20, x0
	stp	w26, w27, [sp, #4]
	mov	x2, x26
	str	w26, [sp, #104]                 ; 4-byte Folded Spill
	mov	x26, x24
	str	w24, [sp]
	mov	x25, x22
	mov	x0, x22
	mov	x1, x24
	mov	x3, x27
	ldp	w22, w24, [sp, #84]             ; 8-byte Folded Reload
	mov	x4, x21
	mov	x5, x22
	mov	x6, x24
	mov	x7, x25
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	stp	w23, w20, [sp, #4]
	str	w28, [sp]
	mov	x0, x19
	mov	x1, x28
	mov	x2, x23
	mov	x3, x20
	mov	x4, x21
	mov	x5, x22
	mov	x6, x24
	mov	x7, x19
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x0, x26
	mov	x1, x25
	mov	x2, x27
	ldr	w3, [sp, #104]                  ; 4-byte Folded Reload
	bl	_PCKEV_B2_UB
	mov	x0, x28
	mov	x1, x19
	ldur	x19, [x29, #-96]                ; 8-byte Folded Reload
	mov	x2, x20
	mov	x3, x23
	bl	_PCKEV_B2_UB
	mov	x2, x19
	mov	w3, #16
	bl	_ST_UB2
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x2, x19, x8
	mov	w3, #16
	bl	_ST_UB2
	ldur	x10, [x29, #-88]                ; 8-byte Folded Reload
	ldur	w9, [x29, #-100]                ; 4-byte Folded Reload
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x10, x10, x8
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x19, x19, x8
	cbnz	w9, 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 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_32w_msa
.subsections_via_symbols
