// File: /workspace/github_cpp_makefile_star2_O3/epfml[P]sent2vec/src/args.cc
// Function: fasttext::Args::parseArgs(int, char**)
void Args::parseArgs(int argc, char** argv) {
  std::string command(argv[1]);
  if (command == "supervised") {
    model = model_name::sup;
    loss = loss_name::softmax;
    minCount = 1;
    minn = 0;
    maxn = 0;
    lr = 0.1;
  } else if (command == "cbow") {
    model = model_name::cbow;
  } else if (command == "sent2vec") {
    model = model_name::sent2vec;
    loss = loss_name::ns;
    neg = 10;
    minCount = 5;
    minn = 3;
    maxn = 6;
    lr = 0.05;
    dropoutK = 2;
  } else if (command == "cbow-c+w-ngrams") {
    model = model_name::cbowCWNgrams;
    loss = loss_name::ns;
    neg = 10;
    minCount = 5;
    bucketChar = 1;
    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 0x62d2
leaq 0x1916f(%rip), %rsi     # 0x1e05a
movq %r15, %rdi
callq 0x40e0
testl %eax, %eax
je 0x4f88
leaq 0x19163(%rip), %rsi     # 0x1e065
leaq 0x58(%rsp), %rdi
callq 0x40e0
testl %eax, %eax
je 0x4fc1
leaq 0x1914f(%rip), %rsi     # 0x1e06a
leaq 0x58(%rsp), %rdi
callq 0x40e0
testl %eax, %eax
je 0x4fcd
leaq 0x1913f(%rip), %rsi     # 0x1e073
leaq 0x58(%rsp), %rdi
callq 0x40e0
testl %eax, %eax
jne 0x501e
movabsq $0x500000002, %rax      # imm = 0x500000002
movq %rax, 0xbc(%rbx)
movl $0xa, 0xb0(%rbx)
movl $0x5, 0xa8(%rbx)
movabsq $0x300000001, %rax      # imm = 0x300000001
movq %rax, 0xc8(%rbx)
movl $0x6, 0xd0(%rbx)
jmp 0x5003
movabsq $0x300000003, %rax      # imm = 0x300000003
movq %rax, 0xbc(%rbx)
movl $0x1, 0xa8(%rbx)
movq $0x0, 0xcc(%rbx)
movabsq $0x3fb999999999999a, %rax # imm = 0x3FB999999999999A
movq %rax, 0x80(%rbx)
jmp 0x501e
movl $0x1, 0xc0(%rbx)
jmp 0x501e
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 0x576c
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, %r13d
leaq 0x10(%rsp), %rbx
movslq %r13d, %r15
movq (%r14,%r15,8), %r12
cmpb $0x2d, (%r12)
jne 0x57cd
cmpb $0x68, 0x1(%r12)
jne 0x5095
cmpb $0x0, 0x2(%r12)
je 0x57fd
movq %r12, %rdi
leaq 0x19026(%rip), %rsi     # 0x1e0c5
callq 0x4430
testl %eax, %eax
je 0x53a6
movq %r12, %rdi
leaq 0x19016(%rip), %rsi     # 0x1e0cc
callq 0x4430
testl %eax, %eax
je 0x53bf
movq %r12, %rdi
leaq 0x19005(%rip), %rsi     # 0x1e0d2
callq 0x4430
testl %eax, %eax
je 0x53d8
movq %r12, %rdi
leaq 0x18ff6(%rip), %rsi     # 0x1e0da
callq 0x4430
testl %eax, %eax
je 0x53f1
movq %r12, %rdi
leaq 0x18fe5(%rip), %rsi     # 0x1e0e0
callq 0x4430
testl %eax, %eax
je 0x543e
movq %r12, %rdi
leaq 0x18fd2(%rip), %rsi     # 0x1e0e4
callq 0x4430
testl %eax, %eax
je 0x5457
movq %r12, %rdi
leaq 0x18fc8(%rip), %rsi     # 0x1e0f1
callq 0x4430
testl %eax, %eax
je 0x5470
movq %r12, %rdi
leaq 0x18fbf(%rip), %rsi     # 0x1e0ff
callq 0x4430
testl %eax, %eax
je 0x5487
movq %r12, %rdi
leaq 0x18fad(%rip), %rsi     # 0x1e104
callq 0x4430
testl %eax, %eax
je 0x549e
movq %r12, %rdi
leaq 0x18f9a(%rip), %rsi     # 0x1e108
callq 0x4430
testl %eax, %eax
je 0x54b8
movq %r12, %rdi
leaq 0x18f8a(%rip), %rsi     # 0x1e10f
callq 0x4430
testl %eax, %eax
je 0x54d2
movq %r12, %rdi
leaq 0x18f7d(%rip), %rsi     # 0x1e119
callq 0x4430
testl %eax, %eax
je 0x54ec
movq %r12, %rdi
leaq 0x18f75(%rip), %rsi     # 0x1e128
callq 0x4430
testl %eax, %eax
je 0x5506
movq %r12, %rdi
leaq 0x18f63(%rip), %rsi     # 0x1e12d
callq 0x4430
testl %eax, %eax
je 0x5520
movq %r12, %rdi
leaq 0x18f5c(%rip), %rsi     # 0x1e13d
callq 0x4430
testl %eax, %eax
je 0x553a
movq %r12, %rdi
leaq 0x18f4f(%rip), %rsi     # 0x1e147
callq 0x4430
testl %eax, %eax
je 0x5554
movq %r12, %rdi
leaq 0x18f44(%rip), %rsi     # 0x1e153
callq 0x4430
testl %eax, %eax
je 0x5581
movq %r12, %rdi
leaq 0x18f50(%rip), %rsi     # 0x1e176
callq 0x4430
testl %eax, %eax
je 0x55b3
movq %r12, %rdi
leaq 0x18f41(%rip), %rsi     # 0x1e17e
callq 0x4430
testl %eax, %eax
je 0x55cd
movq %r12, %rdi
leaq 0x18f36(%rip), %rsi     # 0x1e18a
callq 0x4430
testl %eax, %eax
je 0x561b
movq %r12, %rdi
leaq 0x18f25(%rip), %rsi     # 0x1e190
callq 0x4430
testl %eax, %eax
je 0x5635
movq %r12, %rdi
leaq 0x18f14(%rip), %rsi     # 0x1e196
callq 0x4430
testl %eax, %eax
je 0x564f
cmpb $0x74, 0x1(%r12)
jne 0x52a3
cmpb $0x0, 0x2(%r12)
je 0x56b3
movq %r12, %rdi
leaq 0x18ef1(%rip), %rsi     # 0x1e19e
callq 0x4430
testl %eax, %eax
je 0x567d
movq %r12, %rdi
leaq 0x18ee1(%rip), %rsi     # 0x1e1a5
callq 0x4430
testl %eax, %eax
je 0x5699
movq %r12, %rdi
leaq 0x18ed3(%rip), %rsi     # 0x1e1ae
callq 0x4430
testl %eax, %eax
je 0x56cf
movq %r12, %rdi
leaq 0x18eca(%rip), %rsi     # 0x1e1bc
callq 0x4430
testl %eax, %eax
je 0x56e9
movq %r12, %rdi
leaq 0x18ec6(%rip), %rsi     # 0x1e1cf
callq 0x4430
testl %eax, %eax
je 0x5705
movq %r12, %rdi
leaq 0x18ebb(%rip), %rsi     # 0x1e1db
callq 0x4430
testl %eax, %eax
je 0x571f
movq %r12, %rdi
leaq 0x18eab(%rip), %rsi     # 0x1e1e2
callq 0x4430
testl %eax, %eax
je 0x572d
movq %r12, %rdi
leaq 0x18e9d(%rip), %rsi     # 0x1e1eb
callq 0x4430
testl %eax, %eax
je 0x573b
movq %r12, %rdi
leaq 0x18e8c(%rip), %rsi     # 0x1e1f1
callq 0x4430
testl %eax, %eax
je 0x574f
movq %r12, %rdi
leaq 0x18e7d(%rip), %rsi     # 0x1e1f9
callq 0x4430
testl %eax, %eax
jne 0x58a2
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
cltq
movq 0x8(%rsp), %rcx
movq %rax, 0x138(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x62d2
movq 0x8(%rsp), %rdi
jmp 0x5408
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x62d2
movq 0x50(%rsp), %rdi
jmp 0x5408
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x62d2
movq 0x48(%rsp), %rdi
jmp 0x5408
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x62d2
movq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x4390
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x542c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
addl $0x2, %r13d
cmpl %ebp, %r13d
jl 0x506f
jmp 0x576c
movq 0x8(%r14,%r15,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0x80(%rax)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0x88(%rax)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x90(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x94(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x98(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa0(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa8(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xac(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb0(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb8(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x9c(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb4(%rcx)
cmpl $0x1, %eax
jne 0x542c
movl $0x1, 0xc4(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
movzbl (%rdi), %eax
cmpl $0x6e, %eax
je 0x55e7
cmpl $0x68, %eax
jne 0x55f3
cmpb $0x73, 0x1(%rdi)
jne 0x55f3
cmpb $0x0, 0x2(%rdi)
jne 0x55f3
movq 0x8(%rsp), %rax
movl $0x1, 0xbc(%rax)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xc4(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xc8(%rcx)
jmp 0x542c
cmpb $0x73, 0x1(%rdi)
jne 0x55f3
cmpb $0x0, 0x2(%rdi)
je 0x5669
leaq 0x18b65(%rip), %rsi     # 0x1e15f
callq 0x4430
testl %eax, %eax
jne 0x5865
movq 0x8(%rsp), %rax
movl $0x3, 0xbc(%rax)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xcc(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xd0(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xd4(%rcx)
jmp 0x542c
movq 0x8(%rsp), %rax
movl $0x2, 0xbc(%rax)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x62d2
movq 0x38(%rsp), %rdi
jmp 0x5408
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x100(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0xd8(%rax)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa4(%rcx)
jmp 0x542c
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x62d2
movq 0x30(%rsp), %rdi
jmp 0x5408
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x128(%rcx)
jmp 0x542c
movq 0x8(%rsp), %rax
movb $0x1, 0x12e(%rax)
jmp 0x5747
movq 0x8(%rsp), %rax
movb $0x1, 0x12d(%rax)
jmp 0x5747
movq 0x8(%rsp), %rax
movb $0x1, 0x12c(%rax)
decl %r13d
jmp 0x542c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
cltq
movq 0x8(%rsp), %rcx
movq %rax, 0x130(%rcx)
jmp 0x542c
movq 0x8(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x5835
cmpq $0x0, 0x48(%rax)
je 0x5835
cmpl $0x1, 0xb4(%rax)
jg 0x57a3
cmpl $0x0, 0xd0(%rax)
jne 0x57a3
movl $0x0, 0xc4(%rax)
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x57be
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 0x247ec(%rip), %rdi     # 0x29fc0
leaq 0x188a8(%rip), %rsi     # 0x1e083
movl $0x28, %edx
callq 0x4350
movq 0x247d4(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5914
jmp 0x582b
movq 0x247bc(%rip), %rdi     # 0x29fc0
leaq 0x188a1(%rip), %rsi     # 0x1e0ac
movl $0x18, %edx
callq 0x4350
movq 0x247a4(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5914
movl $0x1, %edi
callq 0x4380
movq 0x24784(%rip), %rdi     # 0x29fc0
leaq 0x189cf(%rip), %rsi     # 0x1e212
movl $0x1b, %edx
callq 0x4350
movq 0x2476c(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5914
jmp 0x582b
movq 0x24754(%rip), %rdi     # 0x29fc0
leaq 0x188f4(%rip), %rsi     # 0x1e167
movl $0xe, %edx
callq 0x4350
movq 0x8(%r14,%r15,8), %rsi
movq 0x24737(%rip), %rdi     # 0x29fc0
callq 0x42e0
movq %rax, %rdi
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5914
jmp 0x582b
movq 0x24717(%rip), %rdi     # 0x29fc0
leaq 0x1894f(%rip), %rsi     # 0x1e1ff
movl $0x12, %edx
callq 0x4350
movq (%r14,%r15,8), %rsi
movq 0x246fb(%rip), %rdi     # 0x29fc0
callq 0x42e0
movq %rax, %rdi
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5914
jmp 0x582b
jmp 0x58ed
jmp 0x58ed
jmp 0x58ed
jmp 0x58ed
jmp 0x58ed
jmp 0x58ed
movq %rax, %rbx
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x590b
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4300
movq %rbx, %rdi
callq 0x45b0
nop