// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/gff.cpp
// Function: GFF_sp::(anonymous namespace)::pgap_accession(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, bool)
void pgap_accession (string &accession,
                     bool lcl)
// Update: accession
{
  static const string gnlPrefix ("gnl|");
  static const string lclPrefix ("lcl|");
  
  size_t pos = accession. rfind (':');
  if (pos == string::npos)
  {
    if (lcl)
      accession = lclPrefix + accession;
  }
  else 
  {
    if (lcl)
      throw runtime_error ("Accession " + strQuote (accession) + " cannot have " + strQuote (gnlPrefix) + " and " + strQuote (lclPrefix) + " at the same time");
    accession [pos] = '|';
    accession = gnlPrefix + accession;
  }

  QC_ASSERT (! accession. empty ());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movl %esi, %ebx
movq %rdi, %r14
movb 0x36b48(%rip), %al      # 0xb0d90
testb %al, %al
je 0x7a2f8
movb 0x36b62(%rip), %al      # 0xb0db8
testb %al, %al
je 0x7a35f
movq %r14, %rdi
movl $0x3a, %esi
movq $-0x1, %rdx
callq 0xab00
cmpq $-0x1, %rax
je 0x7a290
testb %bl, %bl
jne 0x7a45c
movq (%r14), %rcx
movb $0x7c, (%rcx,%rax)
leaq 0x36ae2(%rip), %rsi     # 0xb0d70
jmp 0x7a29b
testb %bl, %bl
je 0x7a2d0
leaq 0x36afd(%rip), %rsi     # 0xb0d98
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x2eeb8
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa6e0
movq (%rbx), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7a2d0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
callq 0xa070
movl $0x0, (%rax)
cmpq $0x0, 0x8(%r14)
je 0x7a3c6
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x36a91(%rip), %rdi     # 0xb0d90
callq 0xaa40
testl %eax, %eax
je 0x7a250
leaq 0x36a6d(%rip), %rax     # 0xb0d80
movq %rax, 0x36a56(%rip)     # 0xb0d70
leaq 0x36a4f(%rip), %rdi     # 0xb0d70
leaq 0x161ba(%rip), %rsi     # 0x904e2
leaq 0x161b7(%rip), %rdx     # 0x904e6
callq 0x2fdd8
movq 0x35bfd(%rip), %rdi     # 0xaff38
leaq 0x36a2e(%rip), %rsi     # 0xb0d70
leaq 0x3624f(%rip), %rdx     # 0xb0598
callq 0xa4f0
leaq 0x36a3b(%rip), %rdi     # 0xb0d90
callq 0xa3b0
jmp 0x7a250
leaq 0x36a52(%rip), %rdi     # 0xb0db8
callq 0xaa40
testl %eax, %eax
je 0x7a25e
leaq 0x36a2e(%rip), %rax     # 0xb0da8
movq %rax, 0x36a17(%rip)     # 0xb0d98
leaq 0x36a10(%rip), %rdi     # 0xb0d98
leaq 0x111c7(%rip), %rsi     # 0x8b556
leaq 0x111c4(%rip), %rdx     # 0x8b55a
callq 0x2fdd8
movq 0x35b96(%rip), %rdi     # 0xaff38
leaq 0x369ef(%rip), %rsi     # 0xb0d98
leaq 0x361e8(%rip), %rdx     # 0xb0598
callq 0xa4f0
leaq 0x369fc(%rip), %rdi     # 0xb0db8
callq 0xa3b0
jmp 0x7a25e
callq 0xa6b0
testl %eax, %eax
jne 0x7a4c9
leaq 0x58(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x15b53(%rip), %rsi     # 0x8ff36
leaq 0x15b5c(%rip), %rdx     # 0x8ff46
leaq 0x48(%rsp), %rdi
callq 0x2fdd8
leaq 0xa8(%rsp), %rdi
movl $0x9f, %esi
callq 0x2d60a
leaq 0xc8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x2d562
leaq 0x107be(%rip), %rsi     # 0x8abe5
leaq 0xc8(%rsp), %rdi
callq 0xaac0
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a569
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x7a576
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movl $0x22, %edx
callq 0x38d2b
leaq 0x16065(%rip), %rsi     # 0x904e7
leaq 0xa8(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x2c037
leaq 0x16057(%rip), %rsi     # 0x904f2
leaq 0xa8(%rsp), %rdi
callq 0xaac0
leaq 0x58(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a4d3
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x7a4e0
movl $0x1, %edi
callq 0xa6c0
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x36871(%rip), %rsi     # 0xb0d70
leaq 0x88(%rsp), %rdi
movl $0x22, %edx
callq 0x38d2b
leaq 0xc8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x2d562
leaq 0xfe2f(%rip), %rsi      # 0x8a361
leaq 0xc8(%rsp), %rdi
callq 0xaac0
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a5f3
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x7a600
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x98(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x15f70(%rip), %rsi     # 0x90512
leaq 0x15fab(%rip), %rdx     # 0x90554
leaq 0x88(%rsp), %rdi
callq 0x2fdd8
leaq 0x12376(%rip), %rsi     # 0x8c933
leaq 0x88(%rsp), %rdi
callq 0xaac0
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a688
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x7a695
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x36779(%rip), %rsi     # 0xb0d98
leaq 0x108(%rsp), %rdi
movl $0x22, %edx
callq 0x38d2b
leaq 0xe8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x108(%rsp), %rdx
callq 0x2d562
leaq 0x15eae(%rip), %rsi     # 0x90500
leaq 0xe8(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a726
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x7a733
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rsi
leaq 0x68(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x2d562
leaq 0x15e8b(%rip), %rsi     # 0x90555
leaq 0xe8(%rsp), %rdi
callq 0xaac0
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a6f8
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x7a705
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x3523b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %rbx, %rdi
callq 0xa930
xorl %ebp, %ebp
movq 0x35885(%rip), %rsi     # 0xaffe8
movq 0x357f6(%rip), %rdx     # 0xaff60
movq %rbx, %rdi
callq 0xa9b0
movq %rax, %r14
leaq 0x3663c(%rip), %rdi     # 0xb0db8
jmp 0x7a788
movq %rax, %r14
leaq 0x36608(%rip), %rdi     # 0xb0d90
callq 0xa3a0
jmp 0x7a9f8
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7a7b4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a7b4
movq %rax, %r14
movb $0x1, %bpl
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a81f
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a81f
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7a7f6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a7f6
movq %rax, %r14
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a845
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a845
movq %rax, %r14
movb $0x1, %bpl
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a864
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a864
movq %rax, %r14
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x7a880
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a880
movq %rax, %r14
movb $0x1, %bpl
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x7a8a5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a8a5
movq %rax, %r14
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x7a8cb
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a8cb
movq %rax, %r14
movb $0x1, %bpl
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a8ea
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a8ea
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x7a910
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a910
movq %rax, %r14
movb $0x1, %bpl
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a939
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a939
movq %rax, %r14
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a955
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a955
movq %rax, %r14
movb $0x1, %bpl
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x7a97e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a97e
movq %rax, %r14
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a9a4
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a9a4
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a9c3
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a9c3
movq %rax, %r14
movq 0x48(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7a9f8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a9f8
movq %rax, %r14
movb $0x1, %bpl
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a9eb
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a9eb
movq %rax, %r14
jmp 0x7a9f8
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x7a9f8
movq %rbx, %rdi
callq 0xa440
movq %r14, %rdi
callq 0xaa10