	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_8t_12w_msa
_hevc_hz_8t_12w_msa:                    ## @hevc_hz_8t_12w_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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %rbx
	addq	$-12, %rbx
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %r12d
	shll	$6, %r12d
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_LD_SB
	leaq	2(%rax), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rcx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	addq	$6, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	(%r14), %rdi
	addq	$16, %rdi
	callq	_LD_SB
	leaq	2(%rax), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	addq	$6, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	leal	(,%r13,4), %eax
	movslq	%eax, %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	(,%rax,4), %eax
	cltq
	shlq	$2, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$-4, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	-152(%rbp), %r14                ## 8-byte Reload
	movl	%r14d, %esi
	callq	_LD_SB4
	leaq	32(%rbx), %rdi
	movl	%r14d, %esi
	callq	_LD_SB4
	callq	_XORI_B8_128_SB
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	movq	%r8, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, 40(%rsp)
	movl	%r12d, 32(%rsp)
	movl	%r12d, 24(%rsp)
	movl	%r12d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movq	%r8, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, 40(%rsp)
	movl	%r12d, 32(%rsp)
	movl	%r12d, 24(%rsp)
	movl	%r12d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	%r8, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, 40(%rsp)
	movl	%r12d, 32(%rsp)
	movl	%r12d, 24(%rsp)
	movl	%r12d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	%rbx, %r8
	movq	%rbx, %r9
	callq	_VSHF_B2_SB
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	%r8, %r9
	callq	_VSHF_B2_SB
	movl	%r12d, 40(%rsp)
	movl	%r12d, 32(%rsp)
	movl	%r12d, 24(%rsp)
	movl	%r12d, 16(%rsp)
	callq	_DPADD_SB4_SH
	movl	%r12d, %r8d
	movl	%r12d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	___msa_copy_s_d
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	movl	$1, %esi
	callq	___msa_copy_s_d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	___msa_copy_s_d
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	$1, %esi
	callq	___msa_copy_s_d
	movl	%eax, %r13d
	movl	%r12d, %edi
	movl	%r12d, %esi
	movl	%r12d, %edx
	movl	%r12d, %ecx
	movq	%r15, %r8
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %r9d
	callq	_ST_SH4
	leaq	32(%r15), %r8
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r9d
	callq	_SD4
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	incl	%eax
	jne	LBB0_1
## %bb.2:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,8,3           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_8t_12w_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_hz_8t_12w_msa
_hevc_hz_8t_12w_msa:                    ; @hevc_hz_8t_12w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x24, x1
	sub	x22, x0, #12
	mov	w0, #128
	bl	___msa_ldi_h
	lsl	w23, w0, #6
	mov	x0, x19
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
Lloh0:
	adrp	x19, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ff_hevc_mask_arr@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_LD_SB
	add	x9, x0, #2
	add	x8, x0, #4
	stp	x8, x9, [sp, #64]               ; 16-byte Folded Spill
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	add	x27, x0, #6
	ldr	x8, [x19]
	add	x0, x8, #16
	bl	_LD_SB
	add	x8, x0, #2
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	str	w24, [sp, #88]                  ; 4-byte Folded Spill
	lsl	w8, w24, #2
	stur	w21, [x29, #-84]                ; 4-byte Folded Spill
	lsl	w9, w21, #2
	add	x11, x0, #4
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	add	x10, x0, #6
	stp	x10, x11, [sp, #32]             ; 16-byte Folded Spill
	sbfiz	x10, x8, #2, #32
	sbfiz	x8, x9, #2, #32
	stp	x8, x10, [sp, #16]              ; 16-byte Folded Spill
	mov	w26, #-4
	ldur	w24, [x29, #-84]                ; 4-byte Folded Reload
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	ldr	w19, [sp, #88]                  ; 4-byte Folded Reload
	mov	x1, x19
	bl	_LD_SB4
	add	x0, x22, #32
	mov	x1, x19
	bl	_LD_SB4
	bl	_XORI_B8_128_SB
	ldr	x19, [sp, #80]                  ; 8-byte Folded Reload
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_SB
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_SB
	ldr	x4, [sp, #56]                   ; 8-byte Folded Reload
	mov	x5, x4
	bl	_VSHF_B2_SB
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	ldr	x19, [sp, #72]                  ; 8-byte Folded Reload
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_SB
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_SB
	ldr	x4, [sp, #48]                   ; 8-byte Folded Reload
	mov	x5, x4
	bl	_VSHF_B2_SB
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	ldr	x19, [sp, #64]                  ; 8-byte Folded Reload
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_SB
	mov	x4, x19
	mov	x5, x19
	bl	_VSHF_B2_SB
	ldr	x4, [sp, #40]                   ; 8-byte Folded Reload
	mov	x5, x4
	bl	_VSHF_B2_SB
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x4, x27
	mov	x5, x27
	bl	_VSHF_B2_SB
	mov	x4, x27
	mov	x5, x27
	bl	_VSHF_B2_SB
	ldr	x4, [sp, #32]                   ; 8-byte Folded Reload
	mov	x5, x4
	bl	_VSHF_B2_SB
	stp	w23, w23, [sp, #8]
	stp	w23, w23, [sp]
	bl	_DPADD_SB4_SH
	mov	x4, x23
	mov	x5, x23
	bl	_DPADD_SB2_SH
	mov	x0, x23
	mov	w1, #0
	bl	___msa_copy_s_d
	mov	x21, x0
	mov	x0, x23
	mov	w1, #1
	bl	___msa_copy_s_d
	mov	x19, x0
	mov	x0, x23
	mov	w1, #0
	bl	___msa_copy_s_d
	mov	x28, x0
	mov	x0, x23
	mov	w1, #1
	bl	___msa_copy_s_d
	mov	x25, x0
	mov	x0, x23
	mov	x1, x23
	mov	x2, x23
	mov	x3, x23
	mov	x4, x20
	mov	x5, x24
	bl	_ST_SH4
	add	x4, x20, #32
	mov	x0, x21
	mov	x1, x19
	mov	x2, x28
	mov	x3, x25
	mov	x5, x24
	bl	_SD4
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x22, x22, x8
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x20, x20, x8
	adds	w26, w26, #1
	b.lo	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_8t_12w_msa
.subsections_via_symbols
