	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_bi_8t_12w_msa
_hevc_hz_bi_8t_12w_msa:                 ## @hevc_hz_bi_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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%r8, %r14
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	16(%rbp), %rbx
	addq	$-12, %r12
	movl	$128, %edi
	callq	___msa_ldi_h
	movl	%eax, %r13d
	shll	$6, %r13d
	movq	%rbx, %rdi
	callq	_LD_SH
	subq	$32, %rsp
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_SPLATI_H4_SH
	addq	$32, %rsp
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_LD_SB
	leaq	2(%rax), %rcx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rcx
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	addq	$6, %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rdi
	addq	$64, %rdi
	callq	_LD_SB
	leaq	2(%rax), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	leaq	4(%rax), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	addq	$6, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movslq	-56(%rbp), %rcx                 ## 4-byte Folded Reload
	movslq	-64(%rbp), %rdx                 ## 4-byte Folded Reload
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(,%rcx,8), %rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	(,%rdx,8), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	leaq	-32(,%rax,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$-8, %eax
                                        ## implicit-def: $ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_LD_SB2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%r12,%rax), %rdi
	movl	$8, %esi
	callq	_LD_SB2
	movq	%r15, %rdi
	movl	$8, %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_LD_SH2
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	(%r15,%rax), %rdi
	movl	$8, %esi
	callq	_LD_SH2
	callq	_XORI_B4_128_SB
	subq	$24, %rsp
	movq	-184(%rbp), %rax                ## 8-byte Reload
	pushq	%rax
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	movl	%r13d, %r8d
	movl	%r13d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	___msa_dpadd_s_h
	movl	%eax, %r15d
	subq	$24, %rsp
	movq	-176(%rbp), %rax                ## 8-byte Reload
	pushq	%rax
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	movl	%r13d, %r8d
	movl	%r13d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	___msa_dpadd_s_h
	movl	%eax, %r15d
	subq	$24, %rsp
	movq	-168(%rbp), %rax                ## 8-byte Reload
	pushq	%rax
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	movl	%r13d, %r8d
	movl	%r13d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	___msa_dpadd_s_h
	movl	%eax, %r15d
	subq	$24, %rsp
	movq	-160(%rbp), %rax                ## 8-byte Reload
	pushq	%rax
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	callq	_VSHF_B3_SB
	addq	$48, %rsp
	movl	%r13d, %r8d
	movl	%r13d, %r9d
	callq	_DPADD_SB2_SH
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	___msa_dpadd_s_h
	movl	%eax, %r15d
	movl	%ebx, %esi
	callq	___msa_pckev_d
	subq	$8, %rsp
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %esi
	movl	%r13d, %edx
	movl	%r13d, %ecx
	movl	$7, %r8d
	movl	%r13d, %r9d
	pushq	%r13
	callq	_HEVC_BI_RND_CLIP2
	addq	$16, %rsp
	movl	%r15d, %esi
	callq	___msa_adds_s_h
	movl	%eax, %edi
	movl	$7, %esi
	callq	___msa_srari_h
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_CLIP_SH_0_255
	movl	%r13d, %edi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	movl	%r13d, %r9d
	callq	_PCKEV_B2_SH
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	___msa_copy_s_d
	movl	%eax, %ebx
	movl	%r13d, %edi
	movl	$2, %esi
	callq	___msa_copy_s_w
	movl	%eax, %r15d
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	___msa_copy_s_d
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movl	$3, %esi
	callq	___msa_copy_s_w
	movq	%r14, %r12
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_SD
	leaq	32(%r14), %rsi
	movl	%r15d, %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	callq	_SW
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r12,%r14), %rsi
	addq	$32, %rsi
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	callq	_SD
	leaq	(%r12,%r14), %rsi
	addq	$64, %rsi
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_SW
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	addq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rbx, %r12
	addq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	addq	%rcx, %r14
	addq	$32, %r14
	incl	%eax
	jne	LBB0_1
## %bb.2:
	addq	$152, %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_bi_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_bi_8t_12w_msa
