// File: 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:
subq $0x2c8, %rsp            # imm = 0x2C8
movb %sil, %al
movq %rdi, 0x2c0(%rsp)
andb $0x1, %al
movb %al, 0x2bf(%rsp)
cmpb $0x0, 0x56d5e(%rip)     # 0x106f50
jne 0xb0264
leaq 0x56d55(%rip), %rdi     # 0x106f50
callq 0xcd40
cmpl $0x0, %eax
je 0xb0264
leaq 0x2be(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xcd00
movq 0x20(%rsp), %rdx
leaq 0x56d0d(%rip), %rdi     # 0x106f30
leaq 0x21380(%rip), %rsi     # 0xd15aa
callq 0x29fd0
jmp 0xb0231
leaq 0x2be(%rsp), %rdi
callq 0xc7a0
movq 0x55d0b(%rip), %rdi     # 0x105f50
leaq 0x56ce4(%rip), %rsi     # 0x106f30
leaq 0x56505(%rip), %rdx     # 0x106758
callq 0xc650
leaq 0x56cf1(%rip), %rdi     # 0x106f50
callq 0xc4e0
cmpb $0x0, 0x56d0d(%rip)     # 0x106f78
jne 0xb02dd
leaq 0x56d04(%rip), %rdi     # 0x106f78
callq 0xcd40
cmpl $0x0, %eax
je 0xb02dd
leaq 0x2ab(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0xcd00
movq 0x18(%rsp), %rdx
leaq 0x56cbc(%rip), %rdi     # 0x106f58
leaq 0x1c26f(%rip), %rsi     # 0xcc512
callq 0x29fd0
jmp 0xb02aa
leaq 0x2ab(%rsp), %rdi
callq 0xc7a0
movq 0x55c92(%rip), %rdi     # 0x105f50
leaq 0x56c93(%rip), %rsi     # 0x106f58
leaq 0x5648c(%rip), %rdx     # 0x106758
callq 0xc650
leaq 0x56ca0(%rip), %rdi     # 0x106f78
callq 0xc4e0
movq 0x2c0(%rsp), %rdi
movl $0x3a, %esi
movq $-0x1, %rdx
callq 0xce30
movq %rax, 0x2a0(%rsp)
cmpq $-0x1, 0x2a0(%rsp)
jne 0xb03c4
testb $0x1, 0x2bf(%rsp)
je 0xb03bf
movq 0x2c0(%rsp), %rdx
leaq 0x280(%rsp), %rdi
leaq 0x56c26(%rip), %rsi     # 0x106f58
callq 0x30680
movq 0x2c0(%rsp), %rdi
leaq 0x280(%rsp), %rsi
callq 0xc8f0
leaq 0x280(%rsp), %rdi
callq 0xce98
jmp 0xb03bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
leaq 0x2be(%rsp), %rdi
callq 0xc7a0
leaq 0x56bcd(%rip), %rdi     # 0x106f50
callq 0xc4d0
jmp 0xb0986
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
leaq 0x2ab(%rsp), %rdi
callq 0xc7a0
leaq 0x56bc3(%rip), %rdi     # 0x106f78
callq 0xc4d0
jmp 0xb0986
jmp 0xb06fc
testb $0x1, 0x2bf(%rsp)
je 0xb06a6
movb $0x1, 0x15f(%rsp)
movl $0x10, %edi
callq 0xc3b0
movq %rax, 0x10(%rsp)
movq 0x2c0(%rsp), %rsi
leaq 0x1a0(%rsp), %rdi
movl $0x22, %edx
callq 0x424f0
jmp 0xb0405
leaq 0x211a3(%rip), %rsi     # 0xd15af
leaq 0x1c0(%rsp), %rdi
leaq 0x1a0(%rsp), %rdx
callq 0x2a340
jmp 0xb0423
leaq 0x21190(%rip), %rdx     # 0xd15ba
leaq 0x1e0(%rsp), %rdi
leaq 0x1c0(%rsp), %rsi
callq 0x2a2f0
jmp 0xb0441
leaq 0x56ae8(%rip), %rsi     # 0x106f30
leaq 0x180(%rsp), %rdi
movl $0x22, %edx
callq 0x424f0
jmp 0xb045c
leaq 0x200(%rsp), %rdi
leaq 0x1e0(%rsp), %rsi
leaq 0x180(%rsp), %rdx
callq 0x2dde0
jmp 0xb047b
leaq 0x1aeca(%rip), %rdx     # 0xcb34c
leaq 0x220(%rsp), %rdi
leaq 0x200(%rsp), %rsi
callq 0x2a2f0
jmp 0xb0499
leaq 0x56ab8(%rip), %rsi     # 0x106f58
leaq 0x160(%rsp), %rdi
movl $0x22, %edx
callq 0x424f0
jmp 0xb04b4
leaq 0x240(%rsp), %rdi
leaq 0x220(%rsp), %rsi
leaq 0x160(%rsp), %rdx
callq 0x2dde0
jmp 0xb04d3
leaq 0x210ee(%rip), %rdx     # 0xd15c8
leaq 0x260(%rsp), %rdi
leaq 0x240(%rsp), %rsi
callq 0x2a2f0
jmp 0xb04f1
movq 0x10(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0xcbb0
jmp 0xb0505
movq 0x10(%rsp), %rdi
movb $0x0, 0x15f(%rsp)
movq 0x55ad7(%rip), %rsi     # 0x105ff0
movq 0x55a50(%rip), %rdx     # 0x105f70
callq 0xcc80
jmp 0xb0993
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb068b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb067e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0671
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0664
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0657
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb064a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb063d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0630
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0623
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
leaq 0x260(%rsp), %rdi
callq 0xce98
leaq 0x240(%rsp), %rdi
callq 0xce98
leaq 0x160(%rsp), %rdi
callq 0xce98
leaq 0x220(%rsp), %rdi
callq 0xce98
leaq 0x200(%rsp), %rdi
callq 0xce98
leaq 0x180(%rsp), %rdi
callq 0xce98
leaq 0x1e0(%rsp), %rdi
callq 0xce98
leaq 0x1c0(%rsp), %rdi
callq 0xce98
leaq 0x1a0(%rsp), %rdi
callq 0xce98
testb $0x1, 0x15f(%rsp)
jne 0xb0697
jmp 0xb06a1
movq 0x10(%rsp), %rdi
callq 0xc580
jmp 0xb0986
movq 0x2c0(%rsp), %rdi
movq 0x2a0(%rsp), %rsi
callq 0xce50
movb $0x7c, (%rax)
movq 0x2c0(%rsp), %rdx
leaq 0x138(%rsp), %rdi
leaq 0x5685b(%rip), %rsi     # 0x106f30
callq 0x30680
movq 0x2c0(%rsp), %rdi
leaq 0x138(%rsp), %rsi
callq 0xc8f0
leaq 0x138(%rsp), %rdi
callq 0xce98
callq 0xc090
movl $0x0, (%rax)
movq 0x2c0(%rsp), %rdi
callq 0xcc10
testb $0x1, %al
jne 0xb071d
jmp 0xb097e
callq 0xc8c0
cmpl $0x0, %eax
jne 0xb0974
leaq 0x97(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xcd00
movq 0x8(%rsp), %rdx
leaq 0x208b5(%rip), %rsi     # 0xd0ffe
leaq 0x98(%rsp), %rdi
callq 0x29fd0
jmp 0xb0758
leaq 0x70(%rsp), %rdi
movl $0x9f, %esi
callq 0x2ded0
jmp 0xb0769
leaq 0xb8(%rsp), %rdi
leaq 0x98(%rsp), %rsi
leaq 0x70(%rsp), %rdx
callq 0x2dde0
jmp 0xb0785
leaq 0x1b415(%rip), %rdx     # 0xcbba1
leaq 0xd8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x2a2f0
jmp 0xb07a3
leaq 0x2f(%rsp), %rdi
movq %rdi, (%rsp)
callq 0xcd00
movq (%rsp), %rdx
leaq 0x20e1e(%rip), %rsi     # 0xd15da
leaq 0x30(%rsp), %rdi
callq 0x29fd0
jmp 0xb07c8
leaq 0x1d247(%rip), %rdx     # 0xcda16
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x2a2f0
jmp 0xb07e0
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
leaq 0x50(%rsp), %rdx
callq 0x2dde0
jmp 0xb07fc
leaq 0x20e1a(%rip), %rdx     # 0xd161d
leaq 0x118(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x2a2f0
jmp 0xb081a
leaq 0x118(%rsp), %rdi
callq 0x3e9b0
jmp 0xb0829
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0965
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0958
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb094e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0941
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb092a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0920
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0916
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
jmp 0xb0909
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2b0(%rsp)
movl %eax, 0x2ac(%rsp)
leaq 0x118(%rsp), %rdi
callq 0xce98
leaq 0xf8(%rsp), %rdi
callq 0xce98
leaq 0x50(%rsp), %rdi
callq 0xce98
leaq 0x30(%rsp), %rdi
callq 0xce98
leaq 0x2f(%rsp), %rdi
callq 0xc7a0
leaq 0xd8(%rsp), %rdi
callq 0xce98
leaq 0xb8(%rsp), %rdi
callq 0xce98
leaq 0x70(%rsp), %rdi
callq 0xce98
leaq 0x98(%rsp), %rdi
callq 0xce98
leaq 0x97(%rsp), %rdi
callq 0xc7a0
jmp 0xb0986
movl $0x1, %edi
callq 0xc8d0
addq $0x2c8, %rsp            # imm = 0x2C8
retq
movq 0x2b0(%rsp), %rdi
callq 0xccf0
nopw %cs:(%rax,%rax)