	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avc_h_loop_filter_luma_mbaff_msa
_avc_h_loop_filter_luma_mbaff_msa:      ## @avc_h_loop_filter_luma_mbaff_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, %r15
	movl	%ecx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%edx, %edi
	callq	___msa_fill_b
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	___msa_fill_b
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	cmpq	$0, (%r15)
	movslq	%ebx, %r13
	js	LBB0_1
## %bb.2:
	leaq	-12(%r12), %rdi
	callq	_LD
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%r13,4), %rdi
	addq	$-12, %rdi
	callq	_LD
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_3:
	addl	%ebx, %ebx
	movslq	%ebx, %r14
	leaq	(%r12,%r14,4), %rbx
	cmpq	$0, 8(%r15)
	js	LBB0_4
## %bb.5:
	leaq	-12(%rbx), %rdi
	callq	_LD
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13,4), %rdi
	addq	$-12, %rdi
	callq	_LD
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_d
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_6:
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	leaq	(%rbx,%r14,4), %rbx
	cmpq	$0, 16(%r15)
	js	LBB0_7
## %bb.8:
	leaq	-12(%rbx), %rdi
	callq	_LD
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_d
	movq	%rax, %r12
	leaq	(%rbx,%r13,4), %rdi
	addq	$-12, %rdi
	callq	_LD
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_d
	movq	%rax, %r14
	jmp	LBB0_9
LBB0_7:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	cmpq	$0, 24(%r15)
	js	LBB0_10
## %bb.11:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax,4), %r13
	leaq	(%rbx,%rax,4), %rdi
	addq	$-12, %rdi
	callq	_LD
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_d
	movq	%rax, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	-12(,%rax,4), %rdi
	addq	%r13, %rdi
	callq	_LD
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_d
	jmp	LBB0_12
LBB0_10:
	xorl	%eax, %eax
	xorl	%r15d, %r15d
LBB0_12:
	subq	$32, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	movq	%r12, %r9
	pushq	%r15
	pushq	%rax
	callq	_ILVR_B4_SB
	addq	$48, %rsp
	callq	_ILVR_H2_SH
	callq	_ILVL_H2_SH
	callq	___msa_ilvr_w
	movq	%rax, %r12
	xorl	%edi, %edi
	movq	%rax, %rsi
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	$8, %edx
	callq	___msa_sldi_b
	movq	%rax, %r14
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	___msa_ilvl_w
	movq	%rax, %rbx
	xorl	%edi, %edi
	movq	%rax, %rsi
	movl	$8, %edx
	callq	___msa_sldi_b
	movq	%rax, %r13
	callq	___msa_ilvr_w
	movslq	%eax, %r15
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	$8, %edx
	callq	___msa_sldi_b
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	___msa_asub_u_b
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___msa_asub_u_b
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	___msa_asub_u_b
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	callq	___msa_asub_u_b
	movq	%rax, %r15
	movslq	-104(%rbp), %rdi                ## 4-byte Folded Reload
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rsi
	callq	___msa_asub_u_b
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	cmpq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	setl	%cl
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	cmpq	%rsi, -136(%rbp)                ## 8-byte Folded Reload
	setl	%dl
	andb	%cl, %dl
	cmpq	%rsi, %r14
	setl	%cl
	andb	%dl, %cl
	movzbl	%cl, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	cmpq	%rsi, %r15
	setl	%r14b
	xorl	%ecx, %ecx
	cmpq	%rsi, %rax
	setl	%cl
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	___msa_ilvr_b
	movslq	%eax, %r12
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	___msa_hadd_u_h
	movl	%eax, %edi
	movl	$1, %esi
	callq	___msa_srari_h
	xorl	%edi, %edi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	xorl	%edx, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_ILVR_B2_SH
	xorl	%edi, %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	xorl	%edx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_ILVR_B2_SH
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_LW
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	___msa_insert_w
	movq	%rax, %rdi
	movq	%rax, %rsi
	callq	___msa_ilvr_b
	movq	%rax, %rbx
	xorl	%edi, %edi
	movq	%rax, %rsi
	callq	___msa_ilvr_b
	movq	%rax, %r13
	movl	%r13d, %r15d
	negl	%r15d
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_CLIP_SH
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_CLIP_SH
	callq	_PCKEV_B2_UB
	testq	%rbx, %rbx
	setg	%al
	movl	%r14d, %ecx
	andb	%al, %cl
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %ebx
	andb	%al, %bl
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	andb	%al, %cl
	movzbl	%cl, %edx
	andb	%al, %bl
	movzbl	%bl, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	___msa_bmnz_v
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	___msa_bmnz_v
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	___msa_hsub_u_h
	movl	$3, %esi
	callq	___msa_srari_h
	movl	%eax, %r12d
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	___msa_ilvr_b
	movslq	%r13d, %rdi
	leal	1(%rdi), %ecx
	movslq	%ecx, %rsi
	movq	%rax, %rdx
	callq	___msa_bmnz_v
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	___msa_ilvr_b
	movslq	%ebx, %rdi
	leal	1(%rdi), %ecx
	movslq	%ecx, %rsi
	movq	%rax, %rdx
	callq	___msa_bmnz_v
	movl	%eax, %esi
	negl	%esi
	movl	%r12d, %edi
	movl	%eax, %edx
	callq	_CLIP_SH
	xorl	%edi, %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_ILVR_B2_SH
	callq	_CLIP_SH2_0_255
	callq	_PCKEV_B2_UB
	movq	%rbx, %rdi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	___msa_bmnz_v
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	___msa_bmnz_v
	movq	%r15, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%rax, %rcx
	movq	%r14, %r8
	movq	%rbx, %r9
	callq	_ILVR_B2_UB
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ILVRL_H2_SW
	xorl	%esi, %esi
	callq	___msa_copy_u_w
	movl	%eax, %r13d
	movl	$1, %esi
	callq	___msa_copy_u_w
	movl	%eax, %r12d
	movl	$2, %esi
	callq	___msa_copy_u_w
	movl	%eax, %r14d
	movl	$3, %esi
	callq	___msa_copy_u_w
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r15
	cmpq	$0, (%rax)
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	js	LBB0_14
## %bb.13:
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	movl	%r14d, %r12d
	movq	-128(%rbp), %r14                ## 8-byte Reload
	leaq	-8(%r14), %rsi
	movl	%r13d, %edi
	callq	_SW
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	leaq	(%r14,%r13,4), %rbx
	leaq	(%r14,%r13,4), %rsi
	addq	$-8, %rsi
	movl	%r12d, %r14d
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_SW
	leaq	(%rbx,%r13,4), %rbx
