	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_biwgt_4t_8x6_msa
_hevc_hz_biwgt_4t_8x6_msa:              ## @hevc_hz_biwgt_4t_8x6_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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -112(%rbp)                 ## 8-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movzwl	24(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	32(%rbp), %r12d
	movl	56(%rbp), %r13d
	movl	48(%rbp), %r15d
	movq	16(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movq	%rax, %r14
	addq	$-4, %rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_SH
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_SPLATI_H2_SH
	addl	40(%rbp), %r15d
	movl	%r13d, %ecx
	shll	%cl, %r15d
	movl	%r12d, %ebx
	shll	$16, %ebx
	addl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	shll	$13, %r12d
	addl	%r15d, %r12d
	movl	%r12d, %edi
	callq	___msa_fill_w
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	___msa_fill_w
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	incl	%r13d
	movl	%r13d, %edi
	callq	___msa_fill_w
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	leaq	2(%r14), %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_LD_SB6
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_LD_SH4
	leal	(,%rbx,4), %eax
	cltq
	leaq	(%r12,%rax,4), %rdi
	movl	%ebx, %esi
	callq	_LD_SH2
	callq	_XORI_B6_128_SB
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r12
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r15
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rbx
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %r14
	movq	%rbx, %rcx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, 64(%rsp)
	movq	%r15, %rdx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, 56(%rsp)
	movq	%r12, 48(%rsp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 40(%rsp)
	movl	-92(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 32(%rsp)
	movl	-88(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, 24(%rsp)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 16(%rsp)
	movq	%r12, %rsi
	callq	_HEVC_BIW_RND_CLIP4
	movq	%r14, 16(%rsp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 8(%rsp)
	movl	%ebx, (%rsp)
	movq	%rdi, %rbx
	movq	%r14, %rsi
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	callq	_HEVC_BIW_RND_CLIP2
	movq	%r12, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%r12, %r9
	callq	_PCKEV_B2_SH
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___msa_pckev_b
	movq	%rax, %r14
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, 8(%rsp)
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, (%rsp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	leal	(,%rbx,4), %eax
	movq	%rbx, %r8
	cltq
	leaq	(%r15,%rax,4), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
                                        ## kill: def $r8d killed $r8d killed $r8
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_D2                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,8,3           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_biwgt_4t_8x6_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_biwgt_4t_8x6_msa
_hevc_hz_biwgt_4t_8x6_msa:              ; @hevc_hz_biwgt_4t_8x6_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x7
	mov	x21, x6
	str	w5, [sp, #76]                   ; 4-byte Folded Spill
	str	x4, [sp, #64]                   ; 8-byte Folded Spill
	mov	x25, x3
	mov	x26, x2
	str	w1, [sp, #56]                   ; 4-byte Folded Spill
	mov	x24, x0
	ldp	w19, w27, [x29, #16]
	ldp	w20, w28, [x29, #24]
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_SB
	mov	x22, x0
	sub	x24, x24, #4
	mov	x0, x21
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	add	w8, w20, w27
	lsl	w8, w8, w28
	bfi	w23, w19, #16, #16
	add	w0, w8, w19, lsl #13
	bl	___msa_fill_w
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	mov	x0, x23
	bl	___msa_fill_w
	mov	x23, x0
	add	w0, w28, #1
	bl	___msa_fill_w
	mov	x21, x0
	add	x27, x22, #2
	mov	x0, x24
	ldr	w1, [sp, #56]                   ; 4-byte Folded Reload
	bl	_LD_SB6
	mov	x0, x26
	mov	x1, x25
	bl	_LD_SH4
	lsl	w8, w25, #2
	add	x0, x26, w8, sxtw #2
	mov	x1, x25
	bl	_LD_SH2
	bl	_XORI_B6_128_SB
	mov	x4, x22
	mov	x5, x27
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x25, x0
	mov	x4, x22
	mov	x5, x27
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x26, x0
	mov	x4, x22
	mov	x5, x27
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x20, x0
	mov	x4, x22
	mov	x5, x27
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x28, x0
	mov	x4, x22
	mov	x5, x27
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x19, x0
	mov	x4, x22
	mov	x5, x27
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x22, x0
	stp	x20, x28, [sp, #32]
	stp	x25, x26, [sp, #16]
	ldr	w24, [sp, #60]                  ; 4-byte Folded Reload
	stp	w21, w24, [sp, #4]
	str	w23, [sp]
	mov	x0, x25
	mov	x1, x26
	mov	x2, x20
	mov	x3, x28
	bl	_HEVC_BIW_RND_CLIP4
	str	x22, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x4, x23
	mov	x5, x21
	mov	x6, x24
	mov	x7, x19
	bl	_HEVC_BIW_RND_CLIP2
	mov	x0, x26
	mov	x1, x25
	mov	x2, x28
	mov	x3, x20
	mov	x4, x25
	mov	x5, x26
	bl	_PCKEV_B2_SH
	mov	x0, x22
	mov	x1, x19
	bl	___msa_pckev_b
	mov	x19, x0
	mov	x0, x25
	mov	x1, x26
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	ldr	x21, [sp, #64]                  ; 8-byte Folded Reload
	mov	x6, x21
	ldr	w20, [sp, #76]                  ; 4-byte Folded Reload
	mov	x7, x20
	bl	_ST_D4
	lsl	w8, w20, #2
	add	x3, x21, w8, sxtw #2
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	mov	x4, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_ST_D2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_hevc_mask_arr,8,3           ; @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_biwgt_4t_8x6_msa
.subsections_via_symbols
