// File: /workspace/github_cpp_makefile_star2_O3/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 0x46062
movq %r15, 0x98(%r14)
movq %r15, 0xa0(%r14)
leaq 0x190(%rsp), %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0xc920
leaq 0x190(%rsp), %rdi
callq 0xc670
movb $0x1, %bl
xorl %r13d, %r13d
leaq 0x190(%rsp), %r15
leaq 0x50(%rsp), %r12
xorl %ebp, %ebp
movq 0x190(%rsp), %rcx
movq -0x18(%rcx), %rcx
cmpl $0x0, 0x1b0(%rsp,%rcx)
jne 0x1a108
cmpb $0x9, %al
je 0x1a0ca
movzbl %al, %ecx
cmpl $0xd, %ecx
je 0x1a0fb
cmpl $0xa, %ecx
jne 0x1a0d7
movslq %ebp, %rax
movb $0x0, 0x90(%rsp,%rax)
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x110(%rsp), %rbx
movq %rbx, %rdi
callq 0xc250
leaq (%rsp,%rax), %rdx
addq $0x110, %rdx            # imm = 0x110
leaq 0x28(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x278dc
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
callq 0xc250
leaq (%rsp,%rax), %rdx
addq $0x90, %rdx
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x278dc
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x433c0
movq 0x8(%r14), %rdi
addq $-0x10, %rdi
movq %r12, %rsi
callq 0x43424
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1a06d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x1a089
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1a0a5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1a0c1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc550
movb $0x1, %bl
xorl %r13d, %r13d
xorl %ebp, %ebp
jmp 0x1a0fb
movslq %r13d, %rax
movb $0x0, 0x110(%rsp,%rax)
jmp 0x1a0f9
testb $0x1, %bl
je 0x1a0ed
movslq %r13d, %rcx
incl %r13d
movb %al, 0x110(%rsp,%rcx)
movb $0x1, %bl
jmp 0x1a0fb
movslq %ebp, %rcx
incl %ebp
movb %al, 0x90(%rsp,%rcx)
xorl %ebx, %ebx
movq %r15, %rdi
callq 0xc670
jmp 0x19f81
leaq 0x190(%rsp), %rdi
callq 0xc160
movq %r14, %rax
addq $0x398, %rsp            # imm = 0x398
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1a184
movq %rax, %rbx
jmp 0x1a194
movq %rax, %rbx
jmp 0x1a14a
movq %rax, %rbx
jmp 0x1a166
jmp 0x1a184
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x1e040
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1a166
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xc550
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1a187
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0x1a187
movq %rax, %rbx
leaq 0x190(%rsp), %rdi
callq 0xc160
movq 0x48(%rsp), %rdi
callq 0x27696
movq %rbx, %rdi
callq 0xc9c0