// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/gff.cpp
// Function: GFF_sp::Annot::load_fasta2gff_dna(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Annot::load_fasta2gff_dna (const string &fName)
{
  map<string/*DNA GFF id*/,string/*DNA FASTA id*/> gff2fasta;  
  {
    LineInput f (fName);
  	Istringstream iss;
  	string fasta_dna, gff_dna;
    while (f. nextLine ())
    {
    	iss. reset (f. line);
    	fasta_dna. clear ();
    	gff_dna. clear ();
    	iss >> fasta_dna >> gff_dna;
    	QC_ASSERT (! gff_dna. empty ());
    	gff2fasta [gff_dna] = fasta_dna;
    }
  }
  if (gff2fasta. empty ())
  	throw runtime_error ("File " + fName + " is empty");
  
  for (auto& it : prot2loci)
  {
    Set<Locus>& loci = it. second;
    for (const Locus& locus : loci)
    {
    	string s;
    	if (! find (gff2fasta, locus. contig, s))
    	  throw runtime_error ("FASTA DNA contig " + strQuote (locus. contig) + " is not found in GFF-DNA match file " + strQuote (fName));
    	var_cast (locus). contig = std::move (s);
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5b8, %rsp            # imm = 0x5B8
movq %rsi, %rbx
movq %rdi, 0x28(%rsp)
leaq 0xe8(%rsp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
leaq 0x310(%rsp), %rdi
xorl %edx, %edx
callq 0x30fec
movq %rbx, 0x50(%rsp)
leaq 0x321de(%rip), %rax     # 0xae5d8
leaq 0x588(%rsp), %rcx
movq %rax, -0x278(%rcx)
movl $0x0, -0x18(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x5a8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x190(%rsp), %rdi
callq 0x2e244
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
xorl %r13d, %r13d
movq %r13, -0x8(%rax)
movb %r13b, (%rax)
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
movq %r13, -0x8(%rax)
movb %r13b, (%rax)
leaq 0x310(%rsp), %rbp
leaq 0x190(%rsp), %r14
leaq 0x8(%rsp), %rbx
leaq 0x30(%rsp), %r15
leaq 0xe0(%rsp), %r12
movq %rbp, %rdi
callq 0x33e2a
testb %al, %al
je 0x7c516
leaq 0x208(%rsp), %rdi
xorl %esi, %esi
callq 0xa990
leaq 0x1a0(%rsp), %rdi
leaq 0x578(%rsp), %rsi
callq 0xa870
movq %r13, 0x10(%rsp)
movq 0x8(%rsp), %rax
movb %r13b, (%rax)
movq %r13, 0x38(%rsp)
movq 0x30(%rsp), %rax
movb %r13b, (%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa720
movq %rax, %rdi
movq %r15, %rsi
callq 0xa720
callq 0xa070
movl $0x0, (%rax)
cmpq $0x0, 0x38(%rsp)
je 0x7c850
movq %r12, %rdi
movq %r15, %rsi
callq 0x66082
movq %rax, %rdi
movq %rbx, %rsi
callq 0xa320
jmp 0x7c480
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x7c532
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7c54e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0x3227b(%rip), %rsi     # 0xae7d0
leaq 0x190(%rsp), %rdi
callq 0xa7e0
leaq 0x208(%rsp), %rdi
callq 0xa1c0
leaq 0x32062(%rip), %rax     # 0xae5d8
movq %rax, 0x310(%rsp)
movq 0x598(%rsp), %rdi
leaq 0x5a8(%rsp), %rax
cmpq %rax, %rdi
je 0x7c5a3
movq 0x5a8(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0x578(%rsp), %rdi
leaq 0x588(%rsp), %rax
cmpq %rax, %rdi
je 0x7c5c8
movq 0x588(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0x320c1(%rip), %rax     # 0xae690
leaq 0x530(%rsp), %rbx
movq %rax, -0x220(%rbx)
movq %rbx, %rdi
callq 0x43b9a
leaq 0x32103(%rip), %rax     # 0xae6f0
movq %rax, -0x218(%rbx)
leaq 0x418(%rsp), %rbx
leaq 0x32115(%rip), %rax     # 0xae718
movq %rax, (%rbx)
leaq 0x328(%rsp), %r14
movq %r14, %rdi
callq 0xa4b0
leaq 0x32123(%rip), %rax     # 0xae740
movq %rax, -0x10(%r14)
leaq 0x32140(%rip), %rax     # 0xae768
movq %rax, (%rbx)
movq $0x0, -0x8(%r14)
movq %rbx, %rdi
callq 0xa1c0
cmpq $0x0, 0x108(%rsp)
je 0x7c8f8
movq 0x28(%rsp), %rcx
movq 0x20(%rcx), %rax
addq $0x10, %rcx
movq %rcx, 0x28(%rsp)
cmpq %rcx, %rax
je 0x7c73f
leaq 0x320(%rsp), %r13
leaq 0x310(%rsp), %r14
movq 0x58(%rax), %r15
movq %rax, 0x78(%rsp)
leaq 0x48(%rax), %r12
cmpq %r12, %r15
je 0x7c72a
movq %r13, %rbx
movq %r13, 0x310(%rsp)
movq $0x0, 0x318(%rsp)
movb $0x0, 0x320(%rsp)
leaq 0x28(%r15), %r13
leaq 0xe0(%rsp), %rdi
movq %r13, %rsi
callq 0x760ac
movq %rax, %rbp
leaq 0xe8(%rsp), %rax
cmpq %rax, %rbp
je 0x7c75e
leaq 0x40(%rbp), %rsi
movq %r14, %rdi
callq 0xa320
leaq 0xe8(%rsp), %rax
cmpq %rax, %rbp
je 0x7c75e
movq %r13, %rdi
movq %r14, %rsi
callq 0xa6e0
movq 0x310(%rsp), %rdi
movq %rbx, %r13
cmpq %rbx, %rdi
je 0x7c716
movq 0x320(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq %r15, %rdi
callq 0xa660
movq %rax, %r15
cmpq %r12, %rax
jne 0x7c68b
movq 0x78(%rsp), %rdi
callq 0xa400
cmpq 0x28(%rsp), %rax
jne 0x7c675
leaq 0xe0(%rsp), %rdi
callq 0x2c75c
addq $0x5b8, %rsp            # imm = 0x5B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r15
leaq 0x58(%rsp), %rdi
movq %r13, %rsi
movl $0x22, %edx
callq 0x38d2b
leaq 0x13c52(%rip), %rsi     # 0x903d6
leaq 0x30(%rsp), %rdi
leaq 0x58(%rsp), %rdx
callq 0x2c037
leaq 0x13c4e(%rip), %rsi     # 0x903e8
leaq 0x30(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7c7ca
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x7c7d7
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x80(%rsp), %rdi
movq 0x50(%rsp), %rsi
movl $0x22, %edx
callq 0x38d2b
leaq 0x190(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x80(%rsp), %rdx
callq 0x2d562
movb $0x1, %bpl
leaq 0x190(%rsp), %rsi
movq %r15, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x337ac(%rip), %rsi     # 0xaffe8
movq 0x3371d(%rip), %rdx     # 0xaff60
movq %r15, %rdi
callq 0xa9b0
jmp 0x7ca42
callq 0xa6b0
testl %eax, %eax
jne 0x7c8ee
leaq 0x140(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x136c6(%rip), %rsi     # 0x8ff36
leaq 0x136cf(%rip), %rdx     # 0x8ff46
leaq 0x130(%rsp), %rdi
callq 0x2fdd8
leaq 0x150(%rsp), %rdi
movl $0x1c2, %esi            # imm = 0x1C2
callq 0x2d60a
leaq 0x170(%rsp), %rdi
leaq 0x130(%rsp), %rsi
leaq 0x150(%rsp), %rdx
callq 0x2d562
leaq 0xe32b(%rip), %rsi      # 0x8abe5
leaq 0x170(%rsp), %rdi
callq 0xaac0
leaq 0xb0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7c95f
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x7c972
movl $0x1, %edi
callq 0xa6c0
movl $0x10, %edi
callq 0xa2c0
movq %rax, %r15
leaq 0x13985(%rip), %rsi     # 0x90291
leaq 0x190(%rsp), %rdi
movq 0x50(%rsp), %rdx
callq 0x2bfaf
leaq 0x13a5c(%rip), %rsi     # 0x90381
leaq 0x190(%rsp), %rdi
callq 0xaac0
leaq 0x320(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7c9ee
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x7ca01
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0xa8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x120(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x139ea(%rip), %rsi     # 0x9038b
leaq 0x13a19(%rip), %rdx     # 0x903c1
leaq 0x110(%rsp), %rdi
callq 0x2fdd8
leaq 0xff77(%rip), %rsi      # 0x8c933
leaq 0x110(%rsp), %rdi
callq 0xaac0
leaq 0xd0(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7ca42
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x7ca55
movq %rdx, 0x310(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x320(%rsp)
movq 0x8(%rax), %rdx
leaq 0x310(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bl
movq %r15, %rdi
callq 0xa930
xorl %ebx, %ebx
movq 0x335b5(%rip), %rsi     # 0xaffe8
movq 0x33526(%rip), %rdx     # 0xaff60
movq %r15, %rdi
callq 0xa9b0
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
movq 0x8(%rax), %rsi
leaq 0xc0(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x80(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x2d562
leaq 0x13932(%rip), %rsi     # 0x903c2
leaq 0x80(%rsp), %rdi
callq 0xaac0
leaq 0x68(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7cabe
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x7cacb
movq %rdx, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
movq 0x8(%rax), %rdx
leaq 0x58(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x3523b
movq %rax, %r14
movq 0x58(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7cb0b
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cb0b
movq %rax, %r14
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7cb31
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cb31
movq %rax, %r14
movq 0xc0(%rsp), %rdi
cmpq %r13, %rdi
je 0x7cb53
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cb53
movq %rax, %r14
movq 0x110(%rsp), %rdi
cmpq %r12, %rdi
je 0x7cbc3
movq 0x120(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cbc3
movq %rax, %r14
movq 0x310(%rsp), %rdi
cmpq %r12, %rdi
je 0x7cb99
movq 0x320(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cb99
movq %rax, %r14
movb $0x1, %bl
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0x7cbe7
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cbe7
movq %rax, %r14
movq 0xa0(%rsp), %rdi
cmpq %r15, %rdi
je 0x7cbff
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cbff
movq %rax, %r14
movb $0x1, %bl
testb %bl, %bl
je 0x7cde8
movq %r15, %rdi
callq 0xa440
jmp 0x7cde8
movq %rax, %r14
leaq 0x180(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7cc35
movq 0x180(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cc35
movq %rax, %r14
jmp 0x7cda4
movq %rax, %r14
jmp 0x7cde8
movq %rax, %r14
leaq 0x160(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7cc5b
movq 0x160(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cc5b
movq %rax, %r14
movq 0x130(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7cd4b
movq 0x140(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cd4b
jmp 0x7cd48
movq %rax, %r14
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0x7ccb6
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7ccb6
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7ccdf
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7ccdf
movq %rax, %r14
movb $0x1, %bpl
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7cd03
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cd03
movq %rax, %r14
movb $0x1, %bpl
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x7cd27
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cd27
movq %rax, %r14
movb $0x1, %bpl
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7cdb9
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7cdb9
movq %rax, %r14
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x7cd67
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xa5a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7cd83
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0x31a46(%rip), %rsi     # 0xae7d0
leaq 0x190(%rsp), %rdi
callq 0xa7e0
leaq 0x208(%rsp), %rdi
callq 0xa1c0
leaq 0x310(%rsp), %rdi
callq 0x2e31c
jmp 0x7cde8
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x7cdcb
movq %r15, %rdi
callq 0xa440
jmp 0x7cdcb
movq %rax, %r14
movq 0x310(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7cde8
movq 0x320(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0xe0(%rsp), %rdi
callq 0x2c75c
movq %r14, %rdi
callq 0xaa10
nop