	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_hz_8t_16w_msa
_common_hz_8t_16w_msa:                  ## @common_hz_8t_16w_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	$72, %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, %r12
	movl	%ecx, %r15d
	movq	%rdx, %rbx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_UB
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_LD_SH
	subq	$32, %rsp
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SB
	addq	$32, %rsp
	cmpl	$4, %r14d
	jb	LBB0_3
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	addq	$6, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	sarl	$2, %r14d
	addq	$-12, %r13
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	cltq
	movslq	%r15d, %rcx
	leaq	-32(,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_LD_SB2
	leaq	32(%r13), %rdi
	movl	%r12d, %esi
	callq	_LD_SB2
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r14,%r13), %rdi
	addq	$32, %rdi
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movl	%r12d, %esi
	callq	_LD_SB2
	leaq	(%r14,%r13), %rdi
	addq	$64, %rdi
	movl	%r12d, %esi
	callq	_LD_SB2
	callq	_XORI_B4_128_SB
	callq	_XORI_B4_128_SB
	subq	$64, %rsp
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r8
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %r9
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	pushq	%r14
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_HORIZ_8TAP_8WID_4VECS_FILT
	addq	$80, %rsp
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	callq	_PCKEV_XORI128_UB
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ST_UB
	callq	_PCKEV_XORI128_UB
	addq	%r15, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ST_UB
	subq	$64, %rsp
	movq	%r12, %r8
	movq	%r13, %r9
	pushq	%r14
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_HORIZ_8TAP_8WID_4VECS_FILT
	addq	$80, %rsp
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	callq	_PCKEV_XORI128_UB
	addq	%r15, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ST_UB
	callq	_PCKEV_XORI128_UB
	addq	%r15, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ST_UB
	addq	%r15, %rbx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %r13
	addq	$32, %r13
	decl	%r14d
	jne	LBB0_2
LBB0_3:
	addq	$72, %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	_common_hz_8t_16w_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function common_hz_8t_16w_msa
_common_hz_8t_16w_msa:                  ; @common_hz_8t_16w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x26, x5
	mov	x21, x4
	mov	x25, x3
	mov	x24, x2
	mov	x19, x1
	mov	x27, x0
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_UB
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	mov	x0, x21
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SB
	cmp	w26, #4
	b.lo	LBB0_3
; %bb.1:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x21, x8, #2
	add	x22, x8, #4
	add	x23, x8, #6
	asr	w28, w26, #2
	sub	x26, x27, #12
	lsl	w8, w19, #1
	sbfiz	x8, x8, #2, #32
	sub	x27, x8, #32
	sbfiz	x20, x25, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w28, w28, #1
	mov	x0, x26
	mov	x1, x19
	bl	_LD_SB2
	add	x25, x26, #32
	mov	x0, x25
	mov	x1, x19
	bl	_LD_SB2
	add	x25, x25, x27
	mov	x0, x25
	mov	x1, x19
	bl	_LD_SB2
	add	x25, x25, #32
	mov	x0, x25
	mov	x1, x19
	bl	_LD_SB2
	bl	_XORI_B4_128_SB
	bl	_XORI_B4_128_SB
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	mov	x4, x26
	mov	x5, x21
	mov	x6, x22
	mov	x7, x23
	bl	_HORIZ_8TAP_8WID_4VECS_FILT
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	mov	x1, x24
	bl	_ST_UB
	bl	_PCKEV_XORI128_UB
	add	x24, x24, x20
	mov	x1, x24
	bl	_ST_UB
	mov	x4, x26
	mov	x5, x21
	mov	x6, x22
	mov	x7, x23
	bl	_HORIZ_8TAP_8WID_4VECS_FILT
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	add	x24, x24, x20
	mov	x1, x24
	bl	_ST_UB
	bl	_PCKEV_XORI128_UB
	add	x24, x24, x20
	mov	x1, x24
	bl	_ST_UB
	add	x26, x25, x27
	add	x24, x24, x20
	cbnz	w28, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_common_hz_8t_16w_msa
.subsections_via_symbols
