	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_uniwgt_8t_48w_msa
_hevc_hz_uniwgt_8t_48w_msa:             ## @hevc_hz_uniwgt_8t_48w_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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movl	24(%rbp), %r15d
	movl	32(%rbp), %r12d
	movzwl	16(%rbp), %ebx
	addq	$-12, %r14
	movl	%ebx, %edi
	callq	___msa_fill_w
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	___msa_fill_w
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	shll	$7, %ebx
	addl	$-6, %r12d
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	___msa_fill_h
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	___msa_fill_h
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	___msa_srar_h
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	___msa_adds_s_h
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	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
	leaq	2(%rax), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	6(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	leaq	10(%rax), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	leaq	12(%rax), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	addq	$14, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	shlq	$2, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	$-64, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	%r13, -184(%rbp)                ## 8-byte Spill
	movq	%r14, -176(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_LD_SB3
	leaq	160(%r14), %rdi
	callq	_LD_SB
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	%rax, %rcx
	callq	_XORI_B4_128_SB
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_VSHF_B4_SB
	movq	-160(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdx
	movq	-152(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %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	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_VSHF_B4_SB
	movq	%r14, %rdx
	movq	%r13, %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, -60(%rbp)                 ## 4-byte Spill
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r12d
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r8
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movq	%r9, %r13
	callq	_VSHF_B4_SB
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	%rdi, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r13, %r9
	callq	_VSHF_B4_SB
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %r14d
	callq	_HEVC_FILT_8TAP_SH
	movl	%eax, %ebx
	movl	%r12d, -96(%rbp)                ## 4-byte Spill
	movl	%r12d, 32(%rsp)
	movl	-60(%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	-88(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, (%rsp)
	movl	%r12d, %ecx
	movl	-92(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r8d
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %r9d
	callq	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	movl	%ebx, (%rsp)
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_HEVC_UNIW_RND_CLIP2_MAX_SATU_H
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	movq	-184(%rbp), %r13                ## 8-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	_PCKEV_B3_UB
	movq	%r13, %rdx
	movl	$16, %ecx
	callq	_ST_UB2
	leaq	128(%r13), %rsi
	callq	_ST_UB
	movl	-100(%rbp), %eax                ## 4-byte Reload
	movq	-176(%rbp), %r14                ## 8-byte Reload
	addq	-128(%rbp), %r14                ## 8-byte Folded Reload
	addq	-120(%rbp), %r13                ## 8-byte Folded Reload
	incl	%eax
	jne	LBB0_1
## %bb.2:
	addq	$184, %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_48w_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_48w_msa
_hevc_hz_uniwgt_8t_48w_msa:             ; @hevc_hz_uniwgt_8t_48w_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	x22, x4
	mov	x19, x3
	stur	x2, [x29, #-88]                 ; 8-byte Folded Spill
	mov	x25, x1
	ldr	w23, [x29, #16]
	sub	x20, x0, #12
	and	w24, w6, #0xffff
	mov	x0, x24
	bl	___msa_fill_w
	stur	w0, [x29, #-100]                ; 4-byte Folded Spill
	mov	x0, x23
	bl	___msa_fill_w
	str	w0, [sp, #104]                  ; 4-byte Folded Spill
	lsl	w0, w24, #7
	sub	w23, w23, #6
	bl	___msa_fill_h
	mov	x24, x0
	mov	x0, x21
	bl	___msa_fill_h
	mov	x21, x0
	mov	x0, x23
	bl	___msa_fill_h
	mov	x1, x0
	mov	x0, x24
	bl	___msa_srar_h
	mov	x1, x0
	mov	x0, x21
	bl	___msa_adds_s_h
	str	w0, [sp, #100]                  ; 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
	add	x9, x0, #2
	add	x8, x0, #4
	stp	x8, x9, [sp, #72]               ; 16-byte Folded Spill
	add	x9, x0, #6
	add	x8, x0, #8
	stp	x8, x9, [sp, #56]               ; 16-byte Folded Spill
	add	x9, x0, #10
	add	x8, x0, #12
	stp	x8, x9, [sp, #40]               ; 16-byte Folded Spill
	str	x0, [sp, #88]                   ; 8-byte Folded Spill
	add	x9, x0, #14
	sbfiz	x8, x25, #2, #32
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	sbfiz	x8, x19, #2, #32
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	w8, #-64
	ldr	x27, [sp, #72]                  ; 8-byte Folded Reload
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
	mov	x0, x20
	mov	w1, #16
	bl	_LD_SB3
	add	x0, x20, #160
	bl	_LD_SB
	mov	x22, x0
	mov	x3, x0
	bl	_XORI_B4_128_SB
	ldp	x26, x24, [sp, #80]             ; 16-byte Folded Reload
	mov	x2, x24
	mov	x3, x26
	mov	x4, x27
	ldr	x28, [sp, #64]                  ; 8-byte Folded Reload
	mov	x5, x28
	bl	_VSHF_B4_SB
	ldp	x23, x21, [sp, #48]             ; 16-byte Folded Reload
	mov	x2, x21
	mov	x3, x23
	ldp	x19, x25, [sp, #32]             ; 16-byte Folded Reload
	mov	x4, x25
	mov	x5, x19
	bl	_VSHF_B4_SB
	mov	x2, x24
	mov	x3, x26
	mov	x4, x27
	mov	x5, x28
	bl	_VSHF_B4_SB
	mov	x2, x21
	mov	x3, x23
	mov	x4, x25
	mov	x5, x19
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x19, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x21, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x23, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x25, x0
	mov	x2, x24
	mov	x3, x26
	mov	x4, x27
	mov	x5, x28
	bl	_VSHF_B4_SB
	mov	x0, x22
	mov	x1, x22
	mov	x2, x24
	mov	x3, x26
	mov	x4, x27
	mov	x5, x28
	bl	_VSHF_B4_SB
	bl	_HEVC_FILT_8TAP_SH
	mov	x22, x0
	bl	_HEVC_FILT_8TAP_SH
	mov	x26, x0
	stp	w23, w25, [sp, #4]
	mov	x1, x21
	stur	w21, [x29, #-96]                ; 4-byte Folded Spill
	str	w21, [sp]
	mov	x21, x19
	mov	x0, x19
	mov	x2, x23
	mov	x3, x25
	ldur	w24, [x29, #-100]               ; 4-byte Folded Reload
	mov	x4, x24
	ldp	w28, w19, [sp, #100]            ; 8-byte Folded Reload
	mov	x5, x28
	mov	x6, x19
	mov	x7, x21
	bl	_HEVC_UNIW_RND_CLIP4_MAX_SATU_H
	mov	x0, x22
	mov	x1, x26
	mov	x2, x24
	mov	x3, x28
	mov	x4, x19
	ldur	x19, [x29, #-88]                ; 8-byte Folded Reload
	mov	x5, x22
	mov	x6, x26
	bl	_HEVC_UNIW_RND_CLIP2_MAX_SATU_H
	ldur	w0, [x29, #-96]                 ; 4-byte Folded Reload
	mov	x1, x21
	mov	x2, x25
	mov	x3, x23
	mov	x4, x26
	mov	x5, x22
	bl	_PCKEV_B3_UB
	mov	x2, x19
	mov	w3, #16
	bl	_ST_UB2
	add	x1, x19, #128
	bl	_ST_UB
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x20, x20, x8
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x19, x19, x8
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	stur	x19, [x29, #-88]                ; 8-byte Folded Spill
	adds	w8, w8, #1
	b.lo	LBB0_1
; %bb.2:
	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_48w_msa
.subsections_via_symbols
