	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rotate_dots
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rotate_dots:                           ## @rotate_dots
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jne	LBB0_17
	jp	LBB0_17
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_25
## %bb.2:
	movl	%r15d, %eax
	cmpl	$4, %r15d
	jae	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_17:
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	callq	_DEGREE_TO_RAD
	movl	%eax, %edi
	callq	_sin
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_DEGREE_TO_RAD
	movl	%eax, %edi
	callq	_cos
	movaps	-48(%rbp), %xmm9                ## 16-byte Reload
	testl	%r15d, %r15d
	jle	LBB0_25
## %bb.18:
	movaps	LCPI0_0(%rip), %xmm1            ## xmm1 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	xorps	%xmm9, %xmm1
	movl	%r15d, %eax
	cmpl	$5, %r15d
	jae	LBB0_20
## %bb.19:
	xorl	%ecx, %ecx
	jmp	LBB0_24
LBB0_4:
	leaq	(%r14,%rax,8), %r8
	leaq	(%r14,%rax,8), %rdx
	addq	$-4, %rdx
	leaq	(%rbx,%rax,8), %r9
	leaq	(%rbx,%rax,8), %rdi
	addq	$-4, %rdi
	leaq	4(%r14), %rcx
	leaq	4(%rbx), %rsi
	cmpq	%r14, %rdi
	seta	%dil
	cmpq	%rbx, %rdx
	seta	%r10b
	cmpq	%r9, %rcx
	setb	%dl
	cmpq	%r8, %rsi
	setb	%sil
	xorl	%ecx, %ecx
	testb	%r10b, %dil
	jne	LBB0_13
## %bb.5:
	andb	%sil, %dl
	jne	LBB0_13
## %bb.6:
	movl	%eax, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rsi
	movq	%rsi, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %edx
	andl	$3, %edx
	cmpq	$12, %rsi
	jae	LBB0_8
## %bb.7:
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_20:
	leaq	(%r14,%rax,8), %r8
	leaq	(%r14,%rax,8), %rdx
	addq	$-4, %rdx
	leaq	(%rbx,%rax,8), %r9
	leaq	(%rbx,%rax,8), %rdi
	addq	$-4, %rdi
	leaq	4(%r14), %rcx
	leaq	4(%rbx), %rsi
	cmpq	%r14, %rdi
	seta	%dil
	cmpq	%rbx, %rdx
	seta	%r10b
	cmpq	%r9, %rcx
	setb	%dl
	cmpq	%r8, %rsi
	setb	%sil
	xorl	%ecx, %ecx
	testb	%r10b, %dil
	jne	LBB0_24
## %bb.21:
	andb	%sil, %dl
	jne	LBB0_24
