	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_ActivateMouse               ## -- Begin function IN_ActivateMouse
	.p2align	4, 0x90
_IN_ActivateMouse:                      ## @IN_ActivateMouse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_s_wmv@GOTPCREL(%rip), %rax
	cmpl	$0, 8(%rax)
	je	LBB0_3
## %bb.1:
	movq	_in_mouse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.4:
	cmpq	$0, (%rax)
	je	LBB0_5
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	popq	%rbp
	retq
LBB0_5:
	movq	_qtrue@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rax)
	cmpl	$-1, %ecx
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_IN_ActivateDIMouse
LBB0_7:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_IN_ActivateWin32Mouse          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_s_wmv,16,3                     ## @s_wmv
	.comm	_in_mouse,8,3                   ## @in_mouse
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_qtrue,8,3                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_ActivateMouse               ; -- Begin function IN_ActivateMouse
	.p2align	2
_IN_ActivateMouse:                      ; @IN_ActivateMouse
	.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
Lloh0:
	adrp	x8, _s_wmv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_wmv@GOTPAGEOFF]
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, _in_mouse@GOTPAGE
Lloh3:
	ldr	x9, [x9, _in_mouse@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w9, [x9]
	cbz	w9, LBB0_4
; %bb.2:
	ldr	x10, [x8]
	cbz	x10, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh5:
	adrp	x9, _qfalse@GOTPAGE
Lloh6:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	str	x9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh8:
	adrp	x10, _qtrue@GOTPAGE
Lloh9:
	ldr	x10, [x10, _qtrue@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	str	x10, [x8]
	cmn	w9, #1
	b.eq	LBB0_7
; %bb.6:
	bl	_IN_ActivateDIMouse
LBB0_7:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_IN_ActivateWin32Mouse
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_s_wmv,16,3                     ; @s_wmv
	.comm	_in_mouse,8,3                   ; @in_mouse
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_qtrue,8,3                      ; @qtrue
.subsections_via_symbols
