	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetCursorPos      ## -- Begin function _glfwPlatformGetCursorPos
	.p2align	4, 0x90
__glfwPlatformGetCursorPos:             ## @_glfwPlatformGetCursorPos
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rdi), %esi
	subq	$8, %rsp
	leaq	-36(%rbp), %r10
	leaq	-28(%rbp), %r11
	leaq	-32(%rbp), %r15
	leaq	-52(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-44(%rbp), %r8
	leaq	-40(%rbp), %r9
	movl	%eax, %edi
	pushq	%r10
	pushq	%r11
	pushq	%r15
	callq	_XQueryPointer
	addq	$32, %rsp
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	cvtsi2sdl	-32(%rbp), %xmm0
	movsd	%xmm0, (%rbx)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	xorps	%xmm0, %xmm0
	cvtsi2sdl	-28(%rbp), %xmm0
	movsd	%xmm0, (%r14)
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,4,2                      ## @_glfw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetCursorPos      ; -- Begin function _glfwPlatformGetCursorPos
	.p2align	2
__glfwPlatformGetCursorPos:             ; @_glfwPlatformGetCursorPos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, __glfw@GOTPAGE
Lloh1:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w1, [x0]
	add	x9, sp, #20
	str	x9, [sp]
	sub	x2, x29, #20
	sub	x3, x29, #24
	sub	x4, x29, #28
	add	x5, sp, #32
	add	x6, sp, #28
	add	x7, sp, #24
	mov	x0, x8
	bl	_XQueryPointer
	cbz	x20, LBB0_2
; %bb.1:
	ldr	s0, [sp, #28]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	str	d0, [x20]
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	ldr	s0, [sp, #24]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	str	d0, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,4,2                      ; @_glfw
.subsections_via_symbols