## %bb.22:
	movl	%eax, %ecx
	andl	$3, %ecx
	testq	%rcx, %rcx
	movl	$4, %edx
	cmovneq	%rcx, %rdx
	movq	%rax, %rcx
	subq	%rdx, %rcx
	movaps	%xmm1, %xmm8
	shufps	$0, %xmm1, %xmm8                ## xmm8 = xmm8[0,0],xmm1[0,0]
	movaps	%xmm0, %xmm2
	shufps	$0, %xmm0, %xmm2                ## xmm2 = xmm2[0,0],xmm0[0,0]
	movaps	%xmm9, %xmm4
	shufps	$0, %xmm9, %xmm4                ## xmm4 = xmm4[0,0],xmm9[0,0]
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rdx,8), %xmm5
	movups	16(%rbx,%rdx,8), %xmm6
	movaps	%xmm5, %xmm7
	shufps	$136, %xmm6, %xmm7              ## xmm7 = xmm7[0,2],xmm6[0,2]
	shufps	$221, %xmm6, %xmm5              ## xmm5 = xmm5[1,3],xmm6[1,3]
	movaps	%xmm2, %xmm6
	mulps	%xmm5, %xmm6
	mulps	%xmm8, %xmm5
	movaps	%xmm2, %xmm3
	mulps	%xmm7, %xmm3
	addps	%xmm5, %xmm3
	mulps	%xmm4, %xmm7
	addps	%xmm6, %xmm7
	movaps	%xmm3, %xmm5
	unpcklps	%xmm7, %xmm5                    ## xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1]
	unpckhps	%xmm7, %xmm3                    ## xmm3 = xmm3[2],xmm7[2],xmm3[3],xmm7[3]
	movups	%xmm3, 16(%r14,%rdx,8)
	movups	%xmm5, (%r14,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_23
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movss	4(%rbx,%rcx,8), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm3
	mulss	%xmm1, %xmm3
	movss	(%rbx,%rcx,8), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm4
	addss	%xmm3, %xmm4
	movss	%xmm4, (%r14,%rcx,8)
	mulss	%xmm0, %xmm2
	movss	(%rbx,%rcx,8), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm9, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, 4(%r14,%rcx,8)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_24
	jmp	LBB0_25
LBB0_8:
	andq	$-4, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rsi,8), %xmm0
	movups	16(%rbx,%rsi,8), %xmm1
	movups	%xmm0, (%r14,%rsi,8)
	movups	%xmm1, 16(%r14,%rsi,8)
	movups	32(%rbx,%rsi,8), %xmm0
	movups	48(%rbx,%rsi,8), %xmm1
	movups	%xmm0, 32(%r14,%rsi,8)
	movups	%xmm1, 48(%r14,%rsi,8)
	movups	64(%rbx,%rsi,8), %xmm0
	movups	80(%rbx,%rsi,8), %xmm1
	movups	%xmm0, 64(%r14,%rsi,8)
	movups	%xmm1, 80(%r14,%rsi,8)
	movups	96(%rbx,%rsi,8), %xmm0
	movups	112(%rbx,%rsi,8), %xmm1
	movups	%xmm0, 96(%r14,%rsi,8)
	movups	%xmm1, 112(%r14,%rsi,8)
	addq	$16, %rsi
	addq	$-4, %rdi
	jne	LBB0_9
LBB0_10:
	testq	%rdx, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	(,%rsi,8), %rdi
	orq	$16, %rdi
	movups	(%rbx,%rsi,8), %xmm0
	movups	(%rbx,%rdi), %xmm1
	movups	%xmm0, (%r14,%rsi,8)
	movups	%xmm1, (%r14,%rdi)
	addq	$4, %rsi
	decq	%rdx
	jne	LBB0_11
LBB0_12:
	cmpq	%rax, %rcx
	je	LBB0_25
LBB0_13:
	movq	%rcx, %rdx
	notq	%rdx
	testb	$1, %al
	je	LBB0_15
## %bb.14:
	movss	(%rbx,%rcx,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r14,%rcx,8)
	movss	4(%rbx,%rcx,8), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%r14,%rcx,8)
	orq	$1, %rcx
LBB0_15:
	addq	%rax, %rdx
	je	LBB0_25
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rbx,%rcx,8), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r14,%rcx,8)
	movss	4(%rbx,%rcx,8), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 4(%r14,%rcx,8)
	movss	8(%rbx,%rcx,8), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 8(%r14,%rcx,8)
	movss	12(%rbx,%rcx,8), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 12(%r14,%rcx,8)
	addq	$2, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_16
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rotate_dots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rotate_dots
_rotate_dots:                           ; @rotate_dots
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	fcmp	s0, #0.0
	b.ne	LBB0_6
; %bb.1:
	cmp	w21, #1
	b.lt	LBB0_20
; %bb.2:
	mov	w8, w21
	cmp	w21, #8
	b.hs	LBB0_9
; %bb.3:
	mov	x9, #0
LBB0_4:
	lsl	x11, x9, #3
	add	x10, x20, x11
	add	x11, x19, x11
	sub	x8, x8, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10], #8
	str	d0, [x11], #8
	subs	x8, x8, #1
	b.ne	LBB0_5
	b	LBB0_20
