	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yuv_to_rgb
_yuv_to_rgb:                            ## @yuv_to_rgb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ROQ_YY_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdi,8), %rax
	movq	_ROQ_VR_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rdx,8), %r8
	addq	%rax, %r8
	sarq	$9, %r8
	movq	_ROQ_UG_tab@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rdi,%rsi,8), %rdi
	addq	%rax, %rdi
	movq	_ROQ_VG_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rcx,%rdx,8), %rdi
	sarq	$8, %rdi
	movq	_ROQ_UB_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rcx,%rsi,8), %rax
	sarq	$9, %rax
	xorl	%ecx, %ecx
	testq	%r8, %r8
	cmovleq	%rcx, %r8
	testq	%rdi, %rdi
	cmovleq	%rcx, %rdi
	testq	%rax, %rax
	cmovleq	%rcx, %rax
	cmpq	$31, %r8
	movl	$31, %ecx
	cmovaeq	%rcx, %r8
	cmpq	$63, %rdi
	movl	$63, %edx
	cmovbq	%rdi, %rdx
	cmpq	$31, %rax
	cmovaeq	%rcx, %rax
	shll	$11, %r8d
	shll	$5, %edx
	orl	%r8d, %eax
	orl	%edx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROQ_YY_tab,8,3                 ## @ROQ_YY_tab
	.comm	_ROQ_VR_tab,8,3                 ## @ROQ_VR_tab
	.comm	_ROQ_UG_tab,8,3                 ## @ROQ_UG_tab
	.comm	_ROQ_VG_tab,8,3                 ## @ROQ_VG_tab
	.comm	_ROQ_UB_tab,8,3                 ## @ROQ_UB_tab
	.no_dead_strip	_yuv_to_rgb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yuv_to_rgb
_yuv_to_rgb:                            ; @yuv_to_rgb
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ROQ_YY_tab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROQ_YY_tab@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, x0, lsl #3]
Lloh3:
	adrp	x9, _ROQ_VR_tab@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ROQ_VR_tab@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x10, x2, #3
	ldr	x9, [x9, x10]
	add	x9, x9, x8
	asr	x9, x9, #9
Lloh6:
	adrp	x11, _ROQ_UG_tab@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ROQ_UG_tab@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	lsl	x12, x1, #3
	ldr	x11, [x11, x12]
Lloh9:
	adrp	x13, _ROQ_VG_tab@GOTPAGE
Lloh10:
	ldr	x13, [x13, _ROQ_VG_tab@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x13]
	ldr	x10, [x13, x10]
	add	x11, x11, x8
	add	x10, x11, x10
Lloh12:
	adrp	x11, _ROQ_UB_tab@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ROQ_UB_tab@GOTPAGEOFF]
	asr	x10, x10, #8
Lloh14:
	ldr	x11, [x11]
	ldr	x11, [x11, x12]
	add	x8, x11, x8
	asr	x8, x8, #9
	cmp	x9, #0
	csel	x9, x9, xzr, gt
	cmp	x10, #0
	csel	x10, x10, xzr, gt
	cmp	x8, #0
	csel	x8, x8, xzr, gt
	mov	w11, #31
	cmp	x9, #31
	csel	x9, x9, x11, lo
	mov	w12, #63
	cmp	x10, #63
	csel	x10, x10, x12, lo
	cmp	x8, #31
	csel	x8, x8, x11, lo
	lsl	w10, w10, #5
	orr	w9, w10, w9, lsl #11
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ROQ_YY_tab,8,3                 ; @ROQ_YY_tab
	.comm	_ROQ_VR_tab,8,3                 ; @ROQ_VR_tab
	.comm	_ROQ_UG_tab,8,3                 ; @ROQ_UG_tab
	.comm	_ROQ_VG_tab,8,3                 ; @ROQ_VG_tab
	.comm	_ROQ_UB_tab,8,3                 ; @ROQ_UB_tab
	.no_dead_strip	_yuv_to_rgb
.subsections_via_symbols
