// File: /workspace/github_cpp_makefile_star2_O3/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 0x5f0e
leaq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x604c
movq -0xc8(%rbp), %rdi
cmpq %r14, %rdi
je 0x225da
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), %r14
leaq -0x50(%rbp), %rbx
xorl %r15d, %r15d
movq -0x30(%rbp), %rdi
movq (%rdi), %rax
leaq -0xa8(%rbp), %rsi
callq *(%rax)
testb %al, %al
je 0x226ea
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 %r14, %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 %r14, %rsi
callq 0x1b318
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1af86
movsd -0x80(%rbp), %xmm0
movsd %xmm0, (%rax)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x226b5
callq 0x4350
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x226c7
callq 0x4350
movq %r13, %rdi
movq 0x118bf(%rip), %rsi     # 0x33f90
callq 0x42c0
leaq -0x1d0(%rbp), %rdi
callq 0x4110
incl %r15d
jmp 0x22605
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x22702
callq 0x4350
leaq -0x30(%rbp), %rdi
callq 0x619e
movl %r15d, %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 0x227a4
callq 0x4350
jmp 0x227a4
jmp 0x22738
movq %rax, %rbx
jmp 0x22783
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x22752
callq 0x4350
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x22764
callq 0x4350
movq 0x11825(%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 0x2279b
callq 0x4350
leaq -0x30(%rbp), %rdi
callq 0x619e
movq %rbx, %rdi
callq 0x4650