	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _osd_disable_vid_rgb888
__osd_disable_vid_rgb888:               ## @_osd_disable_vid_rgb888
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_VPBE_VERSION_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_OSD_MISCCTL_RGBEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_OSD_MISCCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	popq	%rbp
	jmp	_osd_clear                      ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPBE_VERSION_1,8,3             ## @VPBE_VERSION_1
	.comm	_OSD_MISCCTL_RGBEN,4,2          ## @OSD_MISCCTL_RGBEN
	.comm	_OSD_MISCCTL,4,2                ## @OSD_MISCCTL
	.no_dead_strip	__osd_disable_vid_rgb888
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _osd_disable_vid_rgb888
__osd_disable_vid_rgb888:               ; @_osd_disable_vid_rgb888
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _VPBE_VERSION_1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VPBE_VERSION_1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _OSD_MISCCTL_RGBEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OSD_MISCCTL_RGBEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _OSD_MISCCTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSD_MISCCTL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	b	_osd_clear
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VPBE_VERSION_1,8,3             ; @VPBE_VERSION_1
	.comm	_OSD_MISCCTL_RGBEN,4,2          ; @OSD_MISCCTL_RGBEN
	.comm	_OSD_MISCCTL,4,2                ; @OSD_MISCCTL
	.no_dead_strip	__osd_disable_vid_rgb888
.subsections_via_symbols
