	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XboxVideoGetDisplaySize        ## -- Begin function XboxVideoGetDisplaySize
	.p2align	4, 0x90
_XboxVideoGetDisplaySize:               ## @XboxVideoGetDisplaySize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	movq	_ScreenWidth@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CHAR_WIDTH@GOTPCREL(%rip), %r8
	cltd
	idivl	(%r8)
	movl	%eax, (%rdi)
	movq	_ScreenHeight@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TOP_BOTTOM_LINES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	addl	%edx, %edx
	subl	%edx, %eax
	movq	_CHAR_HEIGHT@GOTPCREL(%rip), %rdi
	cltd
	idivl	(%rdi)
	movl	%eax, (%rsi)
	movl	$0, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ScreenWidth,4,2                ## @ScreenWidth
	.comm	_CHAR_WIDTH,4,2                 ## @CHAR_WIDTH
	.comm	_ScreenHeight,4,2               ## @ScreenHeight
	.comm	_TOP_BOTTOM_LINES,4,2           ## @TOP_BOTTOM_LINES
	.comm	_CHAR_HEIGHT,4,2                ## @CHAR_HEIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_XboxVideoGetDisplaySize        ; -- Begin function XboxVideoGetDisplaySize
	.p2align	2
_XboxVideoGetDisplaySize:               ; @XboxVideoGetDisplaySize
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ScreenWidth@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ScreenWidth@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CHAR_WIDTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHAR_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
Lloh6:
	adrp	x9, _ScreenHeight@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ScreenHeight@GOTPAGEOFF]
	str	w8, [x0]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _TOP_BOTTOM_LINES@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TOP_BOTTOM_LINES@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	sub	w8, w8, w9, lsl #1
Lloh12:
	adrp	x9, _CHAR_HEIGHT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CHAR_HEIGHT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	str	w8, [x1]
	str	wzr, [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
	.cfi_endproc
                                        ; -- End function
	.comm	_ScreenWidth,4,2                ; @ScreenWidth
	.comm	_CHAR_WIDTH,4,2                 ; @CHAR_WIDTH
	.comm	_ScreenHeight,4,2               ; @ScreenHeight
	.comm	_TOP_BOTTOM_LINES,4,2           ; @TOP_BOTTOM_LINES
	.comm	_CHAR_HEIGHT,4,2                ; @CHAR_HEIGHT
.subsections_via_symbols
