	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_addblk_16x16_msa
_hevc_addblk_16x16_msa:                 ## @hevc_addblk_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_LD_UB4
	leal	(,%r14,4), %eax
	movslq	%eax, %r12
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_LD_SH4
	leaq	32(%rbx), %rdi
	movl	$16, %esi
	callq	_LD_SH4
	shlq	$2, %r12
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	addq	$256, %rbx                      ## imm = 0x100
	movl	$-3, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r12
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r15
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_LD_UB4
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_LD_SH4
	leaq	32(%rbx), %rdi
	movl	$16, %esi
	callq	_LD_SH4
	callq	_CLIP_SH8_0_255
	callq	_PCKEV_B4_UB
	movq	%r12, %r8
	movl	%r14d, %r9d
	callq	_ST_UB4
	addq	$256, %rbx                      ## imm = 0x100
	incl	%r13d
	jne	LBB0_1
## %bb.2:
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	callq	_UNPCK_UB_SH
	callq	_CLIP_SH8_0_255
	callq	_PCKEV_B4_UB
	movq	%r15, %r8
	movl	%r14d, %r9d
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_UB4                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_addblk_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_addblk_16x16_msa
_hevc_addblk_16x16_msa:                 ; @hevc_addblk_16x16_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	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x2
	bl	_LD_UB4
	lsl	w21, w19, #2
	mov	x0, x20
	mov	w1, #16
	bl	_LD_SH4
	add	x0, x20, #32
	mov	w1, #16
	bl	_LD_SH4
	mov	x24, #0
	sbfiz	x25, x21, #2, #32
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x22, x25
	add	x26, x20, x24
	add	x23, x26, #256
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	mov	x0, x21
	mov	x1, x19
	bl	_LD_UB4
	mov	x0, x23
	mov	w1, #16
	bl	_LD_SH4
	add	x0, x26, #288
	mov	w1, #16
	bl	_LD_SH4
	bl	_CLIP_SH8_0_255
	bl	_PCKEV_B4_UB
	mov	x4, x22
	mov	x5, x19
	bl	_ST_UB4
	add	x24, x24, #256
	mov	x22, x21
	cmp	w24, #768
	b.ne	LBB0_1
; %bb.2:
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	bl	_UNPCK_UB_SH
	bl	_CLIP_SH8_0_255
	bl	_PCKEV_B4_UB
	mov	x4, x21
	mov	x5, 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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ST_UB4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hevc_addblk_16x16_msa
.subsections_via_symbols
