	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_hz_biwgt_4t_4x2_msa
_hevc_hz_biwgt_4t_4x2_msa:              ## @hevc_hz_biwgt_4t_4x2_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
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movzwl	24(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	32(%rbp), %r13d
	movl	56(%rbp), %r12d
	movl	48(%rbp), %r15d
	movq	16(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ff_hevc_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$64, %rdi
	callq	_LD_SB
	movq	%rax, %r14
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addq	$-4, %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%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
	leaq	2(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, %ecx
	shll	%cl, %r15d
	movl	%r13d, %ebx
	shll	$16, %ebx
	addl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	shll	$13, %r13d
	addl	%r15d, %r13d
	movl	%r13d, %edi
	callq	___msa_fill_w
	movq	%rax, %r13
	movl	%ebx, %edi
	callq	___msa_fill_w
	movq	%rax, %r14
	incl	%r12d
	movl	%r12d, %edi
	callq	___msa_fill_w
	movq	%rax, %r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_LD_SB2
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_LD_SH2
	callq	___msa_ilvr_d
	movq	%rax, %rbx
	callq	_XORI_B2_128_SB
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	callq	_VSHF_B2_SB
	callq	_HEVC_FILT_4TAP_SH
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ILVRL_H2_SW
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	___msa_dpadd_s_w
	movq	%rax, %r15
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	___msa_dpadd_s_w
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	callq	_SRAR_W2_SW
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	___msa_pckev_h
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_CLIP_SH_0_255
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	___msa_pckev_b
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_W2                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_hevc_mask_arr,8,3           ## @ff_hevc_mask_arr
	.no_dead_strip	_hevc_hz_biwgt_4t_4x2_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_4x2_msa
_hevc_hz_biwgt_4t_4x2_msa:              ; @hevc_hz_biwgt_4t_4x2_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x24, x6
	str	w5, [sp, #28]                   ; 4-byte Folded Spill
	str	x4, [sp, #16]                   ; 8-byte Folded Spill
	str	w3, [sp, #12]                   ; 4-byte Folded Spill
	mov	x22, x2
	mov	x25, x1
	mov	x26, x0
	ldp	w19, w28, [x29, #16]
	ldp	w21, w20, [x29, #24]
Lloh0:
	adrp	x8, _ff_hevc_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_hevc_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, #64
	bl	_LD_SB
	mov	x27, x0
	sub	x26, x26, #4
	mov	x0, x24
	bl	_LD_SH
	mov	w1, #0
	mov	w2, #1
	bl	_SPLATI_H2_SH
	add	x24, x27, #2
	add	w8, w21, w28
	lsl	w8, w8, w20
	bfi	w23, w19, #16, #16
	add	w0, w8, w19, lsl #13
	bl	___msa_fill_w
	mov	x28, x0
	mov	x0, x23
	bl	___msa_fill_w
	mov	x23, x0
	add	w0, w20, #1
	bl	___msa_fill_w
	mov	x19, x0
	mov	x0, x26
	mov	x1, x25
	bl	_LD_SB2
	mov	x0, x22
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_LD_SH2
	bl	___msa_ilvr_d
	mov	x21, x0
	bl	_XORI_B2_128_SB
	mov	x4, x27
	mov	x5, x24
	bl	_VSHF_B2_SB
	bl	_HEVC_FILT_4TAP_SH
	mov	x1, x21
	bl	_ILVRL_H2_SW
	mov	x0, x28
	mov	x2, x23
	bl	___msa_dpadd_s_w
	mov	x21, x0
	mov	x0, x28
	mov	x2, x23
	bl	___msa_dpadd_s_w
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	_SRAR_W2_SW
	mov	x0, x22
	mov	x1, x21
	bl	___msa_pckev_h
	mov	x19, x0
	bl	_CLIP_SH_0_255
	mov	x0, x19
	mov	x1, x19
	bl	___msa_pckev_b
	mov	w1, #0
	mov	w2, #1
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w4, [sp, #28]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ST_W2
	.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_4x2_msa
.subsections_via_symbols
