	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hevc_intra_pred_angular_lower_8width_msa
_hevc_intra_pred_angular_lower_8width_msa: ## @hevc_intra_pred_angular_lower_8width_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	$552, %rsp                      ## imm = 0x228
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_intra_pred_angle_low@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	%r8d, %rax
	movl	-8(%rdx,%rax,4), %esi
	leaq	-4(%rbx), %r15
	cmpl	$-5, %esi
	movq	%rsi, -528(%rbp)                ## 8-byte Spill
	movl	%ecx, -480(%rbp)                ## 4-byte Spill
	jg	LBB0_7
## %bb.1:
	movq	%rdi, %r12
	movq	%r14, -472(%rbp)                ## 8-byte Spill
	leaq	l___const.hevc_intra_pred_angular_lower_8width_msa.inv_angle(%rip), %rcx
	movl	-44(%rcx,%rax,4), %r14d
	movq	%r15, %rdi
	callq	_LW
	movl	%eax, %r15d
	leaq	12(%rbx), %rdi
	callq	_LW
	movl	%eax, %r13d
	addq	$28, %rbx
	movq	%rbx, %rdi
	callq	_LW
	movl	%eax, %ebx
	movl	%r15d, %edi
	leaq	-416(%rbp), %r15
	movq	%r15, %rsi
	callq	_SW
	leaq	-400(%rbp), %rsi
	movl	%r13d, %edi
	callq	_SW
	leaq	-384(%rbp), %rsi
	movl	%ebx, %edi
	callq	_SW
	movq	-528(%rbp), %rsi                ## 8-byte Reload
	movl	%esi, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	testb	$1, %al
	je	LBB0_3
## %bb.2:
	movl	%r14d, %edx
	imull	%eax, %edx
	subl	$-128, %edx
	sarl	$8, %edx
	movslq	%edx, %rdx
	movl	-4(%r12,%rdx,4), %edx
	movl	%edx, -416(%rbp,%rax,4)
	incq	%rax
LBB0_3:
	cmpl	$-1, %ecx
	je	LBB0_6
## %bb.4:
	movl	%r14d, %ecx
	imull	%eax, %ecx
	subl	$-128, %ecx
	leal	(%r14,%r14), %edx
	leal	1(%rax), %ebx
	imull	%r14d, %ebx
	subl	$-128, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edi
	sarl	$8, %edi
	movslq	%edi, %rdi
	movl	-4(%r12,%rdi,4), %edi
	movl	%edi, -416(%rbp,%rax,4)
	movl	%ebx, %edi
	sarl	$8, %edi
	movslq	%edi, %rdi
	movl	-4(%r12,%rdi,4), %edi
	movl	%edi, -412(%rbp,%rax,4)
	addl	%edx, %ecx
	addl	%edx, %ebx
	addq	$2, %rax
	jne	LBB0_5
LBB0_6:
	movq	-472(%rbp), %r14                ## 8-byte Reload
