// File: simonrharris[P]SKA/src/DNA.cpp
// Function: codons_from_ascii(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
std::string codons_from_ascii(std::string & myascii){
	std::string myDNA ((myascii.length()*3), '-');
	for (std::string::size_type i = 0; i<myascii.length(); ++i){
		myDNA[(i*3)+2]=bases[int(myascii[i]-63)/16];
		int sixteensreamainder=int(myascii[i]-63)%16;
		myDNA[(i*3)+1]=bases[sixteensreamainder/4];
		myDNA[(i*3)]=bases[sixteensreamainder%4];
	}
	return myDNA;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x50(%rbp)
movq %rdi, %rax
movq %rax, -0x58(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
movq -0x10(%rbp), %rdi
callq 0x67e0
leaq (%rax,%rax,2), %rax
movq %rax, -0x48(%rbp)
leaq -0x12(%rbp), %rdi
movq %rdi, -0x40(%rbp)
callq 0x6910
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rcx
movl $0x2d, %edx
callq 0x9150
jmp 0x82e8
leaq -0x12(%rbp), %rdi
callq 0x65a0
movq $0x0, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rdi
callq 0x67e0
movq %rax, %rcx
movq -0x60(%rbp), %rax
cmpq %rcx, %rax
jae 0x8487
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x69e0
movq %rax, -0x68(%rbp)
jmp 0x832d
movq -0x50(%rbp), %rdi
movq -0x68(%rbp), %rax
movsbl (%rax), %ecx
movl %ecx, %eax
addl $-0x3f, %eax
addl $-0x30, %ecx
testl %eax, %eax
cmovsl %ecx, %eax
sarl $0x4, %eax
cltq
leaq 0x712c4(%rip), %rcx     # 0x79615
movb (%rax,%rcx), %al
movb %al, -0x71(%rbp)
movq -0x30(%rbp), %rax
leaq 0x2(%rax,%rax,2), %rsi
callq 0x69e0
movq %rax, -0x70(%rbp)
jmp 0x836b
movq -0x70(%rbp), %rax
movb -0x71(%rbp), %cl
movb %cl, (%rax)
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x69e0
movq %rax, -0x80(%rbp)
jmp 0x8387
movq -0x50(%rbp), %rdi
movq -0x80(%rbp), %rax
movsbl (%rax), %edx
movl %edx, %eax
addl $-0x3f, %eax
movl %edx, %ecx
addl $-0x30, %ecx
testl %eax, %eax
cmovsl %ecx, %eax
andl $-0x10, %eax
negl %eax
movl %eax, %ecx
movl %edx, %eax
leal -0x3f(%rax,%rcx), %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
movl %eax, %ecx
addl $0x3, %ecx
testl %eax, %eax
cmovsl %ecx, %eax
sarl $0x2, %eax
cltq
leaq 0x7124b(%rip), %rcx     # 0x79615
movb (%rax,%rcx), %al
movb %al, -0x89(%rbp)
movq -0x30(%rbp), %rax
leaq 0x1(%rax,%rax,2), %rsi
callq 0x69e0
movq %rax, -0x88(%rbp)
jmp 0x83ea
movq -0x50(%rbp), %rdi
movq -0x88(%rbp), %rax
movb -0x89(%rbp), %cl
movb %cl, (%rax)
movl -0x34(%rbp), %eax
movl %eax, %edx
addl $0x3, %edx
testl %eax, %eax
movl %eax, %ecx
cmovsl %edx, %ecx
andl $-0x4, %ecx
subl %ecx, %eax
cltq
leaq 0x711fb(%rip), %rcx     # 0x79615
movb (%rax,%rcx), %al
movb %al, -0x99(%rbp)
movq -0x30(%rbp), %rax
leaq (%rax,%rax,2), %rsi
callq 0x69e0
movq %rax, -0x98(%rbp)
jmp 0x8439
movq -0x98(%rbp), %rax
movb -0x99(%rbp), %cl
movb %cl, (%rax)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x82f9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x12(%rbp), %rdi
callq 0x65a0
jmp 0x84a7
movq -0x50(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x6a08
jmp 0x84a7
movb $0x1, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
jne 0x849a
movq -0x50(%rbp), %rdi
callq 0x6a08
movq -0x58(%rbp), %rax
addq $0xa0, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
callq 0x6900