	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x8_get_prediction_chroma
_x8_get_prediction_chroma:              ## @x8_get_prediction_chroma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	4(%rdi), %rax
	movl	12(%rdi), %ecx
	addl	%ecx, %ecx
	decl	%ecx
	xorl	%edx, %edx
	cmpl	%ecx, %eax
	setge	%dl
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	setb	%cl
	xorl	%esi, %esi
	cmpl	$2, 8(%rdi)
	setb	%sil
	leal	(%rcx,%rsi,2), %esi
	leal	(%rsi,%rdx,4), %ecx
	movl	%ecx, (%rdi)
	movq	$0, 32(%rdi)
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	$204, %eax
	btl	%ecx, %eax
	setb	%cl
	movl	$4, %eax
	shll	%cl, %eax
	jmp	LBB0_3
LBB0_2:
	movq	24(%rdi), %rcx
	movl	-8(%rcx,%rax,8), %eax
	shll	$2, %eax
	andl	$12, %eax
LBB0_3:
	movl	%eax, 16(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_x8_get_prediction_chroma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x8_get_prediction_chroma
_x8_get_prediction_chroma:              ; @x8_get_prediction_chroma
	.cfi_startproc
; %bb.0:
	ldp	w10, w8, [x0, #8]
	lsl	w8, w8, #1
	sub	w9, w8, #1
	ldr	w8, [x0, #4]
	cmp	w8, w9
	cset	w11, ge
	cmp	w8, #2
	cset	w12, lo
	cmp	w10, #2
	cset	w9, lo
	bfi	w12, w9, #1, #1
	mov	x9, x12
	bfi	w9, w11, #2, #1
	str	w9, [x0]
	str	xzr, [x0, #32]
	cbz	w12, LBB0_2
; %bb.1:
	mov	w8, #204
	lsr	w8, w8, w9
	and	w8, w8, #0x1
	mov	w9, #4
	lsl	w8, w9, w8
	str	w8, [x0, #16]
	ret
LBB0_2:
	ldr	x9, [x0, #24]
	lsl	w8, w8, #1
	sub	w8, w8, #2
	ldr	w8, [x9, w8, sxtw #2]
	ubfiz	w8, w8, #2, #2
	str	w8, [x0, #16]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_x8_get_prediction_chroma
.subsections_via_symbols
