// File: /workspace/github_cpp_makefile_star2_O1/aalto-speech[P]ftk/test/emtest.cc
// Function: ForwardBackwardTest4_invoker()
BOOST_AUTO_TEST_CASE(ForwardBackwardTest4)
{
    map<string, flt_type> vocab;
    vocab["a"] = -1.0;
    vocab["b"] = -1.0;
    string sentence("ab");
    map<string, flt_type> stats;
    flt_type lp = forward_backward(vocab, sentence, stats);
    BOOST_CHECK_EQUAL(2, (int)stats.size());
    BOOST_CHECK_EQUAL((flt_type)1.0, stats["b"]);
    BOOST_CHECK_EQUAL((flt_type)1.0, stats["a"]);
    BOOST_CHECK_EQUAL(-2.0, lp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq 0x5582c(%rip), %rbx     # 0x8b550
leaq 0x3bee7(%rip), %rax     # 0x71c12
movq %rax, -0x98(%rbp)
leaq 0x3bee7(%rip), %r13     # 0x71c20
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x3c651(%rip), %rsi     # 0x723e1
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x5450
leaq 0x3bc69(%rip), %rsi     # 0x71a11
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x35ded
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x280(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0xe8, %edx
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x35e2e
callq 0x5380
movq 0x55183(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x556fc(%rip), %rbx     # 0x8b550
leaq 0x3bdb7(%rip), %rax     # 0x71c12
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x3c528(%rip), %rsi     # 0x723e1
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x5450
leaq 0x3bb4f(%rip), %rsi     # 0x71a20
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x35f12
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x270(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0xe8, %edx
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x35f53
callq 0x5380
movq 0x5505e(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x555d7(%rip), %rbx     # 0x8b550
leaq 0x3bc92(%rip), %rax     # 0x71c12
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x3c406(%rip), %rsi     # 0x723e1
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x5450
leaq 0x3ba3d(%rip), %rsi     # 0x71a30
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x36034
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0xe8, %edx
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x36072
callq 0x5380
movq 0x54f3f(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
callq 0x36306
movq 0x554b3(%rip), %rbx     # 0x8b550
leaq 0x3bb6e(%rip), %rax     # 0x71c12
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x3c2e2(%rip), %rsi     # 0x723e1
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x5450
leaq 0x3b926(%rip), %rsi     # 0x71a3d
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x36158
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x250(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0xe8, %edx
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x36196
callq 0x5380
movq 0x54e1b(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
movq 0x55394(%rip), %rbx     # 0x8b550
leaq 0x3ba4f(%rip), %rax     # 0x71c12
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x51f0
movq %r14, %rdi
callq 0x5500
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x5450
leaq 0x3c1c3(%rip), %rsi     # 0x723e1
leaq -0x230(%rbp), %rdi
movl $0x14, %edx
callq 0x5450
leaq 0x3b81a(%rip), %rsi     # 0x71a50
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x5450
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x55f0
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x5480
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x36277
callq 0x5380
movq -0xb8(%rbp), %rax
leaq -0x240(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0xe8, %edx
movq %rbx, %rdi
callq 0x5760
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x362b5
callq 0x5380
movq 0x54cfc(%rip), %rsi     # 0x8afb8
leaq -0x230(%rbp), %rdi
callq 0x51d0
leaq -0x1c0(%rbp), %rdi
callq 0x5110
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x362ee
jmp 0x362ee
jmp 0x362ee
jmp 0x362ee
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x2e924
movq %rbx, %rdi
callq 0x56f0
nop