	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PcVideoGetDisplaySize          ## -- Begin function PcVideoGetDisplaySize
	.p2align	4, 0x90
_PcVideoGetDisplaySize:                 ## @PcVideoGetDisplaySize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ScreenWidth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	movq	_ScreenHeight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	movq	_VideoGraphicsMode@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_DisplayMode@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rcx
	jne	LBB0_4
## %bb.1:
	movq	_VesaVideoMode@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_VesaVideoModeInformation@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	cmpl	$16, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	cmpl	$6, 4(%rcx)
	sete	%al
	addl	$15, %eax
LBB0_4:
	movl	%eax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ScreenWidth,4,2                ## @ScreenWidth
	.comm	_ScreenHeight,4,2               ## @ScreenHeight
	.comm	_VideoGraphicsMode,8,3          ## @VideoGraphicsMode
	.comm	_DisplayMode,8,3                ## @DisplayMode
	.comm	_VesaVideoMode,8,3              ## @VesaVideoMode
	.comm	_VesaVideoModeInformation,8,2   ## @VesaVideoModeInformation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PcVideoGetDisplaySize          ; -- Begin function PcVideoGetDisplaySize
	.p2align	2
_PcVideoGetDisplaySize:                 ; @PcVideoGetDisplaySize
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ScreenWidth@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ScreenWidth@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh3:
	adrp	x8, _ScreenHeight@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ScreenHeight@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x1]
Lloh6:
	adrp	x8, _VideoGraphicsMode@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VideoGraphicsMode@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _DisplayMode@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DisplayMode@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _VesaVideoMode@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VesaVideoMode@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x10, #0, #4, eq
	b.ne	LBB0_2
; %bb.1:
	str	wzr, [x2]
	ret
LBB0_2:
Lloh15:
	adrp	x9, _VesaVideoModeInformation@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VesaVideoModeInformation@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #16
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x9, #4]
	cmp	w8, #6
	mov	w8, #15
	cinc	w8, w8, eq
LBB0_4:
	str	w8, [x2]
	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
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ScreenWidth,4,2                ; @ScreenWidth
	.comm	_ScreenHeight,4,2               ; @ScreenHeight
	.comm	_VideoGraphicsMode,8,3          ; @VideoGraphicsMode
	.comm	_DisplayMode,8,3                ; @DisplayMode
	.comm	_VesaVideoMode,8,3              ; @VesaVideoMode
	.comm	_VesaVideoModeInformation,8,2   ; @VesaVideoModeInformation
.subsections_via_symbols
