	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_Frame                       ## -- Begin function IN_Frame
	.p2align	4, 0x90
_IN_Frame:                              ## @IN_Frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_IN_JoyMove
	movq	_clc@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_CA_DISCONNECTED@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_CA_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	L_.str(%rip), %rdi
	callq	_Cvar_VariableIntegerValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movq	_cls@GOTPCREL(%rip), %rbx
	movl	%ecx, (%rbx)
	je	LBB0_3
LBB0_1:
	movq	_SDL_window@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SDL_GetWindowFlags
	movq	_SDL_WINDOW_INPUT_FOCUS@GOTPCREL(%rip), %rcx
	movl	(%rbx), %edi
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.2:
	callq	_IN_ActivateMouse
	jmp	LBB0_11
LBB0_3:
	xorl	%eax, %eax
	callq	_Key_GetCatcher
	movq	_KEYCATCH_CONSOLE@GOTPCREL(%rip), %rcx
	movl	(%rbx), %edi
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.6:
	testl	%edi, %edi
	jne	LBB0_1
## %bb.7:
	cmpq	%r12, %r14
	je	LBB0_1
## %bb.8:
	cmpq	%r15, %r14
	je	LBB0_1
## %bb.9:
	xorl	%edi, %edi
LBB0_10:
	callq	_IN_DeactivateMouse
LBB0_11:
	xorl	%eax, %eax
	callq	_IN_ProcessEvents
	xorl	%eax, %eax
	callq	_Sys_Milliseconds
	movq	_in_eventTime@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_vidRestartTime@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.12:
	xorl	%eax, %eax
	callq	_Sys_Milliseconds
	cmpq	%rax, %rbx
	jge	LBB0_14
## %bb.13:
	movq	$0, (%r14)
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Cbuf_AddText                   ## TAILCALL
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clc,8,3                        ## @clc
	.comm	_CA_DISCONNECTED,8,3            ## @CA_DISCONNECTED
	.comm	_CA_ACTIVE,8,3                  ## @CA_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r_fullscreen"

	.comm	_cls,4,2                        ## @cls
	.comm	_KEYCATCH_CONSOLE,4,2           ## @KEYCATCH_CONSOLE
	.comm	_SDL_window,4,2                 ## @SDL_window
	.comm	_SDL_WINDOW_INPUT_FOCUS,4,2     ## @SDL_WINDOW_INPUT_FOCUS
	.comm	_in_eventTime,8,3               ## @in_eventTime
	.comm	_vidRestartTime,8,3             ## @vidRestartTime
L_.str.1:                               ## @.str.1
	.asciz	"vid_restart\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_Frame                       ; -- Begin function IN_Frame
	.p2align	2
_IN_Frame:                              ; @IN_Frame
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_IN_JoyMove
Lloh0:
	adrp	x8, _clc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clc@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _CA_DISCONNECTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CA_DISCONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
Lloh6:
	adrp	x8, _CA_ACTIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CA_ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cvar_VariableIntegerValue
	cmp	x0, #0
	cset	w8, ne
Lloh11:
	adrp	x19, _cls@GOTPAGE
Lloh12:
	ldr	x19, [x19, _cls@GOTPAGEOFF]
	str	w8, [x19]
	cbz	x0, LBB0_3
LBB0_1:
Lloh13:
	adrp	x8, _SDL_window@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SDL_window@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_SDL_GetWindowFlags
	mov	x8, x0
Lloh16:
	adrp	x9, _SDL_WINDOW_INPUT_FOCUS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SDL_WINDOW_INPUT_FOCUS@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	ldr	w0, [x19]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	bl	_IN_ActivateMouse
	b	LBB0_7
LBB0_3:
	bl	_Key_GetCatcher
	mov	x8, x0
Lloh19:
	adrp	x9, _KEYCATCH_CONSOLE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _KEYCATCH_CONSOLE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	ldr	w0, [x19]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.4:
	cmp	w0, #0
	ccmp	x20, x21, #4, eq
	ccmp	x20, x22, #4, ne
	b.eq	LBB0_1
; %bb.5:
	mov	w0, #0
LBB0_6:
	bl	_IN_DeactivateMouse
LBB0_7:
	bl	_IN_ProcessEvents
	bl	_Sys_Milliseconds
Lloh22:
	adrp	x8, _in_eventTime@GOTPAGE
Lloh23:
	ldr	x8, [x8, _in_eventTime@GOTPAGEOFF]
Lloh24:
	str	x0, [x8]
Lloh25:
	adrp	x19, _vidRestartTime@GOTPAGE
Lloh26:
	ldr	x19, [x19, _vidRestartTime@GOTPAGEOFF]
	ldr	x20, [x19]
	cbz	x20, LBB0_10
; %bb.8:
	bl	_Sys_Milliseconds
	cmp	x20, x0
	b.ge	LBB0_10
; %bb.9:
	str	xzr, [x19]
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Cbuf_AddText
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_clc,8,3                        ; @clc
	.comm	_CA_DISCONNECTED,8,3            ; @CA_DISCONNECTED
	.comm	_CA_ACTIVE,8,3                  ; @CA_ACTIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r_fullscreen"

	.comm	_cls,4,2                        ; @cls
	.comm	_KEYCATCH_CONSOLE,4,2           ; @KEYCATCH_CONSOLE
	.comm	_SDL_window,4,2                 ; @SDL_window
	.comm	_SDL_WINDOW_INPUT_FOCUS,4,2     ; @SDL_WINDOW_INPUT_FOCUS
	.comm	_in_eventTime,8,3               ; @in_eventTime
	.comm	_vidRestartTime,8,3             ; @vidRestartTime
l_.str.1:                               ; @.str.1
	.asciz	"vid_restart\n"

.subsections_via_symbols
