	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_vp8_epel8_h6_msa        ## -- Begin function ff_put_vp8_epel8_h6_msa
	.p2align	4, 0x90
_ff_put_vp8_epel8_h6_msa:               ## @ff_put_vp8_epel8_h6_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
	movl	%r8d, %r13d
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_subpel_filters_msa@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r9d, %rcx
	movq	-8(%rax,%rcx,8), %r14
	movq	_mc_filt_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_UB
	movq	%rax, %rbx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	-8(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	callq	_SPLATI_H3_SB
	leaq	2(%rbx), %r15
	leaq	4(%rbx), %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, (%rsp)
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_HORIZ_6TAP_8WID_4VECS_FILT
	movl	$7, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	callq	_PCKEV_XORI128_UB
	movq	%rax, %r14
	callq	_PCKEV_XORI128_UB
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 8(%rsp)
	movq	%r12, (%rsp)
	movq	%r14, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	sarl	$2, %r13d
	decl	%r13d
	je	LBB0_3
## %bb.1:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	movslq	%eax, %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	leaq	(%r12,%rax,4), %r12
	shlq	$2, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %r14
	addq	$-8, %r14
	shlq	$2, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB4
	callq	_XORI_B4_128_SB
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_HORIZ_6TAP_8WID_4VECS_FILT
	movl	$7, %r8d
	callq	_SRARI_H4_SH
	movl	$7, %r8d
	callq	_SAT_SH4_SH
	callq	_PCKEV_XORI128_UB
	movl	%r13d, %ebx
	movq	%r15, %r13
	movq	%rax, %r15
	callq	_PCKEV_XORI128_UB
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 8(%rsp)
	movq	%r12, (%rsp)
	movq	%r15, %rdi
	movq	%r13, %r15
	movl	%ebx, %r13d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	addq	-80(%rbp), %r12                 ## 8-byte Folded Reload
	addq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	decl	%r13d
	jne	LBB0_2
LBB0_3:
	addq	$120, %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_h6_msa        ; -- Begin function ff_put_vp8_epel8_h6_msa
	.p2align	2
_ff_put_vp8_epel8_h6_msa:               ; @ff_put_vp8_epel8_h6_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
	str	w4, [sp, #24]                   ; 4-byte Folded Spill
	mov	x19, x3
	mov	x24, x2
	mov	x28, x1
	mov	x25, 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	x22, [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_UB
	mov	x21, x0
	sub	x27, x24, #8
	mov	x0, x22
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	bl	_SPLATI_H3_SB
	add	x26, x21, #2
	add	x20, x21, #4
	mov	x0, x27
	str	w19, [sp, #28]                  ; 4-byte Folded Spill
	mov	x1, x19
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	mov	x22, x21
	mov	x4, x21
	mov	x23, x26
	mov	x5, x26
	mov	x6, x20
	bl	_HORIZ_6TAP_8WID_4VECS_FILT
	mov	w4, #7
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	mov	x27, x0
	bl	_PCKEV_XORI128_UB
	mov	x1, x0
	mov	x0, x27
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x25
	mov	x21, x28
	mov	x7, x28
	bl	_ST_D4
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	asr	w8, w8, #2
	subs	w27, w8, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	lsl	w8, w8, #2
	sxtw	x8, w8
	lsl	w9, w21, #2
	sxtw	x9, w9
	lsl	x28, x9, #2
	add	x25, x25, x28
	lsl	x19, x8, #2
	add	x8, x19, x24
	sub	x24, x8, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_LD_SB4
	bl	_XORI_B4_128_SB
	mov	x4, x22
	mov	x5, x23
	mov	x6, x20
	bl	_HORIZ_6TAP_8WID_4VECS_FILT
	mov	w4, #7
	bl	_SRARI_H4_SH
	mov	w4, #7
	bl	_SAT_SH4_SH
	bl	_PCKEV_XORI128_UB
	mov	x26, x0
	bl	_PCKEV_XORI128_UB
	mov	x1, x0
	mov	x0, x26
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x25
	mov	x7, x21
	bl	_ST_D4
	add	x25, x25, x28
	add	x24, x24, x19
	subs	w27, w27, #1
	b.ne	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	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
