	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_Shutdown                    ## -- Begin function IN_Shutdown
	.p2align	4, 0x90
_IN_Shutdown:                           ## @IN_Shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_SDL_StopTextInput
	leaq	L_.str(%rip), %rdi
	callq	_Cvar_VariableIntegerValue
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_IN_DeactivateMouse
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_mouseAvailable@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_IN_ShutdownJoystick
	movq	_SDL_window@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r_fullscreen"

	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_mouseAvailable,4,2             ## @mouseAvailable
	.comm	_SDL_window,8,3                 ## @SDL_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_Shutdown                    ; -- Begin function IN_Shutdown
	.p2align	2
_IN_Shutdown:                           ; @IN_Shutdown
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_SDL_StopTextInput
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Cvar_VariableIntegerValue
	cmp	x0, #0
	cset	w0, ne
	bl	_IN_DeactivateMouse
Lloh2:
	adrp	x8, _qfalse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _mouseAvailable@GOTPAGE
Lloh6:
	ldr	x9, [x9, _mouseAvailable@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
	bl	_IN_ShutdownJoystick
Lloh8:
	adrp	x8, _SDL_window@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SDL_window@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r_fullscreen"

	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_mouseAvailable,4,2             ; @mouseAvailable
	.comm	_SDL_window,8,3                 ; @SDL_window
.subsections_via_symbols
