	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tm_16x16_msa                ## -- Begin function ff_tm_16x16_msa
	.p2align	4, 0x90
_ff_tm_16x16_msa:                       ## @ff_tm_16x16_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	-4(%rcx), %r12d
	movq	%rcx, %rdi
	callq	_LD_SB
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	___msa_fill_h
	movq	%rax, %r12
	movslq	%r14d, %rax
	shlq	$2, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$48, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %rdi
	callq	_LW
	movl	%eax, %r15d
	movl	%eax, %edi
	sarl	$24, %edi
	callq	___msa_fill_b
	movl	%eax, %r14d
	movl	%r15d, %edi
	sarl	$16, %edi
	callq	___msa_fill_b
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	sarl	$8, %edi
	callq	___msa_fill_b
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	___msa_fill_b
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r14d, %edi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_ILVRL_B2_UH
	callq	_HADD_UB2_UH
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_IPRED_SUBS_UH2_UH
	movl	$7, %edx
	callq	_SAT_UH2_UH
	movq	%rbx, %rdx
	callq	_PCKEV_ST_SB
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_ILVRL_B2_UH
	callq	_HADD_UB2_UH
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_IPRED_SUBS_UH2_UH
	movl	$7, %edx
	callq	_SAT_UH2_UH
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	addq	%r15, %rbx
	movq	%rbx, %rdx
	callq	_PCKEV_ST_SB
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_ILVRL_B2_UH
	callq	_HADD_UB2_UH
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_IPRED_SUBS_UH2_UH
	movl	$7, %edx
	callq	_SAT_UH2_UH
	addq	%r15, %rbx
	movq	%rbx, %rdx
	callq	_PCKEV_ST_SB
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_ILVRL_B2_UH
	callq	_HADD_UB2_UH
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_IPRED_SUBS_UH2_UH
	movl	$7, %edx
	callq	_SAT_UH2_UH
	addq	%r15, %rbx
	movq	%rbx, %rdx
	callq	_PCKEV_ST_SB
	addq	$-16, %r13
	addq	%r15, %rbx
	cmpl	$-16, %r13d
	jne	LBB0_1
## %bb.2:
	addq	$40, %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_tm_16x16_msa                ; -- Begin function ff_tm_16x16_msa
	.p2align	2
_ff_tm_16x16_msa:                       ; @ff_tm_16x16_msa
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x23, x1
	mov	x22, x0
	ldur	w21, [x3, #-4]
	mov	x0, x3
	bl	_LD_SB
	mov	x20, x0
	mov	x0, x21
	bl	___msa_fill_h
	mov	x21, x0
	sbfiz	x27, x23, #2, #32
	mov	w28, #48
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, x28
	bl	_LW
	mov	x23, x0
	asr	w0, w0, #24
	bl	___msa_fill_b
	mov	x24, x0
	asr	w0, w23, #16
	bl	___msa_fill_b
	mov	x25, x0
	asr	w0, w23, #8
	bl	___msa_fill_b
	mov	x26, x0
	mov	x0, x23
	bl	___msa_fill_b
	mov	x23, x0
	mov	x0, x24
	mov	x1, x20
	bl	_ILVRL_B2_UH
	bl	_HADD_UB2_UH
	mov	x0, x21
	mov	x1, x21
	bl	_IPRED_SUBS_UH2_UH
	mov	w2, #7
	bl	_SAT_UH2_UH
	mov	x2, x22
	bl	_PCKEV_ST_SB
	mov	x0, x25
	mov	x1, x20
	bl	_ILVRL_B2_UH
	bl	_HADD_UB2_UH
	mov	x0, x21
	mov	x1, x21
	bl	_IPRED_SUBS_UH2_UH
	mov	w2, #7
	bl	_SAT_UH2_UH
	add	x22, x22, x27
	mov	x2, x22
	bl	_PCKEV_ST_SB
	mov	x0, x26
	mov	x1, x20
	bl	_ILVRL_B2_UH
	bl	_HADD_UB2_UH
	mov	x0, x21
	mov	x1, x21
	bl	_IPRED_SUBS_UH2_UH
	mov	w2, #7
	bl	_SAT_UH2_UH
	add	x22, x22, x27
	mov	x2, x22
	bl	_PCKEV_ST_SB
	mov	x0, x23
	mov	x1, x20
	bl	_ILVRL_B2_UH
	bl	_HADD_UB2_UH
	mov	x0, x21
	mov	x1, x21
	bl	_IPRED_SUBS_UH2_UH
	mov	w2, #7
	bl	_SAT_UH2_UH
	add	x22, x22, x27
	mov	x2, x22
	bl	_PCKEV_ST_SB
	sub	x28, x28, #16
	add	x22, x22, x27
	cmn	w28, #16
	b.ne	LBB0_1
; %bb.2:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
