	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_DeactivateMouse             ## -- Begin function IN_DeactivateMouse
	.p2align	4, 0x90
_IN_DeactivateMouse:                    ## @IN_DeactivateMouse
	.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
	movq	_mouse_avail@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.1:
	movq	_dpy@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.2:
	movq	_win@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.3:
	movq	_mouse_active@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_9
## %bb.4:
	movq	_in_nograb@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.6:
	movq	_in_dgamouse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_ri@GOTPCREL(%rip), %rax
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	*(%rax)
	jmp	LBB0_8
LBB0_5:
	xorl	%eax, %eax
	callq	_uninstall_grabs
LBB0_8:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mouse_avail,4,2                ## @mouse_avail
	.comm	_dpy,4,2                        ## @dpy
	.comm	_win,4,2                        ## @win
	.comm	_mouse_active,8,3               ## @mouse_active
	.comm	_in_nograb,8,3                  ## @in_nograb
	.comm	_in_dgamouse,8,3                ## @in_dgamouse
	.comm	_ri,8,3                         ## @ri
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in_dgamouse"

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

	.comm	_qfalse,8,3                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_DeactivateMouse             ; -- Begin function IN_DeactivateMouse
	.p2align	2
_IN_DeactivateMouse:                    ; @IN_DeactivateMouse
	.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
Lloh0:
	adrp	x8, _mouse_avail@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mouse_avail@GOTPAGEOFF]
Lloh2:
	adrp	x9, _dpy@GOTPAGE
Lloh3:
	ldr	x9, [x9, _dpy@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _win@GOTPAGE
Lloh7:
	ldr	x10, [x10, _win@GOTPAGEOFF]
Lloh8:
	adrp	x19, _mouse_active@GOTPAGE
Lloh9:
	ldr	x19, [x19, _mouse_active@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	ldr	x11, [x19]
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	ccmp	w10, #0, #4, ne
	ccmp	x11, #0, #4, ne
	b.eq	LBB0_6
; %bb.1:
Lloh11:
	adrp	x8, _in_nograb@GOTPAGE
Lloh12:
	ldr	x8, [x8, _in_nograb@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
Lloh14:
	adrp	x8, _in_dgamouse@GOTPAGE
Lloh15:
	ldr	x8, [x8, _in_dgamouse@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
Lloh17:
	adrp	x8, _ri@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	blr	x8
	b	LBB0_5
LBB0_4:
	bl	_uninstall_grabs
LBB0_5:
Lloh24:
	adrp	x8, _qfalse@GOTPAGE
Lloh25:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_mouse_avail,4,2                ; @mouse_avail
	.comm	_dpy,4,2                        ; @dpy
	.comm	_win,4,2                        ; @win
	.comm	_mouse_active,8,3               ; @mouse_active
	.comm	_in_nograb,8,3                  ; @in_nograb
	.comm	_in_dgamouse,8,3                ; @in_dgamouse
	.comm	_ri,8,3                         ; @ri
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in_dgamouse"

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

	.comm	_qfalse,8,3                     ; @qfalse
.subsections_via_symbols
