// File: lagoproject[P]arti/analysis/primaries.cc
// Function: Usage(char*, int)
void Usage(char *prog, int iverbose=0) {
  cout << endl << "primaries.cc, from ARTI     version " << VERSION << endl<< endl;
  cout << "  Read primary files and produce primary spectrum with and without geomagnetic field" << endl;
  cout << "  Usage: " << prog << " [flags] raw_file" << endl;
  cout << "    If 'raw_file' does not exits, switch to STDIN and use raw_file as" << endl;
  cout << "    basename for output file." << endl;
  cout << "    flags:"<<endl;
  cout << "      -m <n>          : Energy distribution of primaries per type, with <n> bins per decade."<<endl;
  cout << "      -n <a> <t>      : Normalize energy distribution in particles/(m2 s bin), <a>=detector area (m2), <t> = flux time (s)." <<endl;
  cout << "      -g <file> <col> : Include geomagentic effects. Read  rigidities from column <R> of <file>. Default R= " << cGeoCdef <<endl;
  cout << "                        3=R_U, 4=R_C 5=R_L"<<endl;
  cout << "      -v              : Enable verbose output (each -v increases verbosity level)"<< endl;
  cout << "      -?              : prints help and exits"<<endl << endl;
  if (iverbose) {
    // verbose help
  }
  exit(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq 0x4aa2(%rip), %rdi      # 0x5fc8
movq 0x4a83(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq %rax, %rdi
leaq 0x1bf3(%rip), %rsi      # 0x312f
callq 0x10a0
movq %rax, %rdi
leaq 0x1c09(%rip), %rsi      # 0x3154
callq 0x10a0
movq %rax, %rdi
movq 0x4a56(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq %rax, %rdi
movq 0x4a47(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x4a53(%rip), %rdi      # 0x5fc8
leaq 0x1bdd(%rip), %rsi      # 0x3159
callq 0x10a0
movq %rax, %rdi
movq 0x4a25(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x4a31(%rip), %rdi      # 0x5fc8
leaq 0x1c10(%rip), %rsi      # 0x31ae
callq 0x10a0
movq %rax, %rdi
movq -0x8(%rbp), %rsi
callq 0x10a0
movq %rax, %rdi
leaq 0x1bff(%rip), %rsi      # 0x31b8
callq 0x10a0
movq %rax, %rdi
movq 0x49e8(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x49f4(%rip), %rdi      # 0x5fc8
leaq 0x1bef(%rip), %rsi      # 0x31ca
callq 0x10a0
movq %rax, %rdi
movq 0x49c6(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x49d2(%rip), %rdi      # 0x5fc8
leaq 0x1c13(%rip), %rsi      # 0x3210
callq 0x10a0
movq %rax, %rdi
movq 0x49a4(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x49b0(%rip), %rdi      # 0x5fc8
leaq 0x1c0f(%rip), %rsi      # 0x322e
callq 0x10a0
movq %rax, %rdi
movq 0x4982(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x498e(%rip), %rdi      # 0x5fc8
leaq 0x1bf8(%rip), %rsi      # 0x3239
callq 0x10a0
movq %rax, %rdi
movq 0x4960(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x496c(%rip), %rdi      # 0x5fc8
leaq 0x1c33(%rip), %rsi      # 0x3296
callq 0x10a0
movq %rax, %rdi
movq 0x493e(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x494a(%rip), %rdi      # 0x5fc8
leaq 0x1c8d(%rip), %rsi      # 0x3312
callq 0x10a0
movq %rax, %rdi
movl 0x4a75(%rip), %esi      # 0x6108
callq 0x1160
movq %rax, %rdi
movq 0x490e(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x491a(%rip), %rdi      # 0x5fc8
leaq 0x1cca(%rip), %rsi      # 0x337f
callq 0x10a0
movq %rax, %rdi
movq 0x48ec(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x48f8(%rip), %rdi      # 0x5fc8
leaq 0x1cd3(%rip), %rsi      # 0x33aa
callq 0x10a0
movq %rax, %rdi
movq 0x48ca(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq 0x48d6(%rip), %rdi      # 0x5fc8
leaq 0x1d03(%rip), %rsi      # 0x33fc
callq 0x10a0
movq %rax, %rdi
movq 0x48a8(%rip), %rsi      # 0x5fb0
callq 0x10b0
movq %rax, %rdi
movq 0x4899(%rip), %rsi      # 0x5fb0
callq 0x10b0
cmpl $0x0, -0xc(%rbp)
je 0x1724
jmp 0x1724
movl $0x1, %edi
callq 0x10e0
nop