// File: /workspace/github_cpp_makefile_star2_O1/ddu1[P]polarizedtext/src/fasttext.cc
// Function: fasttext::FastText::loadModel(std::istream&)
void FastText::loadModel(std::istream& in) {
  args_ = std::make_shared<Args>();
  dict_ = std::make_shared<Dictionary>(args_);
  input_ = std::make_shared<Matrix>();
  output_ = std::make_shared<Matrix>();
  args_->load(in);
  dict_->load(in);
  input_->load(in);
  output_->load(in);
  model_ = std::make_shared<Model>(input_, output_, args_, 0);
  if (args_->model == model_name::sup) {
    model_->setTargetCounts(dict_->getCounts(entry_type::label));
  } else {
    model_->setTargetCounts(dict_->getCounts(entry_type::word));
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %r15
leaq 0xc(%rsp), %rdx
movq %r15, %rsi
callq 0xf02e
movaps (%r15), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r15)
movq 0x8(%rbx), %rdi
movups %xmm0, (%rbx)
testq %rdi, %rdi
je 0xccaa
callq 0x77d4
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xccb9
callq 0x77d4
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %r15
leaq 0xc(%rsp), %rdx
movq %r15, %rsi
movq %rbx, %rcx
callq 0xf194
movaps (%r15), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r15)
movq 0x18(%rbx), %rdi
movups %xmm0, 0x10(%rbx)
testq %rdi, %rdi
je 0xccf8
callq 0x77d4
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xcd07
callq 0x77d4
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %r15
leaq 0xc(%rsp), %rdx
movq %r15, %rsi
callq 0xf348
movaps (%r15), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r15)
movq 0x28(%rbx), %rdi
movups %xmm0, 0x20(%rbx)
testq %rdi, %rdi
je 0xcd43
callq 0x77d4
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xcd52
callq 0x77d4
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %r12
leaq 0xc(%rsp), %r15
movq %r12, %rsi
movq %r15, %rdx
callq 0xf348
movaps (%r12), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r12)
movq 0x38(%rbx), %rdi
movups %xmm0, 0x30(%rbx)
testq %rdi, %rdi
je 0xcd93
callq 0x77d4
leaq 0x20(%rbx), %r12
leaq 0x30(%rbx), %r13
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xcdaa
callq 0x77d4
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x4750
movq 0x10(%rbx), %rdi
movq %r14, %rsi
callq 0x6428
movq 0x20(%rbx), %rdi
movq %r14, %rsi
callq 0x948c
movq 0x30(%rbx), %rdi
movq %r14, %rsi
callq 0x948c
movl $0x0, 0xc(%rsp)
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
movq %r15, (%rsp)
leaq 0x10(%rsp), %r14
leaq 0x2f(%rsp), %rdx
movq %r14, %rsi
movq %r12, %rcx
movq %r13, %r8
movq %rbx, %r9
callq 0xf41a
movaps (%r14), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r14)
movq 0x48(%rbx), %rdi
movups %xmm0, 0x40(%rbx)
testq %rdi, %rdi
je 0xce2a
callq 0x77d4
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xce39
callq 0x77d4
movq (%rbx), %rax
movq 0x40(%rbx), %r14
cmpl $0x3, 0x8c(%rax)
jne 0xce6c
movq 0x10(%rbx), %rsi
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %edx
callq 0x5e24
movq %r14, %rdi
movq %rbx, %rsi
callq 0xadae
jmp 0xce8a
movq 0x10(%rbx), %rsi
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x5e24
movq %r14, %rdi
movq %rbx, %rsi
callq 0xadae
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xcea1
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3260
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0xceb1
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xcecb
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3260
movq %rbx, %rdi
callq 0x3450
nop