	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function glfwSetCursorPos
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_glfwSetCursorPos
	.p2align	4, 0x90
_glfwSetCursorPos:                      ## @glfwSetCursorPos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movsd	%xmm1, -24(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	__GLFW_REQUIRE_INIT
	movsd	-16(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm0
	jp	LBB0_10
## %bb.1:
	ucomisd	%xmm1, %xmm1
	jp	LBB0_10
## %bb.2:
	movq	_DBL_MAX@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm3                   ## xmm3 = mem[0],zero
	movapd	LCPI0_0(%rip), %xmm2            ## xmm2 = [-0.0E+0,-0.0E+0]
	xorpd	%xmm3, %xmm2
	ucomisd	%xmm0, %xmm2
	ja	LBB0_10
## %bb.3:
	ucomisd	%xmm3, %xmm0
	ja	LBB0_10
## %bb.4:
	ucomisd	%xmm1, %xmm2
	ja	LBB0_10
## %bb.5:
	ucomisd	%xmm3, %xmm1
	ja	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	__glfwPlatformWindowFocused
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	(%rbx), %rax
	movq	_GLFW_CURSOR_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.8:
	movsd	-16(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rbx)
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	movq	_GLFW_INVALID_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__glfwInputError                ## TAILCALL
LBB0_11:
	movq	%rbx, %rdi
	movsd	-16(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__glfwPlatformSetCursorPos      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DBL_MAX,8,3                    ## @DBL_MAX
	.comm	_GLFW_INVALID_VALUE,4,2         ## @GLFW_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid cursor position %f %f"

	.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	_glfwSetCursorPos               ; -- Begin function glfwSetCursorPos
	.p2align	2
_glfwSetCursorPos:                      ; @glfwSetCursorPos
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	fmov	d8, d1
	fmov	d9, d0
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	bl	__GLFW_REQUIRE_INIT
	fcmp	d9, d9
	b.vs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DBL_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBL_MAX@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	fneg	d1, d0
	fcmp	d8, d8
	fccmp	d1, d9, #0, vc
	fccmp	d0, d9, #8, le
	fccmp	d1, d8, #0, pl
	fccmp	d0, d8, #8, le
	b.pl	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _GLFW_INVALID_VALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_INVALID_VALUE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	fmov	d0, d9
	fmov	d1, d8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	__glfwInputError
LBB0_3:
	mov	x0, x19
	bl	__glfwPlatformWindowFocused
	cbz	w0, LBB0_6
; %bb.4:
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _GLFW_CURSOR_DISABLED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GLFW_CURSOR_DISABLED@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	stp	d9, d8, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	fmov	d0, d9
	fmov	d1, d8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	b	__glfwPlatformSetCursorPos
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DBL_MAX,8,3                    ; @DBL_MAX
	.comm	_GLFW_INVALID_VALUE,4,2         ; @GLFW_INVALID_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid cursor position %f %f"

	.comm	_GLFW_CURSOR_DISABLED,8,3       ; @GLFW_CURSOR_DISABLED
.subsections_via_symbols
