// File: /workspace/github_cpp_makefile_star2_O2/aalto-speech[P]ftk/test/emtest.cc
// Function: ForwardBackwardTest3::test_method()
BOOST_AUTO_TEST_CASE(ForwardBackwardTest3)
{
    map<string, flt_type> vocab;
    vocab["a"] = -1.0;
    string sentence("a");
    map<string, flt_type> stats;
    flt_type lp = forward_backward(vocab, sentence, stats);
    BOOST_CHECK_EQUAL(1, (int)stats.size());
    BOOST_CHECK_EQUAL((flt_type)1.0, stats["a"]);
    BOOST_CHECK_EQUAL(-1.0, lp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
leaq -0x108(%rbp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq 0x268d5(%rip), %rsi     # 0x53f2c
leaq -0x70(%rbp), %rdi
leaq -0xe0(%rbp), %rdx
callq 0x5160
leaq -0x110(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x1b3d2
movabsq $-0x4010000000000000, %rcx # imm = 0xBFF0000000000000
movq %rcx, (%rax)
leaq -0x70(%rbp), %rdi
callq 0x57b8
leaq 0x26898(%rip), %rsi     # 0x53f2c
leaq -0xe0(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0x5160
leaq -0x68(%rbp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
andq $0x0, 0x20(%rax)
leaq -0x110(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
leaq -0x70(%rbp), %rdx
xorl %ecx, %ecx
callq 0x184bb
movsd %xmm0, -0x40(%rbp)
movq 0x42e5e(%rip), %rdi     # 0x70540
leaq 0x26497(%rip), %r14     # 0x53b80
leaq -0x190(%rbp), %rsi
movq %r14, (%rsi)
leaq 0x26494(%rip), %r15     # 0x53b8e
movq %r15, 0x8(%rsi)
leaq 0x26310(%rip), %r12     # 0x53a15
leaq -0x180(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0xe2, %edx
callq 0x5710
leaq -0x90(%rbp), %rdi
movb $0x0, 0x8(%rdi)
leaq 0x423b1(%rip), %rax     # 0x6fae0
movq %rax, (%rdi)
movq 0x42877(%rip), %rbx     # 0x6ffb0
movq %rbx, 0x10(%rdi)
leaq 0x25c13(%rip), %r13     # 0x53357
movq %r13, 0x18(%rdi)
leaq -0x170(%rbp), %rsi
movq %r14, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0xb0(%rbp), %r9
movl $0x1, (%r9)
movl -0x48(%rbp), %eax
leaq -0x38(%rbp), %r10
movl %eax, (%r10)
subq $0x8, %rsp
leaq 0x2650d(%rip), %rax     # 0x53c86
leaq 0x2681b(%rip), %r11     # 0x53f9b
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
movl $0xe2, %edx
pushq %rax
pushq %r10
pushq %r11
callq 0x4ea09
addq $0x20, %rsp
movq 0x42d9f(%rip), %rdi     # 0x70540
leaq -0x160(%rbp), %rsi
movq %r14, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0x150(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0xe3, %edx
callq 0x5710
movb $0x0, -0x88(%rbp)
leaq 0x4230b(%rip), %rax     # 0x6fae0
movq %rax, -0x90(%rbp)
movq %rbx, -0x80(%rbp)
movq %r13, -0x78(%rbp)
movq %r14, -0xc0(%rbp)
movq %r15, -0xb8(%rbp)
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, -0x38(%rbp)
leaq 0x26725(%rip), %rsi     # 0x53f2c
leaq -0xb0(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x5160
leaq -0x70(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x1b3d2
subq $0x8, %rsp
leaq 0x2649a(%rip), %r10     # 0x53ccc
leaq 0x26485(%rip), %r11     # 0x53cbe
leaq -0x90(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
leaq -0x38(%rbp), %r9
movl $0xe3, %edx
pushq %r10
pushq %rax
pushq %r11
callq 0x2903d
addq $0x20, %rsp
leaq -0xb0(%rbp), %rdi
callq 0x57b8
movq 0x42cc8(%rip), %rdi     # 0x70540
leaq -0x140(%rbp), %rsi
movq %r14, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0x130(%rbp), %rcx
movq %r12, (%rcx)
movq %r12, 0x8(%rcx)
movl $0xe4, %edx
callq 0x5710
leaq -0x90(%rbp), %rdi
movb $0x0, 0x8(%rdi)
leaq 0x42230(%rip), %rax     # 0x6fae0
movq %rax, (%rdi)
movq %rbx, 0x10(%rdi)
movq %r13, 0x18(%rdi)
leaq -0x120(%rbp), %rsi
movq %r14, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0xb0(%rbp), %r9
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
movq %rax, (%r9)
subq $0x8, %rsp
leaq 0x26ea6(%rip), %rax     # 0x5478e
leaq -0x40(%rbp), %r10
leaq 0x25e77(%rip), %r11     # 0x5376a
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
movl $0xe4, %edx
pushq %rax
pushq %r10
pushq %r11
callq 0x2903d
addq $0x20, %rsp
leaq -0x70(%rbp), %rdi
callq 0x1bba4
leaq -0xe0(%rbp), %rdi
callq 0x57b8
leaq -0x110(%rbp), %rdi
callq 0x1bba4
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2d967
jmp 0x2d967
jmp 0x2d967
jmp 0x2d951
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
jmp 0x2d97a
movq %rax, %rbx
jmp 0x2d97f
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x57b8
jmp 0x2d96a
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x1bba4
leaq -0xe0(%rbp), %rdi
callq 0x57b8
leaq -0x110(%rbp), %rdi
callq 0x1bba4
movq %rbx, %rdi
callq 0x56b0