// File: ncbi[P]amr/amr_report.cpp
// Function: (anonymous namespace)::HmmAlignment::HmmAlignment(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, (anonymous namespace)::Batch const&)
HmmAlignment::HmmAlignment (const string &line,
                            const Batch &batch)
{
  static Istringstream iss;
  iss. reset (line);
  string hmm, dummy;
  //                                                        --- full sequence ---  --- best 1 domain --
  //     target name  accession  query name     accession   E-value  score     bias     E-value  score  bias   exp reg clu  ov env dom rep inc description of target
  iss >> sseqid >>    dummy      >> dummy      >> hmm >>    dummy >> score1 >> dummy >> dummy >> score2;
  QC_ASSERT (score1 > 0);
  QC_ASSERT (score2 > 0)
  find (batch. hmm2fam, hmm, fam);
  if (! fam)
    throw runtime_error ("No family for HMM " + hmm);
}

// Assembly:
subq $0x328, %rsp            # imm = 0x328
movq %rdi, 0x320(%rsp)
movq %rsi, 0x318(%rsp)
movq %rdx, 0x310(%rsp)
movq 0x320(%rsp), %rdi
movq %rdi, 0x68(%rsp)
callq 0xc9b0
movq 0x68(%rsp), %rdi
movsd 0xd5a52(%rip), %xmm0    # 0xfd020
movsd %xmm0, 0x20(%rdi)
movsd 0xd5a45(%rip), %xmm0    # 0xfd020
movsd %xmm0, 0x28(%rdi)
movq $0x0, 0x30(%rdi)
addq $0x38, %rdi
movq %rdi, 0x70(%rsp)
callq 0x3ae60
cmpb $0x0, 0x11a9bb(%rip)    # 0x141fb8
jne 0x27644
leaq 0x11a9b2(%rip), %rdi    # 0x141fb8
callq 0xccf0
cmpl $0x0, %eax
je 0x27644
leaq 0x11a821(%rip), %rdi    # 0x141e38
callq 0x52bd0
jmp 0x2761e
leaq 0x2b93b(%rip), %rdi     # 0x52f60
leaq 0x11a80c(%rip), %rsi    # 0x141e38
leaq 0x11a105(%rip), %rdx    # 0x141738
callq 0xc620
leaq 0x11a979(%rip), %rdi    # 0x141fb8
callq 0xc4b0
movq 0x318(%rsp), %rsi
leaq 0x11a7e5(%rip), %rdi    # 0x141e38
callq 0x52c50
jmp 0x2765a
leaq 0x2e0(%rsp), %rdi
callq 0xc9b0
leaq 0x2c0(%rsp), %rdi
callq 0xc9b0
movq 0x68(%rsp), %rsi
leaq 0x11a7b8(%rip), %rdi    # 0x141e38
callq 0xc8f0
movq %rax, 0x60(%rsp)
jmp 0x2768c
movq 0x60(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0xc8f0
movq %rax, 0x58(%rsp)
jmp 0x276a5
movq 0x58(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0xc8f0
movq %rax, 0x50(%rsp)
jmp 0x276be
movq 0x50(%rsp), %rdi
leaq 0x2e0(%rsp), %rsi
callq 0xc8f0
movq %rax, 0x48(%rsp)
jmp 0x276d7
movq 0x48(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0xc8f0
movq %rax, 0x40(%rsp)
jmp 0x276f0
movq 0x40(%rsp), %rdi
movq 0x68(%rsp), %rsi
addq $0x20, %rsi
callq 0xc5b0
movq %rax, 0x38(%rsp)
jmp 0x2770a
movq 0x38(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0xc8f0
movq %rax, 0x30(%rsp)
jmp 0x27723
movq 0x30(%rsp), %rdi
leaq 0x2c0(%rsp), %rsi
callq 0xc8f0
movq %rax, 0x28(%rsp)
jmp 0x2773c
movq 0x28(%rsp), %rdi
movq 0x68(%rsp), %rsi
addq $0x28, %rsi
callq 0xc5b0
jmp 0x27751
callq 0xc090
movq %rax, %rcx
movq 0x68(%rsp), %rax
movl $0x0, (%rcx)
movsd 0x20(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0x27a54
callq 0xc870
cmpl $0x0, %eax
jne 0x27a4a
leaq 0x21f(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xcca0
movq 0x20(%rsp), %rdx
leaq 0xd6165(%rip), %rsi     # 0xfd907
leaq 0x220(%rsp), %rdi
callq 0x50b50
jmp 0x277b1
leaq 0x1f8(%rsp), %rdi
movl $0x85c, %esi            # imm = 0x85C
callq 0x52760
jmp 0x277c5
leaq 0x240(%rsp), %rdi
leaq 0x220(%rsp), %rsi
leaq 0x1f8(%rsp), %rdx
callq 0x52670
jmp 0x277e4
leaq 0xd6134(%rip), %rdx     # 0xfd91f
leaq 0x260(%rsp), %rdi
leaq 0x240(%rsp), %rsi
callq 0x50db0
jmp 0x27802
leaq 0x1b7(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0xcca0
movq 0x18(%rsp), %rdx
leaq 0xd6ea4(%rip), %rsi     # 0xfe6c4
leaq 0x1b8(%rsp), %rdi
callq 0x50b50
jmp 0x2782f
leaq 0xd65e8(%rip), %rdx     # 0xfde1e
leaq 0x1d8(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
callq 0x50db0
jmp 0x2784d
leaq 0x280(%rsp), %rdi
leaq 0x260(%rsp), %rsi
leaq 0x1d8(%rsp), %rdx
callq 0x52670
jmp 0x2786c
leaq 0xd6ea2(%rip), %rdx     # 0xfe715
leaq 0x2a0(%rsp), %rdi
leaq 0x280(%rsp), %rsi
callq 0x50db0
jmp 0x2788a
leaq 0x2a0(%rsp), %rdi
callq 0x69f20
jmp 0x27899
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
leaq 0x11a704(%rip), %rdi    # 0x141fb8
callq 0xc4a0
jmp 0x27e1c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27e1c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27e02
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27a38
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27a2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27a1e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27a11
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x279f7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x279ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x279dd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x279d0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
leaq 0x2a0(%rsp), %rdi
callq 0xce58
leaq 0x280(%rsp), %rdi
callq 0xce58
leaq 0x1d8(%rsp), %rdi
callq 0xce58
leaq 0x1b8(%rsp), %rdi
callq 0xce58
leaq 0x1b7(%rsp), %rdi
callq 0xc750
leaq 0x260(%rsp), %rdi
callq 0xce58
leaq 0x240(%rsp), %rdi
callq 0xce58
leaq 0x1f8(%rsp), %rdi
callq 0xce58
leaq 0x220(%rsp), %rdi
callq 0xce58
leaq 0x21f(%rsp), %rdi
callq 0xc750
jmp 0x27e02
movl $0x1, %edi
callq 0xc880
callq 0xc090
movq %rax, %rcx
movq 0x68(%rsp), %rax
movl $0x0, (%rcx)
movsd 0x28(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
ja 0x27d00
callq 0xc870
cmpl $0x0, %eax
jne 0x27cf6
leaq 0x10f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0xcca0
movq 0x10(%rsp), %rdx
leaq 0xd5e62(%rip), %rsi     # 0xfd907
leaq 0x110(%rsp), %rdi
callq 0x50b50
jmp 0x27ab4
leaq 0xe8(%rsp), %rdi
movl $0x85d, %esi            # imm = 0x85D
callq 0x52760
jmp 0x27ac8
leaq 0x130(%rsp), %rdi
leaq 0x110(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x52670
jmp 0x27ae7
leaq 0xd5e31(%rip), %rdx     # 0xfd91f
leaq 0x150(%rsp), %rdi
leaq 0x130(%rsp), %rsi
callq 0x50db0
jmp 0x27b05
leaq 0xa7(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xcca0
movq 0x8(%rsp), %rdx
leaq 0xd6ba1(%rip), %rsi     # 0xfe6c4
leaq 0xa8(%rsp), %rdi
callq 0x50b50
jmp 0x27b32
leaq 0xd62e5(%rip), %rdx     # 0xfde1e
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x50db0
jmp 0x27b50
leaq 0x170(%rsp), %rdi
leaq 0x150(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0x52670
jmp 0x27b6f
leaq 0xd6baa(%rip), %rdx     # 0xfe720
leaq 0x190(%rsp), %rdi
leaq 0x170(%rsp), %rsi
callq 0x50db0
jmp 0x27b8d
leaq 0x190(%rsp), %rdi
callq 0x69f20
jmp 0x27b9c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27ce4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27cd7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27cca
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27cbd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27ca3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27c96
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27c89
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27c7c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
leaq 0x190(%rsp), %rdi
callq 0xce58
leaq 0x170(%rsp), %rdi
callq 0xce58
leaq 0xc8(%rsp), %rdi
callq 0xce58
leaq 0xa8(%rsp), %rdi
callq 0xce58
leaq 0xa7(%rsp), %rdi
callq 0xc750
leaq 0x150(%rsp), %rdi
callq 0xce58
leaq 0x130(%rsp), %rdi
callq 0xce58
leaq 0xe8(%rsp), %rdi
callq 0xce58
leaq 0x110(%rsp), %rdi
callq 0xce58
leaq 0x10f(%rsp), %rdi
callq 0xc750
jmp 0x27e02
movl $0x1, %edi
callq 0xc880
movq 0x68(%rsp), %rdx
movq 0x310(%rsp), %rdi
addq $0x30, %rdx
leaq 0x2e0(%rsp), %rsi
callq 0x3ae90
jmp 0x27d20
movq 0x68(%rsp), %rax
cmpq $0x0, 0x30(%rax)
jne 0x27de0
movb $0x1, 0x7f(%rsp)
movl $0x10, %edi
callq 0xc380
movq %rax, (%rsp)
leaq 0xd69e1(%rip), %rsi     # 0xfe72b
leaq 0x80(%rsp), %rdi
leaq 0x2e0(%rsp), %rdx
callq 0x50e00
jmp 0x27d61
movq (%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0xcb50
jmp 0x27d74
movq (%rsp), %rdi
movb $0x0, 0x7f(%rsp)
movq 0x11926c(%rip), %rsi    # 0x140ff0
movq 0x1191e5(%rip), %rdx    # 0x140f70
callq 0xcc20
jmp 0x27e3d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
jmp 0x27dcc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x308(%rsp)
movl %eax, 0x304(%rsp)
leaq 0x80(%rsp), %rdi
callq 0xce58
testb $0x1, 0x7f(%rsp)
jne 0x27dd5
jmp 0x27dde
movq (%rsp), %rdi
callq 0xc540
jmp 0x27e02
leaq 0x2c0(%rsp), %rdi
callq 0xce58
leaq 0x2e0(%rsp), %rdi
callq 0xce58
addq $0x328, %rsp            # imm = 0x328
retq
leaq 0x2c0(%rsp), %rdi
callq 0xce58
leaq 0x2e0(%rsp), %rdi
callq 0xce58
movq 0x70(%rsp), %rdi
callq 0x378e0
movq 0x68(%rsp), %rdi
callq 0xce58
movq 0x308(%rsp), %rdi
callq 0xcc90
nopl (%rax)