	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VGLrgbToNative
_VGLrgbToNative:                        ## @VGLrgbToNative
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VGLModeInfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %r9d
	movb	$16, %cl
	subb	8(%rax), %cl
	sarl	%cl, %edi
	leal	(%r8,%r9), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movb	$16, %cl
	subb	%r9b, %cl
	sarl	%cl, %esi
	movl	%r8d, %ecx
	shll	%cl, %esi
	movb	$16, %cl
	orl	%edi, %esi
	subb	%r8b, %cl
	sarl	%cl, %edx
	orl	%esi, %edx
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VGLModeInfo,8,3                ## @VGLModeInfo
	.no_dead_strip	_VGLrgbToNative
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VGLrgbToNative
_VGLrgbToNative:                        ; @VGLrgbToNative
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VGLModeInfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VGLModeInfo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	w10, w9, [x8, #4]
	ldr	w8, [x8]
	mov	w11, #16
	sub	w9, w11, w9
	asr	w9, w0, w9
	add	w12, w8, w10
	lsl	w9, w9, w12
	sub	w10, w11, w10
	asr	w10, w1, w10
	lsl	w10, w10, w8
	orr	w9, w9, w10
	sub	w8, w11, w8
	asr	w8, w2, w8
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VGLModeInfo,8,3                ; @VGLModeInfo
	.no_dead_strip	_VGLrgbToNative
.subsections_via_symbols
