	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_vp8_epel8_h4v6_msa      ## -- Begin function ff_put_vp8_epel8_h4v6_msa
	.p2align	4, 0x90
_ff_put_vp8_epel8_h4v6_msa:             ## @ff_put_vp8_epel8_h4v6_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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r15
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movslq	16(%rbp), %rax
	movq	_subpel_filters_msa@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r9d, %rdx
	movq	-8(%rcx,%rdx,8), %r14
	movq	-8(%rcx,%rax,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_mc_filt_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %r12
	leal	(%r13,%r13), %eax
	notl	%eax
	cltq
	leaq	(%r15,%rax,4), %rbx
	movq	%r14, %rdi
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SB
	leaq	2(%r12), %r15
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movl	%r13d, %esi
	callq	_LD_SB5
	callq	_XORI_B5_128_SB
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, %rbx
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, %r13
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, %r14
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r12, %rdx
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_ILVEV_B2_SH
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rcx
	callq	_ILVEV_B2_SH
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	callq	_SPLATI_H3_SH
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$4, %ecx
	jb	LBB0_3
## %bb.1:
	sarl	$2, %ecx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rdx,%rdx,4), %eax
	cltq
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rax,4), %rsi
	leal	(,%rdx,4), %eax
	movslq	%eax, %rdx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
                                        ## implicit-def: $rbx
                                        ## implicit-def: $r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdx
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	___msa_ilvev_b
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%rax, %r12
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	_DPADD_SH3_SH
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	___msa_ilvev_b
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_DPADD_SH3_SH
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	___msa_ilvev_b
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_DPADD_SH3_SH
	movq	%rax, %r12
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_HORIZ_4TAP_FILT
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	___msa_ilvev_b
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-160(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_DPADD_SH3_SH
	movq	%rax, %r13
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-168(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	movl	$7, %r8d
	callq	_SRARI_H4_SH
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_PCKEV_XORI128_UB
	movl	%eax, %r14d
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_PCKEV_XORI128_UB
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 8(%rsp)
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, (%rsp)
	movl	%r14d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addq	-120(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	addq	-128(%rbp), %rsi                ## 8-byte Folded Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	decl	%ecx
	jne	LBB0_2
LBB0_3:
	addq	$168, %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
	.comm	_mc_filt_mask_arr,8,3           ## @mc_filt_mask_arr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_vp8_epel8_h4v6_msa      ; -- Begin function ff_put_vp8_epel8_h4v6_msa
	.p2align	2
_ff_put_vp8_epel8_h4v6_msa:             ; @ff_put_vp8_epel8_h4v6_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x23, x3
	mov	x20, x2
	str	w1, [sp, #24]                   ; 4-byte Folded Spill
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _subpel_filters_msa@GOTPAGE
Lloh1:
	ldr	x8, [x8, _subpel_filters_msa@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	w9, w5, #1
	ldr	x22, [x8, w9, sxtw #3]
	sub	w9, w6, #1
	ldr	x19, [x8, w9, sxtw #3]
Lloh3:
	adrp	x8, _mc_filt_mask_arr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mc_filt_mask_arr@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	bl	_LD_SB
	mov	x25, x0
	mov	w8, #-1
	eor	w8, w8, w23, lsl #1
	add	x21, x20, w8, sxtw #2
	mov	x0, x22
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SB
	add	x26, x25, #2
	mov	x0, x21
	str	w23, [sp, #28]                  ; 4-byte Folded Spill
	mov	x1, x23
	bl	_LD_SB5
	bl	_XORI_B5_128_SB
	mov	x2, x25
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x20, x0
	mov	x2, x25
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x22, x0
	mov	x2, x25
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x23, x0
	mov	x2, x25
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x27, x0
	str	x25, [sp, #16]                  ; 8-byte Folded Spill
	mov	x2, x25
	mov	x25, x26
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x26, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x27
	bl	_ILVEV_B2_SH
	mov	x0, x22
	mov	x1, x23
	mov	x2, x27
	mov	x3, x26
	bl	_ILVEV_B2_SH
	mov	x0, x19
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	bl	_SPLATI_H3_SH
	cmp	w24, #4
	b.lo	LBB0_3
; %bb.1:
	asr	w11, w24, #2
	ldp	w10, w9, [sp, #24]              ; 8-byte Folded Reload
	lsl	w8, w9, #2
	add	w9, w8, w9
	lsl	w10, w10, #2
	sbfiz	x10, x10, #2, #32
	sbfiz	x8, x8, #2, #32
	stp	x8, x10, [sp]                   ; 16-byte Folded Spill
                                        ; implicit-def: $x22
                                        ; implicit-def: $x28
                                        ; implicit-def: $x20
                                        ; implicit-def: $x19
	add	x24, x21, w9, sxtw #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w11, #1
	str	w11, [sp, #52]                  ; 4-byte Folded Spill
	mov	x0, x24
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	mov	x21, x26
	mov	x26, x25
	ldr	x25, [sp, #16]                  ; 8-byte Folded Reload
	mov	x2, x25
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x23, x0
	mov	x1, x21
	bl	___msa_ilvev_b
	mov	x27, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x27
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
	bl	_DPADD_SH3_SH
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	x2, x25
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x19, x0
	mov	x1, x23
	bl	___msa_ilvev_b
	mov	x23, x0
	mov	x0, x28
	mov	x1, x22
	mov	x2, x23
	bl	_DPADD_SH3_SH
	mov	x28, x0
	mov	x2, x25
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x21, x0
	mov	x1, x19
	bl	___msa_ilvev_b
	mov	x19, x0
	mov	x0, x20
	mov	x1, x27
	mov	x2, x19
	bl	_DPADD_SH3_SH
	mov	x20, x0
	mov	x2, x25
	mov	x25, x26
	mov	x3, x26
	bl	_HORIZ_4TAP_FILT
	mov	x26, x0
	mov	x1, x21
	bl	___msa_ilvev_b
	mov	x21, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	bl	_DPADD_SH3_SH
	mov	x27, x0
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x22
	mov	x1, x28
	mov	x2, x20
	mov	x3, x27
	mov	w4, #7
	bl	_SRARI_H4_SH
	mov	x0, x22
	mov	x1, x28
	mov	x2, x20
	mov	x3, x27
	mov	w4, #7
	bl	_SAT_SH4_SH
	mov	x0, x22
	mov	x1, x28
	bl	_PCKEV_XORI128_UB
	mov	x22, x0
	mov	x0, x20
	mov	x1, x27
	bl	_PCKEV_XORI128_UB
	mov	x1, x0
	mov	x0, x22
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	ldr	x20, [sp, #56]                  ; 8-byte Folded Reload
	mov	x6, x20
	ldr	w7, [sp, #24]                   ; 4-byte Folded Reload
	bl	_ST_D4
	ldr	w11, [sp, #52]                  ; 4-byte Folded Reload
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x20, x20, x8
	str	x20, [sp, #56]                  ; 8-byte Folded Spill
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x24, x24, x8
	mov	x22, x21
	mov	x28, x23
	mov	x20, x19
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	cbnz	w11, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_subpel_filters_msa,8,3         ; @subpel_filters_msa
	.comm	_mc_filt_mask_arr,8,3           ; @mc_filt_mask_arr
.subsections_via_symbols
