// File: /workspace/github_cpp_makefile_star2_O1/aalto-speech[P]ftk/test/emtest.cc
// Function: TransitionViterbiTest6::test_method()
BOOST_AUTO_TEST_CASE(TransitionViterbiTest6)
{
    string str1("a"); string str2("b");
    string str3("c"); string str4("d");
    set<string> vocab = {start_end,str1,str2,str3,str4};

    transitions_t transitions;
    transitions[start_end][str1] = -1.0;
    transitions[str4][start_end] = -1.0;
    transitions[str1][str2] = -1.0;
    transitions[str2][str3] = -1.0;
    transitions[str3][str4] = -1.0;
    string sentence("a-bcd");
    FactorGraph fg(sentence, start_end, vocab, 1);
    vector<string> best_path;
    flt_type lp = viterbi(transitions, fg, best_path);
    BOOST_CHECK_EQUAL(0, (int)best_path.size());
    BOOST_CHECK_CLOSE( MIN_FLOAT, lp, DBL_ACCURACY );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2e8, %rsp            # imm = 0x2E8
leaq -0xe0(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x25d3e(%rip), %rsi     # 0x71fbe
leaq 0x25d38(%rip), %rdx     # 0x71fbf
leaq -0xf0(%rbp), %rdi
callq 0x95e2
leaq -0xc0(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x259f6(%rip), %rsi     # 0x71c9b
leaq 0x259f0(%rip), %rdx     # 0x71c9c
leaq -0xd0(%rbp), %rdi
callq 0x95e2
leaq -0xa0(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x259c1(%rip), %rsi     # 0x71c8b
leaq 0x259bb(%rip), %rdx     # 0x71c8c
leaq -0xb0(%rbp), %rdi
callq 0x95e2
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x24d25(%rip), %rsi     # 0x71011
leaq 0x24d1f(%rip), %rdx     # 0x71012
leaq -0x90(%rbp), %rdi
callq 0x95e2
leaq -0x288(%rbp), %rax
movq %rax, -0x10(%rax)
movq 0x3f287(%rip), %rsi     # 0x8b598
movq 0x3f288(%rip), %rdx     # 0x8b5a0
addq %rsi, %rdx
leaq -0x298(%rbp), %r15
movq %r15, %r14
movq %r15, %rdi
callq 0x9548
leaq -0x278(%rbp), %r14
leaq -0x268(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0xf0(%rbp), %rsi
movq -0xe8(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x9548
leaq -0x258(%rbp), %r14
leaq -0x248(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x9548
leaq -0x238(%rbp), %r14
leaq -0x228(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x9548
leaq -0x218(%rbp), %r14
leaq -0x208(%rbp), %r12
movq %r12, -0x10(%r12)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x9548
leaq -0x2c8(%rbp), %rdi
leaq -0x298(%rbp), %rsi
leaq -0x190(%rbp), %rcx
leaq -0x70(%rbp), %r8
movl $0x5, %edx
callq 0x6b4ee
leaq -0x208(%rbp), %rbx
xorl %r14d, %r14d
movq -0x218(%rbp,%r14), %rdi
leaq (%rbx,%r14), %rax
cmpq %rdi, %rax
je 0x4c41d
callq 0x5380
addq $-0x20, %r14
cmpq $-0xa0, %r14
jne 0x4c407
leaq -0x188(%rbp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x3f148(%rip), %rsi     # 0x8b598
leaq -0x190(%rbp), %rdi
callq 0x1e18a
leaq -0xf0(%rbp), %rsi
movq %rax, %rdi
callq 0x1ddee
movabsq $-0x4010000000000000, %rbx # imm = 0xBFF0000000000000
movq %rbx, (%rax)
leaq -0x190(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x1e18a
leaq 0x3f106(%rip), %rsi     # 0x8b598
movq %rax, %rdi
callq 0x1ddee
movq %rbx, (%rax)
leaq -0x190(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x1e18a
leaq -0xd0(%rbp), %rsi
movq %rax, %rdi
callq 0x1ddee
movq %rbx, (%rax)
leaq -0x190(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x1e18a
leaq -0xb0(%rbp), %rsi
movq %rax, %rdi
callq 0x1ddee
movq %rbx, (%rax)
leaq -0x190(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x1e18a
leaq -0x90(%rbp), %rsi
movq %rax, %rdi
callq 0x1ddee
movq %rbx, (%rax)
leaq -0x130(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x257b3(%rip), %rsi     # 0x71cd1
leaq 0x257b1(%rip), %rdx     # 0x71cd6
leaq -0x140(%rbp), %rdi
callq 0x95e2
leaq 0x3f060(%rip), %rdx     # 0x8b598
leaq -0x298(%rbp), %rdi
leaq -0x140(%rbp), %rsi
leaq -0x2c8(%rbp), %rcx
movl $0x1, %r8d
xorl %r9d, %r9d
callq 0x110ea
xorps %xmm0, %xmm0
leaq -0x160(%rbp), %rdx
movaps %xmm0, (%rdx)
movq $0x0, 0x10(%rdx)
leaq -0x190(%rbp), %rdi
leaq -0x298(%rbp), %rsi
movl $0x1, %ecx
callq 0x1a731
movsd %xmm0, -0x38(%rbp)
movq 0x3efbc(%rip), %rdi     # 0x8b550
leaq 0x25677(%rip), %rax     # 0x71c12
leaq -0x308(%rbp), %rsi
movq %rax, (%rsi)
leaq 0x25674(%rip), %r13     # 0x71c20
movq %r13, 0x8(%rsi)
leaq 0x254a8(%rip), %r12     # 0x71a5f
leaq -0x2f8(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0x2df, %edx            # imm = 0x2DF
callq 0x5760
xorl %eax, %eax
leaq -0x1c8(%rbp), %r14
movb %al, 0x8(%r14)
leaq 0x3e47d(%rip), %rcx     # 0x8aa60
movq %rcx, (%r14)
movq 0x3e9c3(%rip), %r15     # 0x8afb0
movq %r15, 0x10(%r14)
leaq 0x24dcf(%rip), %rcx     # 0x713c7
movq %rcx, 0x18(%r14)
leaq -0x48(%rbp), %rdx
movq -0x158(%rbp), %rcx
subq -0x160(%rbp), %rcx
movl $0x0, (%rdx)
shrq $0x5, %rcx
leaq -0x40(%rbp), %r8
testl %ecx, %ecx
leaq -0x120(%rbp), %rdi
sete (%rdi)
movl %ecx, (%r8)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0x1f8(%rbp), %rcx
movq %rdx, (%rcx)
movb %al, -0x68(%rbp)
leaq 0x3e592(%rip), %rsi     # 0x8abd8
movq %rsi, -0x70(%rbp)
movq %r15, -0x60(%rbp)
movq %rcx, -0x58(%rbp)
leaq -0x1e8(%rbp), %rbx
movb %al, 0x8(%rbx)
leaq -0x1a8(%rbp), %rdx
leaq 0x255a8(%rip), %rax     # 0x71c12
movq %rax, (%rdx)
movq %r13, 0x8(%rdx)
movq %rsi, (%rbx)
leaq -0x50(%rbp), %rax
movq %r8, (%rax)
movq %r15, 0x10(%rbx)
movq %rax, 0x18(%rbx)
subq $0x8, %rsp
leaq 0x25af9(%rip), %r10     # 0x72187
leaq 0x26435(%rip), %r11     # 0x72aca
movl $0x2df, %ecx            # imm = 0x2DF
movq %r14, %rsi
movl $0x1, %r8d
movl $0x2, %r9d
xorl %eax, %eax
pushq %rbx
pushq %r10
leaq -0x70(%rbp), %r10
pushq %r10
pushq %r11
pushq $0x2
callq 0x5740
addq $0x30, %rsp
leaq -0x110(%rbp), %rdi
callq 0x2e966
movq 0x3ee7c(%rip), %rdi     # 0x8b550
leaq -0x2e8(%rbp), %rsi
leaq 0x25530(%rip), %rax     # 0x71c12
movq %rax, (%rsi)
movq %r13, 0x8(%rsi)
leaq -0x2d8(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0x2e0, %edx            # imm = 0x2E0
callq 0x5760
leaq 0x2550a(%rip), %r12     # 0x71c12
movb $0x0, -0x118(%rbp)
leaq 0x3e34a(%rip), %rax     # 0x8aa60
movq %rax, -0x120(%rbp)
movq %r15, -0x110(%rbp)
leaq 0x24c9c(%rip), %rax     # 0x713c7
movq %rax, -0x108(%rbp)
movabsq $-0x10000000000001, %rax # imm = 0xFFEFFFFFFFFFFFFF
movq %rax, -0x100(%rbp)
movsd 0x3ecc5(%rip), %xmm2    # 0x8b410
movsd %xmm2, -0xf8(%rbp)
movsd -0x38(%rbp), %xmm1
leaq -0x1a8(%rbp), %rdi
leaq -0x29(%rbp), %rsi
movsd 0x24ec5(%rip), %xmm0    # 0x71630
callq 0x6b8ea
leaq -0x1f8(%rbp), %rdx
movq %r12, (%rdx)
movq %r13, 0x8(%rdx)
leaq -0x100(%rbp), %rax
movq %rax, -0x50(%rbp)
xorl %eax, %eax
movb %al, -0x68(%rbp)
leaq 0x3e343(%rip), %rcx     # 0x8aad8
movq %rcx, -0x70(%rbp)
movq %r15, -0x60(%rbp)
leaq -0x50(%rbp), %rsi
movq %rsi, -0x58(%rbp)
leaq -0x38(%rbp), %rsi
movq %rsi, -0x48(%rbp)
movb %al, -0x1e0(%rbp)
movq %rcx, -0x1e8(%rbp)
movq %r15, -0x1d8(%rbp)
leaq -0x48(%rbp), %rcx
movq %rcx, -0x1d0(%rbp)
leaq -0xf8(%rbp), %rcx
movq %rcx, -0x40(%rbp)
movb %al, -0x1c0(%rbp)
leaq 0x3e4ec(%rip), %rax     # 0x8acd0
movq %rax, -0x1c8(%rbp)
movq %r15, -0x1b8(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x1b0(%rbp)
subq $0x8, %rsp
leaq 0x25587(%rip), %r10     # 0x71d8f
leaq 0x26011(%rip), %r11     # 0x72820
leaq 0x25514(%rip), %r15     # 0x71d2a
leaq -0x1a8(%rbp), %rdi
leaq -0x120(%rbp), %rsi
movl $0x2e0, %ecx            # imm = 0x2E0
movl $0x1, %r8d
movl $0x8, %r9d
xorl %eax, %eax
pushq %r14
pushq %r10
pushq %rbx
pushq %r11
leaq -0x70(%rbp), %r10
pushq %r10
pushq %r15
pushq $0x3
callq 0x5740
addq $0x40, %rsp
leaq -0x198(%rbp), %rdi
callq 0x2e966
leaq -0x160(%rbp), %rdi
callq 0xab88
leaq -0x298(%rbp), %rdi
callq 0x12c6c
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
leaq -0xe0(%rbp), %rbx
leaq -0xc0(%rbp), %r14
leaq -0xa0(%rbp), %r15
leaq -0x80(%rbp), %r12
je 0x4c8a6
callq 0x5380
leaq -0x190(%rbp), %rdi
callq 0x1e76a
leaq -0x2c8(%rbp), %rdi
callq 0x22c7c
movq -0x90(%rbp), %rdi
cmpq %r12, %rdi
je 0x4c8cf
callq 0x5380
movq -0xb0(%rbp), %rdi
cmpq %r15, %rdi
je 0x4c8e0
callq 0x5380
movq -0xd0(%rbp), %rdi
cmpq %r14, %rdi
je 0x4c8f1
callq 0x5380
movq -0xf0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4c902
callq 0x5380
addq $0x2e8, %rsp            # imm = 0x2E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x198(%rbp), %rdi
jmp 0x4c92c
jmp 0x4c97d
movq %rax, %rbx
leaq -0x110(%rbp), %rdi
callq 0x2e966
jmp 0x4c980
movq %rax, %rbx
jmp 0x4c998
jmp 0x4c9e5
movq %rax, %rbx
movq $-0xa0, %r14
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x4c956
callq 0x5380
addq $-0x20, %r12
addq $0x20, %r14
jne 0x4c947
jmp 0x4ca00
movq %rax, %rbx
jmp 0x4ca15
movq %rax, %rbx
jmp 0x4ca2d
movq %rax, %rbx
jmp 0x4ca45
movq %rax, %rbx
leaq -0x160(%rbp), %rdi
callq 0xab88
leaq -0x298(%rbp), %rdi
callq 0x12c6c
movq -0x140(%rbp), %rdi
leaq -0x130(%rbp), %rax
cmpq %rax, %rdi
je 0x4c9e8
callq 0x5380
jmp 0x4c9e8
movq %rax, %rbx
cmpq %r14, %r15
je 0x4ca00
addq $-0x10, %r14
leaq -0x298(%rbp), %r15
movq -0x10(%r14), %rdi
cmpq %rdi, %r14
je 0x4c9d3
callq 0x5380
leaq -0x20(%r14), %rax
addq $-0x10, %r14
cmpq %r15, %r14
movq %rax, %r14
jne 0x4c9c5
jmp 0x4ca00
movq %rax, %rbx
leaq -0x190(%rbp), %rdi
callq 0x1e76a
leaq -0x2c8(%rbp), %rdi
callq 0x22c7c
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x4ca15
callq 0x5380
movq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %rax
cmpq %rax, %rdi
je 0x4ca2d
callq 0x5380
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0x4ca45
callq 0x5380
movq -0xf0(%rbp), %rdi
leaq -0xe0(%rbp), %rax
cmpq %rax, %rdi
je 0x4ca5d
callq 0x5380
movq %rbx, %rdi
callq 0x56f0