_hevc_hz_bi_8t_12w_msa:                 ; @hevc_hz_bi_8t_12w_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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, x6
	mov	x24, x5
	mov	x22, x4
	mov	x25, x3
	mov	x19, x2
	mov	x28, x1
	sub	x20, x0, #12
	mov	w0, #128
	bl	___msa_ldi_h
	lsl	w21, w0, #6
	mov	x0, x23
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	bl	_SPLATI_H4_SH
Lloh0:
	adrp	x23, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ff_hevc_mask_arr@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_LD_SB
	add	x9, x0, #2
	add	x8, x0, #4
	stp	x8, x9, [x29, #-104]            ; 16-byte Folded Spill
	stur	x0, [x29, #-88]                 ; 8-byte Folded Spill
	add	x8, x0, #6
	str	x8, [sp, #112]                  ; 8-byte Folded Spill
	ldr	x8, [x23]
	add	x0, x8, #64
	bl	_LD_SB
	sbfiz	x9, x28, #3, #32
	add	x8, x0, #2
	stp	x8, x9, [sp, #88]               ; 16-byte Folded Spill
	add	x9, x0, #4
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	add	x8, x0, #6
	stp	x8, x9, [sp, #72]               ; 16-byte Folded Spill
	sbfiz	x9, x28, #2, #32
	sbfiz	x8, x25, #3, #32
	stp	x8, x9, [sp, #56]               ; 16-byte Folded Spill
	sbfiz	x9, x25, #2, #32
	sbfiz	x8, x24, #2, #32
	sub	x8, x8, #32
	stp	x8, x9, [sp, #40]               ; 16-byte Folded Spill
                                        ; implicit-def: $w28
	mov	w23, #-8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #8
	bl	_LD_SB2
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	x0, x20, x8
	mov	w1, #8
	bl	_LD_SB2
	mov	x0, x19
	mov	w1, #8
	mov	x3, x28
	bl	_LD_SH2
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x0, x19, x8
	mov	w1, #8
	bl	_LD_SH2
	bl	_XORI_B4_128_SB
	ldur	x6, [x29, #-88]                 ; 8-byte Folded Reload
	str	x6, [sp]
	ldr	x7, [sp, #104]                  ; 8-byte Folded Reload
	bl	_VSHF_B3_SB
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x0, x21
	mov	x2, #0
	bl	___msa_dpadd_s_h
	mov	x27, x0
	ldur	x6, [x29, #-96]                 ; 8-byte Folded Reload
	str	x6, [sp]
	ldr	x7, [sp, #88]                   ; 8-byte Folded Reload
	bl	_VSHF_B3_SB
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x0, x27
	mov	x2, #0
	bl	___msa_dpadd_s_h
	mov	x27, x0
	ldur	x6, [x29, #-104]                ; 8-byte Folded Reload
	str	x6, [sp]
	ldr	x7, [sp, #80]                   ; 8-byte Folded Reload
	bl	_VSHF_B3_SB
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x0, x27
	mov	x2, #0
	bl	___msa_dpadd_s_h
	mov	x27, x0
	ldr	x6, [sp, #112]                  ; 8-byte Folded Reload
	str	x6, [sp]
	ldr	x7, [sp, #72]                   ; 8-byte Folded Reload
	bl	_VSHF_B3_SB
	mov	x4, x21
	mov	x5, x21
	bl	_DPADD_SB2_SH
	mov	x0, x27
	mov	x2, #0
	bl	___msa_dpadd_s_h
	mov	x27, x0
	mov	x1, x28
	bl	___msa_pckev_d
	mov	x28, x0
	mov	x1, x28
	mov	x2, x21
	mov	x3, x21
	mov	w4, #7
	mov	x5, x21
	mov	x6, x21
	bl	_HEVC_BI_RND_CLIP2
	mov	x1, x27
	bl	___msa_adds_s_h
	mov	w1, #7
	bl	___msa_srari_h
	mov	x27, x0
	bl	_CLIP_SH_0_255
	mov	x0, x21
	mov	x1, x21
	mov	x2, x27
	mov	x3, x27
	mov	x4, x21
	mov	x5, x21
	bl	_PCKEV_B2_SH
	mov	x0, x21
	mov	w1, #0
	bl	___msa_copy_s_d
	mov	x27, x0
	mov	x0, x21
	mov	w1, #2
	bl	___msa_copy_s_w
	mov	x24, x0
	mov	x0, x21
	mov	w1, #0
	bl	___msa_copy_s_d
	mov	x25, x0
	mov	x0, x21
	mov	w1, #3
	bl	___msa_copy_s_w
	mov	x26, x0
	mov	x0, x27
	mov	x1, x22
	bl	_SD
	add	x22, x22, #32
	mov	x0, x24
	mov	x1, x22
	bl	_SW
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	add	x22, x22, x24
	mov	x0, x25
	mov	x1, x22
	bl	_SD
	add	x22, x22, #32
	mov	x0, x26
	mov	x1, x22
	bl	_SW
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x20, x20, x8
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x19, x19, x8
	add	x22, x22, x24
	adds	w23, w23, #1
	b.lo	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	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_bi_8t_12w_msa
.subsections_via_symbols
