// File: /workspace/github_cpp_makefile_star2_O1/aalto-speech[P]ftk/src/Bigrams.cc
// Function: Bigrams::read_transitions(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, double>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, double, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, double>>>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int
Bigrams::read_transitions(transitions_t &transitions,
                          const string &filename)
{
    SimpleFileInput transfile(filename);

    string line;
    flt_type count;
    int num_trans = 0;
    while (transfile.getline(line)) {
        stringstream ss(line);
        string src, tgt;
        ss >> src;
        ss >> tgt;
        ss >> count;
        transitions[src][tgt] = count;
        num_trans++;
    }

    return num_trans;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdi, -0x78(%rbp)
leaq -0xb8(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq -0xc8(%rbp), %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x5f0a
leaq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x6040
movq -0xc8(%rbp), %rdi
cmpq %r14, %rdi
je 0x227b6
callq 0x4350
leaq -0x98(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
xorl %r12d, %r12d
leaq -0x250(%rbp), %r13
leaq -0x70(%rbp), %r15
leaq -0x50(%rbp), %rbx
xorl %r14d, %r14d
movq -0x30(%rbp), %rdi
movq (%rdi), %rax
leaq -0xa8(%rbp), %rsi
callq *(%rax)
testb %al, %al
je 0x228c6
movq %r13, %rdi
leaq -0xa8(%rbp), %rsi
movl $0x18, %edx
callq 0x4580
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
movq %r12, -0x68(%rbp)
movb %r12b, -0x60(%rbp)
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq %r12, -0x48(%rbp)
movb %r12b, -0x40(%rbp)
movq %r13, %rdi
movq %r15, %rsi
callq 0x4450
movq %r13, %rdi
movq %rbx, %rsi
callq 0x4450
movq %r13, %rdi
leaq -0x88(%rbp), %rsi
callq 0x4240
movsd -0x88(%rbp), %xmm0
movsd %xmm0, -0x80(%rbp)
movq -0x78(%rbp), %rdi
movq %r15, %rsi
callq 0x1b3fa
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1b05e
movsd -0x80(%rbp), %xmm0
movsd %xmm0, (%rax)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x22891
callq 0x4350
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x228a3
callq 0x4350
movq %r13, %rdi
movq 0x116e3(%rip), %rsi     # 0x33f90
callq 0x42c0
leaq -0x1d0(%rbp), %rdi
callq 0x4110
incl %r14d
jmp 0x227e1
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x228de
callq 0x4350
leaq -0x30(%rbp), %rdi
callq 0x6192
movl %r14d, %eax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r14, %rdi
je 0x22980
callq 0x4350
jmp 0x22980
jmp 0x22914
movq %rax, %rbx
jmp 0x2295f
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2292e
callq 0x4350
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x22940
callq 0x4350
movq 0x11649(%rip), %rsi     # 0x33f90
leaq -0x250(%rbp), %rdi
callq 0x42c0
leaq -0x1d0(%rbp), %rdi
callq 0x4110
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x22977
callq 0x4350
leaq -0x30(%rbp), %rdi
callq 0x6192
movq %rbx, %rdi
callq 0x4650