	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function R_TransformClipToWindow
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_R_TransformClipToWindow
	.p2align	4, 0x90
_R_TransformClipToWindow:               ## @R_TransformClipToWindow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movl	(%rdi), %eax
	cltd
	idivl	12(%rdi)
	movl	%eax, %r9d
	movl	%eax, (%r8)
	movl	4(%rdi), %eax
	cltd
	idivl	12(%rdi)
	movl	%eax, 4(%r8)
	movl	12(%rdi), %r10d
	movl	8(%rdi), %eax
	addl	%r10d, %eax
	addl	%r10d, %r10d
	cltd
	idivl	%r10d
	movl	%eax, 8(%r8)
	cvtsi2ss	%r9d, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	mulss	(%rsi), %xmm0
	cvttss2si	%xmm0, %eax
	movl	%eax, (%rcx)
	cvtsi2ssl	4(%r8), %xmm3
	addss	%xmm1, %xmm3
	mulss	%xmm2, %xmm3
	mulss	4(%rsi), %xmm3
	cvttss2si	%xmm3, %eax
	movl	%eax, 4(%rcx)
	movl	8(%r8), %eax
	movl	%eax, 8(%rcx)
	cvttps2dq	%xmm0, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %eax
	movl	%eax, (%rcx)
	cvttps2dq	%xmm3, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %eax
	movl	%eax, 4(%rcx)
	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	_R_TransformClipToWindow        ; -- Begin function R_TransformClipToWindow
	.p2align	2
_R_TransformClipToWindow:               ; @R_TransformClipToWindow
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	ldr	w9, [x0, #12]
	sdiv	w8, w8, w9
	scvtf	s0, w8
	fmov	s1, #1.00000000
	fadd	s0, s0, s1
	fmov	s2, #0.50000000
	fmul	s0, s0, s2
	ldp	s3, s4, [x1]
	fmul	s0, s0, s3
	str	w8, [x2]
	ldr	w8, [x0, #4]
	ldr	w9, [x0, #12]
	sdiv	w8, w8, w9
	str	w8, [x2, #4]
	ldp	w8, w9, [x0, #8]
	add	w8, w9, w8
	lsl	w9, w9, #1
	sdiv	w8, w8, w9
	str	w8, [x2, #8]
	fcvtzs	w8, s0
	str	w8, [x3]
	ldr	s0, [x2, #4]
	scvtf	s0, s0
	fadd	s0, s0, s1
	fmul	s0, s0, s2
	fmul	s0, s4, s0
	fcvtzs	w9, s0
	str	w9, [x3, #4]
	ldr	w10, [x2, #8]
	scvtf	d0, w8
	fmov	d1, #0.50000000
	fadd	d0, d0, d1
	fcvtzs	w8, d0
	scvtf	d0, w9
	fadd	d0, d0, d1
	fcvtzs	w9, d0
	str	w8, [x3]
	stp	w9, w10, [x3, #4]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
