// File: /workspace/github_cpp_makefile_star2_O1/ncbi[P]amr/alignment.cpp
// Function: Alignment_sp::SeqChange::setStartTarget()
void SeqChange::setStartTarget ()
{
  ASSERT (al);
  ASSERT (start < al->targetSeq. size ());
  
  start_target = al->targetStart;
  if (al->targetStrand)
  {
    FOR (size_t, i, start)
      if (al->targetSeq [i] != '-')
        start_target += al->al2target_len;
  }
  else
  {
    FOR_REV_END (size_t, i, start + len, al->targetSeq. size ())
      if (al->targetSeq [i] != '-')
        start_target += al->al2target_len;
  }  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
callq 0xb070
movl $0x0, (%rax)
movq 0x8(%rbx), %rcx
testq %rcx, %rcx
je 0x5e062
movl $0x0, (%rax)
movq 0x18(%rbx), %rax
movq 0x38(%rcx), %rdx
cmpq %rdx, %rax
jae 0x5e101
movq 0x50(%rcx), %rsi
movq %rsi, 0x78(%rbx)
cmpb $0x0, 0x68(%rcx)
je 0x5e025
testq %rax, %rax
je 0x5e050
movq 0x78(%rbx), %rdx
movq 0x30(%rcx), %rsi
xorl %edi, %edi
cmpb $0x2d, (%rsi,%rdi)
je 0x5e01b
addq 0x210(%rcx), %rdx
movq %rdx, 0x78(%rbx)
incq %rdi
cmpq %rdi, %rax
jne 0x5e00a
jmp 0x5e050
addq 0x20(%rbx), %rax
cmpq %rax, %rdx
jbe 0x5e050
movq 0x78(%rbx), %rsi
movq 0x30(%rcx), %rdi
cmpb $0x2d, -0x1(%rdi,%rdx)
je 0x5e048
addq 0x210(%rcx), %rsi
movq %rsi, 0x78(%rbx)
decq %rdx
cmpq %rax, %rdx
ja 0x5e036
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6b0
testl %eax, %eax
jne 0x5e1a0
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x38fa6(%rip), %rsi     # 0x97028
leaq 0x38fb5(%rip), %rdx     # 0x9703e
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x158, %esi            # imm = 0x158
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x35105(%rip), %rsi     # 0x931d1
leaq 0xc8(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5e1aa
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x5e1b7
callq 0xb6b0
testl %eax, %eax
jne 0x5e1a0
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x38f07(%rip), %rsi     # 0x97028
leaq 0x38f16(%rip), %rdx     # 0x9703e
leaq 0x88(%rsp), %rdi
callq 0xdc76
leaq 0xa8(%rsp), %rdi
movl $0x159, %esi            # imm = 0x159
callq 0xe1a8
leaq 0xc8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0xe100
leaq 0x35066(%rip), %rsi     # 0x931d1
leaq 0xc8(%rsp), %rdi
callq 0xbb10
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5e22b
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x5e238
movl $0x1, %edi
callq 0xb6d0
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x393ec(%rip), %rsi     # 0x975cc
leaq 0x39413(%rip), %rdx     # 0x975fa
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0x356b9(%rip), %rsi     # 0x938b1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5e2a5
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x5e2b2
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x3936b(%rip), %rsi     # 0x975cc
leaq 0x39392(%rip), %rdx     # 0x975fa
leaq 0x68(%rsp), %rdi
callq 0xdc76
leaq 0x35638(%rip), %rsi     # 0x938b1
leaq 0x68(%rsp), %rdi
callq 0xbb10
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5e315
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x5e322
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rsi
leaq 0x28(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe100
leaq 0x39744(%rip), %rsi     # 0x97a2b
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5e385
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x5e392
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rsi
leaq 0x28(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xe100
leaq 0x392a4(%rip), %rsi     # 0x975fb
leaq 0xe8(%rsp), %rdi
callq 0xbb10
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x5e3b3
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x5e3c0
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x1151b
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x1151b
jmp 0x5e3e5
jmp 0x5e401
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5e404
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x5e404
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5e42c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x5e42c
jmp 0x5e429
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x5e44a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x5e44a
jmp 0x5e447
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x5e468
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x5e468
jmp 0x5e465
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5e486
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x5e486
jmp 0x5e483
movq %rax, %rbx
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5e4ae
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x5e4ae
jmp 0x5e4ab
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5e4d6
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x5e4d6
jmp 0x5e4d3
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x5e4fa
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb5a0
jmp 0x5e4fa
jmp 0x5e4f7
movq %rax, %rbx
movq %rbx, %rdi
callq 0xba60