	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avc_chroma_hz_nonmult_msa
_avc_chroma_hz_nonmult_msa:             ## @avc_chroma_hz_nonmult_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %ebx
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	%ecx, %edi
	callq	___msa_fill_b
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	___msa_fill_b
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	___msa_ilvr_b
	movq	%rax, %r13
	movq	_chroma_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	subq	$-128, %rdi
	callq	_LD_SB
	cmpl	$4, %r14d
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jae	LBB0_2
## %bb.1:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_2:
	movl	%r14d, %ebx
	sarl	$2, %ebx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leal	(,%rdx,4), %ecx
	movslq	%ecx, %rcx
	shlq	$2, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_LD_UB4
	movl	%r14d, %r8d
	movl	%r14d, %r9d
	callq	_VSHF_B2_UB
	movl	%r14d, %r8d
	movl	%r14d, %r9d
	callq	_VSHF_B2_UB
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r8, 8(%rsp)
	movq	%r8, (%rsp)
	movq	%r8, %r9
	callq	_DOTP_UB4_UH
	movl	$3, %r8d
	callq	_SLLI_4V
	movl	$6, %r8d
	callq	_SRARI_H4_UH
	movl	$7, %r8d
	callq	_SAT_UH4_UH
	callq	_PCKEV_B2_UB
	movl	%r13d, 8(%rsp)
	movq	%r15, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r12
	addq	%rax, %r15
	decl	%ebx
	jne	LBB0_3
LBB0_4:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leal	3(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	andl	$-4, %eax
	subl	%eax, %ebx
	je	LBB0_7
## %bb.5:
	movslq	%r13d, %r14
	shlq	$2, %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_LD_UB
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	movl	%eax, %edx
	callq	___msa_vshf_b
	movq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	___msa_dotp_u_h
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,8), %edi
	movl	$6, %esi
	callq	___msa_srari_h
	movl	%eax, %edi
	movl	$7, %esi
	callq	___msa_sat_u_h
	movl	%eax, %edi
	movl	%eax, %esi
	callq	___msa_pckev_b
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_ST_D1
	addq	%r14, %r12
	addq	%r14, %r15
	decl	%ebx
	jne	LBB0_6
LBB0_7:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_chroma_mask_arr,8,3            ## @chroma_mask_arr
	.no_dead_strip	_avc_chroma_hz_nonmult_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avc_chroma_hz_nonmult_msa
_avc_chroma_hz_nonmult_msa:             ; @avc_chroma_hz_nonmult_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x3
	bl	___msa_fill_b
	mov	x22, x0
	mov	x0, x21
	bl	___msa_fill_b
	mov	x1, x0
	mov	x0, x22
	bl	___msa_ilvr_b
	mov	x21, x0
Lloh0:
	adrp	x8, _chroma_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _chroma_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, #128
	bl	_LD_SB
	mov	x22, x0
	cmp	w24, #4
	b.lo	LBB0_4
; %bb.1:
	mov	x26, #0
	asr	w27, w24, #2
	lsl	w8, w23, #2
	sbfiz	x28, x8, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x20, x26
	add	x25, x19, x26
	sub	w27, w27, #1
	mov	x1, x23
	bl	_LD_UB4
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_UB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_UB
	mov	x4, x21
	mov	x5, x21
	mov	x6, x21
	mov	x7, x21
	bl	_DOTP_UB4_UH
	mov	w4, #3
	bl	_SLLI_4V
	mov	w4, #6
	bl	_SRARI_H4_UH
	mov	w4, #7
	bl	_SAT_UH4_UH
	bl	_PCKEV_B2_UB
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x25
	mov	x7, x23
	bl	_ST_D4
	add	x26, x26, x28
	cbnz	w27, LBB0_2
; %bb.3:
	add	x20, x20, x26
	add	x19, x19, x26
LBB0_4:
	negs	w8, w24
	and	w8, w8, #0x3
	and	w9, w24, #0x3
	csneg	w24, w9, w8, mi
	cbz	w24, LBB0_7
; %bb.5:
	mov	x25, #0
	sbfiz	x26, x23, #2, #32
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x20, x25
	add	x23, x19, x25
	sub	w24, w24, #1
	bl	_LD_UB
	mov	x1, x0
	mov	x0, x22
	mov	x2, x1
	bl	___msa_vshf_b
	mov	x1, x21
	bl	___msa_dotp_u_h
	lsl	w0, w0, #3
	mov	w1, #6
	bl	___msa_srari_h
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #7
	bl	___msa_sat_u_h
	mov	x1, x0
	bl	___msa_pckev_b
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #0
	mov	x2, x23
	bl	_ST_D1
	add	x25, x25, x26
	cbnz	w24, LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_chroma_mask_arr,8,3            ; @chroma_mask_arr
	.no_dead_strip	_avc_chroma_hz_nonmult_msa
.subsections_via_symbols
