	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function luma_intra_pred_mode
_luma_intra_pred_mode:                  ## @luma_intra_pred_mode
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -72(%rbp)                 ## 4-byte Spill
	movl	%ecx, %eax
	movl	%edx, %r12d
	movl	%esi, %r8d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	movq	16(%rdi), %rdx
	movq	24(%rdi), %r13
	movb	(%rdx), %cl
	sarl	%cl, %esi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movl	%r12d, %esi
	sarl	%cl, %esi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movslq	4(%rdx), %r14
	sarl	%cl, %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	8(%rdx), %esi
	movl	%r8d, %edi
	callq	_av_mod_uintp2
	movl	%eax, %r15d
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	16(%rbx), %rax
	movl	8(%rax), %esi
	movl	%r12d, %edi
	callq	_av_mod_uintp2
	movq	%r14, %r8
	cmpq	$0, 24(%r13)
	movq	_INTRA_DC@GOTPCREL(%rip), %rdx
	jne	LBB0_2
## %bb.1:
	movq	%rdx, %rcx
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	imull	%r8d, %eax
	addl	-120(%rbp), %eax                ## 4-byte Folded Reload
	movslq	%eax, %rcx
	shlq	$2, %rcx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addq	(%rax), %rcx
LBB0_3:
	movl	(%rcx), %ebx
	cmpq	$0, 16(%r13)
	jne	LBB0_5
## %bb.4:
	movq	%rdx, %rax
	testl	%r15d, %r15d
	je	LBB0_6
LBB0_5:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	imull	%r8d, %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	addl	%ecx, %eax
	decl	%eax
	cltq
	shlq	$2, %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	addq	(%rcx), %rax
LBB0_6:
	movl	(%rax), %r15d
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rcx), %rcx
	movb	8(%rcx), %cl
	movl	%r12d, %esi
	shrl	%cl, %esi
	shll	%cl, %esi
	cmpl	%r12d, %esi
	movl	(%rdx), %ecx
	cmovgel	%ecx, %ebx
	cmpl	%ebx, %r15d
	jne	LBB0_9
## %bb.7:
	cmpl	$1, %r15d
	jg	LBB0_12
## %bb.8:
	movq	_INTRA_PLANAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	movl	%r15d, -60(%rbp)
	movl	%ecx, -56(%rbp)
	movq	_INTRA_ANGULAR_26@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	movl	%ecx, %ebx
	jmp	LBB0_13
LBB0_9:
	movl	%r15d, -60(%rbp)
	movl	%ebx, -56(%rbp)
	movq	_INTRA_PLANAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	cmpl	%r12d, %r15d
	je	LBB0_11
## %bb.10:
	cmpl	%r12d, %ebx
	jne	LBB0_13
LBB0_11:
	cmpl	%ecx, %ebx
	movq	_INTRA_ANGULAR_26@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%ecx, %r12d
	cmovel	%edx, %r12d
	cmpl	%ecx, %r15d
	cmovel	%edx, %r12d
	jmp	LBB0_13
LBB0_12:
	movl	%r15d, -60(%rbp)
	leal	29(%r15), %ebx
	andl	$31, %ebx
	addl	$2, %ebx
	movl	%ebx, -56(%rbp)
	leal	-1(%r15), %r12d
	andl	$31, %r12d
	addl	$2, %r12d
LBB0_13:
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movq	(%rax), %r14
	movl	%r12d, -52(%rbp)
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.14:
	movq	(%r13), %rax
	movl	-60(%rbp,%rax,4), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	jmp	LBB0_20
LBB0_15:
	cmpl	%ebx, %r15d
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	jle	LBB0_16
## %bb.48:
	movq	_uint8_t@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_FFSWAP
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	cmpl	%r12d, %r15d
	jg	LBB0_49
LBB0_17:
	cmpl	%r12d, %ebx
	jle	LBB0_19
LBB0_18:
	movq	_uint8_t@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_FFSWAP
	movq	-72(%rbp), %r8                  ## 8-byte Reload
