// File: /workspace/github_cpp_makefile_star2_O3/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 0x36f21(%rip), %al      # 0xb0d90
testb %al, %al
je 0x79f1f
movb 0x36f3b(%rip), %al      # 0xb0db8
testb %al, %al
je 0x79f86
movq %r14, %rdi
movl $0x3a, %esi
movq $-0x1, %rdx
callq 0xab00
cmpq $-0x1, %rax
je 0x79eb7
testb %bl, %bl
jne 0x7a083
movq (%r14), %rcx
movb $0x7c, (%rcx,%rax)
leaq 0x36ebb(%rip), %rsi     # 0xb0d70
jmp 0x79ec2
testb %bl, %bl
je 0x79ef7
leaq 0x36ed6(%rip), %rsi     # 0xb0d98
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x2ead3
movq %r14, %rdi
movq %rbx, %rsi
callq 0xa6e0
movq (%rbx), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x79ef7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
callq 0xa070
movl $0x0, (%rax)
cmpq $0x0, 0x8(%r14)
je 0x79fed
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x36e6a(%rip), %rdi     # 0xb0d90
callq 0xaa40
testl %eax, %eax
je 0x79e77
leaq 0x36e46(%rip), %rax     # 0xb0d80
movq %rax, 0x36e2f(%rip)     # 0xb0d70
leaq 0x36e28(%rip), %rdi     # 0xb0d70
leaq 0x16593(%rip), %rsi     # 0x904e2
leaq 0x16590(%rip), %rdx     # 0x904e6
callq 0x2fa1a
movq 0x35fd6(%rip), %rdi     # 0xaff38
leaq 0x36e07(%rip), %rsi     # 0xb0d70
leaq 0x36628(%rip), %rdx     # 0xb0598
callq 0xa4f0
leaq 0x36e14(%rip), %rdi     # 0xb0d90
callq 0xa3b0
jmp 0x79e77
leaq 0x36e2b(%rip), %rdi     # 0xb0db8
callq 0xaa40
testl %eax, %eax
je 0x79e85
leaq 0x36e07(%rip), %rax     # 0xb0da8
movq %rax, 0x36df0(%rip)     # 0xb0d98
leaq 0x36de9(%rip), %rdi     # 0xb0d98
leaq 0x115a0(%rip), %rsi     # 0x8b556
leaq 0x1159d(%rip), %rdx     # 0x8b55a
callq 0x2fa1a
movq 0x35f6f(%rip), %rdi     # 0xaff38
leaq 0x36dc8(%rip), %rsi     # 0xb0d98
leaq 0x365c1(%rip), %rdx     # 0xb0598
callq 0xa4f0
leaq 0x36dd5(%rip), %rdi     # 0xb0db8
callq 0xa3b0
jmp 0x79e85
callq 0xa6b0
testl %eax, %eax
jne 0x7a0f0
leaq 0x78(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x15f2c(%rip), %rsi     # 0x8ff36
leaq 0x15f35(%rip), %rdx     # 0x8ff46
leaq 0x68(%rsp), %rdi
callq 0x2fa1a
leaq 0xa8(%rsp), %rdi
movl $0x9f, %esi
callq 0x2d1fa
leaq 0xc8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x2d152
leaq 0x10b97(%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 0x7a190
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x7a19d
movl $0x10, %edi
callq 0xa2c0
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
movl $0x22, %edx
callq 0x38a3a
leaq 0x1643e(%rip), %rsi     # 0x904e7
leaq 0xa8(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x2bbf7
leaq 0x16430(%rip), %rsi     # 0x904f2
leaq 0xa8(%rsp), %rdi
callq 0xaac0
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a0fa
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x7a107
movl $0x1, %edi
callq 0xa6c0
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x36c4a(%rip), %rsi     # 0xb0d70
leaq 0x88(%rsp), %rdi
movl $0x22, %edx
callq 0x38a3a
leaq 0xc8(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x2d152
leaq 0x10208(%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 0x7a21a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x7a227
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 0x16349(%rip), %rsi     # 0x90512
leaq 0x16384(%rip), %rdx     # 0x90554
leaq 0x88(%rsp), %rdi
callq 0x2fa1a
leaq 0x1274f(%rip), %rsi     # 0x8c933
leaq 0x88(%rsp), %rdi
callq 0xaac0
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a2af
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x7a2bc
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 0x36b52(%rip), %rsi     # 0xb0d98
leaq 0x108(%rsp), %rdi
movl $0x22, %edx
callq 0x38a3a
leaq 0xe8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x108(%rsp), %rdx
callq 0x2d152
leaq 0x16287(%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 0x7a34d
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x7a35a
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rsi
leaq 0x48(%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 0x2d152
leaq 0x16264(%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 0x7a31f
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x7a32c
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 0x34fa2
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 0x35c5e(%rip), %rsi     # 0xaffe8
movq 0x35bcf(%rip), %rdx     # 0xaff60
movq %rbx, %rdi
callq 0xa9b0
movq %rax, %r14
leaq 0x36a15(%rip), %rdi     # 0xb0db8
jmp 0x7a3af
movq %rax, %r14
leaq 0x369e1(%rip), %rdi     # 0xb0d90
callq 0xa3a0
jmp 0x7a634
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x7a3db
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a3db
movq %rax, %r14
movb $0x1, %bpl
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a446
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a446
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7a41d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a41d
movq %rax, %r14
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a46c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a46c
movq %rax, %r14
movb $0x1, %bpl
leaq 0x118(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a48b
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a48b
movq %rax, %r14
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x7a4a7
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a4a7
movq %rax, %r14
movb $0x1, %bpl
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x7a4cc
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a4cc
movq %rax, %r14
movq 0x88(%rsp), %rdi
cmpq %r12, %rdi
je 0x7a4f2
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a4f2
movq %rax, %r14
movb $0x1, %bpl
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a511
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a511
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x7a537
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a537
movq %rax, %r14
movb $0x1, %bpl
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a560
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a560
movq %rax, %r14
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a57c
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a57c
movq %rax, %r14
movb $0x1, %bpl
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x7a5a5
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a5a5
movq %rax, %r14
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a5eb
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a5eb
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a5c6
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xa5a0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a5e1
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
testb %bpl, %bpl
jne 0x7a62c
jmp 0x7a634
movq %rax, %r14
movq 0x68(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7a634
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a634
movq %rax, %r14
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a62c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xa5a0
jmp 0x7a62c
movq %rax, %r14
jmp 0x7a634
movq %rax, %r14
movq %rbx, %rdi
callq 0xa440
movq %r14, %rdi
callq 0xaa10