	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_INPUT_CenterMousePointer       ## -- Begin function INPUT_CenterMousePointer
	.p2align	4, 0x90
_INPUT_CenterMousePointer:              ## @INPUT_CenterMousePointer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_INPUT_mouse_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_6
## %bb.1:
	movl	$325, %ecx                      ## imm = 0x145
	btl	%eax, %ecx
	jb	LBB0_5
## %bb.2:
	movl	$50, %ecx
	btl	%eax, %ecx
	jae	LBB0_4
## %bb.3:
	movq	_MOUSE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$114, %eax
	shll	%cl, %eax
	movq	_mouse_x@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_mouse_y@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
LBB0_5:
	movq	_mouse_move_x@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_mouse_move_y@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_6:
	popq	%rbp
	retq
LBB0_4:
	movq	_MOUSE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$84, %eax
	shll	%cl, %eax
	movl	$60, %edx
	shll	%cl, %edx
	movq	_mouse_x@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_mouse_y@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INPUT_mouse_mode,4,2           ## @INPUT_mouse_mode
	.comm	_MOUSE_SHIFT,4,2                ## @MOUSE_SHIFT
	.comm	_mouse_x,4,2                    ## @mouse_x
	.comm	_mouse_y,4,2                    ## @mouse_y
	.comm	_mouse_move_x,4,2               ## @mouse_move_x
	.comm	_mouse_move_y,4,2               ## @mouse_move_y
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_INPUT_CenterMousePointer       ; -- Begin function INPUT_CenterMousePointer
	.p2align	2
_INPUT_CenterMousePointer:              ; @INPUT_CenterMousePointer
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _INPUT_mouse_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INPUT_mouse_mode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_5
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #325
	tst	w8, w9
	b.ne	LBB0_4
; %bb.2:
	mov	w9, #50
	tst	w8, w9
	b.eq	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _MOUSE_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MOUSE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #114
	lsl	w8, w9, w8
Lloh6:
	adrp	x9, _mouse_x@GOTPAGE
Lloh7:
	ldr	x9, [x9, _mouse_x@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x8, _mouse_move_x@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mouse_move_x@GOTPAGEOFF]
Lloh11:
	str	wzr, [x8]
Lloh12:
	adrp	x8, _mouse_move_y@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mouse_move_y@GOTPAGEOFF]
Lloh14:
	str	wzr, [x8]
LBB0_5:
	ret
LBB0_6:
Lloh15:
	adrp	x8, _MOUSE_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MOUSE_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	mov	w9, #84
	lsl	w9, w9, w8
Lloh18:
	adrp	x10, _mouse_x@GOTPAGE
Lloh19:
	ldr	x10, [x10, _mouse_x@GOTPAGEOFF]
Lloh20:
	str	w9, [x10]
	mov	w9, #60
	lsl	w8, w9, w8
LBB0_7:
Lloh21:
	adrp	x9, _mouse_y@GOTPAGE
Lloh22:
	ldr	x9, [x9, _mouse_y@GOTPAGEOFF]
Lloh23:
	str	w8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_INPUT_mouse_mode,4,2           ; @INPUT_mouse_mode
	.comm	_MOUSE_SHIFT,4,2                ; @MOUSE_SHIFT
	.comm	_mouse_x,4,2                    ; @mouse_x
	.comm	_mouse_y,4,2                    ; @mouse_y
	.comm	_mouse_move_x,4,2               ; @mouse_move_x
	.comm	_mouse_move_y,4,2               ; @mouse_move_y
.subsections_via_symbols
