// File: /workspace/github_cpp_makefile_star2_O2/ncbi[P]amr/seq.cpp
// Function: Seq_sp::PeptideOrf::toPeptide(Seq_sp::Peptide const*) const
Peptide* PeptideOrf::toPeptide (const Peptide* peptide) const
{
	ASSERT (peptide);
  ASSERT (! peptide->sparse);
	ASSERT (! empty ());
  ASSERT (stop <= peptide->seq. size ());
  IMPLY (stop < peptide->seq. size (), stopTerminator && peptide->seq [stop] == *terminator);
  IMPLY (stop == peptide->seq. size (), ! stopTerminator);
	
  Peptide* p = new Peptide (peptide->name, peptide->seq, false);
  p->seq. erase (stop + stopTerminator);
  p->seq. erase (0, start);
  
  return p;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc070
andl $0x0, (%rax)
testq %r14, %r14
je 0x4eee3
cmpb $0x1, 0x48(%r14)
je 0x4efb7
cmpq $-0x1, 0x18(%rbx)
je 0x4f08b
movq 0x28(%rbx), %rcx
leaq 0x28(%r14), %r12
movq 0x30(%r14), %rdx
cmpq %rdx, %rcx
ja 0x4f15f
jae 0x4ee78
cmpb $0x1, 0x30(%rbx)
jne 0x4f233
movq (%r12), %rsi
movb (%rsi,%rcx), %sil
movq 0x3ada1(%rip), %rdi     # 0x89c10
cmpb (%rdi), %sil
jne 0x4f233
cmpq %rdx, %rcx
jne 0x4ee8a
andl $0x0, (%rax)
cmpb $0x1, 0x30(%rbx)
je 0x4f307
pushq $0x50
popq %rdi
callq 0xc5b0
movq %rax, %r15
addq $0x8, %r14
movq %rax, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x5b398
movq %r15, %r14
addq $0x28, %r14
movzbl 0x30(%rbx), %esi
addq 0x28(%rbx), %rsi
pushq $-0x1
popq %rdx
movq %r14, %rdi
callq 0xc120
movq 0x18(%rbx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0xc120
movq %r15, %rax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r14
popq %r15
retq
callq 0xc6d0
testl %eax, %eax
jne 0x4f3db
leaq 0x1411b(%rip), %rsi     # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0xd5a, %esi            # imm = 0xD5A
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0xf29e(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0x14b45(%rip), %rsi     # 0x63a94
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0xf967(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0x14a34(%rip), %rdx     # 0x639c9
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
callq 0xc6d0
testl %eax, %eax
jne 0x4f3db
leaq 0x14047(%rip), %rsi     # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0xd5b, %esi            # imm = 0xD5B
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0xf1ca(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0x14a71(%rip), %rsi     # 0x63a94
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0xf893(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0x14981(%rip), %rdx     # 0x639ea
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
callq 0xc6d0
testl %eax, %eax
jne 0x4f3db
leaq 0x13f73(%rip), %rsi     # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0xd5c, %esi            # imm = 0xD5C
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0xf0f6(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0x1499d(%rip), %rsi     # 0x63a94
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0xf7bf(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0x10586(%rip), %rdx     # 0x5f6c3
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
callq 0xc6d0
testl %eax, %eax
jne 0x4f3db
leaq 0x13e9f(%rip), %rsi     # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0xd5d, %esi            # imm = 0xD5D
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0xf022(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0x148c9(%rip), %rsi     # 0x63a94
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0xf6eb(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0x14809(%rip), %rdx     # 0x63a1a
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
callq 0xc6d0
testl %eax, %eax
jne 0x4f3db
leaq 0x13dcb(%rip), %rsi     # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0xd5e, %esi            # imm = 0xD5E
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0xef4e(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0x147f5(%rip), %rsi     # 0x63a94
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0xf617(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0x147ed(%rip), %rdx     # 0x63ad2
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
callq 0xc6d0
testl %eax, %eax
jne 0x4f3db
leaq 0x13cf7(%rip), %rsi     # 0x63012
leaq 0x68(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0xdbbe
leaq 0x48(%rsp), %rdi
movl $0xd5f, %esi            # imm = 0xD5F
callq 0xe2d5
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x48(%rsp), %rdx
callq 0xe26e
leaq 0xee7a(%rip), %rdx      # 0x5e1d1
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0xe24f
leaq 0x14721(%rip), %rsi     # 0x63a94
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0xdbbe
leaq 0xf543(%rip), %rdx      # 0x5e8cc
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe24f
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xe26e
leaq 0x1474e(%rip), %rdx     # 0x63b07
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0xe24f
leaq 0xe8(%rsp), %rdi
callq 0x101d0
pushq $0x1
popq %rdi
callq 0xc6f0
jmp 0x4f3f9
jmp 0x4f40b
jmp 0x4f427
jmp 0x4f3f9
jmp 0x4f40b
jmp 0x4f3f9
jmp 0x4f40b
jmp 0x4f3f9
jmp 0x4f40b
jmp 0x4f3f9
jmp 0x4f40b
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0xcbe8
jmp 0x4f40e
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0xcbe8
jmp 0x4f42a
jmp 0x4f440
jmp 0x4f427
jmp 0x4f427
jmp 0x4f427
jmp 0x4f427
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xcbe8
jmp 0x4f443
jmp 0x4f459
jmp 0x4f440
jmp 0x4f440
jmp 0x4f440
jmp 0x4f440
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xcbe8
jmp 0x4f45c
jmp 0x4f475
jmp 0x4f459
jmp 0x4f459
jmp 0x4f459
jmp 0x4f459
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0xcbe8
jmp 0x4f478
jmp 0x4f491
jmp 0x4f475
jmp 0x4f475
jmp 0x4f475
jmp 0x4f475
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0xcbe8
jmp 0x4f494
jmp 0x4f4aa
jmp 0x4f491
jmp 0x4f491
jmp 0x4f491
jmp 0x4f491
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xcbe8
jmp 0x4f4ad
jmp 0x4f4c1
jmp 0x4f4aa
jmp 0x4f4aa
jmp 0x4f4aa
jmp 0x4f4aa
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xcbe8
jmp 0x4f4d4
jmp 0x4f4c1
jmp 0x4f4c1
jmp 0x4f4c1
jmp 0x4f4c1
movq %rax, %rbx
jmp 0x4f4d4
movq %rax, %rbx
pushq $0x50
popq %rsi
movq %r15, %rdi
callq 0xc5c0
movq %rbx, %rdi
callq 0xcaa0