	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uninstall_grabs
_uninstall_grabs:                       ## @uninstall_grabs
	.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
	movq	_in_dgamouse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_com_developer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_ri@GOTPCREL(%rip), %rax
	movq	_PRINT_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
LBB0_3:
	movq	_dpy@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_DefaultScreen
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_XF86DGADirectVideo
LBB0_4:
	movq	_dpy@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mouse_accel_numerator@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_mouse_accel_denominator@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_mouse_threshold@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%edx, %esi
	callq	_XChangePointerControl
	movl	(%r15), %edi
	movq	_CurrentTime@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_XUngrabPointer
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_XUngrabKeyboard
	movl	(%r15), %edi
	movq	_None@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_win@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_glConfig@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %r8d
	movl	%ecx, %ebx
	shrl	$31, %ebx
	addl	%ecx, %ebx
	sarl	%ebx
	movl	%r8d, %eax
	shrl	$31, %eax
	addl	%r8d, %eax
	sarl	%eax
	subq	$8, %rsp
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%rbx
	pushq	$0
	callq	_XWarpPointer
	addq	$32, %rsp
	movl	(%r15), %edi
	movl	(%r14), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XUndefineCursor                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_in_dgamouse,8,3                ## @in_dgamouse
	.comm	_com_developer,8,3              ## @com_developer
	.comm	_ri,8,3                         ## @ri
	.comm	_PRINT_ALL,4,2                  ## @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DGA Mouse - Disabling DGA DirectVideo\n"

	.comm	_dpy,4,2                        ## @dpy
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_mouse_accel_numerator,4,2      ## @mouse_accel_numerator
	.comm	_mouse_accel_denominator,4,2    ## @mouse_accel_denominator
	.comm	_mouse_threshold,4,2            ## @mouse_threshold
	.comm	_CurrentTime,4,2                ## @CurrentTime
	.comm	_None,4,2                       ## @None
	.comm	_win,4,2                        ## @win
	.comm	_glConfig,8,2                   ## @glConfig
	.no_dead_strip	_uninstall_grabs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uninstall_grabs
_uninstall_grabs:                       ; @uninstall_grabs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _in_dgamouse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _in_dgamouse@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x20, _dpy@GOTPAGE
Lloh4:
	ldr	x20, [x20, _dpy@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.1:
Lloh5:
	adrp	x8, _com_developer@GOTPAGE
Lloh6:
	ldr	x8, [x8, _com_developer@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _ri@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ri@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _PRINT_ALL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PRINT_ALL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
LBB0_3:
	ldr	w19, [x20]
	mov	x0, x19
	bl	_DefaultScreen
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_XF86DGADirectVideo
LBB0_4:
	ldr	w0, [x20]
Lloh16:
	adrp	x8, _qtrue@GOTPAGE
Lloh17:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _mouse_accel_numerator@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mouse_accel_numerator@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	adrp	x8, _mouse_accel_denominator@GOTPAGE
Lloh23:
	ldr	x8, [x8, _mouse_accel_denominator@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
Lloh25:
	adrp	x8, _mouse_threshold@GOTPAGE
Lloh26:
	ldr	x8, [x8, _mouse_threshold@GOTPAGEOFF]
Lloh27:
	ldr	w5, [x8]
	mov	x2, x1
	bl	_XChangePointerControl
	ldr	w0, [x20]
Lloh28:
	adrp	x19, _CurrentTime@GOTPAGE
Lloh29:
	ldr	x19, [x19, _CurrentTime@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_XUngrabPointer
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_XUngrabKeyboard
	ldr	w0, [x20]
Lloh30:
	adrp	x8, _None@GOTPAGE
Lloh31:
	ldr	x8, [x8, _None@GOTPAGEOFF]
Lloh32:
	adrp	x19, _win@GOTPAGE
Lloh33:
	ldr	x19, [x19, _win@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh35:
	adrp	x8, _glConfig@GOTPAGE
Lloh36:
	ldr	x8, [x8, _glConfig@GOTPAGEOFF]
	ldp	w9, w8, [x8]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w7, w9, #1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	str	w8, [sp]
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_XWarpPointer
	ldr	w0, [x20]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_XUndefineCursor
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_in_dgamouse,8,3                ; @in_dgamouse
	.comm	_com_developer,8,3              ; @com_developer
	.comm	_ri,8,3                         ; @ri
	.comm	_PRINT_ALL,4,2                  ; @PRINT_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DGA Mouse - Disabling DGA DirectVideo\n"

	.comm	_dpy,4,2                        ; @dpy
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_mouse_accel_numerator,4,2      ; @mouse_accel_numerator
	.comm	_mouse_accel_denominator,4,2    ; @mouse_accel_denominator
	.comm	_mouse_threshold,4,2            ; @mouse_threshold
	.comm	_CurrentTime,4,2                ; @CurrentTime
	.comm	_None,4,2                       ; @None
	.comm	_win,4,2                        ; @win
	.comm	_glConfig,8,2                   ; @glConfig
	.no_dead_strip	_uninstall_grabs
.subsections_via_symbols
