// File: /workspace/github_cpp_makefile_star2_O1/epfml[P]Bi-Sent2Vec/src/args.cc
// Function: fasttext::Args::parseArgs(int, char**)
void Args::parseArgs(int argc, char** argv) {
  std::string command(argv[1]);
  if (command == "bisent2vec") {
    model = model_name::bisent2vec;
    loss = loss_name::ns;
    neg = 10;
    minCount = 5;
    minn = 3;
    maxn = 6;
    lr = 0.05;
    dropoutK = 2;
  }
  int ai = 2;
  while (ai < argc) {
    if (argv[ai][0] != '-') {
      std::cout << "Provided argument without a dash! Usage:" << std::endl;
      printHelp();
      exit(EXIT_FAILURE);
    }
    if (strcmp(argv[ai], "-h") == 0) {
      std::cout << "Here is the help! Usage:" << std::endl;
      printHelp();
      exit(EXIT_FAILURE);
    } else if (strcmp(argv[ai], "-input") == 0) {
      input = std::string(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-test") == 0) {
      test = std::string(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-output") == 0) {
      output = std::string(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-dict") == 0) {
      dict = std::string(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-lr") == 0) {
      lr = atof(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-boostNgrams") == 0) {
      boostNgrams = atof(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-lrUpdateRate") == 0) {
      lrUpdateRate = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-dim") == 0) {
      dim = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-ws") == 0) {
      ws = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-epoch") == 0) {
      epoch = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-minCount") == 0) {
      minCount = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-minCountLabel") == 0) {
      minCountLabel = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-neg") == 0) {
      neg = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-numCheckPoints") == 0) {
      numCheckPoints = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-dropoutK") == 0) {
      dropoutK = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-wordNgrams") == 0) {
      wordNgrams = atoi(argv[ai + 1]);
      if (wordNgrams == 1) bucket = 1;
    } else if (strcmp(argv[ai], "-loss") == 0) {
      if (strcmp(argv[ai + 1], "hs") == 0) {
        loss = loss_name::hs;
      } else if (strcmp(argv[ai + 1], "ns") == 0) {
        loss = loss_name::ns;
      } else if (strcmp(argv[ai + 1], "softmax") == 0) {
        loss = loss_name::softmax;
      } else {
        std::cout << "Unknown loss: " << argv[ai + 1] << std::endl;
        printHelp();
        exit(EXIT_FAILURE);
      }
    } else if (strcmp(argv[ai], "-bucket") == 0) {
      bucket = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-bucketChar") == 0) {
      bucketChar = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-minn") == 0) {
      minn = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-maxn") == 0) {
      maxn = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-thread") == 0) {
      thread = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-t") == 0) {
      t = atof(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-label") == 0) {
      label = std::string(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-verbose") == 0) {
      verbose = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-maxVocabSize") == 0) {
      maxVocabSize = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-pretrainedVectors") == 0) {
      pretrainedVectors = std::string(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-saveOutput") == 0) {
      saveOutput = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-qnorm") == 0) {
      qnorm = true; ai--;
    } else if (strcmp(argv[ai], "-retrain") == 0) {
      retrain = true; ai--;
    } else if (strcmp(argv[ai], "-qout") == 0) {
      qout = true; ai--;
    } else if (strcmp(argv[ai], "-cutoff") == 0) {
    cutoff = atoi(argv[ai + 1]);
    } else if (strcmp(argv[ai], "-dsub") == 0) {
      dsub = atoi(argv[ai + 1]);
    } else {
      std::cout << "Unknown argument: " << argv[ai] << std::endl;
      printHelp();
      exit(EXIT_FAILURE);
    }
    ai += 2;
  }
  if (input.empty() || output.empty()) {
    std::cout << "Empty input or output path." << std::endl;
    printHelp();
    exit(EXIT_FAILURE);
  }
  if (wordNgrams <= 1 && maxn == 0) {
    bucket = 0;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
movq 0x8(%rdx), %rsi
leaq 0x58(%rsp), %r15
leaq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x617a
leaq 0x19175(%rip), %rsi     # 0x1e04a
movq %r15, %rdi
callq 0x40e0
testl %eax, %eax
jne 0x4f32
movabsq $0x400000002, %rax      # imm = 0x400000002
movq %rax, 0xbc(%rbx)
movl $0xa, 0xb0(%rbx)
movl $0x5, 0xa8(%rbx)
movabsq $0x600000003, %rax      # imm = 0x600000003
movq %rax, 0xcc(%rbx)
movabsq $0x3fa999999999999a, %rax # imm = 0x3FA999999999999A
movq %rax, 0x80(%rbx)
movl $0x2, 0x9c(%rbx)
movq %rbx, 0x8(%rsp)
cmpl $0x3, %ebp
jl 0x568e
movq 0x8(%rsp), %rcx
leaq 0x108(%rcx), %rax
movq %rax, 0x30(%rsp)
leaq 0xe0(%rcx), %rax
movq %rax, 0x38(%rsp)
leaq 0x60(%rcx), %rax
movq %rax, 0x40(%rsp)
leaq 0x40(%rcx), %rax
movq %rax, 0x48(%rsp)
leaq 0x20(%rcx), %rax
movq %rax, 0x50(%rsp)
movl $0x2, %r15d
leaq 0x10(%rsp), %rbx
movslq %r15d, %r12
movq (%r14,%r12,8), %r13
cmpb $0x2d, (%r13)
jne 0x571f
movq %r13, %rdi
leaq 0x190df(%rip), %rsi     # 0x1e07e
callq 0x4430
testl %eax, %eax
je 0x56ef
movq %r13, %rdi
leaq 0x190e4(%rip), %rsi     # 0x1e09a
callq 0x4430
testl %eax, %eax
je 0x52c0
movq %r13, %rdi
leaq 0x190d4(%rip), %rsi     # 0x1e0a1
callq 0x4430
testl %eax, %eax
je 0x52d9
movq %r13, %rdi
leaq 0x190c3(%rip), %rsi     # 0x1e0a7
callq 0x4430
testl %eax, %eax
je 0x52f2
movq %r13, %rdi
leaq 0x190b4(%rip), %rsi     # 0x1e0af
callq 0x4430
testl %eax, %eax
je 0x530b
movq %r13, %rdi
leaq 0x190a3(%rip), %rsi     # 0x1e0b5
callq 0x4430
testl %eax, %eax
je 0x5358
movq %r13, %rdi
leaq 0x19090(%rip), %rsi     # 0x1e0b9
callq 0x4430
testl %eax, %eax
je 0x5371
movq %r13, %rdi
leaq 0x19086(%rip), %rsi     # 0x1e0c6
callq 0x4430
testl %eax, %eax
je 0x538a
movq %r13, %rdi
leaq 0x1907d(%rip), %rsi     # 0x1e0d4
callq 0x4430
testl %eax, %eax
je 0x53a1
movq %r13, %rdi
leaq 0x1906b(%rip), %rsi     # 0x1e0d9
callq 0x4430
testl %eax, %eax
je 0x53b8
movq %r13, %rdi
leaq 0x19058(%rip), %rsi     # 0x1e0dd
callq 0x4430
testl %eax, %eax
je 0x53d2
movq %r13, %rdi
leaq 0x19048(%rip), %rsi     # 0x1e0e4
callq 0x4430
testl %eax, %eax
je 0x53ec
movq %r13, %rdi
leaq 0x1903b(%rip), %rsi     # 0x1e0ee
callq 0x4430
testl %eax, %eax
je 0x5406
movq %r13, %rdi
leaq 0x19033(%rip), %rsi     # 0x1e0fd
callq 0x4430
testl %eax, %eax
je 0x5420
movq %r13, %rdi
leaq 0x19021(%rip), %rsi     # 0x1e102
callq 0x4430
testl %eax, %eax
je 0x543a
movq %r13, %rdi
leaq 0x1901a(%rip), %rsi     # 0x1e112
callq 0x4430
testl %eax, %eax
je 0x5454
movq %r13, %rdi
leaq 0x1900d(%rip), %rsi     # 0x1e11c
callq 0x4430
testl %eax, %eax
je 0x546e
movq %r13, %rdi
leaq 0x19002(%rip), %rsi     # 0x1e128
callq 0x4430
testl %eax, %eax
je 0x549b
movq %r13, %rdi
leaq 0x1900e(%rip), %rsi     # 0x1e14b
callq 0x4430
testl %eax, %eax
je 0x54f5
movq %r13, %rdi
leaq 0x18fff(%rip), %rsi     # 0x1e153
callq 0x4430
testl %eax, %eax
je 0x550f
movq %r13, %rdi
leaq 0x18ff4(%rip), %rsi     # 0x1e15f
callq 0x4430
testl %eax, %eax
je 0x553d
movq %r13, %rdi
leaq 0x18fe3(%rip), %rsi     # 0x1e165
callq 0x4430
testl %eax, %eax
je 0x556b
movq %r13, %rdi
leaq 0x18fd2(%rip), %rsi     # 0x1e16b
callq 0x4430
testl %eax, %eax
je 0x5585
movq %r13, %rdi
leaq 0x18fc3(%rip), %rsi     # 0x1e173
callq 0x4430
testl %eax, %eax
je 0x559f
movq %r13, %rdi
leaq 0x18faf(%rip), %rsi     # 0x1e176
callq 0x4430
testl %eax, %eax
je 0x55bb
movq %r13, %rdi
leaq 0x18f9f(%rip), %rsi     # 0x1e17d
callq 0x4430
testl %eax, %eax
je 0x55d7
movq %r13, %rdi
leaq 0x18f91(%rip), %rsi     # 0x1e186
callq 0x4430
testl %eax, %eax
je 0x55f1
movq %r13, %rdi
leaq 0x18f88(%rip), %rsi     # 0x1e194
callq 0x4430
testl %eax, %eax
je 0x560b
movq %r13, %rdi
leaq 0x18f84(%rip), %rsi     # 0x1e1a7
callq 0x4430
testl %eax, %eax
je 0x5627
movq %r13, %rdi
leaq 0x18f79(%rip), %rsi     # 0x1e1b3
callq 0x4430
testl %eax, %eax
je 0x5641
movq %r13, %rdi
leaq 0x18f69(%rip), %rsi     # 0x1e1ba
callq 0x4430
testl %eax, %eax
je 0x564f
movq %r13, %rdi
leaq 0x18f5b(%rip), %rsi     # 0x1e1c3
callq 0x4430
testl %eax, %eax
je 0x565d
movq %r13, %rdi
leaq 0x18f4a(%rip), %rsi     # 0x1e1c9
callq 0x4430
testl %eax, %eax
je 0x5671
movq %r13, %rdi
leaq 0x18f3b(%rip), %rsi     # 0x1e1d1
callq 0x4430
testl %eax, %eax
jne 0x57c4
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
cltq
movq 0x8(%rsp), %rcx
movq %rax, 0x138(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617a
movq 0x8(%rsp), %rdi
jmp 0x5322
movq 0x8(%r14,%r12,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617a
movq 0x50(%rsp), %rdi
jmp 0x5322
movq 0x8(%r14,%r12,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617a
movq 0x48(%rsp), %rdi
jmp 0x5322
movq 0x8(%r14,%r12,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617a
movq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x4390
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x5346
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
addl $0x2, %r15d
cmpl %ebp, %r15d
jl 0x4f83
jmp 0x568e
movq 0x8(%r14,%r12,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0x80(%rax)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0x88(%rax)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x90(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x94(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x98(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa0(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa8(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xac(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb0(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb8(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x9c(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb4(%rcx)
cmpl $0x1, %eax
jne 0x5346
movl $0x1, 0xc4(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %r13
movq %r13, %rdi
leaq 0x18c84(%rip), %rsi     # 0x1e12e
callq 0x4430
testl %eax, %eax
je 0x5529
movq %r13, %rdi
leaq 0x18c74(%rip), %rsi     # 0x1e131
callq 0x4430
testl %eax, %eax
je 0x5557
movq %r13, %rdi
leaq 0x18c60(%rip), %rsi     # 0x1e134
callq 0x4430
testl %eax, %eax
jne 0x5787
movq 0x8(%rsp), %rax
movl $0x3, 0xbc(%rax)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xc4(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xc8(%rcx)
jmp 0x5346
movq 0x8(%rsp), %rax
movl $0x1, 0xbc(%rax)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xcc(%rcx)
jmp 0x5346
movq 0x8(%rsp), %rax
movl $0x2, 0xbc(%rax)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xd0(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xd4(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0xd8(%rax)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617a
movq 0x38(%rsp), %rdi
jmp 0x5322
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x100(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa4(%rcx)
jmp 0x5346
movq 0x8(%r14,%r12,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617a
movq 0x30(%rsp), %rdi
jmp 0x5322
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x128(%rcx)
jmp 0x5346
movq 0x8(%rsp), %rax
movb $0x1, 0x12e(%rax)
jmp 0x5669
movq 0x8(%rsp), %rax
movb $0x1, 0x12d(%rax)
jmp 0x5669
movq 0x8(%rsp), %rax
movb $0x1, 0x12c(%rax)
decl %r15d
jmp 0x5346
movq 0x8(%r14,%r12,8), %rdi
callq 0x44c0
cltq
movq 0x8(%rsp), %rcx
movq %rax, 0x130(%rcx)
jmp 0x5346
movq 0x8(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x5757
cmpq $0x0, 0x48(%rax)
je 0x5757
cmpl $0x1, 0xb4(%rax)
jg 0x56c5
cmpl $0x0, 0xd0(%rax)
jne 0x56c5
movl $0x0, 0xc4(%rax)
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x56e0
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4300
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x248ca(%rip), %rdi     # 0x29fc0
leaq 0x18984(%rip), %rsi     # 0x1e081
movl $0x18, %edx
callq 0x4350
movq 0x248b2(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5836
jmp 0x574d
movq 0x2489a(%rip), %rdi     # 0x29fc0
leaq 0x18928(%rip), %rsi     # 0x1e055
movl $0x28, %edx
callq 0x4350
movq 0x24882(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5836
movl $0x1, %edi
callq 0x4380
movq 0x24862(%rip), %rdi     # 0x29fc0
leaq 0x18a85(%rip), %rsi     # 0x1e1ea
movl $0x1b, %edx
callq 0x4350
movq 0x2484a(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5836
jmp 0x574d
movq 0x24832(%rip), %rdi     # 0x29fc0
leaq 0x189a7(%rip), %rsi     # 0x1e13c
movl $0xe, %edx
callq 0x4350
movq 0x8(%r14,%r12,8), %rsi
movq 0x24815(%rip), %rdi     # 0x29fc0
callq 0x42e0
movq %rax, %rdi
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5836
jmp 0x574d
movq 0x247f5(%rip), %rdi     # 0x29fc0
leaq 0x18a05(%rip), %rsi     # 0x1e1d7
movl $0x12, %edx
callq 0x4350
movq (%r14,%r12,8), %rsi
movq 0x247d9(%rip), %rdi     # 0x29fc0
callq 0x42e0
movq %rax, %rdi
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5836
jmp 0x574d
jmp 0x580f
jmp 0x580f
jmp 0x580f
jmp 0x580f
jmp 0x580f
jmp 0x580f
movq %rax, %rbx
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x582d
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4300
movq %rbx, %rdi
callq 0x45b0
nop