	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ToggleFS                       ## -- Begin function ToggleFS
	.p2align	4, 0x90
_ToggleFS:                              ## @ToggleFS
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_KillVideo
	movq	__fullscreen@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	sete	%al
	movl	%eax, (%rbx)
	movq	_CurGame@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_InitVideo
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	sete	%al
	movl	%eax, (%rbx)
	movq	(%r14), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_InitVideo                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__fullscreen,4,2                ## @_fullscreen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ToggleFS                       ; -- Begin function ToggleFS
	.p2align	2
_ToggleFS:                              ; @ToggleFS
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_KillVideo
Lloh0:
	adrp	x19, __fullscreen@GOTPAGE
Lloh1:
	ldr	x19, [x19, __fullscreen@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19]
Lloh2:
	adrp	x20, _CurGame@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CurGame@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_InitVideo
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19]
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_InitVideo
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__fullscreen,4,2                ; @_fullscreen
.subsections_via_symbols
