	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_hz_4t_24w_msa
_common_hz_4t_24w_msa:                  ## @common_hz_4t_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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	leaq	64(%rdx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %r13
	addq	$-4, %r15
	movq	%rbx, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SB
	leaq	2(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	8(%r13), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	addq	$10, %r13
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	movslq	%eax, %rcx
	movslq	-44(%rbp), %rdx                 ## 4-byte Folded Reload
	leal	(,%rdx,4), %eax
	cltq
	shlq	$2, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	$-8, %eax
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %rbx
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_LD_SB4
	leaq	64(%rbx), %rdi
	movl	%r15d, %esi
	callq	_LD_SB4
	callq	_XORI_B8_128_SB
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r8
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r15, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r13, %r8
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	callq	_DOTP_SB4_SH
	callq	_DPADD_SB4_SH
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	callq	_PCKEV_XORI128_UB
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_ST_UB
	callq	_PCKEV_XORI128_UB
	addq	-64(%rbp), %r14                 ## 8-byte Folded Reload
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_ST_UB
	movq	%r15, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r15, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_VSHF_B2_SB
	callq	_DOTP_SB4_SH
	callq	_DPADD_SB4_SH
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	callq	_PCKEV_XORI128_UB
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addq	%rbx, %r14
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_ST_UB
	callq	_PCKEV_XORI128_UB
	addq	%rbx, %r14
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_ST_UB
	movq	%r15, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%r15, %r8
	movq	%r15, %r9
	callq	_VSHF_B2_SB
	movq	%r13, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	movq	%r13, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_DOTP_SB4_SH
	callq	_DPADD_SB4_SH
	movl	$6, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	callq	_PCKEV_XORI128_UB
	movl	%eax, %r15d
	callq	_PCKEV_XORI128_UB
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rsp)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, (%rsp)
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	-128(%rbp), %r15                ## 8-byte Reload
	addq	-104(%rbp), %r15                ## 8-byte Folded Reload
	addq	-80(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	addq	%rbx, %r14
	incl	%eax
	jne	LBB0_1
## %bb.2:
	addq	$136, %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_24w_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_24w_msa
_common_hz_4t_24w_msa:                  ; @common_hz_4t_24w_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	x24, x4
	mov	x20, x3
	mov	x27, x2
	mov	x19, x1
	mov	x23, x0
	add	x21, x2, #64
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
	sub	x23, x23, #4
	mov	x0, x24
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SB
	str	w19, [sp, #36]                  ; 4-byte Folded Spill
	lsl	w8, w19, #2
	add	x24, x22, #2
	lsl	w9, w20, #2
	add	x25, x22, #8
	sbfiz	x10, x8, #2, #32
	add	x26, x22, #10
	sbfiz	x8, x9, #2, #32
	stp	x8, x10, [sp, #16]              ; 16-byte Folded Spill
	mov	w19, #-8
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	sbfiz	x20, x20, #2, #32
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	ldr	w28, [sp, #36]                  ; 4-byte Folded Reload
	mov	x1, x28
	bl	_LD_SB4
	add	x0, x23, #64
	mov	x1, x28
	bl	_LD_SB4
	bl	_XORI_B8_128_SB
	mov	x4, x22
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x26
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x26
	bl	_VSHF_B2_SB
	bl	_DOTP_SB4_SH
	bl	_DPADD_SB4_SH
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	mov	x1, x27
	bl	_ST_UB
	bl	_PCKEV_XORI128_UB
	add	x27, x27, x20
	mov	x1, x27
	bl	_ST_UB
	mov	x4, x22
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x26
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x26
	bl	_VSHF_B2_SB
	bl	_DOTP_SB4_SH
	bl	_DPADD_SB4_SH
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	add	x27, x27, x20
	mov	x1, x27
	bl	_ST_UB
	bl	_PCKEV_XORI128_UB
	add	x27, x27, x20
	mov	x1, x27
	bl	_ST_UB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x24
	bl	_VSHF_B2_SB
	mov	x4, x24
	mov	x5, x24
	bl	_VSHF_B2_SB
	bl	_DOTP_SB4_SH
	bl	_DPADD_SB4_SH
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	mov	x28, x0
	bl	_PCKEV_XORI128_UB
	mov	x1, x0
	mov	x0, x28
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x21
	ldr	x7, [sp, #40]                   ; 8-byte Folded Reload
                                        ; kill: def $w7 killed $w7 killed $x7
	bl	_ST_D4
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x23, x23, x8
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x21, x21, x8
	add	x27, x27, x20
	adds	w19, w19, #1
	b.lo	LBB0_1
; %bb.2:
	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_4t_24w_msa
.subsections_via_symbols
