	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_hz_4t_12w_msa
_common_hz_4t_12w_msa:                  ## @common_hz_4t_12w_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r13
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_LD_SB
	movq	%rax, %r15
	movq	(%r14), %rdi
	subq	$-128, %rdi
	callq	_LD_SB
	movq	%rax, %r14
	addq	$-4, %r13
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SB
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	addq	$2, %r15
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	addq	$2, %r14
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leal	(,%rbx,4), %eax
	movslq	%eax, %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$-4, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	%r8, %r9
	callq	_VSHF_B2_SB
	callq	_DOTP_SB2_SH
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	%r8, %r9
	callq	_VSHF_B2_SB
	callq	_DPADD_SB2_SH
	movl	$6, %edx
	callq	_SRARI_H2_SH
	movl	$7, %edx
	callq	_SAT_SH2_SH
	callq	_PCKEV_XORI128_UB
	leaq	32(%r12), %r9
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rsp)
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_ST_W4
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	callq	_DOTP_SB4_SH
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	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
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 8(%rsp)
	movq	%r12, (%rsp)
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	addq	-72(%rbp), %r13                 ## 8-byte Folded Reload
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	incl	%r14d
	jne	LBB0_1
## %bb.2:
	addq	$120, %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_12w_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_12w_msa
_common_hz_4t_12w_msa:                  ; @common_hz_4t_12w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x4
	mov	x19, x3
	mov	x20, x2
	mov	x26, x1
	mov	x24, x0
Lloh0:
	adrp	x21, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ff_hevc_mask_arr@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_LD_SB
	mov	x22, x0
	ldr	x8, [x21]
	add	x0, x8, #128
	bl	_LD_SB
	mov	x23, x0
	sub	x24, x24, #4
	mov	x0, x25
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SB
	add	x25, x22, #2
	str	w26, [sp, #28]                  ; 4-byte Folded Spill
	lsl	w8, w26, #2
	lsl	w9, w19, #2
	add	x26, x23, #2
	sbfiz	x8, x8, #2, #32
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	sbfiz	x21, x9, #2, #32
	mov	w28, #-4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	mov	x4, x23
	mov	x5, x23
	bl	_VSHF_B2_SB
	bl	_DOTP_SB2_SH
	mov	x4, x26
	mov	x5, x26
	bl	_VSHF_B2_SB
	bl	_DPADD_SB2_SH
	mov	w2, #6
	bl	_SRARI_H2_SH
	mov	w2, #7
	bl	_SAT_SH2_SH
	bl	_PCKEV_XORI128_UB
	add	x5, x20, #32
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x6, x19
	bl	_ST_W4
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_SB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_SB
	bl	_DOTP_SB4_SH
	mov	x4, x25
	mov	x5, x25
	bl	_VSHF_B2_SB
	mov	x4, x25
	mov	x5, x25
	bl	_VSHF_B2_SB
	bl	_DPADD_SB4_SH
	mov	w4, #6
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	mov	x27, x0
	bl	_PCKEV_XORI128_UB
	mov	x1, x0
	mov	x0, x27
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x20
	mov	x7, x19
	bl	_ST_D4
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x24, x24, x8
	add	x20, x20, x21
	adds	w28, w28, #1
	b.lo	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_common_hz_4t_12w_msa
.subsections_via_symbols
