	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwGetCursorPos               ## -- Begin function glfwGetCursorPos
	.p2align	4, 0x90
_glfwGetCursorPos:                      ## @glfwGetCursorPos
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	$0, (%r15)
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	$0, (%r14)
LBB0_4:
	xorl	%eax, %eax
	callq	__GLFW_REQUIRE_INIT
	movq	(%rbx), %rax
	movq	_GLFW_CURSOR_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r15)
LBB0_7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r14)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwPlatformGetCursorPos      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_CURSOR_DISABLED,8,3       ## @GLFW_CURSOR_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwGetCursorPos               ; -- Begin function glfwGetCursorPos
	.p2align	2
_glfwGetCursorPos:                      ; @glfwGetCursorPos
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbz	x21, LBB0_2
; %bb.1:
	str	xzr, [x21]
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	str	xzr, [x19]
LBB0_4:
	bl	__GLFW_REQUIRE_INIT
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _GLFW_CURSOR_DISABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GLFW_CURSOR_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.5:
	cbz	x21, LBB0_7
; %bb.6:
	ldr	d0, [x20, #8]
	str	d0, [x21]
LBB0_7:
	cbz	x19, LBB0_9
; %bb.8:
	ldr	d0, [x20, #16]
	str	d0, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	__glfwPlatformGetCursorPos
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_CURSOR_DISABLED,8,3       ; @GLFW_CURSOR_DISABLED
.subsections_via_symbols
