	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vp3_v_loop_filter_msa       ## -- Begin function ff_vp3_v_loop_filter_msa
	.p2align	4, 0x90
_ff_vp3_v_loop_filter_msa:              ## @ff_vp3_v_loop_filter_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	%rbx
	subq	$936, %rsp                      ## imm = 0x3A8
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	%esi, %r15d
	negl	%r15d
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	leal	(%r15,%r15), %eax
	cltq
	leaq	(%rdi,%rax,4), %rdi
	movups	-384(%rbp), %xmm0
	movups	-368(%rbp), %xmm1
	movups	-352(%rbp), %xmm2
	movups	-336(%rbp), %xmm3
	movups	%xmm3, 240(%rsp)
	movups	%xmm2, 224(%rsp)
	movups	%xmm1, 208(%rsp)
	movups	%xmm0, 192(%rsp)
	movups	-256(%rbp), %xmm0
	movups	-240(%rbp), %xmm1
	movups	-224(%rbp), %xmm2
	movups	-208(%rbp), %xmm3
	movups	%xmm3, 176(%rsp)
	movups	%xmm2, 160(%rsp)
	movups	%xmm1, 144(%rsp)
	movups	%xmm0, 128(%rsp)
	movups	-320(%rbp), %xmm0
	movups	-304(%rbp), %xmm1
	movups	-288(%rbp), %xmm2
	movups	-272(%rbp), %xmm3
	movups	%xmm3, 112(%rsp)
	movups	%xmm2, 96(%rsp)
	movups	%xmm1, 80(%rsp)
	movups	%xmm0, 64(%rsp)
	movups	-448(%rbp), %xmm0
	movups	-432(%rbp), %xmm1
	movups	-416(%rbp), %xmm2
	movups	-400(%rbp), %xmm3
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_LD_SB4
	movups	-384(%rbp), %xmm0
	movups	-368(%rbp), %xmm1
	movups	-352(%rbp), %xmm2
	movups	-336(%rbp), %xmm3
	movups	%xmm3, 496(%rsp)
	movups	%xmm2, 480(%rsp)
	movups	%xmm1, 464(%rsp)
	movups	%xmm0, 448(%rsp)
	movaps	-192(%rbp), %xmm0
	movaps	-176(%rbp), %xmm1
	movaps	-160(%rbp), %xmm2
	movaps	-144(%rbp), %xmm3
	movups	%xmm3, 432(%rsp)
	movups	%xmm2, 416(%rsp)
	movups	%xmm1, 400(%rsp)
	movups	%xmm0, 384(%rsp)
	movups	-256(%rbp), %xmm4
	movups	-240(%rbp), %xmm5
	movups	-224(%rbp), %xmm6
	movups	-208(%rbp), %xmm7
	movups	%xmm7, 368(%rsp)
	movups	%xmm6, 352(%rsp)
	movups	%xmm5, 336(%rsp)
	movups	%xmm4, 320(%rsp)
	movups	%xmm3, 304(%rsp)
	movups	%xmm2, 288(%rsp)
	movups	%xmm1, 272(%rsp)
	movups	%xmm0, 256(%rsp)
	movups	-320(%rbp), %xmm4
	movups	-304(%rbp), %xmm5
	movups	-288(%rbp), %xmm6
	movups	-272(%rbp), %xmm7
	movups	%xmm7, 240(%rsp)
	movups	%xmm6, 224(%rsp)
	movups	%xmm5, 208(%rsp)
	movups	%xmm4, 192(%rsp)
	movups	%xmm3, 176(%rsp)
	movups	%xmm2, 160(%rsp)
	movups	%xmm1, 144(%rsp)
	movups	%xmm0, 128(%rsp)
	movups	-448(%rbp), %xmm4
	movups	-432(%rbp), %xmm5
	movups	-416(%rbp), %xmm6
	movups	-400(%rbp), %xmm7
	movups	%xmm7, 112(%rsp)
	movups	%xmm6, 96(%rsp)
	movups	%xmm5, 80(%rsp)
	movups	%xmm4, 64(%rsp)
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_ILVR_B4_SH
	leaq	-96(%rbp), %rsi
	xorl	%edi, %edi
	callq	_ST_SH
	movq	-96(%rbp), %rax
	movq	-88(%rbp), %rcx
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -128(%rbp)
	movl	(%rbx,%rcx,4), %eax
	movl	%eax, -124(%rbp)
	movq	-80(%rbp), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -120(%rbp)
	movq	-72(%rbp), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -116(%rbp)
	movq	-64(%rbp), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -112(%rbp)
	movq	-56(%rbp), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -108(%rbp)
	movq	-48(%rbp), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -104(%rbp)
	movq	-40(%rbp), %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -100(%rbp)
	leaq	-128(%rbp), %rdi
	movl	$4, %esi
	callq	_LD_SW2
	movaps	-192(%rbp), %xmm0
	movaps	-176(%rbp), %xmm1
	movaps	-160(%rbp), %xmm2
	movaps	-144(%rbp), %xmm3
	movups	%xmm3, 112(%rsp)
	movups	%xmm2, 96(%rsp)
	movups	%xmm1, 80(%rsp)
	movups	%xmm0, 64(%rsp)
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_ILVR_H2_SW
	movaps	-192(%rbp), %xmm0
	movaps	-176(%rbp), %xmm1
	movaps	-160(%rbp), %xmm2
	movaps	-144(%rbp), %xmm3
	movups	%xmm3, 112(%rsp)
	movups	%xmm2, 96(%rsp)
	movups	%xmm1, 80(%rsp)
	movups	%xmm0, 64(%rsp)
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_ILVL_H2_SW
	callq	_CLIP_SW4_0_255
	movups	-256(%rbp), %xmm0
	movups	-240(%rbp), %xmm1
	movups	-224(%rbp), %xmm2
	movups	-208(%rbp), %xmm3
	movups	%xmm3, 240(%rsp)
	movups	%xmm2, 224(%rsp)
	movups	%xmm1, 208(%rsp)
	movups	%xmm0, 192(%rsp)
	movups	-320(%rbp), %xmm0
	movups	-304(%rbp), %xmm1
	movups	-288(%rbp), %xmm2
	movups	-272(%rbp), %xmm3
	movups	%xmm3, 176(%rsp)
	movups	%xmm2, 160(%rsp)
	movups	%xmm1, 144(%rsp)
	movups	%xmm0, 128(%rsp)
	movups	l___const.ff_vp3_v_loop_filter_msa.mask+48(%rip), %xmm0
	movups	%xmm0, 112(%rsp)
	movups	l___const.ff_vp3_v_loop_filter_msa.mask+32(%rip), %xmm1
	movups	%xmm1, 96(%rsp)
	movups	l___const.ff_vp3_v_loop_filter_msa.mask+16(%rip), %xmm2
	movups	%xmm2, 80(%rsp)
	movups	l___const.ff_vp3_v_loop_filter_msa.mask(%rip), %xmm3
	movups	%xmm3, 64(%rsp)
	movups	%xmm0, 48(%rsp)
	movups	%xmm1, 32(%rsp)
	movups	%xmm2, 16(%rsp)
	movups	%xmm3, (%rsp)
	callq	_VSHF_B2_SB
	movslq	%r15d, %rax
	leaq	(%r14,%rax,4), %rsi
	movups	-320(%rbp), %xmm0
	movups	-304(%rbp), %xmm1
	movups	-288(%rbp), %xmm2
	movups	-272(%rbp), %xmm3
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	xorl	%edi, %edi
	callq	_ST_D1
	movups	-256(%rbp), %xmm0
	movups	-240(%rbp), %xmm1
	movups	-224(%rbp), %xmm2
	movups	-208(%rbp), %xmm3
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_ST_D1
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$936, %rsp                      ## imm = 0x3A8
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	3                               ## @__const.ff_vp3_v_loop_filter_msa.mask
l___const.ff_vp3_v_loop_filter_msa.mask:
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.long	12                              ## 0xc
	.long	16                              ## 0x10
	.long	20                              ## 0x14
	.long	24                              ## 0x18
	.long	28                              ## 0x1c
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vp3_v_loop_filter_msa       ; -- Begin function ff_vp3_v_loop_filter_msa
	.p2align	2
