	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yuv_to_rgb24
_yuv_to_rgb24:                          ## @yuv_to_rgb24
	.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	$6, %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	$6, %rdi
	movq	_ROQ_UB_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rcx,%rsi,8), %rax
	sarq	$6, %rax
	xorl	%ecx, %ecx
	testq	%r8, %r8
	cmovleq	%rcx, %r8
	testq	%rdi, %rdi
	cmovleq	%rcx, %rdi
	testq	%rax, %rax
	cmovleq	%rcx, %rax
	cmpq	$255, %r8
	movl	$255, %ecx
	cmovaeq	%rcx, %r8
	cmpq	$255, %rdi
	cmovaeq	%rcx, %rdi
	cmpq	$255, %rax
	cmovaeq	%rcx, %rax
	shlq	$8, %rdi
	shlq	$16, %rax
	orq	%r8, %rax
	orq	%rdi, %rax
	movl	$4278190080, %edi               ## imm = 0xFF000000
	orq	%rax, %rdi
	popq	%rbp
	jmp	_LittleLong                     ## TAILCALL
	.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_rgb24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yuv_to_rgb24
_yuv_to_rgb24:                          ; @yuv_to_rgb24
	.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, #6
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
	asr	x10, x10, #6
Lloh12:
	adrp	x11, _ROQ_UB_tab@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ROQ_UB_tab@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	ldr	x11, [x11, x12]
	add	x8, x11, x8
	asr	x8, x8, #6
	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, #255
	cmp	x9, #255
	csel	x9, x9, x11, lo
	cmp	x10, #255
	csel	x10, x10, x11, lo
	cmp	x8, #255
	csel	x8, x8, x11, lo
	orr	x9, x9, x10, lsl #8
	orr	x8, x9, x8, lsl #16
	orr	x0, x8, #0xff000000
	b	_LittleLong
	.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_rgb24
.subsections_via_symbols
