	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function relativePointerHandleRelativeMotion
_relativePointerHandleRelativeMotion:   ## @relativePointerHandleRelativeMotion
	.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
	movq	16(%rdi), %rax
	movq	_GLFW_CURSOR_DISABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	%r9d, %r14d
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	cmovnel	16(%rbp), %r8d
	movsd	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	cmovnel	24(%rbp), %r14d
	movl	%r8d, %edi
	callq	_wl_fixed_to_double
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_wl_fixed_to_double
	cvtsi2sd	%rax, %xmm1
	addsd	-32(%rbp), %xmm1                ## 8-byte Folded Reload
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15, %xmm0
	addsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwInputCursorPos            ## TAILCALL
LBB0_1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_CURSOR_DISABLED,8,3       ## @GLFW_CURSOR_DISABLED
	.no_dead_strip	_relativePointerHandleRelativeMotion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function relativePointerHandleRelativeMotion
_relativePointerHandleRelativeMotion:   ; @relativePointerHandleRelativeMotion
	.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
	ldr	x8, [x0, #16]
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_2
; %bb.1:
	mov	x19, x0
	ldp	d9, d8, [x0]
	ldr	x8, [x0, #24]
	cmp	x8, #0
	csel	w0, w4, w6, eq
	csel	w20, w5, w7, eq
	bl	_wl_fixed_to_double
	mov	x21, x0
	mov	x0, x20
	bl	_wl_fixed_to_double
	scvtf	d0, x0
	fadd	d1, d8, d0
	scvtf	d0, x21
	fadd	d0, d9, d0
	mov	x0, 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	__glfwInputCursorPos
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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_CURSOR_DISABLED,8,3       ; @GLFW_CURSOR_DISABLED
	.no_dead_strip	_relativePointerHandleRelativeMotion
.subsections_via_symbols
