	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_avg_bilin_64h_msa           ## -- Begin function ff_avg_bilin_64h_msa
	.p2align	4, 0x90
_ff_avg_bilin_64h_msa:                  ## @ff_avg_bilin_64h_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, %ebx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	_vp9_bilinear_filters_msa@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r9d, %rcx
	movq	-8(%rax,%rcx,8), %r13
	movq	_mc_filt_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_LD_UH
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	___msa_splati_h
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	movslq	-56(%rbp), %rcx                 ## 4-byte Folded Reload
	shlq	$2, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$16, %esi
	callq	_LD_SB4
	leaq	224(%r14), %rdi
	callq	_LD_SB
	movq	%r14, %rbx
	movl	%eax, %r14d
	movl	$8, (%rsp)
	callq	_SLDI_B3_SB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_VSHF_B2_UB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_VSHF_B2_UB
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_VSHF_B2_UB
	movl	%r14d, %edx
	movl	%r14d, %ecx
	movq	%rbx, %r14
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_VSHF_B2_UB
	movq	%r13, 8(%rsp)
	movq	%r13, (%rsp)
	movq	%r13, %r8
	movq	%r13, %r9
	callq	_DOTP_UB4_UH
	movq	%r13, 8(%rsp)
	movq	%r13, (%rsp)
	movq	%r13, %r8
	movq	%r13, %r9
	callq	_DOTP_UB4_UH
	movl	$7, %r8d
	callq	_SRARI_H4_UH
	movl	$7, %r8d
	callq	_SRARI_H4_UH
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_LD_UB4
	movq	%r15, %rcx
	callq	_PCKEV_AVG_ST_UB
	leaq	64(%r15), %rcx
	callq	_PCKEV_AVG_ST_UB
	leaq	128(%r15), %rcx
	callq	_PCKEV_AVG_ST_UB
	leaq	192(%r15), %rcx
	callq	_PCKEV_AVG_ST_UB
	addq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	addq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	decl	%ebx
	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	_vp9_bilinear_filters_msa,8,3   ## @vp9_bilinear_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_avg_bilin_64h_msa           ; -- Begin function ff_avg_bilin_64h_msa
	.p2align	2
_ff_avg_bilin_64h_msa:                  ; @ff_avg_bilin_64h_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x4
	mov	x24, x3
	mov	x20, x2
	mov	x25, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _vp9_bilinear_filters_msa@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vp9_bilinear_filters_msa@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	w9, w5, #1
	ldr	x23, [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	x22, x0
	mov	x0, x23
	bl	_LD_UH
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #0
	bl	___msa_splati_h
	cbz	w19, LBB0_3
; %bb.1:
	mov	x23, x0
	sbfiz	x25, x25, #2, #32
	sbfiz	x26, x24, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w19, w19, #1
	mov	x0, x20
	mov	w1, #16
	bl	_LD_SB4
	add	x0, x20, #224
	bl	_LD_SB
	mov	x24, x0
	mov	w6, #8
	bl	_SLDI_B3_SB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_UB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_UB
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_UB
	mov	x2, x24
	mov	x3, x24
	mov	x4, x22
	mov	x5, x22
	bl	_VSHF_B2_UB
	mov	x4, x23
	mov	x5, x23
	mov	x6, x23
	mov	x7, x23
	bl	_DOTP_UB4_UH
	mov	x4, x23
	mov	x5, x23
	mov	x6, x23
	mov	x7, x23
	bl	_DOTP_UB4_UH
	mov	w4, #7
	bl	_SRARI_H4_UH
	mov	w4, #7
	bl	_SRARI_H4_UH
	mov	x0, x21
	mov	w1, #16
	bl	_LD_UB4
	mov	x3, x21
	bl	_PCKEV_AVG_ST_UB
	add	x3, x21, #64
	bl	_PCKEV_AVG_ST_UB
	add	x3, x21, #128
	bl	_PCKEV_AVG_ST_UB
	add	x3, x21, #192
	bl	_PCKEV_AVG_ST_UB
	add	x21, x21, x25
	add	x20, x20, x26
	cbnz	w19, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vp9_bilinear_filters_msa,8,3   ; @vp9_bilinear_filters_msa
	.comm	_mc_filt_mask_arr,8,3           ; @mc_filt_mask_arr
.subsections_via_symbols
