	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avc_wgt_8x16_msa
_avc_wgt_8x16_msa:                      ## @avc_wgt_8x16_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	$88, %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, %eax
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%r13d, %ecx
	shll	%cl, %r12d
	movl	%eax, %edi
	callq	___msa_fill_h
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	___msa_fill_h
	movl	%eax, %r12d
	movl	%r13d, %edi
	callq	___msa_fill_h
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	(,%r14,4), %eax
	leal	(,%r14,8), %ecx
	shlq	$2, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$-2, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_LD4
	xorl	%edx, %edx
	callq	_INSERT_D2_UB
	xorl	%edx, %edx
	callq	_INSERT_D2_UB
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax), %rdi
	movl	%r14d, %esi
	callq	_LD4
	xorl	%edx, %edx
	callq	_INSERT_D2_UB
	xorl	%edx, %edx
	callq	_INSERT_D2_UB
	xorl	%edi, %edi
	callq	_UNPCK_UB_SH
	xorl	%edi, %edi
	callq	_UNPCK_UB_SH
	xorl	%edi, %edi
	callq	_UNPCK_UB_SH
	xorl	%edi, %edi
	callq	_UNPCK_UB_SH
	movl	%r15d, (%rsp)
	movl	%r15d, %edi
	movl	%r15d, %edx
	movl	%r15d, %r8d
	callq	_MUL4
	movl	%r15d, (%rsp)
	movl	%r15d, %edi
	movl	%r15d, %edx
	movl	%r15d, %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	$0, 16(%rsp)
	callq	_MAXI_SH8_SH
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rsp)
	callq	_SRLR_H8_SH
	movl	$7, 16(%rsp)
	callq	_SAT_UH8_SH
	movl	$0, 40(%rsp)
	movl	$0, 32(%rsp)
	movl	$0, 24(%rsp)
	movl	$0, 16(%rsp)
	callq	_PCKEV_B4_UB
	movl	%r14d, 56(%rsp)
	movq	%rbx, 48(%rsp)
	movl	$1, 40(%rsp)
	movl	$0, 32(%rsp)
	movl	$1, 24(%rsp)
	movl	$0, 16(%rsp)
	movl	$1, 8(%rsp)
	movl	$0, (%rsp)
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D8
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	incl	%r13d
	jne	LBB0_1
## %bb.2:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_avc_wgt_8x16_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avc_wgt_8x16_msa
_avc_wgt_8x16_msa:                      ; @avc_wgt_8x16_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x2
	mov	x19, x1
	mov	x20, x0
	lsl	w22, w4, w2
	mov	x0, x3
	bl	___msa_fill_h
	mov	x21, x0
	mov	x0, x22
	bl	___msa_fill_h
	mov	x22, x0
	mov	x0, x23
	bl	___msa_fill_h
	mov	x23, x0
	lsl	w8, w19, #2
	lsl	w9, w19, #3
	lsl	x24, x9, #2
	lsl	x25, x8, #2
	mov	w26, #-2
	mov	w27, #7
	mov	x28, #4294967296
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_LD4
	mov	x2, #0
	bl	_INSERT_D2_UB
	mov	x2, #0
	bl	_INSERT_D2_UB
	add	x0, x20, x25
	mov	x1, x19
	bl	_LD4
	mov	x2, #0
	bl	_INSERT_D2_UB
	mov	x2, #0
	bl	_INSERT_D2_UB
	mov	x0, #0
	bl	_UNPCK_UB_SH
	mov	x0, #0
	bl	_UNPCK_UB_SH
	mov	x0, #0
	bl	_UNPCK_UB_SH
	mov	x0, #0
	bl	_UNPCK_UB_SH
	mov	x0, x21
	mov	x2, x21
	mov	x4, x21
	mov	x6, x21
	bl	_MUL4
	mov	x0, x21
	mov	x2, x21
	mov	x4, x21
	mov	x6, x21
	bl	_MUL4
	mov	x1, x22
	mov	x3, x22
	mov	x5, x22
	mov	x7, x22
	bl	_ADDS_SH4_SH
	mov	x1, x22
	mov	x3, x22
	mov	x5, x22
	mov	x7, x22
	bl	_ADDS_SH4_SH
	str	wzr, [sp]
	bl	_MAXI_SH8_SH
	str	w23, [sp]
	bl	_SRLR_H8_SH
	str	w27, [sp]
	bl	_SAT_UH8_SH
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	bl	_PCKEV_B4_UB
	str	w19, [sp, #24]
	stp	x28, x20, [sp, #8]
	str	x28, [sp]
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	w4, #0
	mov	w5, #1
	mov	w6, #0
	mov	w7, #1
	bl	_ST_D8
	add	x20, x20, x24
	adds	w26, w26, #1
	b.lo	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_avc_wgt_8x16_msa
.subsections_via_symbols
