	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDEOMODE_ToggleVerticalArea   ## -- Begin function VIDEOMODE_ToggleVerticalArea
	.p2align	4, 0x90
_VIDEOMODE_ToggleVerticalArea:          ## @VIDEOMODE_ToggleVerticalArea
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VIDEOMODE_vertical_area@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	movq	_VIDEOMODE_VERTICAL_SIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, %edi
	popq	%rbp
	jmp	_VIDEOMODE_SetVerticalArea      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDEOMODE_vertical_area,4,2    ## @VIDEOMODE_vertical_area
	.comm	_VIDEOMODE_VERTICAL_SIZE,4,2    ## @VIDEOMODE_VERTICAL_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VIDEOMODE_ToggleVerticalArea   ; -- Begin function VIDEOMODE_ToggleVerticalArea
	.p2align	2
_VIDEOMODE_ToggleVerticalArea:          ; @VIDEOMODE_ToggleVerticalArea
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VIDEOMODE_vertical_area@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDEOMODE_vertical_area@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, #1
Lloh3:
	adrp	x9, _VIDEOMODE_VERTICAL_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VIDEOMODE_VERTICAL_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w0, w10, w9, w8
	b	_VIDEOMODE_SetVerticalArea
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDEOMODE_vertical_area,4,2    ; @VIDEOMODE_vertical_area
	.comm	_VIDEOMODE_VERTICAL_SIZE,4,2    ; @VIDEOMODE_VERTICAL_SIZE
.subsections_via_symbols
