	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_bilin_32h_msa           ## -- Begin function ff_put_bilin_32h_msa
	.p2align	4, 0x90
_ff_put_bilin_32h_msa:                  ## @ff_put_bilin_32h_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, %r12d
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_vp9_bilinear_filters_msa@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r9d, %rcx
	movq	-8(%rax,%rcx,8), %rbx
	movq	_mc_filt_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_LD_UH
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	___msa_splati_h
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r12d
	jb	LBB0_3
## %bb.1:
	sarl	%r12d
	movslq	%r14d, %rax
	movslq	%r15d, %rcx
	leaq	-96(,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-64(,%rcx,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	callq	_LD_SB
	movl	%eax, %r15d
	leaq	64(%r13), %rdi
	callq	_LD_SB
	movl	%eax, %ebx
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	96(%r13), %rdi
	callq	_LD_SB
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	$8, %edx
	callq	___msa_sldi_b
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%r13), %rdi
	addq	$96, %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	callq	_LD_SB
	movl	%eax, %r14d
	leaq	(%rbx,%r13), %rdi
	addq	$160, %rdi
	callq	_LD_SB
	movl	%eax, %r12d
	leaq	(%rbx,%r13), %rdi
	addq	$192, %rdi
	callq	_LD_SB
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	$8, %edx
	callq	___msa_sldi_b
	movl	%eax, %r13d
	movl	%r15d, %edi
	movl	%r15d, %esi
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %edx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_VSHF_B2_UB
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %esi
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %edx
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_VSHF_B2_UB
	movl	%r14d, %edi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_VSHF_B2_UB
	movl	%r12d, %edi
	movl	%r12d, %esi
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %edx
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_VSHF_B2_UB
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 8(%rsp)
	movq	%rbx, (%rsp)
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_DOTP_UB4_UH
	movq	%rbx, 8(%rsp)
	movq	%rbx, (%rsp)
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_DOTP_UB4_UH
	movl	$7, %r8d
	callq	_SRARI_H4_UH
	movl	$7, %r8d
	callq	_SRARI_H4_UH
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_PCKEV_ST_SB
	leaq	64(%rbx), %rdx
	callq	_PCKEV_ST_SB
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	leaq	(%rbx,%r15), %r14
	addq	$64, %r14
	movq	%r14, %rdx
	callq	_PCKEV_ST_SB
	leaq	(%rbx,%r15), %rdx
	addq	$128, %rdx
	callq	_PCKEV_ST_SB
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %r13
	addq	$96, %r13
	leaq	(%r15,%r14), %rax
	addq	$64, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	decl	%r12d
	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	_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_put_bilin_32h_msa           ; -- Begin function ff_put_bilin_32h_msa
	.p2align	2
_ff_put_bilin_32h_msa:                  ; @ff_put_bilin_32h_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x24, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, 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	x21, [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	x19, x0
	mov	x0, x21
	bl	_LD_UH
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #0
	bl	___msa_splati_h
	cmp	w25, #2
	b.lo	LBB0_3
; %bb.1:
	mov	x21, x0
	asr	w9, w25, #1
	sbfiz	x8, x24, #2, #32
	sub	x8, x8, #96
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	sbfiz	x8, x23, #2, #32
	sub	x8, x8, #64
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x20, [sp, #48]                  ; 8-byte Folded Spill
	sub	w9, w9, #1
	str	w9, [sp, #68]                   ; 4-byte Folded Spill
	mov	x0, x22
	bl	_LD_SB
	mov	x23, x0
	add	x0, x22, #64
	bl	_LD_SB
	mov	x24, x0
	add	x22, x22, #96
	mov	x0, x22
	bl	_LD_SB
	mov	x25, x0
	mov	x0, x24
	mov	x1, x23
	mov	w2, #8
	bl	___msa_sldi_b
	mov	x26, x0
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x22, x22, x8
	mov	x0, x22
	bl	_LD_SB
	mov	x27, x0
	add	x0, x22, #64
	bl	_LD_SB
	mov	x28, x0
	add	x0, x22, #96
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	bl	_LD_SB
	mov	x22, x0
	mov	x0, x28
	mov	x1, x27
	mov	w2, #8
	bl	___msa_sldi_b
	mov	x20, x0
	mov	x0, x23
	mov	x1, x23
	mov	x2, x26
	mov	x3, x26
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_UB
	mov	x0, x24
	mov	x1, x24
	mov	x2, x25
	mov	x3, x25
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_UB
	mov	x0, x27
	mov	x1, x27
	mov	x2, x20
	mov	x3, x20
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_UB
	mov	x0, x28
	mov	x1, x28
	mov	x2, x22
	mov	x3, x22
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_UB
	mov	x4, x21
	mov	x5, x21
	mov	x6, x21
	mov	x7, x21
	bl	_DOTP_UB4_UH
	mov	x4, x21
	mov	x5, x21
	mov	x6, x21
	mov	x7, x21
	bl	_DOTP_UB4_UH
	mov	w4, #7
	bl	_SRARI_H4_UH
	mov	w4, #7
	bl	_SRARI_H4_UH
	ldr	x20, [sp, #48]                  ; 8-byte Folded Reload
	mov	x2, x20
	bl	_PCKEV_ST_SB
	add	x20, x20, #64
	mov	x2, x20
	bl	_PCKEV_ST_SB
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	add	x20, x20, x23
	mov	x2, x20
	bl	_PCKEV_ST_SB
	add	x20, x20, #64
	mov	x2, x20
	bl	_PCKEV_ST_SB
	ldr	w9, [sp, #68]                   ; 4-byte Folded Reload
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	add	x22, x10, x8
	add	x20, x20, x23
	cbnz	w9, LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	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