LBB0_6:
	fmov	s8, s0
	bl	_DEGREE_TO_RAD
	bl	_sin
	str	d0, [sp]                        ; 16-byte Folded Spill
	fmov	s0, s8
	bl	_DEGREE_TO_RAD
	bl	_cos
	ldr	q7, [sp]                        ; 16-byte Folded Reload
                                        ; kill: def $s0 killed $s0 def $q0
	cmp	w21, #1
	b.lt	LBB0_20
; %bb.7:
	fneg	s1, s7
	mov	w8, w21
	cmp	w21, #9
	b.hs	LBB0_14
; %bb.8:
	mov	x9, #0
	b	LBB0_18
LBB0_9:
	mov	x9, #0
	lsl	x10, x8, #3
	add	x11, x19, x10
	sub	x12, x11, #4
	add	x13, x19, #4
	add	x10, x20, x10
	cmp	x13, x10
	sub	x13, x10, #4
	add	x10, x20, #4
	ccmp	x10, x11, #2, lo
	cset	w10, lo
	cmp	x12, x20
	ccmp	x13, x19, #0, hi
	b.hi	LBB0_4
; %bb.10:
	tbnz	w10, #0, LBB0_4
; %bb.11:
	and	x9, x8, #0xfffffff8
	add	x10, x20, #32
	add	x11, x19, #32
	mov	x12, x9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q0, [x10, #-32]
	ldp	q3, q2, [x10], #64
	stp	q1, q0, [x11, #-32]
	stp	q3, q2, [x11], #64
	subs	x12, x12, #8
	b.ne	LBB0_12
; %bb.13:
	cmp	x9, x8
	b.ne	LBB0_4
	b	LBB0_20
LBB0_14:
	mov	x9, #0
	lsl	x10, x8, #3
	add	x11, x19, x10
	sub	x12, x11, #4
	add	x13, x19, #4
	add	x10, x20, x10
	cmp	x13, x10
	sub	x13, x10, #4
	add	x10, x20, #4
	ccmp	x10, x11, #2, lo
	cset	w10, lo
	cmp	x12, x20
	ccmp	x13, x19, #0, hi
	b.hi	LBB0_18
; %bb.15:
	tbnz	w10, #0, LBB0_18
; %bb.16:
	ands	x9, x8, #0x7
	mov	w10, #8
	csel	x9, x10, x9, eq
	dup.4s	v2, v1[0]
	dup.4s	v3, v0[0]
	sub	x9, x8, x9
	dup.4s	v4, v7[0]
	add	x10, x20, #32
	add	x11, x19, #32
	mov	x12, x9
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	sub	x13, x10, #32
	ld2.4s	{ v5, v6 }, [x13]
	ld2.4s	{ v16, v17 }, [x10]
	fmul.4s	v18, v6, v2
	fmul.4s	v20, v17, v1[0]
	fmla.4s	v18, v5, v3
	fmul.4s	v19, v3, v6
	fmla.4s	v19, v5, v4
	fmla.4s	v20, v16, v3
	sub	x13, x11, #32
	st2.4s	{ v18, v19 }, [x13]
	fmul.4s	v21, v17, v0[0]
	fmla.4s	v21, v16, v4
	st2.4s	{ v20, v21 }, [x11]
	add	x10, x10, #64
	add	x11, x11, #64
	subs	x12, x12, #8
	b.ne	LBB0_17
LBB0_18:
	lsl	x11, x9, #3
	add	x10, x20, x11
	add	x11, x19, x11
	add	x11, x11, #4
	sub	x8, x8, x9
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldp	s2, s3, [x10]
	fmul	s4, s3, s1
	fmadd	s2, s0, s2, s4
	stur	s2, [x11, #-4]
	ldr	s2, [x10], #8
	fmul	s3, s0, s3
	fmadd	s2, s7, s2, s3
	str	s2, [x11], #8
	subs	x8, x8, #1
	b.ne	LBB0_19
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rotate_dots
.subsections_via_symbols
