	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_vp8_epel8_h6v4_msa      ## -- Begin function ff_put_vp8_epel8_h6v4_msa
	.p2align	4, 0x90
_ff_put_vp8_epel8_h6v4_msa:             ## @ff_put_vp8_epel8_h6v4_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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, %ebx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%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), %r15
	movq	-8(%rcx,%rax,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_mc_filt_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %r12
	movl	$-2, %eax
	subl	%ebx, %eax
	cltq
	leaq	(%r14,%rax,4), %rbx
	movq	%r15, %rdi
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	callq	_SPLATI_H3_SB
	leaq	2(%r12), %r15
	leaq	4(%r12), %r14
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB3
	callq	_XORI_B3_128_SB
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_HORIZ_6TAP_FILT
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_HORIZ_6TAP_FILT
	movq	%rax, %rbx
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r12, %rdx
	movq	%r15, %r12
	movq	%r14, %r8
	movq	%r15, %rcx
	callq	_HORIZ_6TAP_FILT
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	callq	_ILVEV_B2_SH
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	cmpl	$4, %r13d
	jb	LBB0_3
## %bb.1:
	sarl	$2, %r13d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rcx,2), %eax
	cltq
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rdx
	leal	(,%rcx,4), %eax
	movslq	%eax, %rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	movl	%r13d, -72(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	movq	-120(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_HORIZ_6TAP_FILT
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	___msa_ilvev_b
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movq	%rax, %rsi
	callq	_FILT_4TAP_DPADD_S_H
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_HORIZ_6TAP_FILT
	movq	%r12, %r13
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	___msa_ilvev_b
	movq	%rax, %rsi
	callq	_FILT_4TAP_DPADD_S_H
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%r15, %rdx
	movq	%r13, %rcx
	movq	%rbx, %r8
	callq	_HORIZ_6TAP_FILT
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	___msa_ilvev_b
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	callq	_FILT_4TAP_DPADD_S_H
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%r15, %rdx
	movq	%r13, %rcx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	callq	_HORIZ_6TAP_FILT
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r13, %r12
	movq	%r14, %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	movq	%rbx, %r8
	callq	_ILVEV_B2_SH
	movq	%rbx, %rdi
	callq	_FILT_4TAP_DPADD_S_H
	movq	%rax, %r15
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-152(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rsi
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdx
	movq	%rax, %rcx
	movl	$7, %r8d
	callq	_SRARI_H4_SH
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_PCKEV_XORI128_UB
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	-72(%rbp), %r13d                ## 4-byte Reload
	movq	%r15, %rsi
	callq	_PCKEV_XORI128_UB
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 8(%rsp)
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, (%rsp)
	movl	%r14d, %edi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	addq	-112(%rbp), %rdx                ## 8-byte Folded Reload
	decl	%r13d
	jne	LBB0_2
LBB0_3:
	addq	$152, %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_h6v4_msa      ; -- Begin function ff_put_vp8_epel8_h6v4_msa
	.p2align	2
_ff_put_vp8_epel8_h6v4_msa:             ; @ff_put_vp8_epel8_h6v4_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	x25, x4
	mov	x21, x3
	mov	x19, x2
	str	w1, [sp, #24]                   ; 4-byte Folded Spill
	mov	x22, x0
Lloh0:
	adrp	x8, _subpel_filters_msa@GOTPAGE
Lloh1:
	ldr	x8, [x8, _subpel_filters_msa@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	w9, w5, #1
	ldr	x20, [x8, w9, sxtw #3]
	sub	w9, w6, #1
	ldr	x27, [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	x23, x0
	mov	w8, #-2
	sub	w8, w8, w21
	add	x28, x19, w8, sxtw #2
	mov	x0, x20
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	bl	_SPLATI_H3_SB
	add	x24, x23, #2
	add	x26, x23, #4
	mov	x0, x28
	str	w21, [sp, #28]                  ; 4-byte Folded Spill
	mov	x1, x21
	bl	_LD_SB3
	bl	_XORI_B3_128_SB
	mov	x2, x23
	mov	x3, x24
	mov	x4, x26
	bl	_HORIZ_6TAP_FILT
	mov	x19, x0
	mov	x2, x23
	mov	x3, x24
	mov	x4, x26
	bl	_HORIZ_6TAP_FILT
	mov	x20, x0
	mov	x2, x23
	mov	x3, x24
	mov	x4, x26
	bl	_HORIZ_6TAP_FILT
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x20
	mov	x3, x21
	bl	_ILVEV_B2_SH
	mov	x0, x27
	mov	x27, x21
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	cmp	w25, #4
	b.lo	LBB0_3
; %bb.1:
	asr	w11, w25, #2
	ldp	w10, w9, [sp, #24]              ; 8-byte Folded Reload
	add	w8, w9, w9, lsl #1
	lsl	w9, w9, #2
	lsl	w10, w10, #2
	sbfiz	x10, x10, #2, #32
	sbfiz	x9, x9, #2, #32
	stp	x9, x10, [sp, #8]               ; 16-byte Folded Spill
                                        ; implicit-def: $x0
                                        ; kill: killed $x0
	add	x25, x28, w8, sxtw #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x22, [sp, #56]                  ; 8-byte Folded Spill
	sub	w11, w11, #1
	str	w11, [sp, #52]                  ; 4-byte Folded Spill
	mov	x0, x25
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	mov	x2, x23
	mov	x3, x24
	mov	x4, x26
	bl	_HORIZ_6TAP_FILT
	mov	x19, x0
	mov	x1, x27
	bl	___msa_ilvev_b
	mov	x20, x0
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_FILT_4TAP_DPADD_S_H
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	x2, x23
	mov	x3, x24
	mov	x4, x26
	bl	_HORIZ_6TAP_FILT
	mov	x27, x23
	mov	x23, x0
	mov	x1, x19
	bl	___msa_ilvev_b
	mov	x1, x0
	bl	_FILT_4TAP_DPADD_S_H
	mov	x22, x0
	mov	x2, x27
	mov	x3, x24
	mov	x4, x26
	bl	_HORIZ_6TAP_FILT
	mov	x28, x26
	mov	x26, x24
	mov	x24, x0
	mov	x1, x23
	bl	___msa_ilvev_b
	mov	x1, x0
	mov	x0, x20
	str	x1, [sp, #40]                   ; 8-byte Folded Spill
	bl	_FILT_4TAP_DPADD_S_H
	mov	x21, x0
	mov	x2, x27
	mov	x3, x26
	mov	x4, x28
	bl	_HORIZ_6TAP_FILT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	mov	x23, x27
	mov	x27, x2
	mov	x2, x24
	mov	x24, x26
	mov	x26, x28
	mov	x3, x27
	mov	x4, x20
	bl	_ILVEV_B2_SH
	mov	x0, x20
	bl	_FILT_4TAP_DPADD_S_H
	mov	x19, x0
	ldr	x20, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	mov	w4, #7
	bl	_SRARI_H4_SH
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	mov	w4, #7
	bl	_SAT_SH4_SH
	mov	x0, x20
	mov	x1, x22
	ldr	x22, [sp, #56]                  ; 8-byte Folded Reload
	bl	_PCKEV_XORI128_UB
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_PCKEV_XORI128_UB
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x22
	ldr	w7, [sp, #24]                   ; 4-byte Folded Reload
	bl	_ST_D4
	ldr	w11, [sp, #52]                  ; 4-byte Folded Reload
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x22, x22, x8
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x25, x25, x8
	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