LBB0_7:
	addq	$4, %r15
	movq	%r15, -536(%rbp)                ## 8-byte Spill
	leal	(,%rsi,4), %eax
	leal	(%rsi,%rsi,2), %ebx
	leal	(%rsi,%rsi), %r13d
	movb	$1, %cl
	movl	%eax, -476(%rbp)                ## 4-byte Spill
	movl	%eax, %r12d
	movl	%esi, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -520(%rbp)                ## 4-byte Spill
	movl	%ebx, -452(%rbp)                ## 4-byte Spill
	movl	%r12d, -456(%rbp)               ## 4-byte Spill
	movl	%r13d, -460(%rbp)               ## 4-byte Spill
	movq	%r14, -472(%rbp)                ## 8-byte Spill
	movl	%r15d, %eax
	sarl	$5, %eax
	movl	%r15d, %ecx
	andl	$31, %ecx
	movl	%ecx, -484(%rbp)                ## 4-byte Spill
	addl	%esi, %r15d
	movl	-460(%rbp), %r13d               ## 4-byte Reload
	sarl	$5, %r13d
	movl	-460(%rbp), %ecx                ## 4-byte Reload
	andl	$31, %ecx
	movl	%ecx, -488(%rbp)                ## 4-byte Spill
	addl	%esi, %r15d
	movl	-452(%rbp), %r14d               ## 4-byte Reload
	sarl	$5, %r14d
	movl	-452(%rbp), %ecx                ## 4-byte Reload
	andl	$31, %ecx
	movl	%ecx, -496(%rbp)                ## 4-byte Spill
	addl	%esi, %r15d
	movl	-456(%rbp), %ebx                ## 4-byte Reload
	sarl	$5, %ebx
	movl	-456(%rbp), %ecx                ## 4-byte Reload
	andl	$31, %ecx
	movl	%ecx, -504(%rbp)                ## 4-byte Spill
	addl	%esi, %r15d
	cltq
	movq	-536(%rbp), %r12                ## 8-byte Reload
	leaq	(%r12,%rax,4), %rdi
	callq	_LD_SB
	movl	%eax, -516(%rbp)                ## 4-byte Spill
	movslq	%r13d, %rax
	leaq	(%r12,%rax,4), %rdi
	callq	_LD_SB
	movl	%eax, -512(%rbp)                ## 4-byte Spill
	movslq	%r14d, %rax
	leaq	(%r12,%rax,4), %rdi
	callq	_LD_SB
	movl	%eax, -500(%rbp)                ## 4-byte Spill
	movslq	%ebx, %rax
	leaq	(%r12,%rax,4), %rdi
	callq	_LD_SB
	movl	%eax, -492(%rbp)                ## 4-byte Spill
	movl	-484(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%eax, -508(%rbp)                ## 4-byte Spill
	movl	$32, %edi
	subl	%ebx, %edi
	callq	___msa_fill_h
	movl	-488(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%eax, %r13d
	movl	$32, %edi
	subl	%ebx, %edi
	callq	___msa_fill_h
	movl	-496(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%eax, %r12d
	movl	$32, %edi
	subl	%ebx, %edi
	callq	___msa_fill_h
	movl	-504(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	callq	___msa_fill_h
	movl	%eax, %r14d
	movl	$32, %edi
	subl	%ebx, %edi
	callq	___msa_fill_h
	movl	-516(%rbp), %edi                ## 4-byte Reload
	callq	_UNPCK_UB_SH
	movl	-512(%rbp), %edi                ## 4-byte Reload
	callq	_UNPCK_UB_SH
	movl	-500(%rbp), %edi                ## 4-byte Reload
	callq	_UNPCK_UB_SH
	movl	-492(%rbp), %edi                ## 4-byte Reload
	callq	_UNPCK_UB_SH
	movl	$2, 16(%rsp)
	callq	_SLDI_B4_SH
	movl	%r14d, 8(%rsp)
	movl	-452(%rbp), %ebx                ## 4-byte Reload
	movq	-472(%rbp), %r14                ## 8-byte Reload
	movl	-508(%rbp), %esi                ## 4-byte Reload
	movl	%r13d, %ecx
	movl	-460(%rbp), %r13d               ## 4-byte Reload
	movl	%r12d, %r9d
	movl	-456(%rbp), %r12d               ## 4-byte Reload
	callq	_MUL4
	movl	$5, %r8d
	callq	_SRARI_H4_SH
	callq	_PCKEV_B4_SB
	callq	_ILVR_B2_SH
	callq	_ILVRL_H2_SH
	movl	-480(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 40(%rsp)
	movq	%r14, 32(%rsp)
	movl	$3, 24(%rsp)
	movl	$2, 16(%rsp)
	movl	$1, 8(%rsp)
	movl	$0, (%rsp)
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$2, %r8d
	movl	$3, %r9d
	callq	_ST_W8
	movq	-528(%rbp), %rsi                ## 8-byte Reload
	addq	$16, %r14
	movl	-476(%rbp), %eax                ## 4-byte Reload
	addl	%eax, %r12d
	addl	%eax, %ebx
	addl	%eax, %r13d
	testb	$1, -520(%rbp)                  ## 1-byte Folded Reload
	movl	$0, %ecx
	jne	LBB0_8
## %bb.9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$552, %rsp                      ## imm = 0x228
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.hevc_intra_pred_angular_lower_8width_msa.inv_angle
l___const.hevc_intra_pred_angular_lower_8width_msa.inv_angle:
	.long	4294963200                      ## 0xfffff000
	.long	4294965658                      ## 0xfffff99a
	.long	4294966386                      ## 0xfffffc72
	.long	4294966666                      ## 0xfffffd8a
	.long	4294966814                      ## 0xfffffe1e
	.long	4294966906                      ## 0xfffffe7a
	.long	4294966981                      ## 0xfffffec5

	.comm	_intra_pred_angle_low,8,3       ## @intra_pred_angle_low
	.no_dead_strip	_hevc_intra_pred_angular_lower_8width_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hevc_intra_pred_angular_lower_8width_msa
_hevc_intra_pred_angular_lower_8width_msa: ; @hevc_intra_pred_angular_lower_8width_msa
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #496
                                        ; kill: def $w4 killed $w4 def $x4
	mov	x26, x3
	mov	x27, x2
	mov	x8, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _intra_pred_angle_low@GOTPAGE
Lloh4:
	ldr	x10, [x10, _intra_pred_angle_low@GOTPAGEOFF]
	stur	x9, [x29, #-96]
Lloh5:
	ldr	x9, [x10]
	add	x9, x9, w4, sxtw #2
	ldur	w28, [x9, #-8]
	sub	x0, x1, #4
	cmn	w28, #5
	b.gt	LBB0_9
; %bb.1:
	mov	x22, x1
	add	x25, sp, #80
	add	x21, x25, #32
	sub	x19, x8, #4
	sxtw	x8, w4
Lloh6:
	adrp	x9, l___const.hevc_intra_pred_angular_lower_8width_msa.inv_angle@PAGE
Lloh7:
	add	x9, x9, l___const.hevc_intra_pred_angular_lower_8width_msa.inv_angle@PAGEOFF
	add	x8, x9, x8, lsl #2
	ldur	w20, [x8, #-44]
	bl	_LW
	mov	x23, x0
	add	x0, x22, #12
	bl	_LW
	mov	x24, x0
	add	x0, x22, #28
	bl	_LW
	mov	x22, x0
	mov	x0, x23
	mov	x1, x21
	bl	_SW
	add	x1, x25, #48
	mov	x0, x24
	bl	_SW
	add	x1, x25, #64
	mov	x0, x22
	bl	_SW
	sbfx	x16, x28, #2, #30
	neg	x9, x16
	cmp	x9, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x8, x16
	b	LBB0_6
LBB0_3:
	and	x10, x9, #0xfffffffffffffffc
	add	x8, x10, x16
	mul	w11, w20, w16
	lsl	w12, w20, #2
	add	w13, w20, w11
	add	x14, sp, #80
	add	x14, x14, x16, lsl #2
	add	x14, x14, #44
	add	w15, w16, #3
	mul	w15, w20, w15
	add	w16, w16, #2
	mul	w16, w20, w16
	mov	w17, #128
	mov	x0, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w11, w17
	add	w2, w13, w17
	add	w3, w16, w17
	add	w4, w15, w17
	asr	w1, w1, #8
	asr	w2, w2, #8
	asr	w3, w3, #8
	ldr	w1, [x19, w1, sxtw #2]
	ldr	w2, [x19, w2, sxtw #2]
	asr	w4, w4, #8
	ldr	w3, [x19, w3, sxtw #2]
	ldr	w4, [x19, w4, sxtw #2]
	stp	w1, w2, [x14, #-12]
	stp	w3, w4, [x14, #-4]
	add	w17, w17, w12
	add	x14, x14, #16
	subs	x0, x0, #4
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x9
	b.eq	LBB0_8
LBB0_6:
	orr	w9, wzr, #0x80
	madd	w9, w20, w8, w9
	add	x10, sp, #80
	add	x10, x10, #32
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	asr	w11, w9, #8
	ldr	w11, [x19, w11, sxtw #2]
	str	w11, [x10, x8, lsl #2]
	add	w9, w9, w20
	adds	x8, x8, #1
	b.lo	LBB0_7
LBB0_8:
	mov	x0, x21
LBB0_9:
	mov	w20, #0
	add	x8, x0, #4
	stp	x8, x28, [sp, #48]              ; 16-byte Folded Spill
	lsl	w9, w28, #2
	lsl	w8, w28, #1
	stp	w8, w9, [sp, #36]               ; 8-byte Folded Spill
	add	w8, w8, w28
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	mov	w8, #1
	str	w26, [sp, #44]                  ; 4-byte Folded Spill
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	str	x27, [sp, #72]                  ; 8-byte Folded Spill
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
	add	w8, w28, w20
	asr	w9, w8, #5
	and	w23, w8, #0x1f
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	add	w8, w8, w20
	asr	w19, w8, #5
	and	w24, w8, #0x1f
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	add	w8, w8, w20
	asr	w27, w8, #5
	and	w25, w8, #0x1f
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	add	w20, w8, w20
	asr	w28, w20, #5
	and	w21, w20, #0x1f
	ldr	x22, [sp, #48]                  ; 8-byte Folded Reload
	add	x0, x22, w9, sxtw #2
	bl	_LD_SB
	str	w0, [sp, #64]                   ; 4-byte Folded Spill
	add	x0, x22, w19, sxtw #2
	bl	_LD_SB
	mov	x26, x0
	add	x0, x22, w27, sxtw #2
	bl	_LD_SB
	mov	x27, x0
	add	x0, x22, w28, sxtw #2
	bl	_LD_SB
	mov	x28, x0
	mov	x0, x23
	bl	___msa_fill_h
	mov	x19, x0
	mov	w22, #32
	sub	w0, w22, w23
	bl	___msa_fill_h
	mov	x0, x24
	bl	___msa_fill_h
	mov	x23, x0
	sub	w0, w22, w24
	bl	___msa_fill_h
	mov	x0, x25
	bl	___msa_fill_h
	mov	x24, x0
	sub	w0, w22, w25
	bl	___msa_fill_h
	mov	x0, x21
	bl	___msa_fill_h
	mov	x25, x0
	sub	w0, w22, w21
	bl	___msa_fill_h
	ldr	w0, [sp, #64]                   ; 4-byte Folded Reload
	bl	_UNPCK_UB_SH
	mov	x0, x26
	ldr	w26, [sp, #44]                  ; 4-byte Folded Reload
	bl	_UNPCK_UB_SH
	mov	x0, x27
	ldr	x27, [sp, #72]                  ; 8-byte Folded Reload
	bl	_UNPCK_UB_SH
	mov	x0, x28
	ldr	x28, [sp, #56]                  ; 8-byte Folded Reload
	bl	_UNPCK_UB_SH
	mov	w8, #2
	str	w8, [sp]
	bl	_SLDI_B4_SH
	mov	x1, x19
	mov	x3, x23
	mov	x5, x24
	mov	x7, x25
	bl	_MUL4
	mov	w4, #5
	bl	_SRARI_H4_SH
	bl	_PCKEV_B4_SB
	bl	_ILVR_B2_SH
	bl	_ILVRL_H2_SH
	str	w26, [sp, #16]
	mov	x8, #2
	movk	x8, #3, lsl #32
	stp	x8, x27, [sp]
	mov	w2, #0
	mov	w3, #1
	mov	w4, #2
	mov	w5, #3
	mov	w6, #0
	mov	w7, #1
	bl	_ST_W8
	mov	w8, #0
	add	x27, x27, #16
	ldr	w9, [sp, #68]                   ; 4-byte Folded Reload
	tbnz	w9, #0, LBB0_10
; %bb.11:
	ldur	x8, [x29, #-96]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	add	sp, sp, #496
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.hevc_intra_pred_angular_lower_8width_msa.inv_angle
l___const.hevc_intra_pred_angular_lower_8width_msa.inv_angle:
	.long	4294963200                      ; 0xfffff000
	.long	4294965658                      ; 0xfffff99a
	.long	4294966386                      ; 0xfffffc72
	.long	4294966666                      ; 0xfffffd8a
	.long	4294966814                      ; 0xfffffe1e
	.long	4294966906                      ; 0xfffffe7a
	.long	4294966981                      ; 0xfffffec5

	.comm	_intra_pred_angle_low,8,3       ; @intra_pred_angle_low
	.no_dead_strip	_hevc_intra_pred_angular_lower_8width_msa
.subsections_via_symbols
