// File: /workspace/github_cpp_makefile_star2_O3/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 0x986a
leaq 0x10(%rsp), %rdi
movq %r14, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
xorl %esi, %esi
callq 0x94a6
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rax
movq $0x0, 0x8(%rsp)
cmpq %rax, %rsi
je 0x2e7d
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2e96
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x94a6
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rax
movq $0x0, 0x8(%rsp)
cmpq %rax, %rsi
je 0x2eb6
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2ec5
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x94a6
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x8dc8
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rsi
cmpq %rax, %rsi
je 0x2ee9
movq %rax, 0x18(%rsp)
movq %rax, %rsi
movq $0x0, 0x8(%rsp)
cmpq 0x20(%rsp), %rsi
je 0x2f0b
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2f1a
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x94a6
movsd 0x30(%rsp), %xmm0
callq 0x23d0
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x2f46
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2f55
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x94a6
movsd 0x30(%rsp), %xmm0
callq 0x2060
xorps 0x70b9(%rip), %xmm0     # 0xa020
movlps %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x2f87
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2f96
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x94a6
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x8dc8
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rsi
cmpq %rax, %rsi
je 0x2fba
movq %rax, 0x18(%rsp)
movq %rax, %rsi
movq $0x0, 0x8(%rsp)
cmpq 0x20(%rsp), %rsi
je 0x2fdc
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x2feb
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x94a6
movsd 0x30(%rsp), %xmm0
callq 0x2060
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3017
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x3026
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x94a6
movsd 0x30(%rsp), %xmm0
callq 0x23d0
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3052
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x3061
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x94a6
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x8dc8
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x3085
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
jmp 0x30a2
jmp 0x30a2
jmp 0x30a2
jmp 0x30a2
jmp 0x30a2
jmp 0x30a2
jmp 0x30a2
jmp 0x30a2
jmp 0x30a2
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x30bc
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x9106
movq %r14, %rdi
callq 0x23b0