	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_IN_JoyMove
	movq	_s_wmv@GOTPCREL(%rip), %rbx
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.5:
	movq	_cls@GOTPCREL(%rip), %rax
	movq	_KEYCATCH_CONSOLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_Cvar_VariableValue
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rdi
	callq	_Cvar_VariableString
	movq	__3DFX_DRIVER_NAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
LBB0_8:
	movq	_in_appactive@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_IN_ActivateMouse
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_IN_MouseMove                   ## TAILCALL
LBB0_1:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.2:
	movq	_g_wv@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
	xorl	%eax, %eax
	callq	_IN_StartupMouse
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_IN_DeactivateMouse             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_s_wmv,16,3                     ## @s_wmv
	.comm	_g_wv,8,3                       ## @g_wv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Proceeding with delayed mouse init\n"

	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_cls,4,2                        ## @cls
	.comm	_KEYCATCH_CONSOLE,4,2           ## @KEYCATCH_CONSOLE
L_.str.1:                               ## @.str.1
	.asciz	"r_fullscreen"

L_.str.2:                               ## @.str.2
	.asciz	"r_glDriver"

	.comm	__3DFX_DRIVER_NAME,4,2          ## @_3DFX_DRIVER_NAME
	.comm	_in_appactive,4,2               ## @in_appactive
.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	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	_IN_JoyMove
Lloh0:
	adrp	x19, _s_wmv@GOTPAGE
Lloh1:
	ldr	x19, [x19, _s_wmv@GOTPAGEOFF]
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_6
; %bb.1:
Lloh2:
	adrp	x8, _cls@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cls@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _KEYCATCH_CONSOLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KEYCATCH_CONSOLE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Cvar_VariableValue
	cbnz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Cvar_VariableString
Lloh12:
	adrp	x8, __3DFX_DRIVER_NAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, __3DFX_DRIVER_NAME@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_strcmp
	cbnz	x0, LBB0_9
LBB0_4:
Lloh15:
	adrp	x8, _in_appactive@GOTPAGE
Lloh16:
	ldr	x8, [x8, _in_appactive@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.5:
	bl	_IN_ActivateMouse
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IN_MouseMove
LBB0_6:
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _g_wv@GOTPAGE
Lloh19:
	ldr	x9, [x9, _g_wv@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_8
; %bb.7:
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
	bl	_IN_StartupMouse
Lloh23:
	adrp	x8, _qfalse@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IN_DeactivateMouse
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_s_wmv,16,3                     ; @s_wmv
	.comm	_g_wv,8,3                       ; @g_wv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Proceeding with delayed mouse init\n"

	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_cls,4,2                        ; @cls
	.comm	_KEYCATCH_CONSOLE,4,2           ; @KEYCATCH_CONSOLE
l_.str.1:                               ; @.str.1
	.asciz	"r_fullscreen"

l_.str.2:                               ; @.str.2
	.asciz	"r_glDriver"

	.comm	__3DFX_DRIVER_NAME,4,2          ; @_3DFX_DRIVER_NAME
	.comm	_in_appactive,4,2               ; @in_appactive
.subsections_via_symbols
