	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_8t_24w_msa
_hevc_hz_8t_24w_msa:                    ## @hevc_hz_8t_24w_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, %ebx
	movq	%r8, %r14
	movl	%ecx, %r15d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LD_SB
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	movl	$128, %edi
	callq	___msa_ldi_h
	cmpl	$2, %ebx
	jb	LBB0_3
## %bb.1:
	movl	%eax, %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	2(%rax), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leaq	6(%rax), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	leaq	8(%rax), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	10(%rax), %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	leaq	12(%rax), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	addq	$14, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	shll	$6, %r14d
	sarl	%ebx
	addq	$-12, %r12
	movslq	%r13d, %rcx
	movslq	%r15d, %rax
	leaq	(,%rcx,8), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	-64(,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, -152(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_LD_SB2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax), %rdi
	movl	$16, %esi
	callq	_LD_SB2
	callq	_XORI_B4_128_SB
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, %r8d
	movl	%r14d, %r9d
	callq	_DPADD_SB2_SH
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, %r8d
	movl	%r14d, %r9d
	callq	_DPADD_SB2_SH
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, %r8d
	movl	%r14d, %r9d
	callq	_DPADD_SB2_SH
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r12, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movl	%r14d, 40(%rsp)
	movl	%r14d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r14d, %r8d
	movl	%r14d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r14d, %edi
	movl	%r14d, %esi
	movq	%r13, %rbx
	movq	%r13, %rdx
	movl	$8, %ecx
	callq	_ST_SH2
	leaq	64(%r13), %rsi
	movl	%r14d, %edi
	callq	_ST_SH
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	leaq	(%rbx,%r13), %r15
	addq	$64, %r15
	movl	%r14d, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	_ST_SH2
	leaq	(%rbx,%r13), %rsi
	addq	$128, %rsi
	movl	%r14d, %edi
	callq	_ST_SH
	movq	-152(%rbp), %r12                ## 8-byte Reload
	addq	-80(%rbp), %r12                 ## 8-byte Folded Reload
	leaq	(%r15,%r13), %rax
	addq	$64, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	decl	%ebx
	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,4,2           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_8t_24w_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_8t_24w_msa
_hevc_hz_8t_24w_msa:                    ; @hevc_hz_8t_24w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x24, x5
	mov	x21, x4
	mov	x27, x3
	mov	x20, x2
	mov	x28, x1
	mov	x22, 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	x19, x0
	mov	x0, x21
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
	mov	w0, #128
	bl	___msa_ldi_h
	cmp	w24, #2
	b.lo	LBB0_3
; %bb.1:
	add	x21, x19, #2
	mov	x9, x22
	add	x22, x19, #4
	add	x23, x19, #6
	add	x10, x19, #8
	lsl	w25, w0, #6
	add	x8, x19, #10
	stp	x8, x10, [sp, #48]              ; 16-byte Folded Spill
	add	x10, x19, #12
	add	x8, x19, #14
	stp	x8, x10, [sp, #32]              ; 16-byte Folded Spill
	asr	w26, w24, #1
	sub	x24, x9, #12
	sbfiz	x9, x28, #3, #32
	sbfiz	x8, x28, #2, #32
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	sbfiz	x8, x27, #2, #32
	sub	x27, x8, #64
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w26, w26, #1
	mov	x0, x24
	mov	w1, #16
	bl	_LD_SB2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x0, x24, x8
	mov	w1, #16
	bl	_LD_SB2
	bl	_XORI_B4_128_SB
	mov	x4, x19
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
	mov	x5, x28
	bl	_VSHF_B2_SB
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_SB
	mov	x4, x28
	mov	x5, x19
	bl	_VSHF_B2_SB
	stp	w25, w25, [sp, #8]
	stp	w25, w25, [sp]
	bl	_DPADD_SB4_SH
	mov	x4, x25
	mov	x5, x25
	bl	_DPADD_SB2_SH
	mov	x4, x21
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
	mov	x5, x28
	bl	_VSHF_B2_SB
	mov	x4, x21
	mov	x5, x21
	bl	_VSHF_B2_SB
	mov	x4, x28
	mov	x5, x21
	bl	_VSHF_B2_SB
	stp	w25, w25, [sp, #8]
	stp	w25, w25, [sp]
	bl	_DPADD_SB4_SH
	mov	x4, x25
	mov	x5, x25
	bl	_DPADD_SB2_SH
	mov	x4, x22
	ldr	x28, [sp, #40]                  ; 8-byte Folded Reload
	mov	x5, x28
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x28
	mov	x5, x22
	bl	_VSHF_B2_SB
	stp	w25, w25, [sp, #8]
	stp	w25, w25, [sp]
	bl	_DPADD_SB4_SH
	mov	x4, x25
	mov	x5, x25
	bl	_DPADD_SB2_SH
	mov	x4, x23
	ldr	x28, [sp, #32]                  ; 8-byte Folded Reload
	mov	x5, x28
	bl	_VSHF_B2_SB
	mov	x4, x23
	mov	x5, x23
	bl	_VSHF_B2_SB
	mov	x4, x28
	mov	x5, x23
	bl	_VSHF_B2_SB
	stp	w25, w25, [sp, #8]
	stp	w25, w25, [sp]
	bl	_DPADD_SB4_SH
	mov	x4, x25
	mov	x5, x25
	bl	_DPADD_SB2_SH
	mov	x0, x25
	mov	x1, x25
	mov	x2, x20
	mov	w3, #8
	bl	_ST_SH2
	add	x20, x20, #64
	mov	x0, x25
	mov	x1, x20
	bl	_ST_SH
	add	x20, x20, x27
	mov	x0, x25
	mov	x1, x25
	mov	x2, x20
	mov	w3, #8
	bl	_ST_SH2
	add	x20, x20, #64
	mov	x0, x25
	mov	x1, x20
	bl	_ST_SH
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x24, x24, x8
	add	x20, x20, x27
	cbnz	w26, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	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_8t_24w_msa
.subsections_via_symbols
