	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_hz_8t_48w_msa
_common_hz_8t_48w_msa:                  ## @common_hz_8t_48w_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, %rbx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_UB
	movq	%rax, %r14
	addq	$-12, %r13
	movq	%rbx, %rdi
	callq	_LD_SH
	subq	$32, %rsp
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SB
	addq	$32, %rsp
	leaq	2(%r14), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	4(%r14), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	6(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%r14), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	10(%r14), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	12(%r14), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	addq	$14, %r14
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movslq	%r15d, %rax
	movslq	-56(%rbp), %rcx                 ## 4-byte Folded Reload
	shlq	$2, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	$-64, %eax
                                        ## implicit-def: $ecx
                                        ## kill: killed $ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	callq	_LD_SB
	movq	%rax, %r12
	leaq	32(%r13), %rdi
	callq	_LD_SB
	movq	%rax, %r15
	leaq	64(%r13), %rdi
	callq	_LD_SB
	movq	%rax, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	128(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	160(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_XORI_B4_128_SB
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	___msa_xori_b
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	subq	$24, %rsp
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r13, %r9
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	%rax
	callq	_VSHF_B3_SB
	addq	$16, %rsp
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 16(%rsp)
	callq	_DOTP_SB3_SH
	addq	$8, %rsp
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r13, %r9
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	%rax
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	callq	_DPADD_SB2_SH
	movl	%ebx, %edi
	callq	___msa_dpadd_s_h
	movl	%eax, %ebx
	subq	$24, %rsp
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r13, %r9
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	%rax
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	callq	_DPADD_SB2_SH
	movl	%ebx, %edi
	callq	___msa_dpadd_s_h
	movl	%eax, %ebx
	subq	$24, %rsp
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	-160(%rbp), %r12                ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r13, %r9
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	%rax
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	callq	_DPADD_SB2_SH
	movl	%ebx, %edi
	callq	___msa_dpadd_s_h
	movl	%eax, %ebx
	movl	$6, %edx
	callq	_SRARI_H2_SH
	movl	%ebx, %edi
	movl	$6, %esi
	callq	___msa_srari_h
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edx
	movl	$7, %ecx
	callq	_SAT_SH3_SH
	callq	_PCKEV_XORI128_UB
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_ST_UB
	subq	$24, %rsp
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	movq	%r14, %rcx
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %r8
	movq	%r15, %r9
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	callq	_VSHF_B3_SB
	addq	$16, %rsp
	movl	%ebx, 16(%rsp)
	callq	_DOTP_SB3_SH
	addq	$8, %rsp
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r15, %r9
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	callq	_DPADD_SB2_SH
	movl	%ebx, %edi
	callq	___msa_dpadd_s_h
	movl	%eax, %ebx
	subq	$24, %rsp
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r15, %r9
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	callq	_DPADD_SB2_SH
	movl	%ebx, %edi
	callq	___msa_dpadd_s_h
	movl	%eax, %ebx
	subq	$24, %rsp
	movq	%r13, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r14, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r15, %r9
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	pushq	%rax
	pushq	%rax
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	callq	_DPADD_SB2_SH
	movl	%ebx, %edi
	callq	___msa_dpadd_s_h
	movl	%eax, %r14d
	movl	$6, %edx
	callq	_SRARI_H2_SH
	movl	%r14d, %edi
	movl	$6, %esi
	callq	___msa_srari_h
	movl	%eax, %ebx
	movl	%eax, %edx
	movl	$7, %ecx
	callq	_SAT_SH3_SH
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_PCKEV_XORI128_UB
	leaq	64(%r12), %rsi
	movq	%rax, %rdi
	callq	_ST_UB
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_PCKEV_XORI128_UB
	leaq	128(%r12), %rsi
	movq	%rax, %rdi
	callq	_ST_UB
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	addq	-112(%rbp), %r13                ## 8-byte Folded Reload
	addq	-104(%rbp), %r12                ## 8-byte Folded Reload
	incl	%eax
	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_8t_48w_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_8t_48w_msa
_common_hz_8t_48w_msa:                  ; @common_hz_8t_48w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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	x20, x4
	mov	x22, x3
	stur	x2, [x29, #-88]                 ; 8-byte Folded Spill
	mov	x25, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_UB
	mov	x23, x0
	sub	x19, x21, #12
	mov	x0, x20
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SB
	add	x9, x23, #2
	add	x8, x23, #4
	stp	x8, x9, [sp, #96]               ; 16-byte Folded Spill
	add	x9, x23, #6
	add	x8, x23, #8
	stp	x8, x9, [sp, #80]               ; 16-byte Folded Spill
	add	x9, x23, #10
	add	x8, x23, #12
	stp	x8, x9, [sp, #64]               ; 16-byte Folded Spill
	str	x23, [sp, #112]                 ; 8-byte Folded Spill
	add	x9, x23, #14
	sbfiz	x8, x25, #2, #32
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
	sbfiz	x8, x22, #2, #32
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
                                        ; implicit-def: $w28
	mov	w8, #-64
	mov	x24, x23
	ldr	x23, [sp, #104]                 ; 8-byte Folded Reload
	ldr	x21, [sp, #88]                  ; 8-byte Folded Reload
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	stur	w8, [x29, #-100]                ; 4-byte Folded Spill
	stur	x19, [x29, #-96]                ; 8-byte Folded Spill
	mov	x0, x19
	bl	_LD_SB
	mov	x20, x0
	add	x0, x19, #32
	bl	_LD_SB
	mov	x22, x0
	add	x0, x19, #64
	bl	_LD_SB
	mov	x25, x0
	add	x0, x19, #128
	bl	_LD_SB
	mov	x26, x0
	add	x0, x19, #160
	bl	_LD_SB
	mov	x27, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x25
	mov	x3, x26
	bl	_XORI_B4_128_SB
	mov	x0, x27
	mov	w1, #128
	bl	___msa_xori_b
	mov	x27, x0
	str	x24, [sp]
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	mov	x3, x22
	mov	x4, x25
	mov	x5, x25
	mov	x6, x24
	mov	x7, x24
	bl	_VSHF_B3_SB
	str	w28, [sp]
	bl	_DOTP_SB3_SH
	str	x23, [sp]
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	mov	x3, x22
	mov	x4, x25
	mov	x5, x25
	mov	x6, x23
	mov	x7, x23
	bl	_VSHF_B3_SB
	bl	_DPADD_SB2_SH
	mov	x0, x28
	bl	___msa_dpadd_s_h
	mov	x28, x0
	ldr	x19, [sp, #96]                  ; 8-byte Folded Reload
	str	x19, [sp]
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	mov	x3, x22
	mov	x4, x25
	mov	x5, x25
	mov	x6, x19
	mov	x7, x19
	bl	_VSHF_B3_SB
	bl	_DPADD_SB2_SH
	mov	x0, x28
	bl	___msa_dpadd_s_h
	mov	x28, x0
	str	x21, [sp]
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	mov	x3, x22
	mov	x4, x25
	mov	x5, x25
	mov	x6, x21
	mov	x7, x21
	bl	_VSHF_B3_SB
	bl	_DPADD_SB2_SH
	mov	x0, x28
	bl	___msa_dpadd_s_h
	mov	x22, x0
	mov	w2, #6
	bl	_SRARI_H2_SH
	mov	x0, x22
	mov	w1, #6
	bl	___msa_srari_h
	stur	w0, [x29, #-104]                ; 4-byte Folded Spill
	mov	x2, x0
	mov	w3, #7
	bl	_SAT_SH3_SH
	bl	_PCKEV_XORI128_UB
	ldur	x20, [x29, #-88]                ; 8-byte Folded Reload
	mov	x1, x20
	bl	_ST_UB
	str	x24, [sp]
	mov	x0, x25
	mov	x1, x26
	mov	x2, x26
	mov	x3, x26
	mov	x4, x27
	mov	x5, x27
	ldr	x6, [sp, #80]                   ; 8-byte Folded Reload
	mov	x7, x24
	bl	_VSHF_B3_SB
	str	w22, [sp]
	bl	_DOTP_SB3_SH
	str	x23, [sp]
	mov	x0, x25
	mov	x1, x26
	mov	x2, x26
	mov	x3, x26
	mov	x4, x27
	mov	x5, x27
	ldr	x6, [sp, #72]                   ; 8-byte Folded Reload
	mov	x7, x23
	bl	_VSHF_B3_SB
	bl	_DPADD_SB2_SH
	mov	x0, x22
	bl	___msa_dpadd_s_h
	mov	x22, x0
	str	x19, [sp]
	mov	x0, x25
	mov	x1, x26
	mov	x2, x26
	mov	x3, x26
	mov	x4, x27
	mov	x5, x27
	ldr	x6, [sp, #64]                   ; 8-byte Folded Reload
	mov	x7, x19
	ldur	x19, [x29, #-96]                ; 8-byte Folded Reload
	bl	_VSHF_B3_SB
	bl	_DPADD_SB2_SH
	mov	x0, x22
	bl	___msa_dpadd_s_h
	mov	x22, x0
	str	x21, [sp]
	mov	x0, x25
	mov	x1, x26
	mov	x2, x26
	mov	x3, x26
	mov	x4, x27
	mov	x5, x27
	ldr	x6, [sp, #56]                   ; 8-byte Folded Reload
	mov	x7, x21
	bl	_VSHF_B3_SB
	bl	_DPADD_SB2_SH
	mov	x0, x22
	bl	___msa_dpadd_s_h
	mov	x22, x0
	mov	w2, #6
	bl	_SRARI_H2_SH
	mov	x0, x22
	mov	w1, #6
	bl	___msa_srari_h
	mov	x28, x0
	mov	x2, x0
	mov	w3, #7
	bl	_SAT_SH3_SH
	ldur	w0, [x29, #-104]                ; 4-byte Folded Reload
	bl	_PCKEV_XORI128_UB
	add	x1, x20, #64
	bl	_ST_UB
	mov	x1, x28
	bl	_PCKEV_XORI128_UB
	add	x1, x20, #128
	bl	_ST_UB
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x19, x19, x8
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x20, x20, x8
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	stur	x20, [x29, #-88]                ; 8-byte Folded Spill
	adds	w8, w8, #1
	b.lo	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	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_8t_48w_msa
.subsections_via_symbols
