// File: /workspace/github_cpp_makefile_star2_O1/dannycalegari[P]circle_pack/./Trigonometry_routine.cc
// Function: HTR(double)
Matrix HTR(double dist){	// translation in hyperbolic plane along x axis
	// returns matrix c=cosh(dist), s=sinh(dist)
	// (c  0  s)
	// (0  1  0)
	// (s  0  c)
	Matrix M;
	vector<double> row;
	row.clear();
	row.push_back(cosh(dist));
	row.push_back(0.0);
	row.push_back(sinh(dist));
	M.e.push_back(row);
	row.clear();
	row.push_back(0.0);
	row.push_back(1.0);
	row.push_back(0.0);
	M.e.push_back(row);
	row.clear();
	row.push_back(sinh(dist));
	row.push_back(0.0);
	row.push_back(cosh(dist));
	M.e.push_back(row);
	return(M);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movsd %xmm0, 0x30(%rsp)
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movaps %xmm0, 0x10(%rsp)
movq %rax, 0x20(%rsp)
cmpq %rax, 0x18(%rsp)
je 0x3188
movq $0x0, 0x18(%rsp)
movsd 0x30(%rsp), %xmm0
callq 0x2290
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x31b4
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x31c3
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x31ea
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x31f9
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movsd 0x30(%rsp), %xmm0
callq 0x21b0
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3225
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x3234
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 0x3252
movq %rax, 0x18(%rsp)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3279
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x3288
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x32b1
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x32c0
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x32e7
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x32f6
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 0x3314
movq %rax, 0x18(%rsp)
movsd 0x30(%rsp), %xmm0
callq 0x21b0
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3340
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x334f
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3376
movq $0x0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x3385
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x982a
movsd 0x30(%rsp), %xmm0
callq 0x2290
movsd %xmm0, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x33b1
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x33c0
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 0x33e4
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
jmp 0x3401
jmp 0x3401
jmp 0x3401
jmp 0x3401
jmp 0x3401
jmp 0x3401
jmp 0x3401
jmp 0x3401
jmp 0x3401
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x341b
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x9496
movq %r14, %rdi
callq 0x23b0