// File: /workspace/github_cpp_makefile_star2_O2/aalto-speech[P]ftk/test/emtest.cc
// Function: FactorGraphTestNumPaths::test_method()
BOOST_AUTO_TEST_CASE(FactorGraphTestNumPaths)
{
    set<string> vocab = {"k","i","s","a","sa","ki","kis","kissa"};
    string sentence("kissa");
    FactorGraph fg(sentence, start_end, vocab, 5);
    BOOST_CHECK_EQUAL( 7, fg.num_paths() );
    fg.remove_arcs(string("kissa"));
    BOOST_CHECK_EQUAL( 6, fg.num_paths() );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
leaq 0x1eb19(%rip), %rsi     # 0x53c52
leaq -0x1c8(%rbp), %r14
leaq -0x98(%rbp), %rdx
movq %r14, %rdi
callq 0x5160
leaq -0x1a8(%rbp), %r15
leaq 0x1e60b(%rip), %rsi     # 0x53768
leaq -0x58(%rbp), %rdx
movq %r15, %rdi
callq 0x5160
leaq -0x188(%rbp), %r15
leaq 0x1de97(%rip), %rsi     # 0x5300e
leaq -0x2c(%rbp), %rdx
movq %r15, %rdi
callq 0x5160
leaq -0x168(%rbp), %r15
leaq 0x1ed9b(%rip), %rsi     # 0x53f2c
leaq -0x30(%rbp), %rdx
movq %r15, %rdi
callq 0x5160
leaq -0x148(%rbp), %r15
leaq 0x1f615(%rip), %rsi     # 0x547c0
leaq -0x36(%rbp), %rdx
movq %r15, %rdi
callq 0x5160
leaq -0x128(%rbp), %r15
leaq 0x1ebbf(%rip), %rsi     # 0x53d84
leaq -0x35(%rbp), %rdx
movq %r15, %rdi
callq 0x5160
leaq -0x108(%rbp), %r15
leaq 0x1eba8(%rip), %rsi     # 0x53d87
leaq -0x34(%rbp), %rdx
movq %r15, %rdi
callq 0x5160
leaq -0xe8(%rbp), %r15
leaq 0x1ea5b(%rip), %rsi     # 0x53c54
leaq -0x33(%rbp), %rdx
movq %r15, %rdi
callq 0x5160
leaq -0xc8(%rbp), %rdi
leaq -0x1c8(%rbp), %rsi
pushq $0x8
popq %rdx
leaq -0x32(%rbp), %rcx
leaq -0x31(%rbp), %r8
callq 0x4ed0a
movl $0xe0, %ebx
leaq (%rbx,%rbp), %rdi
addq $-0x1c8, %rdi           # imm = 0xFE38
callq 0x57b8
addq $-0x20, %rbx
cmpq $-0x20, %rbx
jne 0x35228
leaq 0x1ea0b(%rip), %rsi     # 0x53c54
leaq -0x98(%rbp), %rdi
leaq -0x1c8(%rbp), %rdx
callq 0x5160
leaq 0x3b325(%rip), %rdx     # 0x70588
leaq -0x1c8(%rbp), %rdi
leaq -0x98(%rbp), %rsi
leaq -0xc8(%rbp), %rcx
pushq $0x5
popq %r8
xorl %r9d, %r9d
callq 0xf742
movq 0x3b2b5(%rip), %rdi     # 0x70540
leaq 0x1e8ee(%rip), %r14     # 0x53b80
leaq -0x208(%rbp), %rsi
movq %r14, (%rsi)
leaq 0x1e8eb(%rip), %r15     # 0x53b8e
movq %r15, 0x8(%rsi)
leaq 0x1e767(%rip), %r13     # 0x53a15
leaq -0x1f8(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
movl $0x21d, %edx            # imm = 0x21D
callq 0x5710
movb $0x0, -0x50(%rbp)
leaq 0x3a80f(%rip), %rax     # 0x6fae0
movq %rax, -0x58(%rbp)
movq 0x3acd4(%rip), %r12     # 0x6ffb0
movq %r12, -0x48(%rbp)
leaq 0x1e070(%rip), %rbx     # 0x53357
movq %rbx, -0x40(%rbp)
movq %r14, -0x78(%rbp)
movq %r15, -0x70(%rbp)
movl $0x7, -0x2c(%rbp)
leaq -0x1c8(%rbp), %rdi
callq 0x10548
movl %eax, -0x30(%rbp)
subq $0x8, %rsp
leaq 0x1eca1(%rip), %r10     # 0x53fb5
leaq 0x1f23d(%rip), %rax     # 0x54558
leaq -0x58(%rbp), %rdi
leaq -0x78(%rbp), %rsi
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
leaq -0x2c(%rbp), %r9
movl $0x21d, %edx            # imm = 0x21D
pushq %r10
leaq -0x30(%rbp), %r10
pushq %r10
pushq %rax
callq 0x4ea09
addq $0x20, %rsp
leaq 0x1e908(%rip), %rsi     # 0x53c54
leaq -0x58(%rbp), %rdi
leaq -0x2c(%rbp), %rdx
callq 0x5160
leaq -0x1c8(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x1090c
leaq -0x58(%rbp), %rdi
callq 0x57b8
movq 0x3b1c7(%rip), %rdi     # 0x70540
leaq -0x1e8(%rbp), %rsi
movq %r14, (%rsi)
movq %r15, 0x8(%rsi)
leaq -0x1d8(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
movl $0x21f, %edx            # imm = 0x21F
callq 0x5710
movb $0x0, -0x50(%rbp)
leaq 0x3a736(%rip), %rax     # 0x6fae0
movq %rax, -0x58(%rbp)
movq %r12, -0x48(%rbp)
movq %rbx, -0x40(%rbp)
movq %r14, -0x68(%rbp)
movq %r15, -0x60(%rbp)
movl $0x6, -0x2c(%rbp)
leaq -0x1c8(%rbp), %rdi
callq 0x10548
movl %eax, -0x30(%rbp)
subq $0x8, %rsp
leaq 0x1f2f6(%rip), %rax     # 0x546d5
leaq -0x58(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
leaq -0x2c(%rbp), %r9
movl $0x21f, %edx            # imm = 0x21F
leaq 0x1ebb7(%rip), %r10     # 0x53fb5
pushq %r10
leaq -0x30(%rbp), %r10
pushq %r10
pushq %rax
callq 0x4ea09
addq $0x20, %rsp
leaq -0x1c8(%rbp), %rdi
callq 0x10c24
leaq -0x98(%rbp), %rdi
callq 0x57b8
leaq -0xc8(%rbp), %rdi
callq 0x200e8
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x57b8
jmp 0x354c0
jmp 0x354bd
movq %rax, %rbx
jmp 0x354cc
movq %rax, %rbx
jmp 0x354d8
movq %rax, %rbx
movl $0xe0, %r12d
leaq (%r12,%rbp), %rdi
addq $-0x1c8, %rdi           # imm = 0xFE38
callq 0x57b8
addq $-0x20, %r12
cmpq $-0x20, %r12
jne 0x35469
movb $0x1, %al
jmp 0x35498
jmp 0x35493
jmp 0x35493
jmp 0x35493
jmp 0x35493
jmp 0x35493
jmp 0x35493
movq %rax, %rbx
xorl %eax, %eax
cmpq %r15, %r14
je 0x354e4
testb %al, %al
jne 0x354e4
addq $-0x20, %r15
movq %r15, %rdi
callq 0x57b8
cmpq %r14, %r15
jne 0x354a1
jmp 0x354e4
movq %rax, %rbx
jmp 0x354e4
jmp 0x354bd
jmp 0x354bd
movq %rax, %rbx
leaq -0x1c8(%rbp), %rdi
callq 0x10c24
leaq -0x98(%rbp), %rdi
callq 0x57b8
leaq -0xc8(%rbp), %rdi
callq 0x200e8
movq %rbx, %rdi
callq 0x56b0