// File: /workspace/github_cpp_makefile_star2_O1/dannycalegari[P]circle_pack/./Trigonometry_routine.cc
// Function: YZ_ROT(double)
Matrix YZ_ROT(double angle){	// rotation in xz-plane
	// returns matrix C=cos(angle), S=sin(angle)
	// (1  0  0)
	// (0  C -S)
	// (0  S  C)
	Matrix M;
	M.e.clear();
	vector<double> row;
	row.clear();
	row.push_back(1.0);
	row.push_back(0.0);
	row.push_back(0.0);
	M.e.push_back(row);
	row.clear();
	row.push_back(0.0);
	row.push_back(cos(angle));
	row.push_back(-sin(angle));
	M.e.push_back(row);
	row.clear();
	row.push_back(0.0);
	row.push_back(sin(angle));
	row.push_back(cos(angle));
	M.e.push_back(row);
	return(M);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movsd %xmm0, 0x30(%rsp)
movq %rdi, %rbx
xorl %r14d, %r14d
movq %r14, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
xorl %esi, %esi
callq 0x9c0c
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq %r14, 0x20(%rsp)
cmpq %r14, 0x18(%rsp)
je 0x2ea9
movq $0x0, 0x18(%rsp)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x2ed2
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2ee1
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x2f08
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2f17
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x2f3e
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2f4d
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9130
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x2f6b
movq %rax, 0x18(%rsp)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x2f92
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2fa1
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movsd 0x30(%rsp), %xmm0
callq 0x23d0
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x2fcd
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2fdc
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movsd 0x30(%rsp), %xmm0
callq 0x2060
xorps 0x80d2(%rip), %xmm0     # 0xb0c0
movlps %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x300e
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x301d
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9130
movq 0x10(%rsp), %rax
cmpq %rax, 0x18(%rsp)
je 0x303b
movq %rax, 0x18(%rsp)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3062
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x3071
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movsd 0x30(%rsp), %xmm0
callq 0x2060
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x309d
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x30ac
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movsd 0x30(%rsp), %xmm0
callq 0x23d0
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x30d8
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x30e7
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x9130
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x310b
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
jmp 0x3128
jmp 0x3128
jmp 0x3128
jmp 0x3128
jmp 0x3128
jmp 0x3128
jmp 0x3128
jmp 0x3128
jmp 0x3128
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x3142
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x9496
movq %r14, %rdi
callq 0x23b0