	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_intra_pred_horiz_16x16_msa
_hevc_intra_pred_horiz_16x16_msa:       ## @hevc_intra_pred_horiz_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -80(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %edi
	callq	___msa_fill_h
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leal	(,%rbx,4), %eax
	cltq
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movl	4(%r14), %ebx
	movl	8(%r14), %r15d
	movl	12(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	___msa_fill_b
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_b
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	___msa_fill_b
	movl	%eax, %ebx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	___msa_fill_b
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movq	%r13, %r8
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %r9d
	callq	_ST_SB4
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	leaq	(,%r12,4), %rax
	addq	%r13, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %edi
	movl	20(%r14), %ebx
	movl	24(%r14), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	28(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	___msa_fill_b
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_b
	movl	%eax, %r13d
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	___msa_fill_b
	movl	%eax, %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	___msa_fill_b
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	movl	%r15d, %r9d
	callq	_ST_SB4
	leaq	(%rbx,%r12,4), %r15
	movl	32(%r14), %edi
	movl	36(%r14), %ebx
	movl	40(%r14), %r12d
	movl	44(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	___msa_fill_b
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_b
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	___msa_fill_b
	movl	%eax, %ebx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	___msa_fill_b
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movq	%r15, %r8
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %r9d
	callq	_ST_SB4
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	48(%r14), %edi
	movl	52(%r14), %ebx
	movl	56(%r14), %r12d
	movl	60(%r14), %r14d
	callq	___msa_fill_b
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_b
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	___msa_fill_b
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	___msa_fill_b
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	%r13d, %r9d
	callq	_ST_SB4
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_LD_SB
	movl	%eax, %r14d
	movl	-4(%rbx), %edi
	callq	___msa_fill_h
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_UNPCK_UB_SH
	movl	%ebx, %esi
	movl	%ebx, %ecx
	callq	_SUB2
	xorl	%edi, %edi
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ADD2
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_CLIP_SH2_0_255
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	___msa_pckev_b
	movl	%eax, %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_SB                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_intra_pred_horiz_16x16_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_intra_pred_horiz_16x16_msa
_hevc_intra_pred_horiz_16x16_msa:       ; @hevc_intra_pred_horiz_16x16_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x24, x1
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	w0, [x1]
	bl	___msa_fill_h
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	lsl	w20, w23, #2
	ldp	w0, w25, [x24]
	ldp	w26, w27, [x24, #8]
	bl	___msa_fill_b
	mov	x28, x0
	mov	x0, x25
	bl	___msa_fill_b
	mov	x25, x0
	mov	x0, x26
	bl	___msa_fill_b
	mov	x26, x0
	mov	x0, x27
	bl	___msa_fill_b
	mov	x3, x0
	mov	x0, x28
	mov	x1, x25
	mov	x2, x26
	mov	x4, x19
	mov	x5, x23
	bl	_ST_SB4
	sbfiz	x21, x20, #2, #32
	add	x25, x19, x21
	ldp	w0, w26, [x24, #16]
	ldp	w27, w28, [x24, #24]
	bl	___msa_fill_b
	mov	x20, x0
	mov	x0, x26
	bl	___msa_fill_b
	mov	x26, x0
	mov	x0, x27
	bl	___msa_fill_b
	mov	x27, x0
	mov	x0, x28
	bl	___msa_fill_b
	mov	x3, x0
	mov	x0, x20
	mov	x1, x26
	mov	x2, x27
	mov	x4, x25
	mov	x5, x23
	bl	_ST_SB4
	add	x20, x25, x21
	ldp	w0, w25, [x24, #32]
	ldp	w26, w27, [x24, #40]
	bl	___msa_fill_b
	mov	x28, x0
	mov	x0, x25
	bl	___msa_fill_b
	mov	x25, x0
	mov	x0, x26
	bl	___msa_fill_b
	mov	x26, x0
	mov	x0, x27
	bl	___msa_fill_b
	mov	x3, x0
	mov	x0, x28
	mov	x1, x25
	mov	x2, x26
	mov	x4, x20
	mov	x5, x23
	bl	_ST_SB4
	add	x20, x20, x21
	ldp	w0, w25, [x24, #48]
	ldp	w26, w24, [x24, #56]
	bl	___msa_fill_b
	mov	x27, x0
	mov	x0, x25
	bl	___msa_fill_b
	mov	x25, x0
	mov	x0, x26
	bl	___msa_fill_b
	mov	x26, x0
	mov	x0, x24
	bl	___msa_fill_b
	mov	x3, x0
	mov	x0, x27
	mov	x1, x25
	mov	x2, x26
	mov	x4, x20
	mov	x5, x23
	bl	_ST_SB4
	cbz	w22, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	ldr	x21, [sp]                       ; 8-byte Folded Reload
	mov	x0, x21
	bl	_LD_SB
	mov	x20, x0
	ldur	w0, [x21, #-4]
	bl	___msa_fill_h
	mov	x21, x0
	mov	x0, x20
	bl	_UNPCK_UB_SH
	mov	x1, x21
	mov	x3, x21
	bl	_SUB2
	mov	w0, #0
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	w2, #0
	mov	x3, x1
	mov	w4, #0
	mov	w5, #0
	bl	_ADD2
	mov	w0, #0
	mov	w1, #0
	bl	_CLIP_SH2_0_255
	mov	w0, #0
	mov	w1, #0
	bl	___msa_pckev_b
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ST_SB
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_intra_pred_horiz_16x16_msa
.subsections_via_symbols
