// File: ncbi[P]amr/amr_report.cpp
// Function: (anonymous namespace)::BlastAlignment::BlastAlignment((anonymous namespace)::HmmAlignment const&, (anonymous namespace)::BlastAlignment const*)
BlastAlignment (const HmmAlignment& hmmAl_arg,
                  const BlastAlignment* best)
    : fromHmm    (true)
    , famId      (hmmAl_arg. fam->id)   
    , gene       (hmmAl_arg. fam->id)   
    , product    (hmmAl_arg. fam->familyName) 
    , hmmAl      (& hmmAl_arg)  
    { ASSERT (hmmAl_arg. good ());
      targetName = hmmAl_arg. sseqid;
      targetProt = true;
      alProt = true;
      if (allele ())
        ERROR_MSG (famId + " " + gene);
      if (best)
      {
        targetSeq      = best->targetSeq;
        targetStart    = best->targetStart;
        targetEnd      = best->targetEnd;
        targetLen      = best->targetLen;
        targetStrand   = best->targetStrand;
        refProt        = true;
        refName        = best->refName;
        refSeq         = best->refSeq;
        refStart       = best->refStart;
        refEnd         = best->refEnd;
        refLen         = best->refLen;
        alProt         = true;
        nident         = best->nident;
        targetAlign    = best->targetAlign;
        targetAlign_aa = best->targetAlign_aa;
        refAccession   = best->refAccession;
      //stxtyper       = best->stxtyper;
      }
    }

