LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: epfml[P]Bi-Sent2Vec/src/model.cc
// Function: fasttext::Model::softmax(int, float)
real Model::softmax(int32_t target, real lr) {
  grad_.zero();
  computeOutputSoftmax();
  for (int32_t i = 0; i < osz_; i++) {
    real label = (i == target) ? 1.0 : 0.0;
    real alpha = lr * (label - output_[i]);
    grad_.addRow(*wo_, i, alpha);
    wo_->addRow(hidden_, i, alpha);
  }
  return -log(output_[target]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movss %xmm0, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
addq $0x70, %rdi
callq 0x20cb0
movq -0x28(%rbp), %rdi
callq 0x22100
movl $0x0, -0x14(%rbp)
movq -0x28(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl 0x88(%rcx), %eax
jge 0x2224c
movl -0x14(%rbp), %eax
movl -0xc(%rbp), %ecx
movsd 0x20732(%rip), %xmm0    # 0x428b8
xorps %xmm1, %xmm1
movsd %xmm1, -0x38(%rbp)
cmpl %ecx, %eax
movsd %xmm0, -0x30(%rbp)
je 0x221a1
movsd -0x38(%rbp), %xmm0
movsd %xmm0, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movsd -0x30(%rbp), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x18(%rbp)
movss -0x10(%rbp), %xmm0
movss %xmm0, -0x44(%rbp)
movss -0x18(%rbp), %xmm0
movss %xmm0, -0x48(%rbp)
addq $0x60, %rdi
movslq -0x14(%rbp), %rsi
callq 0x213e0
movss -0x48(%rbp), %xmm1
movss -0x44(%rbp), %xmm0
movq -0x28(%rbp), %rdi
subss (%rax), %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -0x1c(%rbp)
movq %rdi, %rax
addq $0x70, %rax
movq %rax, -0x40(%rbp)
addq $0x10, %rdi
callq 0x23880
movq -0x40(%rbp), %rdi
movq %rax, %rsi
movslq -0x14(%rbp), %rdx
movss -0x1c(%rbp), %xmm0
callq 0x21030
movq -0x28(%rbp), %rdi
addq $0x10, %rdi
callq 0x235f0
movq -0x28(%rbp), %rsi
movq %rax, %rdi
addq $0x50, %rsi
movslq -0x14(%rbp), %rdx
movss -0x1c(%rbp), %xmm0
callq 0x1e1f0
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x22165
movq -0x28(%rbp), %rdi
addq $0x60, %rdi
movslq -0xc(%rbp), %rsi
callq 0x213e0
movq -0x28(%rbp), %rdi
movss (%rax), %xmm0
callq 0x21cb0
movd %xmm0, %eax
xorl $0x80000000, %eax       # imm = 0x80000000
movd %eax, %xmm0
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)
// File: epfml[P]Bi-Sent2Vec/src/model.cc
// Function: fasttext::Model::computeHidden(std::vector<int, std::allocator<int>> const&, fasttext::Vector&) const
void Model::computeHidden(const std::vector<int32_t>& input, Vector& hidden) const {
  assert(hidden.size() == hsz_);
  hidden.zero();
  for (auto it = input.cbegin(); it != input.cend(); ++it) {
    if(quant_) {
      hidden.addRow(*qwi_, *it);
    } else {
      hidden.addRow(*wi_, *it);
    }
  }
  hidden.mul(1.0 / input.size());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rdi
callq 0x20c90
movq -0x30(%rbp), %rcx
movslq 0x80(%rcx), %rcx
cmpq %rcx, %rax
jne 0x222b7
jmp 0x222d6
leaq 0x2116a(%rip), %rdi     # 0x43428
leaq 0x21179(%rip), %rsi     # 0x4343e
movl $0x7b, %edx
leaq 0x2117a(%rip), %rcx     # 0x4344b
callq 0x52d0
movq -0x18(%rbp), %rdi
callq 0x20cb0
movq -0x10(%rbp), %rdi
callq 0xf370
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0xf3e0
movq %rax, -0x28(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0xf3a0
testb $0x1, %al
jne 0x2230c
jmp 0x2238b
movq -0x30(%rbp), %rax
testb $0x1, 0x118(%rax)
je 0x2234d
movq -0x30(%rbp), %rdi
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
addq $0x20, %rdi
callq 0x23940
movq %rax, -0x38(%rbp)
leaq -0x20(%rbp), %rdi
callq 0xf410
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rsi
movslq (%rax), %rdx
callq 0x21150
jmp 0x2237b
movq -0x30(%rbp), %rdi
movq -0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
callq 0x23880
movq %rax, -0x48(%rbp)
leaq -0x20(%rbp), %rdi
callq 0xf410
movq -0x50(%rbp), %rdi
movq -0x48(%rbp), %rsi
movslq (%rax), %rdx
callq 0x20f30
jmp 0x2237d
leaq -0x20(%rbp), %rdi
callq 0xf430
jmp 0x222ec
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rdi
callq 0xed50
movq -0x58(%rbp), %rdi
movq %rax, %xmm1
movaps 0x20544(%rip), %xmm0    # 0x428f0
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x20548(%rip), %xmm0    # 0x42900
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movsd 0x204e9(%rip), %xmm0    # 0x428b8
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq 0x20d80
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/model.cc
// Function: fasttext::Model::predict(std::vector<int, std::allocator<int>> const&, int, std::vector<std::pair<float, int>, std::allocator<std::pair<float, int>>>&, fasttext::Vector&, fasttext::Vector&) const
void Model::predict(const std::vector<int32_t>& input, int32_t k,
                    std::vector<std::pair<real, int32_t>>& heap,
                    Vector& hidden, Vector& output) const {
  assert(k > 0);
  heap.reserve(k + 1);
  computeHidden(input, hidden);
  if (args_->loss == loss_name::hs) {
    dfs(k, 2 * osz_ - 2, 0.0, heap, hidden);
  } else {
    findKBest(k, heap, hidden, output);
  }
  std::sort_heap(heap.begin(), heap.end(), comparePairs);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
cmpl $0x0, -0x14(%rbp)
jle 0x2244f
jmp 0x2246e
leaq 0x21047(%rip), %rdi     # 0x4349d
leaq 0x20fe1(%rip), %rsi     # 0x4343e
movl $0x8f, %edx
leaq 0x2103a(%rip), %rcx     # 0x434a3
callq 0x52d0
movq -0x20(%rbp), %rdi
movl -0x14(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rsi
callq 0x239b0
movq -0x48(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x28(%rbp), %rdx
callq 0x22280
movq -0x48(%rbp), %rdi
addq $0x40, %rdi
callq 0xe6e0
cmpl $0x1, 0xbc(%rax)
jne 0x224cb
movq -0x48(%rbp), %rdi
movl -0x14(%rbp), %esi
movl 0x88(%rdi), %edx
shll %edx
subl $0x2, %edx
movq -0x20(%rbp), %rcx
movq -0x28(%rbp), %r8
xorps %xmm0, %xmm0
callq 0x22520
jmp 0x224e3
movq -0x48(%rbp), %rdi
movl -0x14(%rbp), %esi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %r8
callq 0x227e0
movq -0x20(%rbp), %rdi
callq 0x23b00
movq %rax, -0x38(%rbp)
movq -0x20(%rbp), %rdi
callq 0x23b30
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x11c(%rip), %rdx      # 0x223f0
callq 0x23ab0
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/model.cc
// Function: fasttext::Model::findKBest(int, std::vector<std::pair<float, int>, std::allocator<std::pair<float, int>>>&, fasttext::Vector&, fasttext::Vector&) const
void Model::findKBest(int32_t k, std::vector<std::pair<real, int32_t>>& heap,
                      Vector& hidden, Vector& output) const {
  computeOutputSoftmax(hidden, output);
  for (int32_t i = 0; i < osz_; i++) {
    if (heap.size() == k && log(output[i]) < heap.front().first) {
      continue;
    }
    heap.push_back(std::make_pair(log(output[i]), i));
    std::push_heap(heap.begin(), heap.end(), comparePairs);
    if (heap.size() > k) {
      std::pop_heap(heap.begin(), heap.end(), comparePairs);
      heap.pop_back();
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x60(%rbp)
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
callq 0x21f40
movl $0x0, -0x2c(%rbp)
movq -0x60(%rbp), %rcx
movl -0x2c(%rbp), %eax
cmpl 0x88(%rcx), %eax
jge 0x22943
movq -0x18(%rbp), %rdi
callq 0x23b60
movslq -0xc(%rbp), %rcx
cmpq %rcx, %rax
jne 0x22877
movq -0x28(%rbp), %rdi
movslq -0x2c(%rbp), %rsi
callq 0x213e0
movq -0x60(%rbp), %rdi
movss (%rax), %xmm0
callq 0x21cb0
movss %xmm0, -0x64(%rbp)
movq -0x18(%rbp), %rdi
callq 0x23b80
movss -0x64(%rbp), %xmm1
movss (%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x22877
jmp 0x22935
movq -0x18(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x28(%rbp), %rdi
movslq -0x2c(%rbp), %rsi
callq 0x213e0
movq -0x60(%rbp), %rdi
movss (%rax), %xmm0
callq 0x21cb0
movss %xmm0, -0x38(%rbp)
leaq -0x38(%rbp), %rdi
leaq -0x2c(%rbp), %rsi
callq 0x23be0
movq -0x70(%rbp), %rdi
movq %rax, -0x34(%rbp)
leaq -0x34(%rbp), %rsi
callq 0x23bb0
movq -0x18(%rbp), %rdi
callq 0x23b00
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rdi
callq 0x23b30
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rsi
leaq -0x4f5(%rip), %rdx      # 0x223f0
callq 0x23c10
movq -0x18(%rbp), %rdi
callq 0x23b60
movslq -0xc(%rbp), %rcx
cmpq %rcx, %rax
jbe 0x22933
movq -0x18(%rbp), %rdi
callq 0x23b00
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rdi
callq 0x23b30
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rdi
movq -0x58(%rbp), %rsi
leaq -0x535(%rip), %rdx      # 0x223f0
callq 0x23ca0
movq -0x18(%rbp), %rdi
callq 0x23d10
jmp 0x22935
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x22817
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax)
// File: epfml[P]Bi-Sent2Vec/src/model.cc
// Function: fasttext::Model::setTargetCounts(std::vector<long, std::allocator<long>> const&)
void Model::setTargetCounts(const std::vector<int64_t>& counts) {
  assert(counts.size() == osz_);
  if (args_->loss == loss_name::ns) {
    initTableNegatives(counts);
  }
  if (args_->loss == loss_name::hs) {
    buildTree(counts);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x152f0
movq -0x18(%rbp), %rcx
movslq 0x88(%rcx), %rcx
cmpq %rcx, %rax
jne 0x22e53
jmp 0x22e72
leaq 0x20797(%rip), %rdi     # 0x435f1
leaq 0x205dd(%rip), %rsi     # 0x4343e
movl $0xfd, %edx
leaq 0x2079a(%rip), %rcx     # 0x43607
callq 0x52d0
movq -0x18(%rbp), %rdi
addq $0x40, %rdi
callq 0xe6e0
cmpl $0x2, 0xbc(%rax)
jne 0x22e95
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x22ec0
movq -0x18(%rbp), %rdi
addq $0x40, %rdi
callq 0xe6e0
cmpl $0x1, 0xbc(%rax)
jne 0x22eb8
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x23080
addq $0x20, %rsp
popq %rbp
retq
nop
// File: epfml[P]Bi-Sent2Vec/src/model.cc
// Function: fasttext::Model::initTableNegatives(std::vector<long, std::allocator<long>> const&)
void Model::initTableNegatives(const std::vector<int64_t>& counts) {
  real z = 0.0;
  for (size_t i = 0; i < counts.size(); i++) {
    z += pow(counts[i], 0.5);
  }
  for (size_t i = 0; i < counts.size(); i++) {
    real c = pow(counts[i], 0.5);
    for (size_t j = 0; j < c * NEGATIVE_TABLE_SIZE / z; j++) {
      negatives.push_back(i);
    }
  }
  std::shuffle(negatives.begin(), negatives.end(), rng);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x14(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rdi
callq 0x152f0
movq %rax, %rcx
movq -0x60(%rbp), %rax
cmpq %rcx, %rax
jae 0x22f4b
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x23d90
cvtsi2sdq (%rax), %xmm0
movsd 0x204f1(%rip), %xmm1    # 0x43410
callq 0x5790
movaps %xmm0, %xmm1
movss -0x14(%rbp), %xmm0
cvtss2sd %xmm0, %xmm0
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x14(%rbp)
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x22ee8
movq $0x0, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rdi
callq 0x152f0
movq %rax, %rcx
movq -0x68(%rbp), %rax
cmpq %rcx, %rax
jae 0x23035
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0x23d90
cvtsi2sdq (%rax), %xmm0
movsd 0x20482(%rip), %xmm1    # 0x43410
callq 0x5790
cvtsd2ss %xmm0, %xmm0
movss %xmm0, -0x2c(%rbp)
movq $0x0, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, -0x70(%rbp)
testq %rax, %rax
movss %xmm0, -0x6c(%rbp)
js 0x22fdd
movss -0x70(%rbp), %xmm0
movss %xmm0, -0x6c(%rbp)
movss -0x6c(%rbp), %xmm1
movss 0x2043a(%rip), %xmm0    # 0x43424
mulss -0x2c(%rbp), %xmm0
divss -0x14(%rbp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x23022
movq -0x58(%rbp), %rdi
addq $0xa8, %rdi
movq -0x28(%rbp), %rax
movl %eax, -0x3c(%rbp)
leaq -0x3c(%rbp), %rsi
callq 0xe6b0
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
jmp 0x22fa4
jmp 0x23024
movq -0x28(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rbp)
jmp 0x22f53
movq -0x58(%rbp), %rdi
addq $0xa8, %rdi
callq 0xea10
movq -0x58(%rbp), %rdi
movq %rax, -0x48(%rbp)
addq $0xa8, %rdi
callq 0xea40
movq -0x58(%rbp), %rdx
movq %rax, -0x50(%rbp)
addq $0x110, %rdx            # imm = 0x110
movq -0x48(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x1d3d0
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::getVector(fasttext::Vector&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
void FastText::getVector(Vector& vec, const std::string& word) const {
  const std::vector<int32_t>& ngrams = dict_->getNgrams(word);
  vec.zero();
  for (auto it = ngrams.begin(); it != ngrams.end(); ++it) {
    vec.addRow(*input_, *it);
  }
  if (ngrams.size() > 0) {
    vec.mul(1.0 / ngrams.size());
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x68(%rbp)
addq $0x10, %rdi
callq 0x34050
movq %rax, %rsi
movq -0x18(%rbp), %rdx
leaq -0x38(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0x8430
movq -0x60(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x20cb0
jmp 0x27f0f
movq -0x20(%rbp), %rdi
callq 0x113e0
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rdi
callq 0x11410
movq %rax, -0x58(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0xf3a0
testb $0x1, %al
jne 0x27f3c
jmp 0x27f94
movq -0x68(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x78(%rbp)
addq $0x20, %rdi
callq 0x23880
movq %rax, -0x70(%rbp)
leaq -0x50(%rbp), %rdi
callq 0xf410
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
movslq (%rax), %rdx
callq 0x20f30
jmp 0x27f70
jmp 0x27f72
leaq -0x50(%rbp), %rdi
callq 0xf430
jmp 0x27f1c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xe530
jmp 0x2800a
movq -0x20(%rbp), %rdi
callq 0xed50
cmpq $0x0, %rax
jbe 0x27ff8
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x20(%rbp), %rdi
callq 0xed50
movq -0x80(%rbp), %rdi
movq %rax, %xmm1
movaps 0x1a92c(%rip), %xmm0    # 0x428f0
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x1a930(%rip), %xmm0    # 0x42900
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movsd 0x1a8d1(%rip), %xmm0    # 0x428b8
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq 0x20d80
jmp 0x27ff6
jmp 0x27ff8
leaq -0x38(%rbp), %rdi
callq 0xe530
addq $0x80, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x57a0
nopw %cs:(%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::checkModel(std::istream&)
bool FastText::checkModel(std::istream& in) {
  int32_t magic;
  int32_t version;
  in.read((char*)&(magic), sizeof(int32_t));
  if (magic != FASTTEXT_FILEFORMAT_MAGIC_INT32) {
    return false;
  }
  in.read((char*)&(version), sizeof(int32_t));
  if (version != FASTTEXT_VERSION) {
    return false;
  }
  return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq -0x1c(%rbp), %rsi
movl $0x4, %edx
callq 0x5540
cmpl $0x2f4f16ba, -0x1c(%rbp) # imm = 0x2F4F16BA
je 0x28ba1
movb $0x0, -0x1(%rbp)
jmp 0x28bc3
movq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
movl $0x4, %edx
callq 0x5540
cmpl $0xb, -0x20(%rbp)
je 0x28bbf
movb $0x0, -0x1(%rbp)
jmp 0x28bc3
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
nop
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::signModel(std::ostream&)
void FastText::signModel(std::ostream& out) {
  const int32_t magic = FASTTEXT_FILEFORMAT_MAGIC_INT32;
  const int32_t version = FASTTEXT_VERSION;
  out.write((char*)&(magic), sizeof(int32_t));
  out.write((char*)&(version), sizeof(int32_t));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x2f4f16ba, -0x14(%rbp) # imm = 0x2F4F16BA
movl $0xb, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x14(%rbp), %rsi
movl $0x4, %edx
callq 0x55b0
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
movl $0x4, %edx
callq 0x55b0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::saveDict()
void FastText::saveDict() {
  std::string fn(args_->output);
  std::ofstream ofs(fn, std::ofstream::binary);
  if (!ofs.is_open()) {
    std::cerr << "Model file cannot be opened for saving!" << std::endl;
    exit(EXIT_FAILURE);
  }
  args_->save(ofs);
  dict_->save(ofs);
  ofs.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x260, %rsp            # imm = 0x260
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x248(%rbp)
callq 0xe6e0
movq %rax, %rsi
addq $0x40, %rsi
leaq -0x28(%rbp), %rdi
movq %rdi, -0x240(%rbp)
callq 0x51d0
movq -0x240(%rbp), %rsi
leaq -0x228(%rbp), %rdi
movl $0x4, %edx
callq 0x5860
jmp 0x28c70
leaq -0x228(%rbp), %rdi
callq 0x5350
movb %al, -0x249(%rbp)
jmp 0x28c84
movb -0x249(%rbp), %al
testb $0x1, %al
jne 0x28d02
jmp 0x28c90
movq 0x36359(%rip), %rdi     # 0x5eff0
leaq 0x1aa54(%rip), %rsi     # 0x436f2
callq 0x5420
movq %rax, -0x258(%rbp)
jmp 0x28cac
movq -0x258(%rbp), %rdi
movq 0x362d6(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x28cc1
movl $0x1, %edi
callq 0x54f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
jmp 0x28d6c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
leaq -0x228(%rbp), %rdi
callq 0x5660
jmp 0x28d6c
movq -0x248(%rbp), %rdi
callq 0xe6e0
movq %rax, %rdi
leaq -0x228(%rbp), %rsi
callq 0x7950
jmp 0x28d1f
movq -0x248(%rbp), %rdi
addq $0x10, %rdi
callq 0x34050
movq %rax, %rdi
leaq -0x228(%rbp), %rsi
callq 0xadc0
jmp 0x28d40
leaq -0x228(%rbp), %rdi
callq 0x5620
jmp 0x28d4e
leaq -0x228(%rbp), %rdi
callq 0x5660
leaq -0x28(%rbp), %rdi
callq 0x58d8
addq $0x260, %rsp            # imm = 0x260
popq %rbp
retq
leaq -0x28(%rbp), %rdi
callq 0x58d8
movq -0x230(%rbp), %rdi
callq 0x57a0
nopw %cs:(%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::loadDict(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void FastText::loadDict(const std::string& filename) {
  std::ifstream ifs(filename, std::ifstream::binary);
  if (!ifs.is_open()) {
    std::cerr << "Model file cannot be opened for loading!" << std::endl;
    exit(EXIT_FAILURE);
  }
  if (!checkModel(ifs)) {
    std::cerr << "Model file has wrong file format!" << std::endl;
    exit(EXIT_FAILURE);
  }
  loadDict(ifs);
  ifs.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x238(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x218(%rbp), %rdi
movq %rdi, -0x230(%rbp)
movl $0x4, %edx
callq 0x56d0
movq -0x230(%rbp), %rdi
callq 0x56c0
movb %al, -0x225(%rbp)
jmp 0x28dde
movb -0x225(%rbp), %al
testb $0x1, %al
jne 0x28e48
jmp 0x28dea
movq 0x361ff(%rip), %rdi     # 0x5eff0
leaq 0x1a922(%rip), %rsi     # 0x4371a
callq 0x5420
movq %rax, -0x240(%rbp)
jmp 0x28e06
movq -0x240(%rbp), %rdi
movq 0x3617c(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x28e1b
movl $0x1, %edi
callq 0x54f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x220(%rbp)
movl %eax, -0x224(%rbp)
leaq -0x218(%rbp), %rdi
callq 0x5130
jmp 0x28ee2
movq -0x238(%rbp), %rdi
leaq -0x218(%rbp), %rsi
callq 0x28b70
movb %al, -0x241(%rbp)
jmp 0x28e63
movb -0x241(%rbp), %al
testb $0x1, %al
jne 0x28eaa
jmp 0x28e6f
movq 0x3617a(%rip), %rdi     # 0x5eff0
leaq 0x1a8c6(%rip), %rsi     # 0x43743
callq 0x5420
movq %rax, -0x250(%rbp)
jmp 0x28e8b
movq -0x250(%rbp), %rdi
movq 0x360f7(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x28ea0
movl $0x1, %edi
callq 0x54f0
movq -0x238(%rbp), %rdi
leaq -0x218(%rbp), %rsi
callq 0x28ef0
jmp 0x28ebf
leaq -0x218(%rbp), %rdi
callq 0x50f0
jmp 0x28ecd
leaq -0x218(%rbp), %rdi
callq 0x5130
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq -0x220(%rbp), %rdi
callq 0x57a0
nop
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::loadDict(std::istream&)
void FastText::loadDict(std::istream& in) {
  args_ = std::make_shared<Args>();
  dict_ = std::make_shared<Dictionary>(args_);

  args_->load(in);
  dict_->load(in);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x342b0
movq -0x38(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x34320
leaq -0x20(%rbp), %rdi
callq 0xe1b0
movq -0x38(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x34350
movq -0x38(%rbp), %rdi
addq $0x10, %rdi
leaq -0x30(%rbp), %rsi
callq 0x343c0
leaq -0x30(%rbp), %rdi
callq 0x343f0
movq -0x38(%rbp), %rdi
callq 0xe6e0
movq %rax, %rdi
movq -0x10(%rbp), %rsi
callq 0x7ab0
movq -0x38(%rbp), %rdi
addq $0x10, %rdi
callq 0x34050
movq %rax, %rdi
movq -0x10(%rbp), %rsi
callq 0xafe0
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::loadModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, int)
void FastText::loadModel(const std::string& filename,
                         const bool inference_mode /* = false */,
                         const int timeout_sec /* = -1 */) {
  std::ifstream ifs(filename, std::ifstream::binary);
  if (!ifs.is_open()) {
    std::cerr << "Model file cannot be opened for loading!" << std::endl;
    exit(EXIT_FAILURE);
  }
  if (!checkModel(ifs)) {
    std::cerr << "Model file has wrong file format!" << std::endl;
    exit(EXIT_FAILURE);
  }
  if (inference_mode) {
    loadModelForInference(ifs, filename, timeout_sec);
  } else {
    loadModel(ifs);
  }
  ifs.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x260, %rsp            # imm = 0x260
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movl %ecx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x240(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x220(%rbp), %rdi
movq %rdi, -0x238(%rbp)
movl $0x4, %edx
callq 0x56d0
movq -0x238(%rbp), %rdi
callq 0x56c0
movb %al, -0x22d(%rbp)
jmp 0x29608
movb -0x22d(%rbp), %al
testb $0x1, %al
jne 0x29672
jmp 0x29614
movq 0x359d5(%rip), %rdi     # 0x5eff0
leaq 0x1a0f8(%rip), %rsi     # 0x4371a
callq 0x5420
movq %rax, -0x248(%rbp)
jmp 0x29630
movq -0x248(%rbp), %rdi
movq 0x35952(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x29645
movl $0x1, %edi
callq 0x54f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x228(%rbp)
movl %eax, -0x22c(%rbp)
leaq -0x220(%rbp), %rdi
callq 0x5130
jmp 0x29732
movq -0x240(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0x28b70
movb %al, -0x249(%rbp)
jmp 0x2968d
movb -0x249(%rbp), %al
testb $0x1, %al
jne 0x296d4
jmp 0x29699
movq 0x35950(%rip), %rdi     # 0x5eff0
leaq 0x1a09c(%rip), %rsi     # 0x43743
callq 0x5420
movq %rax, -0x258(%rbp)
jmp 0x296b5
movq -0x258(%rbp), %rdi
movq 0x358cd(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x296ca
movl $0x1, %edi
callq 0x54f0
testb $0x1, -0x11(%rbp)
je 0x296f8
movq -0x240(%rbp), %rdi
movq -0x10(%rbp), %rdx
movl -0x18(%rbp), %ecx
leaq -0x220(%rbp), %rsi
callq 0x29740
jmp 0x296f6
jmp 0x2970f
movq -0x240(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0x29af0
jmp 0x2970d
jmp 0x2970f
leaq -0x220(%rbp), %rdi
callq 0x50f0
jmp 0x2971d
leaq -0x220(%rbp), %rdi
callq 0x5130
addq $0x260, %rsp            # imm = 0x260
popq %rbp
retq
movq -0x228(%rbp), %rdi
callq 0x57a0
nop
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::basename(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
static std::string basename(const std::string& filename) {
  std::string s = filename;
  size_t separator_idx = s.find_last_of("\\/");
  if (separator_idx != std::string::npos) {
    s.erase(0, separator_idx + 1);
  }
  size_t extension_idx = s.rfind('.');
  if (extension_idx != std::string::npos) {
    s.erase(extension_idx);
  }
  return s;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x40(%rbp)
movq %rdi, %rax
movq %rax, -0x48(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
movq -0x10(%rbp), %rsi
callq 0x51d0
movq -0x40(%rbp), %rdi
leaq 0x19a63(%rip), %rsi     # 0x43996
movq $-0x1, %rdx
callq 0x5400
movq %rax, -0x20(%rbp)
cmpq $-0x1, -0x20(%rbp)
je 0x29f79
movq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rdx
incq %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0x5100
jmp 0x29f60
jmp 0x29f79
movq -0x40(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x58d8
jmp 0x29fce
movq -0x40(%rbp), %rdi
movl $0x2e, %esi
movq $-0x1, %rdx
callq 0x5890
movq %rax, -0x38(%rbp)
cmpq $-0x1, -0x38(%rbp)
je 0x29fb1
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq $-0x1, %rdx
callq 0x5100
jmp 0x29faf
jmp 0x29fb1
movb $0x1, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
jne 0x29fc4
movq -0x40(%rbp), %rdi
callq 0x58d8
movq -0x48(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0x57a0
nopw (%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::supervised(fasttext::Model&, float, std::vector<int, std::allocator<int>> const&, std::vector<int, std::allocator<int>> const&)
void FastText::supervised(Model& model, real lr,
                          const std::vector<int32_t>& line,
                          const std::vector<int32_t>& labels) {
  if (labels.size() == 0 || line.size() == 0) return;
  std::uniform_int_distribution<> uniform(0, labels.size() - 1);
  int32_t i = uniform(model.rng);
  model.update(line, labels[i], lr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0xed50
cmpq $0x0, %rax
je 0x2ad7b
movq -0x20(%rbp), %rdi
callq 0xed50
cmpq $0x0, %rax
jne 0x2ad7d
jmp 0x2addf
movq -0x28(%rbp), %rdi
callq 0xed50
subq $0x1, %rax
movl %eax, %edx
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
callq 0xef10
movq -0x10(%rbp), %rsi
addq $0x110, %rsi            # imm = 0x110
leaq -0x30(%rbp), %rdi
callq 0xef40
movl %eax, -0x34(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rdi
movslq -0x34(%rbp), %rsi
callq 0xe1d0
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rsi
movl (%rax), %edx
movss -0x14(%rbp), %xmm0
callq 0x22990
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::predict(std::istream&, int, bool)
void FastText::predict(std::istream& in, int32_t k, bool print_prob) {
  std::vector<std::pair<real,std::string>> predictions;
  while (in.peek() != EOF) {
    predict(in, k, predictions);
    if (predictions.empty()) {
      std::cout << std::endl;
      continue;
    }
    for (auto it = predictions.cbegin(); it != predictions.cend(); it++) {
      if (it != predictions.cbegin()) {
        std::cout << " ";
      }
      std::cout << it->second;
      if (print_prob) {
        std::cout << " " << exp(it->first);
      }
    }
    std::cout << std::endl;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
andb $0x1, %al
movb %al, -0x15(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x34fb0
movq -0x10(%rbp), %rdi
callq 0x5190
movl %eax, -0x6c(%rbp)
jmp 0x2c63c
movl -0x6c(%rbp), %eax
cmpl $-0x1, %eax
je 0x2c79d
movq -0x68(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x14(%rbp), %edx
leaq -0x30(%rbp), %rcx
callq 0x2c2c0
jmp 0x2c65e
leaq -0x30(%rbp), %rdi
callq 0x34fd0
testb $0x1, %al
jne 0x2c66d
jmp 0x2c69e
movq 0x32944(%rip), %rdi     # 0x5efb8
movq 0x32915(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x2c682
jmp 0x2c62e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x35110
jmp 0x2c7af
leaq -0x30(%rbp), %rdi
callq 0x35010
movq %rax, -0x48(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x35080
movq %rax, -0x50(%rbp)
leaq -0x48(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x35040
testb $0x1, %al
jne 0x2c6ce
jmp 0x2c783
leaq -0x30(%rbp), %rdi
callq 0x35010
movq %rax, -0x58(%rbp)
leaq -0x48(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x35040
testb $0x1, %al
jne 0x2c6ee
jmp 0x2c705
movq 0x328c3(%rip), %rdi     # 0x5efb8
leaq 0x16445(%rip), %rsi     # 0x42b41
callq 0x5420
jmp 0x2c703
jmp 0x2c705
leaq -0x48(%rbp), %rdi
callq 0x350b0
movq %rax, %rsi
addq $0x8, %rsi
movq 0x3289c(%rip), %rdi     # 0x5efb8
callq 0x53e0
jmp 0x2c723
testb $0x1, -0x15(%rbp)
je 0x2c76d
movq 0x32888(%rip), %rdi     # 0x5efb8
leaq 0x1640a(%rip), %rsi     # 0x42b41
callq 0x5420
movq %rax, -0x78(%rbp)
jmp 0x2c742
leaq -0x48(%rbp), %rdi
callq 0x350b0
movss (%rax), %xmm0
callq 0x24010
movss %xmm0, -0x7c(%rbp)
jmp 0x2c75b
movss -0x7c(%rbp), %xmm0
movq -0x78(%rbp), %rdi
callq 0x5330
jmp 0x2c76b
jmp 0x2c76d
jmp 0x2c76f
leaq -0x48(%rbp), %rdi
xorl %esi, %esi
callq 0x350d0
movq %rax, -0x60(%rbp)
jmp 0x2c6ab
movq 0x3282e(%rip), %rdi     # 0x5efb8
movq 0x327ff(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x2c798
jmp 0x2c62e
leaq -0x30(%rbp), %rdi
callq 0x35110
addq $0x80, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x57a0
nopl (%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::wordVectors()
void FastText::wordVectors() {
  std::string word;
  Vector vec(args_->dim);
  while (std::cin >> word) {
    getVector(vec, word);
    std::cout << word << " " << vec << std::endl;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x5600
movq -0x50(%rbp), %rdi
callq 0xe6e0
movslq 0x94(%rax), %rsi
leaq -0x38(%rbp), %rdi
callq 0x20c00
jmp 0x2c7fb
jmp 0x2c7fd
movq 0x327d4(%rip), %rdi     # 0x5efd8
leaq -0x28(%rbp), %rsi
callq 0x5560
movq %rax, -0x58(%rbp)
jmp 0x2c813
movq -0x58(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x5530
movb %al, -0x59(%rbp)
jmp 0x2c82b
movb -0x59(%rbp), %al
testb $0x1, %al
jne 0x2c837
jmp 0x2c8c5
movq -0x50(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x28(%rbp), %rdx
callq 0x27ec0
jmp 0x2c84a
movq 0x32767(%rip), %rdi     # 0x5efb8
leaq -0x28(%rbp), %rsi
callq 0x53e0
movq %rax, -0x68(%rbp)
jmp 0x2c860
movq -0x68(%rbp), %rdi
leaq 0x162d6(%rip), %rsi     # 0x42b41
callq 0x5420
movq %rax, -0x70(%rbp)
jmp 0x2c876
movq -0x70(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x21440
movq %rax, -0x78(%rbp)
jmp 0x2c889
movq -0x78(%rbp), %rdi
movq 0x326fc(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x2c89b
jmp 0x2c7fd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x2c8e0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x20c60
jmp 0x2c8e0
leaq -0x38(%rbp), %rdi
callq 0x20c60
leaq -0x28(%rbp), %rdi
callq 0x58d8
addq $0x80, %rsp
popq %rbp
retq
leaq -0x28(%rbp), %rdi
callq 0x58d8
movq -0x40(%rbp), %rdi
callq 0x57a0
nopw %cs:(%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::ngramVectors(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void FastText::ngramVectors(std::string word) {
  std::vector<int32_t> ngrams;
  std::vector<std::string> substrings;
  Vector vec(args_->dim);
  dict_->getNgrams(word, ngrams, substrings);
  for (int32_t i = 0; i < ngrams.size(); i++) {
    vec.zero();
    if (ngrams[i] >= 0) {
      vec.addRow(*input_, ngrams[i]);
    }
    std::cout << substrings[i] << " " << vec << std::endl;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rsi, -0x70(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq -0x28(%rbp), %rdi
callq 0xe440
leaq -0x40(%rbp), %rdi
callq 0xe720
movq -0x68(%rbp), %rdi
callq 0xe6e0
movslq 0x94(%rax), %rsi
leaq -0x50(%rbp), %rdi
callq 0x20c00
jmp 0x2cc0c
movq -0x68(%rbp), %rdi
addq $0x10, %rdi
callq 0x34050
movq -0x70(%rbp), %rsi
movq %rax, %rdi
leaq -0x28(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0x8870
jmp 0x2cc2f
movl $0x0, -0x60(%rbp)
movslq -0x60(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x28(%rbp), %rdi
callq 0xed50
movq %rax, %rcx
movq -0x78(%rbp), %rax
cmpq %rcx, %rax
jae 0x2cd50
leaq -0x50(%rbp), %rdi
callq 0x20cb0
jmp 0x2cc62
movslq -0x60(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0xe240
cmpl $0x0, (%rax)
jl 0x2ccd1
movq -0x68(%rbp), %rdi
addq $0x20, %rdi
callq 0x23880
movq %rax, -0x80(%rbp)
movslq -0x60(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0xe240
movq -0x80(%rbp), %rsi
movslq (%rax), %rdx
leaq -0x50(%rbp), %rdi
callq 0x20f30
jmp 0x2cca4
jmp 0x2ccd1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
jmp 0x2cd74
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x58(%rbp)
movl %eax, -0x5c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x20c60
jmp 0x2cd74
movslq -0x60(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x35170
movq %rax, %rsi
movq 0x322d0(%rip), %rdi     # 0x5efb8
callq 0x53e0
movq %rax, -0x88(%rbp)
jmp 0x2ccf6
movq -0x88(%rbp), %rdi
leaq 0x15e3d(%rip), %rsi     # 0x42b41
callq 0x5420
movq %rax, -0x90(%rbp)
jmp 0x2cd12
movq -0x90(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x21440
movq %rax, -0x98(%rbp)
jmp 0x2cd2b
movq -0x98(%rbp), %rdi
movq 0x32257(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x2cd40
jmp 0x2cd42
movl -0x60(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x60(%rbp)
jmp 0x2cc36
leaq -0x50(%rbp), %rdi
callq 0x20c60
leaq -0x40(%rbp), %rdi
callq 0xe820
leaq -0x28(%rbp), %rdi
callq 0xe530
addq $0xa0, %rsp
popq %rbp
retq
leaq -0x40(%rbp), %rdi
callq 0xe820
leaq -0x28(%rbp), %rdi
callq 0xe530
movq -0x58(%rbp), %rdi
callq 0x57a0
nop
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::textVectorThread(int, std::shared_ptr<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>, std::shared_ptr<fasttext::Matrix>, int)
void FastText::textVectorThread(int thread_id, std::shared_ptr<std::vector<std::string>> sentences, std::shared_ptr<Matrix> emb, int num_threads) {
  std::vector<int32_t> line, labels;
  for (int sent_idx=thread_id; sent_idx < sentences->size(); sent_idx+=num_threads) {
    Vector vec(args_->dim);
    textVector(sentences->operator[](sent_idx), vec, line, labels);
    emb->addRow(vec, sent_idx, 1.);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdx, -0xb8(%rbp)
movq %rcx, -0xb0(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq -0x40(%rbp), %rdi
callq 0xe440
leaq -0x58(%rbp), %rdi
callq 0xe440
movl -0xc(%rbp), %eax
movl %eax, -0x5c(%rbp)
movq -0xb8(%rbp), %rdi
movslq -0x5c(%rbp), %rax
movq %rax, -0xc0(%rbp)
callq 0x35190
movq %rax, %rdi
callq 0x122c0
movq %rax, %rcx
movq -0xc0(%rbp), %rax
cmpq %rcx, %rax
jae 0x2d161
movq -0xa8(%rbp), %rdi
callq 0xe6e0
movslq 0x94(%rax), %rsi
leaq -0x70(%rbp), %rdi
callq 0x20c00
jmp 0x2d08f
movq -0xb8(%rbp), %rdi
callq 0x35190
movq %rax, %rdi
movslq -0x5c(%rbp), %rsi
callq 0x35170
movq %rax, %rsi
leaq -0xa0(%rbp), %rdi
callq 0x51d0
jmp 0x2d0b8
movq -0xa8(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x40(%rbp), %rcx
leaq -0x58(%rbp), %r8
callq 0x2d1a0
jmp 0x2d0d9
leaq -0xa0(%rbp), %rdi
callq 0x58d8
movq -0xb0(%rbp), %rdi
callq 0x235f0
movq %rax, %rdi
movslq -0x5c(%rbp), %rdx
leaq -0x70(%rbp), %rsi
movss 0x157c4(%rip), %xmm0    # 0x428c8
callq 0x1e1f0
jmp 0x2d10b
leaq -0x70(%rbp), %rdi
callq 0x20c60
movl -0x24(%rbp), %eax
addl -0x5c(%rbp), %eax
movl %eax, -0x5c(%rbp)
jmp 0x2d03f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x2d17c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x2d156
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x58d8
leaq -0x70(%rbp), %rdi
callq 0x20c60
jmp 0x2d17c
leaq -0x58(%rbp), %rdi
callq 0xe530
leaq -0x40(%rbp), %rdi
callq 0xe530
addq $0xc0, %rsp
popq %rbp
retq
leaq -0x58(%rbp), %rdi
callq 0xe530
leaq -0x40(%rbp), %rdi
callq 0xe530
movq -0x78(%rbp), %rdi
callq 0x57a0
nopw (%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::getVector(fasttext::Vector&, int) const
void FastText::getVector(Vector& vec, int32_t wordIdx) const {

  const std::vector<int32_t>& ngrams = dict_->getNgrams(wordIdx);
  vec.zero();
  for (auto it = ngrams.begin(); it != ngrams.end(); ++it) {
    vec.addRow(*input_, *it);
  }
  if (ngrams.size() > 0) {
    vec.mul(1.0 / ngrams.size());
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
addq $0x10, %rdi
callq 0x34050
movq %rax, %rdi
movl -0x14(%rbp), %esi
callq 0x83a0
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x20cb0
movq -0x20(%rbp), %rdi
callq 0x113e0
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x11410
movq %rax, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0xf3a0
testb $0x1, %al
jne 0x2d869
jmp 0x2d8a6
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
addq $0x20, %rdi
callq 0x23880
movq %rax, -0x40(%rbp)
leaq -0x28(%rbp), %rdi
callq 0xf410
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rsi
movslq (%rax), %rdx
callq 0x20f30
leaq -0x28(%rbp), %rdi
callq 0xf430
jmp 0x2d849
movq -0x20(%rbp), %rdi
callq 0xed50
cmpq $0x0, %rax
jbe 0x2d906
movq -0x10(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x20(%rbp), %rdi
callq 0xed50
movq -0x50(%rbp), %rdi
movq %rax, %xmm1
movaps 0x1501a(%rip), %xmm0    # 0x428f0
punpckldq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movapd 0x1501e(%rip), %xmm0    # 0x42900
subpd %xmm0, %xmm1
movaps %xmm1, %xmm0
unpckhpd %xmm1, %xmm1            # xmm1 = xmm1[1,1]
addsd %xmm0, %xmm1
movsd 0x14fbf(%rip), %xmm0    # 0x428b8
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq 0x20d80
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::printSentenceVectors()
void FastText::printSentenceVectors() {
  if (args_->model == model_name::bisent2vec) {
    textVectors();
  } else {
    sentenceVectors();
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xe6e0
cmpl $0x4, 0xc0(%rax)
jne 0x2dc8d
movq -0x10(%rbp), %rdi
callq 0x2cd90
jmp 0x2dc96
movq -0x10(%rbp), %rdi
callq 0x2c900
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::precomputeWordVectors(fasttext::Matrix&)
void FastText::precomputeWordVectors(Matrix& wordVectors) {
  Vector vec(args_->dim);
  wordVectors.zero();
  std::cerr << "Pre-computing word vectors...";
  for (int32_t i = 0; i < dict_->nwords(); i++) {
    std::string word = dict_->getWord(i);
    getVector(vec, word);
    real norm = vec.norm();
    wordVectors.addRow(vec, i, 1.0 / norm);
  }
  std::cerr << " done." << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0xe6e0
movslq 0x94(%rax), %rsi
leaq -0x20(%rbp), %rdi
callq 0x20c00
movq -0x10(%rbp), %rdi
callq 0x1dfc0
jmp 0x2dcdb
movq 0x3130e(%rip), %rdi     # 0x5eff0
leaq 0x15b19(%rip), %rsi     # 0x43802
callq 0x5420
jmp 0x2dcf0
movl $0x0, -0x30(%rbp)
movq -0x60(%rbp), %rdi
movl -0x30(%rbp), %eax
movl %eax, -0x68(%rbp)
addq $0x10, %rdi
callq 0x34050
movq %rax, %rdi
callq 0x8340
movl %eax, -0x64(%rbp)
jmp 0x2dd17
movl -0x68(%rbp), %eax
movl -0x64(%rbp), %ecx
cmpl %ecx, %eax
jge 0x2ddd8
movq -0x60(%rbp), %rdi
addq $0x10, %rdi
callq 0x34050
movq %rax, %rsi
movl -0x30(%rbp), %edx
leaq -0x50(%rbp), %rdi
callq 0x8de0
jmp 0x2dd43
movq -0x60(%rbp), %rdi
leaq -0x20(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x27ec0
jmp 0x2dd56
leaq -0x20(%rbp), %rdi
callq 0x20d00
movss %xmm0, -0x6c(%rbp)
jmp 0x2dd66
movss -0x6c(%rbp), %xmm0
movss %xmm0, -0x54(%rbp)
movq -0x10(%rbp), %rdi
movslq -0x30(%rbp), %rdx
movss -0x54(%rbp), %xmm0
cvtss2sd %xmm0, %xmm1
movsd 0x14b2f(%rip), %xmm0    # 0x428b8
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
leaq -0x20(%rbp), %rsi
callq 0x1e1f0
jmp 0x2dd9c
leaq -0x50(%rbp), %rdi
callq 0x58d8
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x2dcf7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2de15
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x58d8
jmp 0x2de15
movq 0x31211(%rip), %rdi     # 0x5eff0
leaq 0x15a3a(%rip), %rsi     # 0x43820
callq 0x5420
movq %rax, -0x78(%rbp)
jmp 0x2ddf1
movq -0x78(%rbp), %rdi
movq 0x31194(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x2de03
leaq -0x20(%rbp), %rdi
callq 0x20c60
addq $0x80, %rsp
popq %rbp
retq
leaq -0x20(%rbp), %rdi
callq 0x20c60
movq -0x28(%rbp), %rdi
callq 0x57a0
nopw (%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/fasttext.cc
// Function: fasttext::FastText::trainDict(std::shared_ptr<fasttext::Args>)
void FastText::trainDict(std::shared_ptr<Args> args) {
  args_ = args;
  dict_ = std::make_shared<Dictionary>(args_);
  if (args_->input == "-") {
    // manage expectations
    std::cerr << "Cannot use stdin for training!" << std::endl;
    exit(EXIT_FAILURE);
  }
  std::ifstream ifs(args_->input);
  if (!ifs.is_open()) {
    std::cerr << "Input file cannot be opened!" << std::endl;
    exit(EXIT_FAILURE);
  }
  dict_->readFromFile(ifs);
  saveDict();
  ifs.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x260, %rsp            # imm = 0x260
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x240(%rbp)
callq 0x236a0
movq -0x240(%rbp), %rsi
leaq -0x20(%rbp), %rdi
callq 0x34350
movq -0x240(%rbp), %rdi
addq $0x10, %rdi
leaq -0x20(%rbp), %rsi
callq 0x343c0
leaq -0x20(%rbp), %rdi
callq 0x343f0
movq -0x240(%rbp), %rdi
callq 0xe6e0
movq %rax, %rdi
leaq 0x12042(%rip), %rsi     # 0x43958
callq 0x7cc0
testb $0x1, %al
jne 0x31921
jmp 0x3194d
movq 0x2d6c8(%rip), %rdi     # 0x5eff0
leaq 0x1202b(%rip), %rsi     # 0x4395a
callq 0x5420
movq %rax, %rdi
movq 0x2d652(%rip), %rsi     # 0x5ef90
callq 0x5460
movl $0x1, %edi
callq 0x54f0
movq -0x240(%rbp), %rdi
callq 0xe6e0
movq %rax, %rsi
leaq -0x228(%rbp), %rdi
movq %rdi, -0x250(%rbp)
movl $0x8, %edx
callq 0x56d0
movq -0x250(%rbp), %rdi
callq 0x56c0
movb %al, -0x241(%rbp)
jmp 0x31988
movb -0x241(%rbp), %al
testb $0x1, %al
jne 0x319ef
jmp 0x31994
movq 0x2d655(%rip), %rdi     # 0x5eff0
leaq 0x11fd7(%rip), %rsi     # 0x43979
callq 0x5420
movq %rax, -0x258(%rbp)
jmp 0x319b0
movq -0x258(%rbp), %rdi
movq 0x2d5d2(%rip), %rsi     # 0x5ef90
callq 0x5460
jmp 0x319c5
movl $0x1, %edi
callq 0x54f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x230(%rbp)
movl %eax, -0x234(%rbp)
leaq -0x228(%rbp), %rdi
callq 0x5130
jmp 0x31a41
movq -0x240(%rbp), %rdi
addq $0x10, %rdi
callq 0x34050
movq %rax, %rdi
leaq -0x228(%rbp), %rsi
callq 0x92c0
jmp 0x31a10
movq -0x240(%rbp), %rdi
callq 0x28c20
jmp 0x31a1e
leaq -0x228(%rbp), %rdi
callq 0x50f0
jmp 0x31a2c
leaq -0x228(%rbp), %rdi
callq 0x5130
addq $0x260, %rsp            # imm = 0x260
popq %rbp
retq
movq -0x230(%rbp), %rdi
callq 0x57a0
nopl (%rax)
// File: epfml[P]Bi-Sent2Vec/src/main.cc
// Function: printUsage()
void printUsage() {
  std::cerr
    << "usage: fasttext <command> <args>\n\n"
    << "The commands supported by fasttext are:\n\n"
    << "  bisent2vec                  train unsupervised sentence embeddings\n"
    << "  quantize                  quantize a model to reduce the memory usage\n"
    << "  test                      evaluate a supervised classifier\n"
    << "  predict                   predict most likely labels\n"
    << "  predict-prob              predict most likely labels with probabilities\n"
    << "  transgram                  train a skipgram model\n"
    << "  print-word-vectors        print word vectors given a trained model\n"
    << "  print-sentence-vectors    print sentence vectors given a trained model\n"
    << "  print-vocabulary-vectors  print unigram vectors in vocabulary\n"
    << "  print-vocabulary          print word in vocabulary with count\n"
    << "  nn                        query for nearest neighbors\n"
    << "  nnSent                    query for nearest neighbors for sentences\n"
    << "  analogies                 query for analogies\n"
    << "  analogiesSent             query for analogies for Sentences\n"
    << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x1f7b5(%rip), %rdi     # 0x5eff0
leaq 0x4664(%rip), %rsi      # 0x43ea6
callq 0x5420
movq %rax, %rdi
leaq 0x4678(%rip), %rsi      # 0x43ec9
callq 0x5420
movq %rax, %rdi
leaq 0x4693(%rip), %rsi      # 0x43ef3
callq 0x5420
movq %rax, %rdi
leaq 0x46ca(%rip), %rsi      # 0x43f39
callq 0x5420
movq %rax, %rdi
leaq 0x4704(%rip), %rsi      # 0x43f82
callq 0x5420
movq %rax, %rdi
leaq 0x4733(%rip), %rsi      # 0x43fc0
callq 0x5420
movq %rax, %rdi
leaq 0x475c(%rip), %rsi      # 0x43ff8
callq 0x5420
movq %rax, %rdi
leaq 0x4798(%rip), %rsi      # 0x44043
callq 0x5420
movq %rax, %rdi
leaq 0x47be(%rip), %rsi      # 0x44078
callq 0x5420
movq %rax, %rdi
leaq 0x47f5(%rip), %rsi      # 0x440be
callq 0x5420
movq %rax, %rdi
leaq 0x4830(%rip), %rsi      # 0x44108
callq 0x5420
movq %rax, %rdi
leaq 0x4862(%rip), %rsi      # 0x44149
callq 0x5420
movq %rax, %rdi
leaq 0x4894(%rip), %rsi      # 0x4418a
callq 0x5420
movq %rax, %rdi
leaq 0x48be(%rip), %rsi      # 0x441c3
callq 0x5420
movq %rax, %rdi
leaq 0x48f6(%rip), %rsi      # 0x4420a
callq 0x5420
movq %rax, %rdi
leaq 0x4918(%rip), %rsi      # 0x4423b
callq 0x5420
movq %rax, %rdi
movq 0x1f65e(%rip), %rsi     # 0x5ef90
callq 0x5460
popq %rbp
retq
nopl (%rax)
// File: epfml[P]Bi-Sent2Vec/src/main.cc
// Function: printTestUsage()
void printTestUsage() {
  std::cerr
    << "usage: fasttext test <model> <test-data> [<k>]\n\n"
    << "  <model>      model filename\n"
    << "  <test-data>  test data filename (if -, read from stdin)\n"
    << "  <k>          (optional; 1 by default) predict top k labels\n"
    << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x1f675(%rip), %rdi     # 0x5eff0
leaq 0x4918(%rip), %rsi      # 0x4429a
callq 0x5420
movq %rax, %rdi
leaq 0x493a(%rip), %rsi      # 0x442cb
callq 0x5420
movq %rax, %rdi
leaq 0x494a(%rip), %rsi      # 0x442ea
callq 0x5420
movq %rax, %rdi
leaq 0x4976(%rip), %rsi      # 0x44325
callq 0x5420
movq %rax, %rdi
movq 0x1f5d2(%rip), %rsi     # 0x5ef90
callq 0x5460
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/main.cc
// Function: printPredictUsage()
void printPredictUsage() {
  std::cerr
    << "usage: fasttext predict[-prob] <model> <test-data> [<k>]\n\n"
    << "  <model>      model filename\n"
    << "  <test-data>  test data filename (if -, read from stdin)\n"
    << "  <k>          (optional; 1 by default) predict top k labels\n"
    << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x1f615(%rip), %rdi     # 0x5eff0
leaq 0x4981(%rip), %rsi      # 0x44363
callq 0x5420
movq %rax, %rdi
leaq 0x48da(%rip), %rsi      # 0x442cb
callq 0x5420
movq %rax, %rdi
leaq 0x48ea(%rip), %rsi      # 0x442ea
callq 0x5420
movq %rax, %rdi
leaq 0x4916(%rip), %rsi      # 0x44325
callq 0x5420
movq %rax, %rdi
movq 0x1f572(%rip), %rsi     # 0x5ef90
callq 0x5460
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: epfml[P]Bi-Sent2Vec/src/main.cc
// Function: printPrintWordVectorsUsage()
void printPrintWordVectorsUsage() {
  std::cerr
    << "usage: fasttext print-word-vectors <model>\n\n"
    << "  <model>      model filename\n"
    << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x1f5b5(%rip), %rdi     # 0x5eff0
leaq 0x495c(%rip), %rsi      # 0x4439e
callq 0x5420
movq %rax, %rdi
leaq 0x487a(%rip), %rsi      # 0x442cb
callq 0x5420
movq %rax, %rdi
movq 0x1f530(%rip), %rsi     # 0x5ef90
callq 0x5460
popq %rbp
retq
nopw (%rax,%rax)