	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_4t_16w_msa
_hevc_hz_4t_16w_msa:                    ## @hevc_hz_4t_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, %r12d
	movq	%r8, %r14
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LD_SB
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%r12d, %ecx
	cmpl	$4, %r12d
	jb	LBB0_3
## %bb.1:
	movl	%eax, %r12d
	movq	%r15, %r14
	addq	$2, %r14
	shll	$6, %r12d
	sarl	$2, %ecx
	addq	$-4, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	movslq	%eax, %rdx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_LD_SB4
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	32(%rax), %rdi
	movl	%ebx, %esi
	callq	_LD_SB4
	callq	_XORI_B8_128_SB
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r12d, %edi
	movl	%r12d, %esi
	movl	%r12d, %edx
	movl	%r12d, %ecx
	movq	%r13, %r8
	movq	%r13, %rbx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %r9d
	callq	_ST_SH4
	leaq	32(%rbx), %r8
	movl	%r12d, %edi
	movl	%r12d, %esi
	movl	%r12d, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r9d
	movq	%rbx, %r13
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	callq	_ST_SH4
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	decl	%ecx
	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,4,2           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_4t_16w_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_4t_16w_msa
_hevc_hz_4t_16w_msa:                    ; @hevc_hz_4t_16w_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	x25, x5
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x26, x0
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LD_SB
	mov	x22, x0
	mov	x0, x23
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	mov	w0, #128
	bl	___msa_ldi_h
	cmp	w25, #4
	b.lo	LBB0_3
; %bb.1:
	lsl	w23, w0, #6
	add	x24, x22, #2
	asr	w27, w25, #2
	sub	x25, x26, #4
	lsl	w8, w21, #2
	lsl	w9, w19, #2
	sbfiz	x26, x8, #2, #32
	sbfiz	x28, x9, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w27, w27, #1
	mov	x0, x25
	mov	x1, x21
	bl	_LD_SB4
	add	x0, x25, #32
	mov	x1, x21
	bl	_LD_SB4
	bl	_XORI_B8_128_SB
	mov	x4, x22
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x4, x22
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x0, x23
	mov	x1, x23
	mov	x2, x23
	mov	x3, x23
	mov	x4, x20
	mov	x5, x19
	bl	_ST_SH4
	add	x4, x20, #32
	mov	x0, x23
	mov	x1, x23
	mov	x2, x23
	mov	x3, x23
	mov	x5, x19
	bl	_ST_SH4
	add	x25, x25, x26
	add	x20, x20, x28
	cbnz	w27, 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,4,2           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_4t_16w_msa
.subsections_via_symbols
