	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disableCursor
_disableCursor:                         ## @disableCursor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_enableRawMouseMotion
LBB0_2:
	movq	__glfw@GOTPCREL(%rip), %r14
	movq	%rbx, 16(%r14)
	leaq	12(%r14), %rsi
	leaq	8(%r14), %rdx
	movq	%rbx, %rdi
	callq	__glfwPlatformGetCursorPos
	movq	%rbx, %rdi
	callq	_updateCursorImage
	movq	%rbx, %rdi
	callq	__glfwCenterCursorInContentArea
	movl	(%r14), %eax
	movl	4(%r14), %edi
	movl	(%rbx), %esi
	movq	_True@GOTPCREL(%rip), %rdx
	movq	_ButtonPressMask@GOTPCREL(%rip), %rbx
	movq	_ButtonReleaseMask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rbx), %ecx
	movl	(%rdx), %edx
	movq	_PointerMotionMask@GOTPCREL(%rip), %rbx
	orl	(%rbx), %ecx
	movq	_GrabModeAsync@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	_CurrentTime@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	subq	$8, %rsp
	movl	%r8d, %r9d
	pushq	%rbx
	pushq	%rax
	pushq	%rsi
	callq	_XGrabPointer
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,24,3                     ## @_glfw
	.comm	_True,4,2                       ## @True
	.comm	_ButtonPressMask,4,2            ## @ButtonPressMask
	.comm	_ButtonReleaseMask,4,2          ## @ButtonReleaseMask
	.comm	_PointerMotionMask,4,2          ## @PointerMotionMask
	.comm	_GrabModeAsync,4,2              ## @GrabModeAsync
	.comm	_CurrentTime,4,2                ## @CurrentTime
	.no_dead_strip	_disableCursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disableCursor
_disableCursor:                         ; @disableCursor
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_enableRawMouseMotion
LBB0_2:
Lloh0:
	adrp	x20, __glfw@GOTPAGE
Lloh1:
	ldr	x20, [x20, __glfw@GOTPAGEOFF]
	str	x19, [x20, #16]
	add	x1, x20, #12
	add	x2, x20, #8
	mov	x0, x19
	bl	__glfwPlatformGetCursorPos
	mov	x0, x19
	bl	_updateCursorImage
	mov	x0, x19
	bl	__glfwCenterCursorInContentArea
	ldr	w1, [x19]
Lloh2:
	adrp	x8, _True@GOTPAGE
Lloh3:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh4:
	adrp	x9, _ButtonPressMask@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ButtonPressMask@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _ButtonReleaseMask@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ButtonReleaseMask@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _PointerMotionMask@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PointerMotionMask@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh14:
	adrp	x8, _GrabModeAsync@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GrabModeAsync@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
	ldp	w7, w0, [x20]
Lloh17:
	adrp	x8, _CurrentTime@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CurrentTime@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x5, x4
	mov	x6, x1
	bl	_XGrabPointer
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,24,3                     ; @_glfw
	.comm	_True,4,2                       ; @True
	.comm	_ButtonPressMask,4,2            ; @ButtonPressMask
	.comm	_ButtonReleaseMask,4,2          ; @ButtonReleaseMask
	.comm	_PointerMotionMask,4,2          ; @PointerMotionMask
	.comm	_GrabModeAsync,4,2              ; @GrabModeAsync
	.comm	_CurrentTime,4,2                ; @CurrentTime
	.no_dead_strip	_disableCursor
.subsections_via_symbols
