// File: /workspace/github_cpp_makefile_star2_O3/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 0x617c
leaq 0x19179(%rip), %rsi     # 0x1e05a
movq %r15, %rdi
callq 0x40e0
testl %eax, %eax
jne 0x4f3e
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 0x568c
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 0x56ed
cmpb $0x68, 0x1(%r12)
jne 0x4fb5
cmpb $0x0, 0x2(%r12)
je 0x571d
movq %r12, %rdi
leaq 0x190e8(%rip), %rsi     # 0x1e0a7
callq 0x4430
testl %eax, %eax
je 0x52c6
movq %r12, %rdi
leaq 0x190d8(%rip), %rsi     # 0x1e0ae
callq 0x4430
testl %eax, %eax
je 0x52df
movq %r12, %rdi
leaq 0x190c7(%rip), %rsi     # 0x1e0b4
callq 0x4430
testl %eax, %eax
je 0x52f8
movq %r12, %rdi
leaq 0x190b8(%rip), %rsi     # 0x1e0bc
callq 0x4430
testl %eax, %eax
je 0x5311
movq %r12, %rdi
leaq 0x190a7(%rip), %rsi     # 0x1e0c2
callq 0x4430
testl %eax, %eax
je 0x535e
movq %r12, %rdi
leaq 0x19094(%rip), %rsi     # 0x1e0c6
callq 0x4430
testl %eax, %eax
je 0x5377
movq %r12, %rdi
leaq 0x1908a(%rip), %rsi     # 0x1e0d3
callq 0x4430
testl %eax, %eax
je 0x5390
movq %r12, %rdi
leaq 0x19081(%rip), %rsi     # 0x1e0e1
callq 0x4430
testl %eax, %eax
je 0x53a7
movq %r12, %rdi
leaq 0x1906f(%rip), %rsi     # 0x1e0e6
callq 0x4430
testl %eax, %eax
je 0x53be
movq %r12, %rdi
leaq 0x1905c(%rip), %rsi     # 0x1e0ea
callq 0x4430
testl %eax, %eax
je 0x53d8
movq %r12, %rdi
leaq 0x1904c(%rip), %rsi     # 0x1e0f1
callq 0x4430
testl %eax, %eax
je 0x53f2
movq %r12, %rdi
leaq 0x1903f(%rip), %rsi     # 0x1e0fb
callq 0x4430
testl %eax, %eax
je 0x540c
movq %r12, %rdi
leaq 0x19037(%rip), %rsi     # 0x1e10a
callq 0x4430
testl %eax, %eax
je 0x5426
movq %r12, %rdi
leaq 0x19025(%rip), %rsi     # 0x1e10f
callq 0x4430
testl %eax, %eax
je 0x5440
movq %r12, %rdi
leaq 0x1901e(%rip), %rsi     # 0x1e11f
callq 0x4430
testl %eax, %eax
je 0x545a
movq %r12, %rdi
leaq 0x19011(%rip), %rsi     # 0x1e129
callq 0x4430
testl %eax, %eax
je 0x5474
movq %r12, %rdi
leaq 0x19006(%rip), %rsi     # 0x1e135
callq 0x4430
testl %eax, %eax
je 0x54a1
movq %r12, %rdi
leaq 0x19012(%rip), %rsi     # 0x1e158
callq 0x4430
testl %eax, %eax
je 0x54d3
movq %r12, %rdi
leaq 0x19003(%rip), %rsi     # 0x1e160
callq 0x4430
testl %eax, %eax
je 0x54ed
movq %r12, %rdi
leaq 0x18ff8(%rip), %rsi     # 0x1e16c
callq 0x4430
testl %eax, %eax
je 0x553b
movq %r12, %rdi
leaq 0x18fe7(%rip), %rsi     # 0x1e172
callq 0x4430
testl %eax, %eax
je 0x5555
movq %r12, %rdi
leaq 0x18fd6(%rip), %rsi     # 0x1e178
callq 0x4430
testl %eax, %eax
je 0x556f
cmpb $0x74, 0x1(%r12)
jne 0x51c3
cmpb $0x0, 0x2(%r12)
je 0x55d3
movq %r12, %rdi
leaq 0x18fb3(%rip), %rsi     # 0x1e180
callq 0x4430
testl %eax, %eax
je 0x559d
movq %r12, %rdi
leaq 0x18fa3(%rip), %rsi     # 0x1e187
callq 0x4430
testl %eax, %eax
je 0x55b9
movq %r12, %rdi
leaq 0x18f95(%rip), %rsi     # 0x1e190
callq 0x4430
testl %eax, %eax
je 0x55ef
movq %r12, %rdi
leaq 0x18f8c(%rip), %rsi     # 0x1e19e
callq 0x4430
testl %eax, %eax
je 0x5609
movq %r12, %rdi
leaq 0x18f88(%rip), %rsi     # 0x1e1b1
callq 0x4430
testl %eax, %eax
je 0x5625
movq %r12, %rdi
leaq 0x18f7d(%rip), %rsi     # 0x1e1bd
callq 0x4430
testl %eax, %eax
je 0x563f
movq %r12, %rdi
leaq 0x18f6d(%rip), %rsi     # 0x1e1c4
callq 0x4430
testl %eax, %eax
je 0x564d
movq %r12, %rdi
leaq 0x18f5f(%rip), %rsi     # 0x1e1cd
callq 0x4430
testl %eax, %eax
je 0x565b
movq %r12, %rdi
leaq 0x18f4e(%rip), %rsi     # 0x1e1d3
callq 0x4430
testl %eax, %eax
je 0x566f
movq %r12, %rdi
leaq 0x18f3f(%rip), %rsi     # 0x1e1db
callq 0x4430
testl %eax, %eax
jne 0x57c2
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
cltq
movq 0x8(%rsp), %rcx
movq %rax, 0x138(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617c
movq 0x8(%rsp), %rdi
jmp 0x5328
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617c
movq 0x50(%rsp), %rdi
jmp 0x5328
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617c
movq 0x48(%rsp), %rdi
jmp 0x5328
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617c
movq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x4390
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x534c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4300
addl $0x2, %r13d
cmpl %ebp, %r13d
jl 0x4f8f
jmp 0x568c
movq 0x8(%r14,%r15,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0x80(%rax)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0x88(%rax)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x90(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x94(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x98(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa0(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa8(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xac(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb0(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb8(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x9c(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xb4(%rcx)
cmpl $0x1, %eax
jne 0x534c
movl $0x1, 0xc4(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
movzbl (%rdi), %eax
cmpl $0x6e, %eax
je 0x5507
cmpl $0x68, %eax
jne 0x5513
cmpb $0x73, 0x1(%rdi)
jne 0x5513
cmpb $0x0, 0x2(%rdi)
jne 0x5513
movq 0x8(%rsp), %rax
movl $0x1, 0xbc(%rax)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xc4(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xc8(%rcx)
jmp 0x534c
cmpb $0x73, 0x1(%rdi)
jne 0x5513
cmpb $0x0, 0x2(%rdi)
je 0x5589
leaq 0x18c27(%rip), %rsi     # 0x1e141
callq 0x4430
testl %eax, %eax
jne 0x5785
movq 0x8(%rsp), %rax
movl $0x3, 0xbc(%rax)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xcc(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xd0(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xd4(%rcx)
jmp 0x534c
movq 0x8(%rsp), %rax
movl $0x2, 0xbc(%rax)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617c
movq 0x38(%rsp), %rdi
jmp 0x5328
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x100(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x43a0
movq 0x8(%rsp), %rax
movsd %xmm0, 0xd8(%rax)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0xa4(%rcx)
jmp 0x534c
movq 0x8(%r14,%r15,8), %rsi
movq %rbx, %rdi
leaq 0x7(%rsp), %rdx
callq 0x617c
movq 0x30(%rsp), %rdi
jmp 0x5328
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
movq 0x8(%rsp), %rcx
movl %eax, 0x128(%rcx)
jmp 0x534c
movq 0x8(%rsp), %rax
movb $0x1, 0x12e(%rax)
jmp 0x5667
movq 0x8(%rsp), %rax
movb $0x1, 0x12d(%rax)
jmp 0x5667
movq 0x8(%rsp), %rax
movb $0x1, 0x12c(%rax)
decl %r13d
jmp 0x534c
movq 0x8(%r14,%r15,8), %rdi
callq 0x44c0
cltq
movq 0x8(%rsp), %rcx
movq %rax, 0x130(%rcx)
jmp 0x534c
movq 0x8(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x5755
cmpq $0x0, 0x48(%rax)
je 0x5755
cmpl $0x1, 0xb4(%rax)
jg 0x56c3
cmpl $0x0, 0xd0(%rax)
jne 0x56c3
movl $0x0, 0xc4(%rax)
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x56de
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 0x248cc(%rip), %rdi     # 0x29fc0
leaq 0x1896a(%rip), %rsi     # 0x1e065
movl $0x28, %edx
callq 0x4350
movq 0x248b4(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5834
jmp 0x574b
movq 0x2489c(%rip), %rdi     # 0x29fc0
leaq 0x18963(%rip), %rsi     # 0x1e08e
movl $0x18, %edx
callq 0x4350
movq 0x24884(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5834
movl $0x1, %edi
callq 0x4380
movq 0x24864(%rip), %rdi     # 0x29fc0
leaq 0x18a91(%rip), %rsi     # 0x1e1f4
movl $0x1b, %edx
callq 0x4350
movq 0x2484c(%rip), %rdi     # 0x29fc0
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5834
jmp 0x574b
movq 0x24834(%rip), %rdi     # 0x29fc0
leaq 0x189b6(%rip), %rsi     # 0x1e149
movl $0xe, %edx
callq 0x4350
movq 0x8(%r14,%r15,8), %rsi
movq 0x24817(%rip), %rdi     # 0x29fc0
callq 0x42e0
movq %rax, %rdi
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5834
jmp 0x574b
movq 0x247f7(%rip), %rdi     # 0x29fc0
leaq 0x18a11(%rip), %rsi     # 0x1e1e1
movl $0x12, %edx
callq 0x4350
movq (%r14,%r15,8), %rsi
movq 0x247db(%rip), %rdi     # 0x29fc0
callq 0x42e0
movq %rax, %rdi
callq 0x4170
movq 0x8(%rsp), %rdi
callq 0x5834
jmp 0x574b
jmp 0x580d
jmp 0x580d
jmp 0x580d
jmp 0x580d
jmp 0x580d
jmp 0x580d
movq %rax, %rbx
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x582b
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x4300
movq %rbx, %rdi
callq 0x45b0
nop