	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_hz_4t_8x2mult_msa
_common_hz_4t_8x2mult_msa:              ## @common_hz_4t_8x2mult_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, %r14
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SB
	cmpl	$2, %r15d
	jb	LBB0_3
## %bb.1:
	movq	%r12, %r14
	addq	$2, %r14
	sarl	%r15d
	addq	$-4, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	movslq	%eax, %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	cltq
	shlq	$2, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB2
	callq	_XORI_B2_128_SB
	movq	%r12, %r8
	movq	%r12, %r9
	callq	_VSHF_B2_SH
	callq	_DOTP_SB2_SH
	movq	%r14, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SH
	callq	_DPADD_SB2_SH
	movl	$6, %edx
	callq	_SRARI_H2_SH
	movl	$7, %edx
	callq	_SAT_SH2_SH
	callq	_PCKEV_XORI128_UB
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movq	%r13, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_ST_D2
	addq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	decl	%r15d
	jne	LBB0_2
LBB0_3:
	addq	$56, %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_4t_8x2mult_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_4t_8x2mult_msa
_common_hz_4t_8x2mult_msa:              ; @common_hz_4t_8x2mult_msa
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x5
	mov	x25, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_SB
	mov	x22, x0
	mov	x0, x25
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SB
	cmp	w23, #2
	b.lo	LBB0_3
; %bb.1:
	asr	w25, w23, #1
	add	x23, x22, #2
	sub	x24, x24, #4
	lsl	w8, w21, #1
	lsl	w9, w19, #1
	sbfiz	x26, x8, #2, #32
	sbfiz	x27, x9, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w25, w25, #1
	mov	x0, x24
	mov	x1, x21
	bl	_LD_SB2
	bl	_XORI_B2_128_SB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_SH
	bl	_DOTP_SB2_SH
	mov	x4, x23
	mov	x5, x23
	bl	_VSHF_B2_SH
	bl	_DPADD_SB2_SH
	mov	w2, #6
	bl	_SRARI_H2_SH
	mov	w2, #7
	bl	_SAT_SH2_SH
	bl	_PCKEV_XORI128_UB
	mov	w1, #0
	mov	w2, #1
	mov	x3, x20
	mov	x4, x19
	bl	_ST_D2
	add	x24, x24, x26
	add	x20, x20, x27
	cbnz	w25, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	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_4t_8x2mult_msa
.subsections_via_symbols
