	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avc_h_loop_filter_chroma422_msa
_avc_h_loop_filter_chroma422_msa:       ## @avc_h_loop_filter_chroma422_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r13
	movl	%edx, %edi
	callq	___msa_fill_b
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_b
	movq	%rax, %r12
	leal	(,%r14,4), %eax
	movslq	%eax, %rbx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	callq	_AVC_LPF_H_CHROMA_422
	leaq	-4(%r13), %r9
	movl	%r14d, (%rsp)
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_ST_H4
LBB0_2:
	movq	%rbx, %r15
	leaq	(,%rbx,4), %rbx
	addq	%r13, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	testl	%edx, %edx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_AVC_LPF_H_CHROMA_422
	leaq	-4(%rbx), %r9
	movl	%r14d, (%rsp)
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_ST_H4
LBB0_4:
	leaq	(%rbx,%r15,4), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_AVC_LPF_H_CHROMA_422
	leaq	-4(%rbx), %r9
	movl	%r14d, (%rsp)
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_ST_H4
LBB0_6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.7:
	leaq	(%rbx,%r15,4), %rdi
	movl	%r14d, %esi
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	_AVC_LPF_H_CHROMA_422
	leaq	(%rbx,%r15,4), %r9
	addq	$-4, %r9
	movl	%r14d, (%rsp)
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_ST_H4
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_avc_h_loop_filter_chroma422_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avc_h_loop_filter_chroma422_msa
_avc_h_loop_filter_chroma422_msa:       ; @avc_h_loop_filter_chroma422_msa
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x19, x1
	mov	x23, x0
	mov	x0, x2
	bl	___msa_fill_b
	mov	x20, x0
	mov	x0, x22
	bl	___msa_fill_b
	mov	x22, x0
	lsl	w8, w19, #2
	sxtw	x24, w8
	ldr	w2, [x21]
	cmp	w2, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x19
	mov	x3, x20
	mov	x4, x22
	bl	_AVC_LPF_H_CHROMA_422
	sub	x5, x23, #4
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x6, x19
	bl	_ST_H4
LBB0_2:
	add	x23, x23, x24, lsl #2
	ldr	w2, [x21, #4]
	cmp	w2, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x1, x19
	mov	x3, x20
	mov	x4, x22
	bl	_AVC_LPF_H_CHROMA_422
	sub	x5, x23, #4
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x6, x19
	bl	_ST_H4
LBB0_4:
	add	x23, x23, x24, lsl #2
	ldr	w2, [x21, #8]
	cmp	w2, #1
	b.lt	LBB0_6
; %bb.5:
	mov	x0, x23
	mov	x1, x19
	mov	x3, x20
	mov	x4, x22
	bl	_AVC_LPF_H_CHROMA_422
	sub	x5, x23, #4
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x6, x19
	bl	_ST_H4
LBB0_6:
	ldr	w2, [x21, #12]
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.7:
	add	x21, x23, x24, lsl #2
	mov	x0, x21
	mov	x1, x19
	mov	x3, x20
	mov	x4, x22
	bl	_AVC_LPF_H_CHROMA_422
	sub	x5, x21, #4
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x6, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ST_H4
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_avc_h_loop_filter_chroma422_msa
.subsections_via_symbols
