	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function cursor_position_callback
LCPI0_0:
	.long	0x41200000                      ## float 10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_cursor_position_callback
	.p2align	4, 0x90
_cursor_position_callback:              ## @cursor_position_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movsd	%xmm1, -16(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -8(%rbp)                 ## 8-byte Spill
	movq	_GLFW_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_glfwGetInputMode
	movq	_GLFW_CURSOR_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_cursorX@GOTPCREL(%rip), %rax
	movsd	-8(%rbp), %xmm4                 ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
	movapd	%xmm4, %xmm0
	subsd	(%rax), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	movq	_alpha@GOTPCREL(%rip), %rcx
	addss	(%rcx), %xmm0
	movq	_cursorY@GOTPCREL(%rip), %rdx
	movsd	-16(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	movapd	%xmm3, %xmm2
	subsd	(%rdx), %xmm2
	cvtsd2ss	%xmm2, %xmm2
	divss	%xmm1, %xmm2
	movq	_beta@GOTPCREL(%rip), %rsi
	addss	(%rsi), %xmm2
	movss	%xmm0, (%rcx)
	movss	%xmm2, (%rsi)
	movsd	%xmm4, (%rax)
	movsd	%xmm3, (%rdx)
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_CURSOR,4,2                ## @GLFW_CURSOR
	.comm	_GLFW_CURSOR_DISABLED,8,3       ## @GLFW_CURSOR_DISABLED
	.comm	_cursorX,8,3                    ## @cursorX
	.comm	_alpha,4,2                      ## @alpha
	.comm	_cursorY,8,3                    ## @cursorY
	.comm	_beta,4,2                       ## @beta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cursor_position_callback       ; -- Begin function cursor_position_callback
	.p2align	2
_cursor_position_callback:              ; @cursor_position_callback
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -24
	.cfi_offset b9, -32
	fmov	d8, d1
	fmov	d9, d0
Lloh0:
	adrp	x8, _GLFW_CURSOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_CURSOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_glfwGetInputMode
Lloh3:
	adrp	x8, _GLFW_CURSOR_DISABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_CURSOR_DISABLED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _cursorX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cursorX@GOTPAGEOFF]
	ldr	d0, [x8]
	fsub	d0, d9, d0
	fcvt	s0, d0
	fmov	s1, #10.00000000
	fdiv	s0, s0, s1
Lloh8:
	adrp	x9, _alpha@GOTPAGE
Lloh9:
	ldr	x9, [x9, _alpha@GOTPAGEOFF]
	ldr	s2, [x9]
	fadd	s0, s2, s0
Lloh10:
	adrp	x10, _cursorY@GOTPAGE
Lloh11:
	ldr	x10, [x10, _cursorY@GOTPAGEOFF]
	str	s0, [x9]
	ldr	d0, [x10]
	fsub	d0, d8, d0
	fcvt	s0, d0
Lloh12:
	adrp	x9, _beta@GOTPAGE
Lloh13:
	ldr	x9, [x9, _beta@GOTPAGEOFF]
	fdiv	s0, s0, s1
	ldr	s1, [x9]
	fadd	s0, s1, s0
	str	s0, [x9]
	str	d9, [x8]
	str	d8, [x10]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_CURSOR,4,2                ; @GLFW_CURSOR
	.comm	_GLFW_CURSOR_DISABLED,8,3       ; @GLFW_CURSOR_DISABLED
	.comm	_cursorX,8,3                    ; @cursorX
	.comm	_alpha,4,2                      ; @alpha
	.comm	_cursorY,8,3                    ; @cursorY
	.comm	_beta,4,2                       ; @beta
.subsections_via_symbols