LBB0_14:
	cmpq	$0, 8(%r15)
	js	LBB0_15
## %bb.16:
	leaq	-8(%rbx), %rsi
	movl	%r14d, %edi
	callq	_SW
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	leaq	(%rbx,%r14,4), %r15
	leaq	(%rbx,%r14,4), %rsi
	addq	$-8, %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_SW
	leaq	(%r15,%r14,4), %rbx
	movq	-120(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_17
LBB0_15:
	movq	-120(%rbp), %r12                ## 8-byte Reload
	leaq	(%rbx,%r12,4), %rbx
LBB0_17:
	xorl	%esi, %esi
	callq	___msa_copy_u_w
	movl	%eax, %r13d
	movl	$1, %esi
	callq	___msa_copy_u_w
	movl	%eax, %r14d
	movl	$2, %esi
	callq	___msa_copy_u_w
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$3, %esi
	callq	___msa_copy_u_w
	movl	%eax, %r15d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	js	LBB0_18
## %bb.19:
	leaq	-8(%rbx), %rsi
	movl	%r13d, %edi
	callq	_SW
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	leaq	(%rbx,%r12,4), %r13
	leaq	(%rbx,%r12,4), %rsi
	addq	$-8, %rsi
	movl	%r14d, %edi
	callq	_SW
	leaq	(,%r12,4), %rbx
	addq	%r13, %rbx
	jmp	LBB0_20
LBB0_18:
	leaq	(%rbx,%r12,4), %rbx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_20:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 24(%rax)
	js	LBB0_21
## %bb.22:
	leaq	-8(%rbx), %rsi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_SW
	leaq	(%rbx,%r12,4), %rsi
	addq	$-8, %rsi
	movl	%r15d, %edi
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SW                             ## TAILCALL
LBB0_21:
	addq	$120, %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_luma_mbaff_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_luma_mbaff_msa
_avc_h_loop_filter_luma_mbaff_msa:      ; @avc_h_loop_filter_luma_mbaff_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x22, x4
	mov	x21, x3
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	___msa_fill_b
	stur	x0, [x29, #-88]                 ; 8-byte Folded Spill
	mov	x0, x21
	bl	___msa_fill_b
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	ldr	x8, [x22]
	tbnz	x8, #63, LBB0_2
; %bb.1:
	sub	x24, x19, #12
	mov	x0, x24
	bl	_LD
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_d
	mov	x23, x0
	add	x0, x24, w20, sxtw #2
	bl	_LD
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_d
	mov	x24, x0
	b	LBB0_3
LBB0_2:
	mov	x24, #0
	mov	x23, #0
LBB0_3:
	sxtw	x21, w20
	sbfiz	x28, x20, #1, #32
	ldr	x8, [x22, #8]
	add	x27, x19, w20, sxtw #3
	str	x19, [sp, #40]                  ; 8-byte Folded Spill
	tbnz	x8, #63, LBB0_5
; %bb.4:
	sub	x20, x27, #12
	mov	x0, x20
	bl	_LD
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_d
	mov	x25, x0
	add	x0, x20, x21, lsl #2
	bl	_LD
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_d
	mov	x26, x0
	b	LBB0_6
LBB0_5:
	mov	x26, #0
	mov	x25, #0
LBB0_6:
	str	x27, [sp, #96]                  ; 8-byte Folded Spill
	add	x19, x27, x28, lsl #2
	ldr	x8, [x22, #16]
	tbnz	x8, #63, LBB0_8
; %bb.7:
	sub	x27, x19, #12
	mov	x0, x27
	bl	_LD
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_d
	mov	x20, x0
	add	x0, x27, x21, lsl #2
	bl	_LD
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_d
	mov	x27, x0
	b	LBB0_9
LBB0_8:
	mov	x27, #0
	mov	x20, #0
LBB0_9:
	stp	x28, x22, [sp, #80]             ; 16-byte Folded Spill
	ldr	x8, [x22, #24]
	str	x21, [sp, #72]                  ; 8-byte Folded Spill
	tbnz	x8, #63, LBB0_11
; %bb.10:
	add	x8, x19, x28, lsl #2
	sub	x22, x8, #12
	mov	x0, x22
	bl	_LD
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_d
	mov	x28, x0
	add	x0, x22, x21, lsl #2
	bl	_LD
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_d
	mov	x6, x0
	b	LBB0_12
LBB0_11:
	mov	x6, #0
	mov	x28, #0
LBB0_12:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x26
	mov	x3, x25
	mov	x4, x27
	mov	x5, x20
	mov	x7, x28
	bl	_ILVR_B4_SB
	bl	_ILVR_H2_SH
	bl	_ILVL_H2_SH
	bl	___msa_ilvr_w
	mov	x28, x0
	mov	x0, #0
	mov	x1, x28
	mov	w2, #8
	bl	___msa_sldi_b
	mov	x19, x0
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	bl	___msa_ilvl_w
	mov	x23, x0
	mov	x0, #0
	mov	x1, x23
	mov	w2, #8
	bl	___msa_sldi_b
	mov	x24, x0
	bl	___msa_ilvr_w
	sxtw	x26, w0
	mov	x0, #0
	mov	x1, x26
	mov	w2, #8
	bl	___msa_sldi_b
	mov	x20, x0
	mov	x0, x23
	mov	x1, x24
	bl	___msa_asub_u_b
	mov	x22, x0
	mov	x0, x19
	mov	x1, x23
	bl	___msa_asub_u_b
	mov	x27, x0
	mov	x0, x26
	mov	x1, x24
	bl	___msa_asub_u_b
	mov	x19, x0
	mov	x0, x28
	mov	x1, x23
	bl	___msa_asub_u_b
	mov	x21, x0
	sxtw	x25, w20
	mov	x0, x25
	mov	x1, x24
	mov	x20, x24
	str	x24, [sp, #56]                  ; 8-byte Folded Spill
	bl	___msa_asub_u_b
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	cmp	x22, x8
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ccmp	x27, x8, #0, lt
	ccmp	x19, x8, #0, lt
	cset	w9, lt
	stur	x9, [x29, #-88]                 ; 8-byte Folded Spill
	cmp	x21, x8
	cset	w27, lt
	cmp	x0, x8
	cset	w24, lt
	mov	x0, x20
	mov	x1, x23
	bl	___msa_ilvr_b
	sxtw	x20, w0
	mov	x0, x20
	mov	x1, x20
	bl	___msa_hadd_u_h
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #1
	bl	___msa_srari_h
	mov	x0, #0
	mov	x1, x28
	mov	x2, #0
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	mov	x3, x21
	bl	_ILVR_B2_SH
	mov	x0, #0
	mov	x1, x25
	mov	x2, #0
	mov	x3, x26
	bl	_ILVR_B2_SH
	ldr	x22, [sp, #88]                  ; 8-byte Folded Reload
	mov	x0, x22
	bl	_LW
	mov	x2, x0
	mov	w0, #0
	mov	w1, #0
	bl	___msa_insert_w
	mov	x1, x0
	bl	___msa_ilvr_b
	mov	x19, x0
	mov	x0, #0
	mov	x1, x19
	bl	___msa_ilvr_b
	mov	x28, x0
	neg	w25, w28
	mov	x1, x25
	mov	x2, x28
	bl	_CLIP_SH
	mov	x1, x25
	mov	x2, x28
	bl	_CLIP_SH
	bl	_PCKEV_B2_UB
	cmp	x19, #0
	cset	w8, gt
	and	w9, w27, w8
	and	w8, w24, w8
	ldur	x10, [x29, #-88]                ; 8-byte Folded Reload
	and	w2, w10, w9
	and	w19, w10, w8
	mov	x0, x21
	bl	___msa_bmnz_v
	mov	x25, x0
	mov	x0, x26
	mov	x2, x19
	bl	___msa_bmnz_v
	mov	x26, x0
	mov	x0, x20
	mov	x1, x20
	bl	___msa_hsub_u_h
	mov	w1, #3
	bl	___msa_srari_h
	mov	x19, x0
	mov	x0, x27
	mov	x1, x27
	bl	___msa_ilvr_b
	mov	x2, x0
	sxtw	x0, w28
	add	w8, w28, #1
	mov	x27, x22
	sxtw	x1, w8
	bl	___msa_bmnz_v
	mov	x20, x0
	mov	x0, x24
	mov	x1, x24
	bl	___msa_ilvr_b
	mov	x2, x0
	sxtw	x0, w20
	add	w8, w0, #1
	sxtw	x1, w8
	bl	___msa_bmnz_v
	mov	x2, x0
	neg	w1, w2
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_CLIP_SH
	mov	x0, #0
	mov	x1, x23
	mov	x2, #0
	ldr	x20, [sp, #56]                  ; 8-byte Folded Reload
	mov	x3, x20
	bl	_ILVR_B2_SH
	bl	_CLIP_SH2_0_255
	bl	_PCKEV_B2_UB
	mov	x0, x23
	ldur	x21, [x29, #-88]                ; 8-byte Folded Reload
	mov	x2, x21
	bl	___msa_bmnz_v
	mov	x19, x0
	mov	x0, x20
	mov	x2, x21
	bl	___msa_bmnz_v
	mov	x3, x0
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	mov	x4, x25
	mov	x5, x26
	bl	_ILVR_B2_UB
	mov	x0, x26
	mov	x1, x25
	bl	_ILVRL_H2_SW
	mov	w1, #0
	bl	___msa_copy_u_w
	mov	x23, x0
	mov	w1, #1
	bl	___msa_copy_u_w
	mov	x22, x0
	mov	w1, #2
	bl	___msa_copy_u_w
	mov	x21, x0
	mov	w1, #3
	bl	___msa_copy_u_w
	mov	x20, x0
	ldr	x8, [x27]
	ldr	x25, [sp, #72]                  ; 8-byte Folded Reload
	lsl	x19, x25, #2
	tbnz	x8, #63, LBB0_14
; %bb.13:
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	sub	x1, x24, #8
	mov	x0, x23
	bl	_SW
	add	x23, x24, x19
	sub	x1, x23, #8
	mov	x0, x22
	bl	_SW
	add	x8, x23, x19
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
LBB0_14:
	ldr	x26, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x8, [x27, #8]
	tbnz	x8, #63, LBB0_16
; %bb.15:
	ldr	x22, [sp, #96]                  ; 8-byte Folded Reload
	sub	x1, x22, #8
	mov	x0, x21
	bl	_SW
	add	x21, x22, x19
	sub	x1, x21, #8
	mov	x0, x20
	bl	_SW
	add	x24, x21, x19
	b	LBB0_17
LBB0_16:
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x24, x8, x26, lsl #2
LBB0_17:
	mov	w1, #0
	bl	___msa_copy_u_w
	mov	x23, x0
	mov	w1, #1
	bl	___msa_copy_u_w
	mov	x22, x0
	mov	w1, #2
	bl	___msa_copy_u_w
	mov	x20, x0
	mov	w1, #3
	bl	___msa_copy_u_w
	mov	x21, x0
	ldr	x8, [x27, #16]
	tbnz	x8, #63, LBB0_20
; %bb.18:
	sub	x1, x24, #8
	mov	x0, x23
	bl	_SW
	add	x23, x24, x19
	sub	x1, x23, #8
	mov	x0, x22
	bl	_SW
	add	x19, x23, x19
	ldr	x8, [x27, #24]
	tbnz	x8, #63, LBB0_21
LBB0_19:
	sub	x1, x19, #8
	mov	x0, x20
	bl	_SW
	add	x8, x19, x25, lsl #2
	sub	x1, x8, #8
	mov	x0, x21
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	b	_SW
LBB0_20:
	add	x19, x24, x26, lsl #2
	ldr	x8, [x27, #24]
	tbz	x8, #63, LBB0_19
LBB0_21:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_avc_h_loop_filter_luma_mbaff_msa
.subsections_via_symbols
