	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_h264_qpel4_mc01_msa     ## -- Begin function ff_put_h264_qpel4_mc01_msa
	.p2align	4, 0x90
_ff_put_h264_qpel4_mc01_msa:            ## @ff_put_h264_qpel4_mc01_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	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$64257, %edi                    ## imm = 0xFB01
	callq	___msa_fill_h
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$5140, %edi                     ## imm = 0x1414
	callq	___msa_fill_h
	movq	%rax, %r12
	movl	$507, %edi                      ## imm = 0x1FB
	callq	___msa_fill_h
	movq	%rax, %r13
	leal	(%r15,%r15), %eax
	cltq
	shlq	$2, %rax
	subq	%rax, %r14
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_LD_SB5
	leal	(%r15,%r15,4), %eax
	cltq
	leaq	(%r14,%rax,4), %rbx
	callq	_ILVR_B4_SB
	callq	_ILVR_D2_SB
	callq	_XORI_B2_128_SB
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_LD_SB4
	callq	_ILVR_B4_SB
	callq	_ILVR_D2_SB
	callq	_XORI_B2_128_SB
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_AVC_DOT_SH3_SH
	movl	%eax, %r14d
	movq	%rbx, %rcx
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_AVC_DOT_SH3_SH
	movl	%eax, %ebx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$5, %edx
	callq	_SRARI_H2_SH
	movl	%r14d, %edi
	movl	%ebx, %esi
	movl	$7, %edx
	callq	_SAT_SH2_SH
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_PCKEV_XORI128_UB
	movl	%eax, %r14d
	movl	$1, %esi
	callq	___msa_insve_w
	movq	%rax, %rbx
	movl	$1, %esi
	callq	___msa_insve_w
	movl	%ebx, %edi
	movl	$1, %esi
	movl	%eax, %edx
	callq	___msa_insve_d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	___msa_aver_u_b
	movl	%r15d, (%rsp)
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_ST_W4
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_put_h264_qpel4_mc01_msa     ; -- Begin function ff_put_h264_qpel4_mc01_msa
	.p2align	2
_ff_put_h264_qpel4_mc01_msa:            ; @ff_put_h264_qpel4_mc01_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	w0, #64257
	bl	___msa_fill_h
	mov	x22, x0
	mov	w0, #5140
	bl	___msa_fill_h
	mov	x23, x0
	mov	w0, #507
	bl	___msa_fill_h
	mov	x24, x0
	lsl	w8, w19, #1
	sub	x21, x21, w8, sxtw #2
	mov	x0, x21
	mov	x1, x19
	bl	_LD_SB5
	add	w8, w19, w19, lsl #2
	add	x21, x21, w8, sxtw #2
	bl	_ILVR_B4_SB
	bl	_ILVR_D2_SB
	bl	_XORI_B2_128_SB
	mov	x0, x21
	mov	x1, x19
	bl	_LD_SB4
	bl	_ILVR_B4_SB
	bl	_ILVR_D2_SB
	bl	_XORI_B2_128_SB
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_AVC_DOT_SH3_SH
	mov	x21, x0
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_AVC_DOT_SH3_SH
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	mov	w2, #5
	bl	_SRARI_H2_SH
	mov	x0, x21
	mov	x1, x22
	mov	w2, #7
	bl	_SAT_SH2_SH
	mov	x0, x21
	mov	x1, x22
	bl	_PCKEV_XORI128_UB
	mov	x21, x0
	mov	w1, #1
	bl	___msa_insve_w
	mov	x22, x0
	mov	w1, #1
	bl	___msa_insve_w
	mov	x2, x0
	mov	x0, x22
	mov	w1, #1
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	___msa_insve_d
	mov	x1, x0
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	___msa_aver_u_b
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x5, x20
	mov	x6, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ST_W4
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
