	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RotatePoint
_RotatePoint:                           ## @RotatePoint
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %r12
	addq	$8, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	-8(%r12), %rbx
	movq	_TWOPI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imulq	%r15, %rax
	movabsq	$3279421168659475843, %r13      ## imm = 0x2D82D82D82D82D83
	mulq	%r13
	movq	%rdx, %rdi
	shrq	$6, %rdi
	callq	_cos
	movslq	%eax, %r14
	imulq	%rbx, %r14
	movslq	(%r12), %rbx
	movq	_TWOPI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imulq	%r15, %rax
	mulq	%r13
	movq	%rdx, %rdi
	shrq	$6, %rdi
	callq	_sin
	movslq	%eax, %r13
	imulq	%rbx, %r13
	addq	%r14, %r13
	movl	(%r12), %r14d
	movq	_TWOPI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imulq	%r15, %rax
	movabsq	$3279421168659475843, %rcx      ## imm = 0x2D82D82D82D82D83
	mulq	%rcx
	movq	%rdx, %rdi
	shrq	$6, %rdi
	callq	_cos
	movl	%eax, %ebx
	imull	%r14d, %ebx
	movl	-8(%r12), %r14d
	movq	_TWOPI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	imulq	%r15, %rax
	movabsq	$3279421168659475843, %rcx      ## imm = 0x2D82D82D82D82D83
	mulq	%rcx
	movq	%rdx, %rdi
	shrq	$6, %rdi
	callq	_sin
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	imull	%r14d, %eax
	subl	%eax, %ebx
	movq	%r13, -8(%r12)
	movl	%ebx, (%r12)
	addq	$16, %r12
	decq	%rsi
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TWOPI,8,3                      ## @TWOPI
	.no_dead_strip	_RotatePoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RotatePoint
_RotatePoint:                           ; @RotatePoint
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	add	x22, x0, #8
Lloh0:
	adrp	x23, _TWOPI@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TWOPI@GOTPAGEOFF]
	mov	x24, #11651
	movk	x24, #33496, lsl #16
	movk	x24, #55341, lsl #32
	movk	x24, #11650, lsl #48
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x21, [x22, #-8]
	ldr	x8, [x23]
	mul	x8, x8, x19
	umulh	x8, x8, x24
	lsr	x0, x8, #6
	bl	_cos
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x25, w0
	ldrsw	x26, [x22]
	ldr	x8, [x23]
	mul	x8, x8, x19
	umulh	x8, x8, x24
	lsr	x0, x8, #6
	bl	_sin
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	mul	x8, x8, x26
	madd	x25, x21, x25, x8
	ldr	w26, [x22]
	ldr	x8, [x23]
	mul	x8, x8, x19
	umulh	x8, x8, x24
	lsr	x0, x8, #6
	bl	_cos
	mov	x21, x0
	ldur	w27, [x22, #-8]
	ldr	x8, [x23]
	mul	x8, x8, x19
	umulh	x8, x8, x24
	lsr	x0, x8, #6
	bl	_sin
	mul	w8, w0, w27
	neg	w8, w8
	madd	w8, w21, w26, w8
	stur	x25, [x22, #-8]
	str	w8, [x22], #16
	subs	x20, x20, #1
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TWOPI,8,3                      ; @TWOPI
	.no_dead_strip	_RotatePoint
.subsections_via_symbols
