// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x130, %rsp            # imm = 0x130
movl %esi, %ebx
movq %rdi, %r14
movb 0x36de4(%rip), %al      # 0x84db0
testb %al, %al
je 0x4e05b
movb 0x36dfe(%rip), %al      # 0x84dd8
testb %al, %al
je 0x4e0b2
pushq $0x3a
popq %rsi
pushq $-0x1
popq %rdx
movq %r14, %rdi
callq 0xbb20
cmpq $-0x1, %rax
je 0x4e00e
testb %bl, %bl
jne 0x4e1e0
movq (%r14), %rcx
movb $0x7c, (%rcx,%rax)
leaq 0x36d84(%rip), %rsi     # 0x84d90
jmp 0x4e019
testb %bl, %bl
je 0x4e03c
leaq 0x36d9f(%rip), %rsi     # 0x84db8
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x1dbc3
movq %r14, %rdi
movq %rbx, %rsi
callq 0xb6f0
movq %rbx, %rdi
callq 0xbb68
callq 0xb060
andl $0x0, (%rax)
cmpq $0x0, 0x8(%r14)
je 0x4e109
addq $0x130, %rsp            # imm = 0x130
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x36d4e(%rip), %rdi     # 0x84db0
callq 0xba60
testl %eax, %eax
je 0x4dfd4
leaq 0x36d1a(%rip), %rdi     # 0x84d90
leaq 0x11411(%rip), %rsi     # 0x5f48e
leaq 0x10(%rsp), %rdx
callq 0x1b7b6
movq 0x35eb2(%rip), %rdi     # 0x83f40
leaq 0x36cfb(%rip), %rsi     # 0x84d90
leaq 0x3651c(%rip), %rdx     # 0x845b8
callq 0xb500
leaq 0x36d08(%rip), %rdi     # 0x84db0
callq 0xb3e0
jmp 0x4dfd4
leaq 0x36d1f(%rip), %rdi     # 0x84dd8
callq 0xba60
testl %eax, %eax
je 0x4dfe2
leaq 0x36ceb(%rip), %rdi     # 0x84db8
leaq 0xc480(%rip), %rsi      # 0x5a554
leaq 0x10(%rsp), %rdx
callq 0x1b7b6
movq 0x35e5b(%rip), %rdi     # 0x83f40
leaq 0x36ccc(%rip), %rsi     # 0x84db8
leaq 0x364c5(%rip), %rdx     # 0x845b8
callq 0xb500
leaq 0x36cd9(%rip), %rdi     # 0x84dd8
callq 0xb3e0
jmp 0x4dfe2
callq 0xb6c0
testl %eax, %eax
jne 0x4e2e9
leaq 0x10dc5(%rip), %rsi     # 0x5eee2
leaq 0x90(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x1b7b6
leaq 0x70(%rsp), %rdi
movl $0x9f, %esi
callq 0x1caa3
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x1ca3c
leaq 0xba81(%rip), %rdx      # 0x59be3
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x1b92d
leaq 0x11340(%rip), %rsi     # 0x5f4be
leaq 0x30(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1b7b6
leaq 0xd7aa(%rip), %rdx      # 0x5b93e
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x1b92d
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x1ca3c
leaq 0x1133d(%rip), %rdx     # 0x5f501
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x1b92d
leaq 0x10(%rsp), %rdi
callq 0x224fc
pushq $0x10
popq %rdi
callq 0xb300
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
pushq $0x22
popq %rdx
movq %r14, %rsi
callq 0x243b1
leaq 0x11291(%rip), %rsi     # 0x5f493
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0x1b94c
leaq 0x11286(%rip), %rdx     # 0x5f49e
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x1b92d
leaq 0x36b5f(%rip), %rsi     # 0x84d90
leaq 0x30(%rsp), %rdi
pushq $0x22
popq %rdx
callq 0x243b1
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x1ca3c
leaq 0xb105(%rip), %rdx      # 0x59364
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x1b92d
leaq 0x36b3d(%rip), %rsi     # 0x84db8
leaq 0x110(%rsp), %rdi
pushq $0x22
popq %rdx
callq 0x243b1
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
leaq 0x110(%rsp), %rdx
callq 0x1ca3c
leaq 0x111fd(%rip), %rdx     # 0x5f4ac
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x1b92d
movb $0x1, %bpl
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0xb940
xorl %ebp, %ebp
movq 0x35d0e(%rip), %rsi     # 0x83fe8
movq 0x35c7f(%rip), %rdx     # 0x83f60
movq %rbx, %rdi
callq 0xb9d0
pushq $0x1
popq %rdi
callq 0xb6d0
movq %rax, %r14
leaq 0x36add(%rip), %rdi     # 0x84dd8
jmp 0x4e307
movq %rax, %r14
leaq 0x36aa9(%rip), %rdi     # 0x84db0
callq 0xb3d0
jmp 0x4e458
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0xbb68
jmp 0x4e326
movq %rax, %r14
movb $0x1, %bpl
leaq 0xf0(%rsp), %rdi
callq 0xbb68
jmp 0x4e35c
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0xbb68
jmp 0x4e347
movq %rax, %r14
leaq 0xf0(%rsp), %rdi
callq 0xbb68
jmp 0x4e36e
movq %rax, %r14
movb $0x1, %bpl
leaq 0x110(%rsp), %rdi
callq 0xbb68
jmp 0x4e380
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0xbb68
jmp 0x4e392
movq %rax, %r14
movb $0x1, %bpl
leaq 0xd0(%rsp), %rdi
callq 0xbb68
jmp 0x4e3a4
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0xbb68
jmp 0x4e3b6
movq %rax, %r14
movb $0x1, %bpl
leaq 0xb0(%rsp), %rdi
callq 0xbb68
jmp 0x4e3cb
movq %rax, %r14
leaq 0xd0(%rsp), %rdi
callq 0xbb68
jmp 0x4e3da
movq %rax, %r14
movb $0x1, %bpl
leaq 0x30(%rsp), %rdi
callq 0xbb68
jmp 0x4e3ef
movq %rax, %r14
leaq 0xb0(%rsp), %rdi
callq 0xbb68
jmp 0x4e401
movq %rax, %r14
movb $0x1, %bpl
leaq 0x90(%rsp), %rdi
callq 0xbb68
jmp 0x4e413
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0xbb68
jmp 0x4e422
movq %rax, %r14
movb $0x1, %bpl
leaq 0x70(%rsp), %rdi
callq 0xbb68
jmp 0x4e437
movq %rax, %r14
leaq 0x90(%rsp), %rdi
callq 0xbb68
jmp 0x4e458
movq %rax, %r14
movb $0x1, %bpl
leaq 0x50(%rsp), %rdi
callq 0xbb68
testb %bpl, %bpl
jne 0x4e450
jmp 0x4e458
movq %rax, %r14
jmp 0x4e458
movq %rax, %r14
movq %rbx, %rdi
callq 0xb470
movq %r14, %rdi
callq 0xba30