	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_copy_6w_msa
_hevc_copy_6w_msa:                      ## @hevc_copy_6w_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
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	cmpl	$8, %r8d
	jb	LBB0_3
## %bb.1:
	movl	%r8d, %r14d
	movq	%rdx, %r12
	movq	%rdi, %rbx
	sarl	$3, %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,8), %eax
	movslq	%eax, %r13
	leal	(%rcx,%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	shll	$3, %ecx
	movslq	%ecx, %r15
	shlq	$2, %r13
	shlq	$2, %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_SB8
	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	_ILVR_B4_SH
	movl	$6, %r8d
	callq	_SLLI_4V
	movl	$6, %r8d
	callq	_SLLI_4V
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%rsp)
	movq	%r12, 16(%rsp)
	callq	_ST12x8_UB
	addq	%r13, %rbx
	addq	%r15, %r12
	decl	%r14d
	jne	LBB0_2
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hevc_copy_6w_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_copy_6w_msa
_hevc_copy_6w_msa:                      ; @hevc_copy_6w_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
	cmp	w4, #8
	b.lo	LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	asr	w22, w4, #3
	lsl	w8, w1, #3
	lsl	w23, w3, #1
	lsl	w9, w3, #3
	sbfiz	x24, x8, #2, #32
	sbfiz	x25, x9, #2, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	stp	xzr, xzr, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_LD_SB8
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_ILVR_B4_SH
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_ILVR_B4_SH
	mov	w4, #6
	bl	_SLLI_4V
	mov	w4, #6
	bl	_SLLI_4V
	str	w23, [sp, #8]
	str	x19, [sp]
	bl	_ST12x8_UB
	add	x21, x21, x24
	add	x19, x19, x25
	cbnz	w22, LBB0_2
LBB0_3:
	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
	.no_dead_strip	_hevc_copy_6w_msa
.subsections_via_symbols
