	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetCursorPos      ## -- Begin function _glfwPlatformSetCursorPos
	.p2align	4, 0x90
__glfwPlatformSetCursorPos:             ## @_glfwPlatformSetCursorPos
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_isPointerLocked
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %r14d
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_wl_fixed_from_double
	movl	%eax, %r15d
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_wl_fixed_from_double
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_zwp_locked_pointer_v1_set_cursor_position_hint
	movl	(%rbx), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl_surface_commit              ## TAILCALL
LBB0_1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformSetCursorPos      ; -- Begin function _glfwPlatformSetCursorPos
	.p2align	2
__glfwPlatformSetCursorPos:             ; @_glfwPlatformSetCursorPos
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	fmov	d8, d1
	fmov	d9, d0
	mov	x19, x0
	bl	_isPointerLocked
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w20, [x19, #4]
	fmov	d0, d9
	bl	_wl_fixed_from_double
	mov	x21, x0
	fmov	d0, d8
	bl	_wl_fixed_from_double
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_zwp_locked_pointer_v1_set_cursor_position_hint
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_wl_surface_commit
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
