	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_weight_h264_pixels16_8_msa  ## -- Begin function ff_weight_h264_pixels16_8_msa
	.p2align	4, 0x90
_ff_weight_h264_pixels16_8_msa:         ## @ff_weight_h264_pixels16_8_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movl	%ecx, %r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	shll	%cl, %ebx
	movl	%r8d, %edi
	callq	___msa_fill_h
	movl	%eax, %r14d
	movl	%ebx, %edi
	movq	%r12, %rbx
	callq	___msa_fill_h
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	___msa_fill_h
	movl	%eax, %r15d
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LD_UB8
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ILVR_B4_SH
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ILVL_B4_SH
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ILVR_B4_SH
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ILVL_B4_SH
	movl	%r14d, (%rsp)
	movl	%r14d, %edi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_MUL4
	movl	%r14d, (%rsp)
	movl	%r14d, %edi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_MUL4
	movl	%r14d, (%rsp)
	movl	%r14d, %edi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_MUL4
	movl	%r14d, (%rsp)
	movl	%r14d, %edi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_MUL4
	movl	%r12d, 8(%rsp)
	movl	%r12d, %esi
	movl	%r12d, %ecx
	movl	%r12d, %r9d
	callq	_ADDS_SH4_SH
	movl	%r12d, 8(%rsp)
	movl	%r12d, %esi
	movl	%r12d, %ecx
	movl	%r12d, %r9d
	callq	_ADDS_SH4_SH
	movl	%r12d, 8(%rsp)
	movl	%r12d, %esi
	movl	%r12d, %ecx
	movl	%r12d, %r9d
	callq	_ADDS_SH4_SH
	movl	%r12d, 8(%rsp)
	movl	%r12d, %esi
	movl	%r12d, %ecx
	movl	%r12d, %r9d
	callq	_ADDS_SH4_SH
	movl	$0, 16(%rsp)
	callq	_MAXI_SH8_SH
	movl	$0, 16(%rsp)
	callq	_MAXI_SH8_SH
	movl	%r15d, 16(%rsp)
	callq	_SRLR_H8_SH
	movl	%r15d, 16(%rsp)
	callq	_SRLR_H8_SH
	movl	$7, 16(%rsp)
	callq	_SAT_UH8_SH
	movl	$7, 16(%rsp)
	callq	_SAT_UH8_SH
	callq	_PCKEV_B4_UB
	callq	_PCKEV_B4_UB
	movl	%ebx, 24(%rsp)
	movq	%r13, 16(%rsp)
	callq	_ST_UB8
	cmpl	$16, -44(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_2
## %bb.1:
	leal	(,%rbx,8), %eax
	cltq
	leaq	(%r13,%rax,4), %r13
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_LD_UB8
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ILVR_B4_SH
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ILVL_B4_SH
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ILVR_B4_SH
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_ILVL_B4_SH
	movl	%r14d, (%rsp)
	movl	%r14d, %edi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_MUL4
	movl	%r14d, (%rsp)
	movl	%r14d, %edi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_MUL4
	movl	%r14d, (%rsp)
	movl	%r14d, %edi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_MUL4
	movl	%r14d, (%rsp)
	movl	%r14d, %edi
	movl	%r14d, %edx
	movl	%r14d, %r8d
	callq	_MUL4
	movl	%r12d, 8(%rsp)
	movl	%r12d, %esi
	movl	%r12d, %ecx
	movl	%r12d, %r9d
	callq	_ADDS_SH4_SH
	movl	%r12d, 8(%rsp)
	movl	%r12d, %esi
	movl	%r12d, %ecx
	movl	%r12d, %r9d
	callq	_ADDS_SH4_SH
	movl	%r12d, 8(%rsp)
	movl	%r12d, %esi
	movl	%r12d, %ecx
	movl	%r12d, %r9d
	callq	_ADDS_SH4_SH
	movl	%r12d, 8(%rsp)
	movl	%r12d, %esi
	movl	%r12d, %ecx
	movl	%r12d, %r9d
	callq	_ADDS_SH4_SH
	movl	$0, 16(%rsp)
	callq	_MAXI_SH8_SH
	movl	$0, 16(%rsp)
	callq	_MAXI_SH8_SH
	movl	%r15d, 16(%rsp)
	callq	_SRLR_H8_SH
	movl	%r15d, 16(%rsp)
	callq	_SRLR_H8_SH
	movl	$7, 16(%rsp)
	callq	_SAT_UH8_SH
	movl	$7, 16(%rsp)
	callq	_SAT_UH8_SH
	callq	_PCKEV_B4_UB
	callq	_PCKEV_B4_UB
	movl	%ebx, 24(%rsp)
	movq	%r13, 16(%rsp)
	callq	_ST_UB8
LBB0_2:
	addq	$56, %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_weight_h264_pixels16_8_msa  ; -- Begin function ff_weight_h264_pixels16_8_msa
	.p2align	2
_ff_weight_h264_pixels16_8_msa:         ; @ff_weight_h264_pixels16_8_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x3
	mov	x24, x2
	mov	x19, x1
	mov	x23, x0
	lsl	w21, w5, w3
	mov	x0, x4
	bl	___msa_fill_h
	mov	x22, x0
	mov	x0, x21
	bl	___msa_fill_h
	mov	x21, x0
	mov	x0, x20
	bl	___msa_fill_h
	mov	x20, x0
	mov	x0, x23
	mov	x1, x19
	bl	_LD_UB8
	mov	x0, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_ILVR_B4_SH
	mov	x0, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_ILVL_B4_SH
	mov	x0, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_ILVR_B4_SH
	mov	x0, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_ILVL_B4_SH
	mov	x0, x22
	mov	x2, x22
	mov	x4, x22
	mov	x6, x22
	bl	_MUL4
	mov	x0, x22
	mov	x2, x22
	mov	x4, x22
	mov	x6, x22
	bl	_MUL4
	mov	x0, x22
	mov	x2, x22
	mov	x4, x22
	mov	x6, x22
	bl	_MUL4
	mov	x0, x22
	mov	x2, x22
	mov	x4, x22
	mov	x6, x22
	bl	_MUL4
	mov	x1, x21
	mov	x3, x21
	mov	x5, x21
	mov	x7, x21
	bl	_ADDS_SH4_SH
	mov	x1, x21
	mov	x3, x21
	mov	x5, x21
	mov	x7, x21
	bl	_ADDS_SH4_SH
	mov	x1, x21
	mov	x3, x21
	mov	x5, x21
	mov	x7, x21
	bl	_ADDS_SH4_SH
	mov	x1, x21
	mov	x3, x21
	mov	x5, x21
	mov	x7, x21
	bl	_ADDS_SH4_SH
	str	wzr, [sp]
	bl	_MAXI_SH8_SH
	str	wzr, [sp]
	bl	_MAXI_SH8_SH
	str	w20, [sp]
	bl	_SRLR_H8_SH
	str	w20, [sp]
	bl	_SRLR_H8_SH
	mov	w25, #7
	str	w25, [sp]
	bl	_SAT_UH8_SH
	str	w25, [sp]
	bl	_SAT_UH8_SH
	bl	_PCKEV_B4_UB
	bl	_PCKEV_B4_UB
	str	w19, [sp, #8]
	str	x23, [sp]
	bl	_ST_UB8
	cmp	w24, #16
	b.ne	LBB0_2
; %bb.1:
	lsl	w8, w19, #3
	add	x23, x23, w8, sxtw #2
	mov	x0, x23
	mov	x1, x19
	bl	_LD_UB8
	mov	x0, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_ILVR_B4_SH
	mov	x0, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_ILVL_B4_SH
	mov	x0, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_ILVR_B4_SH
	mov	x0, #0
	mov	x2, #0
	mov	x4, #0
	mov	x6, #0
	bl	_ILVL_B4_SH
	mov	x0, x22
	mov	x2, x22
	mov	x4, x22
	mov	x6, x22
	bl	_MUL4
	mov	x0, x22
	mov	x2, x22
	mov	x4, x22
	mov	x6, x22
	bl	_MUL4
	mov	x0, x22
	mov	x2, x22
	mov	x4, x22
	mov	x6, x22
	bl	_MUL4
	mov	x0, x22
	mov	x2, x22
	mov	x4, x22
	mov	x6, x22
	bl	_MUL4
	mov	x1, x21
	mov	x3, x21
	mov	x5, x21
	mov	x7, x21
	bl	_ADDS_SH4_SH
	mov	x1, x21
	mov	x3, x21
	mov	x5, x21
	mov	x7, x21
	bl	_ADDS_SH4_SH
	mov	x1, x21
	mov	x3, x21
	mov	x5, x21
	mov	x7, x21
	bl	_ADDS_SH4_SH
	mov	x1, x21
	mov	x3, x21
	mov	x5, x21
	mov	x7, x21
	bl	_ADDS_SH4_SH
	str	wzr, [sp]
	bl	_MAXI_SH8_SH
	str	wzr, [sp]
	bl	_MAXI_SH8_SH
	str	w20, [sp]
	bl	_SRLR_H8_SH
	str	w20, [sp]
	bl	_SRLR_H8_SH
	str	w25, [sp]
	bl	_SAT_UH8_SH
	str	w25, [sp]
	bl	_SAT_UH8_SH
	bl	_PCKEV_B4_UB
	bl	_PCKEV_B4_UB
	str	w19, [sp, #8]
	str	x23, [sp]
	bl	_ST_UB8
LBB0_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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
