	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_vp8_epel4_v4_msa        ## -- Begin function ff_put_vp8_epel4_v4_msa
	.p2align	4, 0x90
_ff_put_vp8_epel4_v4_msa:               ## @ff_put_vp8_epel4_v4_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r13d
	movq	%rdx, %r15
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movslq	16(%rbp), %rax
	movq	_subpel_filters_msa@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-8(%rcx,%rax,8), %rdi
	movslq	%r13d, %r12
	leaq	(,%r12,4), %rax
	movq	%rdx, %rbx
	subq	%rax, %rbx
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SB
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_LD_SB3
	callq	_ILVR_B2_SB
	callq	___msa_ilvr_d
	movl	%eax, %edi
	movl	$128, %esi
	callq	___msa_xori_b
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$4, %r14d
	jb	LBB0_3
## %bb.1:
	leal	(%r12,%r12,2), %eax
	cltq
	sarl	$2, %r14d
	leaq	(%rbx,%rax,4), %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(,%rcx,4), %ecx
	movslq	%ecx, %rcx
	shlq	$2, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rcx
	leaq	(%rcx,%r12,4), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	addq	%rax, %rax
	subq	%r12, %rax
	leaq	(%r15,%rax,4), %r15
                                        ## implicit-def: $r12
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_LD_SB3
	movq	%r12, %rsi
	callq	_ILVR_B2_SB
	callq	___msa_ilvr_d
	movl	%eax, %edi
	movl	$128, %esi
	callq	___msa_xori_b
	movl	%r14d, %ebx
	movq	%rax, %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_FILT_4TAP_DPADD_S_H
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_LD_SB
	movq	%rax, %r12
	movq	%rax, %rdx
	callq	_ILVR_B2_SB
	callq	___msa_ilvr_d
	movl	%eax, %edi
	movl	$128, %esi
	callq	___msa_xori_b
	movq	%r14, %rdi
	movl	%ebx, %r14d
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_FILT_4TAP_DPADD_S_H
	movl	%eax, %ebx
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	$7, %edx
	callq	_SRARI_H2_SH
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	$7, %edx
	callq	_SAT_SH2_SH
	movl	%r13d, %edi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%ebx, %esi
	callq	_PCKEV_XORI128_UB
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rsp)
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_ST_W4
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addq	-96(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %rdx
	addq	%rax, %r15
	decl	%r14d
	jne	LBB0_2
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_subpel_filters_msa,8,3         ## @subpel_filters_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_vp8_epel4_v4_msa        ; -- Begin function ff_put_vp8_epel4_v4_msa
	.p2align	2
_ff_put_vp8_epel4_v4_msa:               ; @ff_put_vp8_epel4_v4_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x4
	mov	x19, x3
	str	w1, [sp, #20]                   ; 4-byte Folded Spill
	mov	x21, x0
Lloh0:
	adrp	x8, _subpel_filters_msa@GOTPAGE
Lloh1:
	ldr	x8, [x8, _subpel_filters_msa@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	w9, w6, #1
	ldr	x0, [x8, w9, sxtw #3]
	sub	x22, x2, w3, sxtw #2
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SB
	mov	x0, x22
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	mov	x1, x19
	bl	_LD_SB3
	bl	_ILVR_B2_SB
	bl	___msa_ilvr_d
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #128
	bl	___msa_xori_b
	cmp	w24, #4
	b.lo	LBB0_3
; %bb.1:
	mov	x23, x0
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	sxtw	x8, w9
	add	w9, w9, w9, lsl #1
	sxtw	x9, w9
	asr	w28, w24, #2
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	lsl	w10, w10, #2
	sbfiz	x10, x10, #2, #32
	lsl	x19, x9, #2
	lsl	x9, x9, #3
	stp	x9, x10, [sp]                   ; 16-byte Folded Spill
                                        ; implicit-def: $x24
	add	x20, x19, x8, lsl #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x22, x19
	sub	w28, w28, #1
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_LD_SB3
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x25, x22, x8
	mov	x1, x24
	bl	_ILVR_B2_SB
	bl	___msa_ilvr_d
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #128
	bl	___msa_xori_b
	mov	x26, x0
	mov	x0, x23
	mov	x1, x26
	bl	_FILT_4TAP_DPADD_S_H
	mov	x27, x0
	mov	x0, x25
	bl	_LD_SB
	mov	x24, x0
	mov	x2, x0
	bl	_ILVR_B2_SB
	bl	___msa_ilvr_d
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #128
	bl	___msa_xori_b
	mov	x23, x0
	mov	x0, x26
	mov	x1, x23
	bl	_FILT_4TAP_DPADD_S_H
	mov	x25, x0
	mov	x0, x27
	mov	x1, x25
	mov	w2, #7
	bl	_SRARI_H2_SH
	mov	x0, x27
	mov	x1, x25
	mov	w2, #7
	bl	_SAT_SH2_SH
	mov	x0, x27
	mov	x1, x25
	bl	_PCKEV_XORI128_UB
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x5, x21
	ldr	w6, [sp, #20]                   ; 4-byte Folded Reload
	bl	_ST_W4
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x21, x21, x8
	add	x22, x22, x20
	cbnz	w28, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_subpel_filters_msa,8,3         ; @subpel_filters_msa
.subsections_via_symbols
