	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ToWindowCoords                 ## -- Begin function ToWindowCoords
	.p2align	4, 0x90
_ToWindowCoords:                        ## @ToWindowCoords
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdx)
	je	LBB0_2
## %bb.1:
	cvtsi2ssq	24(%rdx), %xmm0
	movss	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, (%rdi)
	addss	(%rsi), %xmm0
	movss	%xmm0, (%rsi)
LBB0_2:
	xorps	%xmm0, %xmm0
	cvtsi2ssq	16(%rdx), %xmm0
	addss	(%rdi), %xmm0
	movss	%xmm0, (%rdi)
	xorps	%xmm0, %xmm0
	cvtsi2ssq	8(%rdx), %xmm0
	addss	(%rsi), %xmm0
	movss	%xmm0, (%rsi)
	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	_ToWindowCoords                 ; -- Begin function ToWindowCoords
	.p2align	2
_ToWindowCoords:                        ; @ToWindowCoords
	.cfi_startproc
; %bb.0:
	ldr	x8, [x2]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x2, #24]
	scvtf	s0, x8
	ldr	s1, [x0]
	fadd	s1, s1, s0
	str	s1, [x0]
	ldr	s1, [x1]
	fadd	s0, s1, s0
	str	s0, [x1]
LBB0_2:
	ldp	x9, x8, [x2, #8]
	scvtf	s0, x8
	ldr	s1, [x0]
	fadd	s0, s1, s0
	str	s0, [x0]
	scvtf	s0, x9
	ldr	s1, [x1]
	fadd	s0, s1, s0
	str	s0, [x1]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