_ff_vp3_v_loop_filter_msa:              ; @ff_vp3_v_loop_filter_msa
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #544
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	neg	w8, w1
	add	x0, x0, w8, sxtw #3
	sub	x2, x29, #112
	sub	x3, x29, #240
	add	x4, sp, #272
	add	x5, sp, #208
	bl	_LD_SB4
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-80]
	stp	q0, q0, [x29, #-112]
	stp	q0, q0, [sp, #304]
	stp	q0, q0, [sp, #272]
	stp	q0, q0, [sp, #176]
	stp	q0, q0, [sp, #144]
	stp	q0, q0, [sp, #112]
	stp	q0, q0, [sp, #80]
	sub	x0, x29, #112
	sub	x1, x29, #240
	add	x2, sp, #272
	add	x3, sp, #208
	add	x4, sp, #144
	sub	x5, x29, #176
	add	x6, sp, #80
	add	x7, sp, #16
	bl	_ILVR_B4_SH
	sub	x1, x29, #112
	mov	w0, #0
	bl	_ST_SH
	ldp	x8, x9, [x29, #-112]
	ldr	w8, [x21, x8, lsl #2]
	ldr	w9, [x21, x9, lsl #2]
	stp	w8, w9, [x29, #-176]
	ldp	x8, x9, [x29, #-96]
	ldr	w8, [x21, x8, lsl #2]
	ldr	w9, [x21, x9, lsl #2]
	stp	w8, w9, [x29, #-168]
	ldp	x8, x9, [x29, #-80]
	ldr	w8, [x21, x8, lsl #2]
	ldr	w9, [x21, x9, lsl #2]
	stp	w8, w9, [x29, #-160]
	ldp	x8, x9, [x29, #-64]
	ldr	w8, [x21, x8, lsl #2]
	ldr	w9, [x21, x9, lsl #2]
	stp	w8, w9, [x29, #-152]
	sub	x0, x29, #176
	mov	w1, #4
	bl	_LD_SW2
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-208]
	stp	q0, q0, [x29, #-240]
	stp	q0, q0, [sp, #304]
	stp	q0, q0, [sp, #272]
	sub	x0, x29, #240
	add	x2, sp, #272
	bl	_ILVR_H2_SW
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-208]
	stp	q0, q0, [x29, #-240]
	stp	q0, q0, [sp, #304]
	stp	q0, q0, [sp, #272]
	sub	x0, x29, #240
	add	x2, sp, #272
	bl	_ILVL_H2_SW
	bl	_CLIP_SW4_0_255
Lloh3:
	adrp	x8, l___const.ff_vp3_v_loop_filter_msa.mask@PAGE
Lloh4:
	add	x8, x8, l___const.ff_vp3_v_loop_filter_msa.mask@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [x29, #-240]
	ldp	q2, q3, [x8, #32]
	stp	q2, q3, [x29, #-208]
	stp	q0, q1, [sp, #272]
	stp	q2, q3, [sp, #304]
	sub	x4, x29, #240
	add	x5, sp, #272
	add	x6, sp, #208
	add	x7, sp, #144
	bl	_VSHF_B2_SB
	sub	x2, x19, w20, sxtw #2
	sub	x0, x29, #240
	mov	w1, #0
	bl	_ST_D1
	sub	x0, x29, #240
	mov	w1, #0
	mov	x2, x19
	bl	_ST_D1
	ldur	x8, [x29, #-40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	add	sp, sp, #544
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.ff_vp3_v_loop_filter_msa.mask
l___const.ff_vp3_v_loop_filter_msa.mask:
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.long	12                              ; 0xc
	.long	16                              ; 0x10
	.long	20                              ; 0x14
	.long	24                              ; 0x18
	.long	28                              ; 0x1c
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

.subsections_via_symbols
