// File: /workspace/github_cpp_makefile_star2_O1/Kingsford-Group[P]ghost2/src/GHOST.cpp
// Function: readAlignment(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bmap readAlignment(string file)
{
  bmap result;
  ifstream fin(file);
  char c = fin.get();
  int alen = 0;
  int blen = 0;
  char a[128];
  char b[128];
  bool fillinga = true;
  while(fin.good()){
    if(c == '\n'){
      b[blen] = '\0';
      result.insert(bmap::value_type(string(a), string(b)));
      alen = blen = 0;
      fillinga = true;
    }
    else if(c == '\r'){}
    else if (c == '\t'){
      a[alen] = '\0';
      fillinga = false;
    }
    else if(fillinga) a[alen++] = c;
    else b[blen++] = c;
    c = fin.get();
  }
  return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x398, %rsp            # imm = 0x398
movq %rsi, %rbx
movq %rdi, %r14
addq $0x10, %rdi
leaq 0x20(%r14), %r15
movq %r15, 0x8(%r14)
leaq 0x190(%rsp), %rsi
movq %rdi, 0x48(%rsp)
callq 0x4700c
movq %r15, 0x98(%r14)
movq %r15, 0xa0(%r14)
leaq 0x190(%rsp), %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0xd920
leaq 0x190(%rsp), %rdi
callq 0xd670
movb $0x1, %bpl
xorl %r13d, %r13d
leaq 0x190(%rsp), %r15
leaq 0x50(%rsp), %r12
xorl %ebx, %ebx
movq 0x190(%rsp), %rcx
movq -0x18(%rcx), %rcx
cmpl $0x0, 0x1b0(%rsp,%rcx)
jne 0x1b418
cmpb $0x9, %al
je 0x1b3db
movzbl %al, %ecx
cmpl $0xd, %ecx
je 0x1b40b
cmpl $0xa, %ecx
jne 0x1b3ea
movslq %ebx, %rax
movb $0x0, 0x90(%rsp,%rax)
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
callq 0xd250
leaq (%rsp,%rax), %rdx
addq $0x110, %rdx            # imm = 0x110
leaq 0x28(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x28dfa
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
callq 0xd250
leaq (%rsp,%rax), %rdx
addq $0x90, %rdx
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x28dfa
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x44570
movq 0x8(%r14), %rdi
addq $-0x10, %rdi
movq %r12, %rsi
callq 0x445d4
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1b37d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1b399
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1b3b5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1b3d1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd550
movb $0x1, %bpl
xorl %r13d, %r13d
xorl %ebx, %ebx
jmp 0x1b40b
movslq %r13d, %rax
movb $0x0, 0x110(%rsp,%rax)
xorl %ebp, %ebp
jmp 0x1b40b
testb $0x1, %bpl
je 0x1b3ff
movslq %r13d, %rcx
incl %r13d
movb %al, 0x110(%rsp,%rcx)
jmp 0x1b40b
movslq %ebx, %rcx
incl %ebx
movb %al, 0x90(%rsp,%rcx)
movq %r15, %rdi
callq 0xd670
jmp 0x1b291
leaq 0x190(%rsp), %rdi
callq 0xd160
movq %r14, %rax
addq $0x398, %rsp            # imm = 0x398
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1b494
movq %rax, %rbx
jmp 0x1b4a4
movq %rax, %rbx
jmp 0x1b45a
movq %rax, %rbx
jmp 0x1b476
jmp 0x1b494
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x1f38c
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1b476
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xd550
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1b497
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0x1b497
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
callq 0xd160
movq 0x48(%rsp), %rdi
callq 0x28bb2
movq %rbx, %rdi
callq 0xd9c0