	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_Init                        ## -- Begin function IN_Init
	.p2align	4, 0x90
_IN_Init:                               ## @IN_Init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	callq	_Com_Printf
	movq	_CVAR_ARCHIVE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rsi
	callq	_Cvar_Get
	movq	_in_mouse@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movl	(%r15), %edx
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Cvar_Get
	movq	_in_dgamouse@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%r15), %edx
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Cvar_Get
	movq	_in_subframe@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.5(%rip), %rdi
	leaq	L_.str.6(%rip), %rbx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_Cvar_Get
	movq	_in_nograb@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_CVAR_LATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r15), %edx
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Cvar_Get
	movq	_in_joystick@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_CVAR_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.8(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Cvar_Get
	movq	_in_joystickDebug@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%r15), %edx
	leaq	L_.str.9(%rip), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_Cvar_Get
	movq	_joy_threshold@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_mouse_avail@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_IN_StartupJoystick
	leaq	L_.str.11(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n------- Input Initialization -------\n"

L_.str.1:                               ## @.str.1
	.asciz	"in_mouse"

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

	.comm	_CVAR_ARCHIVE,4,2               ## @CVAR_ARCHIVE
	.comm	_in_mouse,8,3                   ## @in_mouse
L_.str.3:                               ## @.str.3
	.asciz	"in_dgamouse"

	.comm	_in_dgamouse,8,3                ## @in_dgamouse
L_.str.4:                               ## @.str.4
	.asciz	"in_subframe"

	.comm	_in_subframe,8,3                ## @in_subframe
L_.str.5:                               ## @.str.5
	.asciz	"in_nograb"

L_.str.6:                               ## @.str.6
	.asciz	"0"

	.comm	_in_nograb,8,3                  ## @in_nograb
L_.str.7:                               ## @.str.7
	.asciz	"in_joystick"

	.comm	_CVAR_LATCH,4,2                 ## @CVAR_LATCH
	.comm	_in_joystick,8,3                ## @in_joystick
L_.str.8:                               ## @.str.8
	.asciz	"in_debugjoystick"

	.comm	_CVAR_TEMP,4,2                  ## @CVAR_TEMP
	.comm	_in_joystickDebug,8,3           ## @in_joystickDebug
L_.str.9:                               ## @.str.9
	.asciz	"joy_threshold"

L_.str.10:                              ## @.str.10
	.asciz	"0.15"

	.comm	_joy_threshold,8,3              ## @joy_threshold
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_mouse_avail,4,2                ## @mouse_avail
	.comm	_qfalse,4,2                     ## @qfalse
L_.str.11:                              ## @.str.11
	.asciz	"------------------------------------\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_Init                        ; -- Begin function IN_Init
	.p2align	2
_IN_Init:                               ; @IN_Init
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Com_Printf
Lloh2:
	adrp	x21, _CVAR_ARCHIVE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CVAR_ARCHIVE@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh6:
	adrp	x19, l_.str.2@PAGE
Lloh7:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Get
Lloh8:
	adrp	x20, _in_mouse@GOTPAGE
Lloh9:
	ldr	x20, [x20, _in_mouse@GOTPAGEOFF]
	str	x0, [x20]
	ldr	w2, [x21]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Get
Lloh12:
	adrp	x8, _in_dgamouse@GOTPAGE
Lloh13:
	ldr	x8, [x8, _in_dgamouse@GOTPAGEOFF]
Lloh14:
	str	x0, [x8]
	ldr	w2, [x21]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Get
Lloh17:
	adrp	x8, _in_subframe@GOTPAGE
Lloh18:
	ldr	x8, [x8, _in_subframe@GOTPAGEOFF]
Lloh19:
	str	x0, [x8]
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
Lloh22:
	adrp	x19, l_.str.6@PAGE
Lloh23:
	add	x19, x19, l_.str.6@PAGEOFF
	mov	x1, x19
	mov	w2, #0
	bl	_Cvar_Get
Lloh24:
	adrp	x8, _in_nograb@GOTPAGE
Lloh25:
	ldr	x8, [x8, _in_nograb@GOTPAGEOFF]
Lloh26:
	str	x0, [x8]
	ldr	w8, [x21]
Lloh27:
	adrp	x9, _CVAR_LATCH@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CVAR_LATCH@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Get
Lloh32:
	adrp	x8, _in_joystick@GOTPAGE
Lloh33:
	ldr	x8, [x8, _in_joystick@GOTPAGEOFF]
Lloh34:
	str	x0, [x8]
Lloh35:
	adrp	x8, _CVAR_TEMP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CVAR_TEMP@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x0, l_.str.8@PAGE
Lloh39:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x19
	bl	_Cvar_Get
Lloh40:
	adrp	x8, _in_joystickDebug@GOTPAGE
Lloh41:
	ldr	x8, [x8, _in_joystickDebug@GOTPAGEOFF]
Lloh42:
	str	x0, [x8]
	ldr	w2, [x21]
Lloh43:
	adrp	x0, l_.str.9@PAGE
Lloh44:
	add	x0, x0, l_.str.9@PAGEOFF
Lloh45:
	adrp	x1, l_.str.10@PAGE
Lloh46:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_Cvar_Get
Lloh47:
	adrp	x8, _joy_threshold@GOTPAGE
Lloh48:
	ldr	x8, [x8, _joy_threshold@GOTPAGEOFF]
Lloh49:
	str	x0, [x8]
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh50:
	adrp	x9, _qfalse@GOTPAGE
Lloh51:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh52:
	adrp	x10, _qtrue@GOTPAGE
Lloh53:
	ldr	x10, [x10, _qtrue@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _mouse_avail@GOTPAGE
Lloh55:
	ldr	x9, [x9, _mouse_avail@GOTPAGEOFF]
Lloh56:
	str	w8, [x9]
	bl	_IN_StartupJoystick
Lloh57:
	adrp	x0, l_.str.11@PAGE
Lloh58:
	add	x0, x0, l_.str.11@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	_Com_Printf
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n------- Input Initialization -------\n"

l_.str.1:                               ; @.str.1
	.asciz	"in_mouse"

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

	.comm	_CVAR_ARCHIVE,4,2               ; @CVAR_ARCHIVE
	.comm	_in_mouse,8,3                   ; @in_mouse
l_.str.3:                               ; @.str.3
	.asciz	"in_dgamouse"

	.comm	_in_dgamouse,8,3                ; @in_dgamouse
l_.str.4:                               ; @.str.4
	.asciz	"in_subframe"

	.comm	_in_subframe,8,3                ; @in_subframe
l_.str.5:                               ; @.str.5
	.asciz	"in_nograb"

l_.str.6:                               ; @.str.6
	.asciz	"0"

	.comm	_in_nograb,8,3                  ; @in_nograb
l_.str.7:                               ; @.str.7
	.asciz	"in_joystick"

	.comm	_CVAR_LATCH,4,2                 ; @CVAR_LATCH
	.comm	_in_joystick,8,3                ; @in_joystick
l_.str.8:                               ; @.str.8
	.asciz	"in_debugjoystick"

	.comm	_CVAR_TEMP,4,2                  ; @CVAR_TEMP
	.comm	_in_joystickDebug,8,3           ; @in_joystickDebug
l_.str.9:                               ; @.str.9
	.asciz	"joy_threshold"

l_.str.10:                              ; @.str.10
	.asciz	"0.15"

	.comm	_joy_threshold,8,3              ; @joy_threshold
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_mouse_avail,4,2                ; @mouse_avail
	.comm	_qfalse,4,2                     ; @qfalse
l_.str.11:                              ; @.str.11
	.asciz	"------------------------------------\n"

.subsections_via_symbols