LBB0_19:
	movl	8(%r13), %eax
	xorl	%ecx, %ecx
	cmpl	%r15d, %eax
	setge	%cl
	addl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%ebx, %ecx
	setge	%al
	addl	%ecx, %eax
	xorl	%ecx, %ecx
	cmpl	%r12d, %eax
	setge	%cl
	addl	%eax, %ecx
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
LBB0_20:
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	testl	%ecx, %ecx
	movl	$1, %eax
	cmovnel	%ecx, %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_46
## %bb.21:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %rax
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movslq	%eax, %rdx
	movq	%rdx, -224(%rbp)                ## 8-byte Spill
	movl	-108(%rbp), %r9d                ## 4-byte Reload
	leaq	-1(%r9), %rdx
	movq	%rdx, -200(%rbp)                ## 8-byte Spill
	leal	(%rcx,%rax), %edx
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movl	%r9d, %edx
	andl	$-8, %edx
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	addq	$-8, %rdx
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movq	%rsi, %rdx
	movq	%rsi, -168(%rbp)                ## 8-byte Spill
	andq	$-2, %rsi
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	movq	%r9, %rdx
	negq	%rdx
	movq	%rdx, -216(%rbp)                ## 8-byte Spill
	leal	8(%rcx), %r11d
	imull	%r8d, %r11d
	addl	%eax, %r11d
	movl	%r8d, %r10d
	shll	$4, %r10d
	movl	%r8d, %r13d
	imull	%ecx, %r13d
	addl	%eax, %r13d
	leaq	(%r14,%r9,4), %rdx
	movq	%rdx, -192(%rbp)                ## 8-byte Spill
	incl	%ecx
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	leal	(%r8,%r8), %r12d
	xorl	%edi, %edi
	movq	_PF_INTRA@GOTPCREL(%rip), %r15
	movl	%eax, %ebx
	movq	%r9, -136(%rbp)                 ## 8-byte Spill
	movl	%r10d, -140(%rbp)               ## 4-byte Spill
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%rdi
	incl	%r11d
	incl	%r13d
	incl	%ebx
	cmpq	%r9, %rdi
	je	LBB0_46
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_33 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
	movl	%ebx, -80(%rbp)                 ## 4-byte Spill
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movl	%r13d, -84(%rbp)                ## 4-byte Spill
	movl	%r11d, -72(%rbp)                ## 4-byte Spill
	movq	-232(%rbp), %rax                ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %rdi
	imulq	%r8, %rdi
	addq	-224(%rbp), %rdi                ## 8-byte Folded Reload
	shlq	$2, %rdi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addq	(%rax), %rdi
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	movl	-108(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %edx
	movq	%r8, %rbx
	callq	_memset
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addl	%edi, %eax
	cmpl	$8, %r13d
	jae	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	cmpl	$1, %ebx
	movq	%rbx, %r8
	jne	LBB0_34
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	addl	%edi, %ecx
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	leal	(%rcx,%rsi), %edx
	cmpl	%ecx, %edx
	movq	-136(%rbp), %r9                 ## 8-byte Reload
	movl	-72(%rbp), %r11d                ## 4-byte Reload
	movl	-140(%rbp), %r10d               ## 4-byte Reload
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	jl	LBB0_41
## %bb.27:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%rsi, %rcx
	shrq	$32, %rcx
	movl	$0, %ecx
	jne	LBB0_36
## %bb.28:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	addl	%edi, %ecx
	movslq	%ecx, %rcx
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdx
	cmpq	%r15, %rdx
	jbe	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_23 Depth=1
	leaq	(%r14,%rcx,4), %rcx
	leaq	4(%r15), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_31
LBB0_41:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_36
LBB0_31:                                ##   in Loop: Header=BB0_23 Depth=1
	cmpq	$0, -176(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_42
## %bb.32:                              ##   in Loop: Header=BB0_23 Depth=1
	movd	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	movl	%r13d, %esi
	movl	%r11d, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%esi, %rsi
	movdqu	%xmm0, (%r14,%rsi,4)
	movdqu	%xmm0, 16(%r14,%rsi,4)
	movslq	%edi, %rdi
	movdqu	%xmm0, (%r14,%rdi,4)
	movdqu	%xmm0, 16(%r14,%rdi,4)
	addq	$16, %rcx
	addl	%r10d, %edi
	addl	%r10d, %esi
	addq	$-2, %rdx
	jne	LBB0_33
	jmp	LBB0_43
LBB0_34:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	-136(%rbp), %r9                 ## 8-byte Reload
	movl	-72(%rbp), %r11d                ## 4-byte Reload
	movl	-84(%rbp), %r13d                ## 4-byte Reload
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
LBB0_36:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%rcx, %rdx
	testb	$1, %r9b
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	(%r15), %edx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	addl	%ecx, %esi
	imull	%r8d, %esi
	addl	%esi, %eax
	cltq
	movl	%edx, (%r14,%rax,4)
	movq	%rcx, %rdx
	orq	$1, %rdx
LBB0_38:                                ##   in Loop: Header=BB0_23 Depth=1
	notq	%rcx
	cmpq	-216(%rbp), %rcx                ## 8-byte Folded Reload
	je	LBB0_22
## %bb.39:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-208(%rbp), %rax                ## 8-byte Reload
	addl	%edx, %eax
	imull	%r8d, %eax
	addl	%ebx, %eax
	movq	%r9, %rcx
	subq	%rdx, %rcx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	addl	%esi, %edx
	imull	%r8d, %edx
	addl	%ebx, %edx
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %esi
	movslq	%edx, %rdx
	movl	%esi, (%r14,%rdx,4)
	movl	(%r15), %esi
	cltq
	movl	%esi, (%r14,%rax,4)
	addl	%r12d, %eax
	addl	%r12d, %edx
	addq	$-2, %rcx
	jne	LBB0_40
	jmp	LBB0_22
LBB0_42:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%ecx, %ecx
LBB0_43:                                ##   in Loop: Header=BB0_23 Depth=1
	testb	$1, -168(%rbp)                  ## 1-byte Folded Reload
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_23 Depth=1
	movd	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	addl	-96(%rbp), %ecx                 ## 4-byte Folded Reload
	imull	%r8d, %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rcx
	movdqu	%xmm0, (%r14,%rcx,4)
	movdqu	%xmm0, 16(%r14,%rcx,4)
LBB0_45:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %rcx
	cmpq	%r9, %rdx
	je	LBB0_22
	jmp	LBB0_36
LBB0_46:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_50
## %bb.47:
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	cmpl	%r12d, %r15d
	jle	LBB0_17
LBB0_49:
	movq	_uint8_t@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_FFSWAP
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	cmpl	%r12d, %ebx
	jg	LBB0_18
	jmp	LBB0_19
LBB0_50:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INTRA_DC,4,2                   ## @INTRA_DC
	.comm	_INTRA_PLANAR,4,2               ## @INTRA_PLANAR
	.comm	_INTRA_ANGULAR_26,4,2           ## @INTRA_ANGULAR_26
	.comm	_uint8_t,4,2                    ## @uint8_t
	.comm	_PF_INTRA,4,2                   ## @PF_INTRA
	.no_dead_strip	_luma_intra_pred_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function luma_intra_pred_mode
_luma_intra_pred_mode:                  ; @luma_intra_pred_mode
	.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	x21, x4
	str	w3, [sp, #56]                   ; 4-byte Folded Spill
	mov	x23, x2
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x9, [sp, #72]
	ldp	x9, x20, [x0, #16]
	ldp	w27, w25, [x9]
                                        ; kill: def $w25 killed $w25 def $x25
	sxtw	x25, w25
	asr	w26, w1, w27
	asr	w28, w2, w27
	ldr	w1, [x9, #8]
	mov	x0, x8
	bl	_av_mod_uintp2
	mov	x22, x0
	ldr	x8, [x19, #16]
	ldr	w1, [x8, #8]
	mov	x0, x23
	bl	_av_mod_uintp2
	ldr	x8, [x20, #24]
	cmp	x8, #0
	ccmp	w0, #0, #0, eq
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	sub	w9, w28, #1
	madd	w9, w9, w25, w26
	add	x8, x8, w9, sxtw #2
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _INTRA_DC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTRA_DC@GOTPAGEOFF]
LBB0_3:
	ldr	w10, [x8]
	ldr	x8, [x20, #16]
Lloh5:
	adrp	x9, _INTRA_DC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INTRA_DC@GOTPAGEOFF]
	cmp	x8, #0
	ccmp	w22, #0, #0, eq
	mov	x8, x9
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x19]
	madd	w11, w28, w25, w26
	sub	w11, w11, #1
	add	x8, x8, w11, sxtw #2
LBB0_5:
	ldr	w22, [x8]
	ldp	x8, x11, [x19, #8]
	ldr	w11, [x11, #8]
	mov	w12, #-1
	lsl	w11, w12, w11
	and	w11, w11, w23
	ldr	w9, [x9]
	cmp	w11, w23
	csel	w23, w10, w9, lt
	cmp	w22, w23
	stp	x28, x19, [sp, #40]             ; 16-byte Folded Spill
	b.ne	LBB0_8
; %bb.6:
	subs	w10, w22, #1
	b.gt	LBB0_11
; %bb.7:
Lloh7:
	adrp	x10, _INTRA_PLANAR@GOTPAGE
Lloh8:
	ldr	x10, [x10, _INTRA_PLANAR@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x10]
	stp	w22, w9, [sp, #60]
Lloh10:
	adrp	x10, _INTRA_ANGULAR_26@GOTPAGE
Lloh11:
	ldr	x10, [x10, _INTRA_ANGULAR_26@GOTPAGEOFF]
Lloh12:
	ldr	w24, [x10]
	mov	x23, x9
	b	LBB0_12
LBB0_8:
	stp	w22, w23, [sp, #60]
Lloh13:
	adrp	x10, _INTRA_PLANAR@GOTPAGE
Lloh14:
	ldr	x10, [x10, _INTRA_PLANAR@GOTPAGEOFF]
Lloh15:
	ldr	w24, [x10]
	cmp	w22, w24
	b.eq	LBB0_10
; %bb.9:
	cmp	w23, w24
	b.ne	LBB0_12
LBB0_10:
	cmp	w23, w9
	ccmp	w22, w9, #4, ne
Lloh16:
	adrp	x10, _INTRA_ANGULAR_26@GOTPAGE
Lloh17:
	ldr	x10, [x10, _INTRA_ANGULAR_26@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	csel	w24, w10, w9, eq
	b	LBB0_12
LBB0_11:
	add	w9, w22, #29
	and	w9, w9, #0x1f
	add	w23, w9, #2
	stp	w22, w23, [sp, #60]
	and	w9, w10, #0x1f
	add	w24, w9, #2
LBB0_12:
	ldr	w9, [sp, #56]                   ; 4-byte Folded Reload
	ldr	x28, [x8]
	asr	w19, w9, w27
	str	w24, [sp, #68]
	cbz	w21, LBB0_14
; %bb.13:
	ldr	x8, [x20]
	add	x9, sp, #60
	ldr	w8, [x9, x8, lsl #2]
	b	LBB0_19
LBB0_14:
Lloh19:
	adrp	x21, _uint8_t@GOTPAGE
Lloh20:
	ldr	x21, [x21, _uint8_t@GOTPAGEOFF]
	cmp	w22, w23
	b.le	LBB0_36
; %bb.15:
	ldr	w0, [x21]
	mov	x1, x22
	mov	x2, x23
	bl	_FFSWAP
	cmp	w22, w24
	b.gt	LBB0_37
LBB0_16:
	cmp	w23, w24
	b.le	LBB0_18
LBB0_17:
	ldr	w0, [x21]
	mov	x1, x23
	mov	x2, x24
	bl	_FFSWAP
LBB0_18:
	ldr	w8, [x20, #8]
	cmp	w8, w22
	cinc	w8, w8, ge
	cmp	w8, w23
	cinc	w8, w8, ge
	cmp	w8, w24
	cinc	w8, w8, ge
LBB0_19:
	str	w8, [sp, #56]                   ; 4-byte Folded Spill
	cmp	w19, #0
	csinc	w21, w19, wzr, ne
	cmp	w21, #1
	b.lt	LBB0_34
; %bb.20:
	mov	x22, #0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	sxtw	x23, w8
	sxtw	x24, w26
	sub	x9, x21, #1
	add	w10, w8, w26
	str	w10, [sp, #36]                  ; 4-byte Folded Spill
	and	x10, x21, #0xfffffff0
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	madd	w19, w25, w8, w26
	lsl	w27, w25, #4
Lloh21:
	adrp	x20, _PF_INTRA@GOTPAGE
Lloh22:
	ldr	x20, [x20, _PF_INTRA@GOTPAGEOFF]
	lsr	x8, x9, #32
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	add	x8, x28, w21, uxtw #2
	str	x8, [sp]                        ; 8-byte Folded Spill
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
                                        ;     Child Loop BB0_29 Depth 2
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	add	x9, x22, x23
	mul	x9, x9, x25
	add	x9, x9, x24
	add	x0, x8, x9, lsl #2
	ldr	w1, [sp, #56]                   ; 4-byte Folded Reload
	mov	x2, x21
	bl	_memset
	cmp	w21, #16
	b.lo	LBB0_27
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x8, #0
	cmp	w25, #1
	b.ne	LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	add	w9, w9, w22
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	add	w10, w9, w10
	cmp	w10, w9
	b.lt	LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	cbnz	x9, LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	add	w8, w8, w22
	sbfiz	x8, x8, #2, #32
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	add	x9, x9, x8
	cmp	x9, x20
	b.ls	LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x9, x20, #4
	add	x8, x28, x8
	cmp	x8, x9
	b.hs	LBB0_31
LBB0_27:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x8, #0
LBB0_28:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	add	w9, w9, w8
	madd	w9, w25, w9, w26
	sub	x8, x21, x8
LBB0_29:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x20]
	str	w10, [x28, w9, sxtw #2]
	add	w9, w9, w25
	subs	x8, x8, #1
	b.ne	LBB0_29
LBB0_30:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x22, x22, #1
	add	w19, w19, #1
	add	w26, w26, #1
	cmp	x22, x21
	b.ne	LBB0_21
	b	LBB0_34
LBB0_31:                                ;   in Loop: Header=BB0_21 Depth=1
	ld1r.4s	{ v0 }, [x20]
	mov	x8, x19
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
LBB0_32:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x10, x28, w8, sxtw #2
	stp	q0, q0, [x10]
	stp	q0, q0, [x10, #32]
	add	w8, w8, w27
	subs	x9, x9, #16
	b.ne	LBB0_32
; %bb.33:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	mov	x8, x9
	cmp	x9, x21
	b.eq	LBB0_30
	b	LBB0_28
LBB0_34:
	ldr	x8, [sp, #72]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.35:
	ldr	w0, [sp, #56]                   ; 4-byte Folded Reload
	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
	ret
LBB0_36:
	cmp	w22, w24
	b.le	LBB0_16
LBB0_37:
	ldr	w0, [x21]
	mov	x1, x22
	mov	x2, x24
	bl	_FFSWAP
	cmp	w23, w24
	b.gt	LBB0_17
	b	LBB0_18
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_INTRA_DC,4,2                   ; @INTRA_DC
	.comm	_INTRA_PLANAR,4,2               ; @INTRA_PLANAR
	.comm	_INTRA_ANGULAR_26,4,2           ; @INTRA_ANGULAR_26
	.comm	_uint8_t,4,2                    ; @uint8_t
	.comm	_PF_INTRA,4,2                   ; @PF_INTRA
	.no_dead_strip	_luma_intra_pred_mode
.subsections_via_symbols