// Assembly:
subq $0x318, %rsp            # imm = 0x318
movq %rdi, 0x310(%rsp)
movq %rsi, 0x308(%rsp)
movq %rdx, 0x300(%rsp)
movq 0x310(%rsp), %rdi
movq %rdi, 0x80(%rsp)
callq 0x5d310
movq 0x80(%rsp), %rdi
leaq 0x116c3d(%rip), %rax    # 0x13f2f0
movq %rax, (%rdi)
movq $0x0, 0x238(%rdi)
movq $0x0, 0x240(%rdi)
movb $0x0, 0x248(%rdi)
movb $0x0, 0x249(%rdi)
movb $0x1, 0x24a(%rdi)
addq $0x250, %rdi            # imm = 0x250
movq %rdi, 0x70(%rsp)
callq 0xc9b0
movq 0x80(%rsp), %rdi
movq $0x1, 0x270(%rdi)
movq $0x1, 0x278(%rdi)
addq $0x280, %rdi            # imm = 0x280
movq %rdi, 0x78(%rsp)
callq 0x37d90
movq 0x80(%rsp), %rdi
movb $0x0, 0x2a0(%rdi)
addq $0x2a8, %rdi            # imm = 0x2A8
movq %rdi, 0x88(%rsp)
movq 0x308(%rsp), %rax
movq 0x30(%rax), %rsi
addq $0x8, %rsi
callq 0xc300
jmp 0x28756
movq 0x80(%rsp), %rdi
addq $0x2c8, %rdi            # imm = 0x2C8
movq %rdi, 0x68(%rsp)
movq 0x308(%rsp), %rax
movq 0x30(%rax), %rsi
addq $0x8, %rsi
callq 0xc300
jmp 0x28781
movq 0x80(%rsp), %rdi
addq $0x2e8, %rdi            # imm = 0x2E8
movq %rdi, 0x38(%rsp)
callq 0xc9b0
movq 0x80(%rsp), %rdi
movb $0x0, 0x308(%rdi)
addq $0x310, %rdi            # imm = 0x310
movq %rdi, 0x40(%rsp)
callq 0xc9b0
movq 0x80(%rsp), %rdi
addq $0x330, %rdi            # imm = 0x330
movq %rdi, 0x48(%rsp)
callq 0xc9b0
movq 0x80(%rsp), %rdi
movq $0x0, 0x350(%rdi)
addq $0x358, %rdi            # imm = 0x358
movq %rdi, 0x50(%rsp)
callq 0x31420
movq 0x80(%rsp), %rdi
addq $0x378, %rdi            # imm = 0x378
movq %rdi, 0x58(%rsp)
callq 0x31420
movq 0x80(%rsp), %rdi
addq $0x398, %rdi            # imm = 0x398
movq %rdi, 0x60(%rsp)
movq 0x308(%rsp), %rax
movq 0x30(%rax), %rsi
addq $0x48, %rsi
callq 0xc300
jmp 0x2883b
movq 0x80(%rsp), %rdi
addq $0x3b8, %rdi            # imm = 0x3B8
movq %rdi, 0x28(%rsp)
callq 0x5b200
movq 0x80(%rsp), %rax
movq $0x0, 0x3d8(%rax)
movq 0x308(%rsp), %rcx
movq %rcx, 0x3e0(%rax)
callq 0xc090
movl $0x0, (%rax)
movq 0x308(%rsp), %rdi
callq 0x27e80
movb %al, 0x37(%rsp)
jmp 0x28894
movb 0x37(%rsp), %al
testb $0x1, %al
jne 0x28b8d
jmp 0x288a2
callq 0xc870
cmpl $0x0, %eax
jne 0x28b83
leaq 0x24f(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xcca0
movq 0x20(%rsp), %rdx
leaq 0xd5039(%rip), %rsi     # 0xfd907
leaq 0x250(%rsp), %rdi
callq 0x50b50
jmp 0x288dd
leaq 0x228(%rsp), %rdi
movl $0x212, %esi            # imm = 0x212
callq 0x52760
jmp 0x288f1
leaq 0x270(%rsp), %rdi
leaq 0x250(%rsp), %rsi
leaq 0x228(%rsp), %rdx
callq 0x52670
jmp 0x28910
leaq 0xd5008(%rip), %rdx     # 0xfd91f
leaq 0x290(%rsp), %rdi
leaq 0x270(%rsp), %rsi
callq 0x50db0
jmp 0x2892e
leaq 0x1e7(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0xcca0
movq 0x18(%rsp), %rdx
leaq 0xd5e3e(%rip), %rsi     # 0xfe78a
leaq 0x1e8(%rsp), %rdi
callq 0x50b50
jmp 0x2895b
leaq 0xd54bc(%rip), %rdx     # 0xfde1e
leaq 0x208(%rsp), %rdi
leaq 0x1e8(%rsp), %rsi
callq 0x50db0
jmp 0x28979
leaq 0x2b0(%rsp), %rdi
leaq 0x290(%rsp), %rsi
leaq 0x208(%rsp), %rdx
callq 0x52670
jmp 0x28998
leaq 0xd5e4f(%rip), %rdx     # 0xfe7ee
leaq 0x2d0(%rsp), %rdi
leaq 0x2b0(%rsp), %rsi
callq 0x50db0
jmp 0x289b6
leaq 0x2d0(%rsp), %rdi
callq 0x69f20
jmp 0x289c5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x290bd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x290b0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x29074
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x29060
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28b71
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28b64
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28b57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28b4a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28b30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28b23
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28b16
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28b09
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
leaq 0x2d0(%rsp), %rdi
callq 0xce58
leaq 0x2b0(%rsp), %rdi
callq 0xce58
leaq 0x208(%rsp), %rdi
callq 0xce58
leaq 0x1e8(%rsp), %rdi
callq 0xce58
leaq 0x1e7(%rsp), %rdi
callq 0xc750
leaq 0x290(%rsp), %rdi
callq 0xce58
leaq 0x270(%rsp), %rdi
callq 0xce58
leaq 0x228(%rsp), %rdi
callq 0xce58
leaq 0x250(%rsp), %rdi
callq 0xce58
leaq 0x24f(%rsp), %rdi
callq 0xc750
jmp 0x29060
movl $0x1, %edi
callq 0xc880
movq 0x80(%rsp), %rdi
movq 0x308(%rsp), %rsi
addq $0x10, %rdi
callq 0xc080
jmp 0x28ba8
movq 0x80(%rsp), %rdi
movb $0x1, 0x8(%rdi)
movb $0x1, 0x1f8(%rdi)
callq 0x3b640
movb %al, 0x17(%rsp)
jmp 0x28bc6
movb 0x17(%rsp), %al
testb $0x1, %al
jne 0x28bd3
jmp 0x28ef0
callq 0xc870
cmpl $0x0, %eax
jne 0x28ee6
leaq 0x13f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xcca0
movq 0x8(%rsp), %rdx
leaq 0xd4d08(%rip), %rsi     # 0xfd907
leaq 0x140(%rsp), %rdi
callq 0x50b50
jmp 0x28c0e
leaq 0x118(%rsp), %rdi
movl $0x217, %esi            # imm = 0x217
callq 0x52760
jmp 0x28c22
leaq 0x160(%rsp), %rdi
leaq 0x140(%rsp), %rsi
leaq 0x118(%rsp), %rdx
callq 0x52670
jmp 0x28c41
leaq 0xd4cd7(%rip), %rdx     # 0xfd91f
leaq 0x180(%rsp), %rdi
leaq 0x160(%rsp), %rsi
callq 0x50db0
jmp 0x28c5f
leaq 0xd7(%rsp), %rdi
movq %rdi, (%rsp)
callq 0xcca0
movq (%rsp), %rdx
leaq 0xd5b0f(%rip), %rsi     # 0xfe78a
leaq 0xd8(%rsp), %rdi
callq 0x50b50
jmp 0x28c8a
leaq 0xd518d(%rip), %rdx     # 0xfde1e
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0x50db0
jmp 0x28ca8
leaq 0x1a0(%rsp), %rdi
leaq 0x180(%rsp), %rsi
leaq 0xf8(%rsp), %rdx
callq 0x52670
jmp 0x28cc7
movq 0x80(%rsp), %rsi
addq $0x2a8, %rsi            # imm = 0x2A8
leaq 0xd9070(%rip), %rdx     # 0x101d4d
leaq 0x90(%rsp), %rdi
callq 0x5d410
jmp 0x28cec
movq 0x80(%rsp), %rdx
addq $0x2c8, %rdx            # imm = 0x2C8
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x53c50
jmp 0x28d12
leaq 0x1c0(%rsp), %rdi
leaq 0x1a0(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
callq 0x52670
jmp 0x28d31
leaq 0x1c0(%rsp), %rdi
callq 0x69f20
jmp 0x28d40
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28ed4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28ec7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28eba
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28ead
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28e93
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28e86
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28e79
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28e6c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28e5f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
jmp 0x28e52
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2f8(%rsp)
movl %eax, 0x2f4(%rsp)
leaq 0x1c0(%rsp), %rdi
callq 0xce58
leaq 0xb0(%rsp), %rdi
callq 0xce58
leaq 0x90(%rsp), %rdi
callq 0xce58
leaq 0x1a0(%rsp), %rdi
callq 0xce58
leaq 0xf8(%rsp), %rdi
callq 0xce58
leaq 0xd8(%rsp), %rdi
callq 0xce58
leaq 0xd7(%rsp), %rdi
callq 0xc750
leaq 0x180(%rsp), %rdi
callq 0xce58
leaq 0x160(%rsp), %rdi
callq 0xce58
leaq 0x118(%rsp), %rdi
callq 0xce58
leaq 0x140(%rsp), %rdi
callq 0xce58
leaq 0x13f(%rsp), %rdi
callq 0xc750
jmp 0x29060
movl $0x1, %edi
callq 0xc880
cmpq $0x0, 0x300(%rsp)
je 0x29058
movq 0x80(%rsp), %rdi
movq 0x300(%rsp), %rsi
addq $0x30, %rsi
addq $0x30, %rdi
callq 0xc080
jmp 0x28f1e
movq 0x80(%rsp), %rdi
movq 0x300(%rsp), %rax
movq 0x50(%rax), %rax
movq %rax, 0x50(%rdi)
movq 0x300(%rsp), %rax
movq 0x58(%rax), %rax
movq %rax, 0x58(%rdi)
movq 0x300(%rsp), %rax
movq 0x60(%rax), %rax
movq %rax, 0x60(%rdi)
movq 0x300(%rsp), %rax
movb 0x68(%rax), %al
andb $0x1, %al
movb %al, 0x68(%rdi)
movb $0x1, 0x70(%rdi)
movq 0x300(%rsp), %rsi
addq $0x78, %rsi
addq $0x78, %rdi
callq 0xc080
jmp 0x28f81
movq 0x80(%rsp), %rdi
movq 0x300(%rsp), %rsi
addq $0x98, %rsi
addq $0x98, %rdi
callq 0xc080
jmp 0x28fa6
movq 0x80(%rsp), %rdi
movq 0x300(%rsp), %rax
movq 0xb8(%rax), %rax
movq %rax, 0xb8(%rdi)
movq 0x300(%rsp), %rax
movq 0xc0(%rax), %rax
movq %rax, 0xc0(%rdi)
movq 0x300(%rsp), %rax
movq 0xc8(%rax), %rax
movq %rax, 0xc8(%rdi)
movb $0x1, 0x1f8(%rdi)
movq 0x300(%rsp), %rax
movq 0x200(%rax), %rax
movq %rax, 0x200(%rdi)
movq 0x300(%rsp), %rax
movq 0x238(%rax), %rax
movq %rax, 0x238(%rdi)
movq 0x300(%rsp), %rax
movq 0x240(%rax), %rax
movq %rax, 0x240(%rdi)
movq 0x300(%rsp), %rsi
addq $0x250, %rsi            # imm = 0x250
addq $0x250, %rdi            # imm = 0x250
callq 0xc080
jmp 0x29056
jmp 0x29058
addq $0x318, %rsp            # imm = 0x318
retq
movq 0x28(%rsp), %rdi
callq 0x5a810
movq 0x60(%rsp), %rdi
callq 0xce58
movq 0x58(%rsp), %rdi
callq 0xd8d0
movq 0x50(%rsp), %rdi
callq 0xd8d0
movq 0x48(%rsp), %rdi
callq 0xce58
movq 0x40(%rsp), %rdi
callq 0xce58
movq 0x38(%rsp), %rdi
callq 0xce58
movq 0x68(%rsp), %rdi
callq 0xce58
movq 0x88(%rsp), %rdi
callq 0xce58
movq 0x78(%rsp), %rdi
callq 0x37230
movq 0x70(%rsp), %rdi
callq 0xce58
movq 0x80(%rsp), %rdi
callq 0x5a820
movq 0x2f8(%rsp), %rdi
callq 0xcc90
nopl (%rax,%rax)