	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetScreenSize                  ## -- Begin function GetScreenSize
	.p2align	4, 0x90
_GetScreenSize:                         ## @GetScreenSize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_STD_OUTPUT_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetStdHandle
	leaq	-24(%rbp), %rsi
	movl	%eax, %edi
	callq	_GetConsoleScreenBufferInfo
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_4
LBB0_3:
	movl	-24(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movl	-20(%rbp), %eax
	movl	%eax, (%r14)
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movabsq	$107374182480, %rax             ## imm = 0x1900000050
	movq	%rax, -24(%rbp)
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_STD_OUTPUT_HANDLE,4,2          ## @STD_OUTPUT_HANDLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function GetScreenSize
lCPI0_0:
	.long	80                              ; 0x50
	.long	25                              ; 0x19
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_GetScreenSize
	.p2align	2
_GetScreenSize:                         ; @GetScreenSize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _STD_OUTPUT_HANDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STD_OUTPUT_HANDLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_GetStdHandle
	add	x1, sp, #8
	bl	_GetConsoleScreenBufferInfo
	cbz	w0, LBB0_6
; %bb.1:
	cbz	x20, LBB0_3
LBB0_2:
	ldr	w8, [sp, #8]
	str	w8, [x20]
LBB0_3:
	cbz	x19, LBB0_5
; %bb.4:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	cbnz	x20, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STD_OUTPUT_HANDLE,4,2          ; @STD_OUTPUT_HANDLE
.subsections_via_symbols
