// File: bcthomas[P]shrinksam/src/shrinksam.cpp
// Function: show_usage(int)
void show_usage(int status) {
	cerr << Shrinksam::progname << " - shrinks a SAM file while maintaining mate pair information" << endl;
	cerr << endl << "(Written by bct - 2013)" << endl;
	cerr << endl << "Usage:" << endl;
	cerr << Shrinksam::progname << " -i <sam infile name> -k <shrunk sam outfile name>" << endl << endl;
	cerr << Shrinksam::progname << " -k <shrunk sam outfile name> <stdin>" << endl << endl;
	cerr << Shrinksam::progname << " < <stdin> > out" << endl << endl;

	cerr << "  Options:" << endl;
	cerr << "    -i, --input,        Optional - if not given, will read from stdin" << endl;
	cerr << "    -k, --shrunk,       Name for shrunk SAM output file" << endl;
	cerr << "    -d, --delete-input, Delete the input sam file (requires -i argument)" << endl;
	cerr << "    -u, --unpaired,     SAM file was from an unpaired mapping" << endl;
	cerr << "    -h, --help,         Display this help and exit" << endl;
	cerr << "    -v, --verbose,      Print extra details during the run" << endl;
	cerr << "    --version,          Output version information and exit" << endl;

	exit(status);
}

// Assembly:
pushq %rax
movl %edi, 0x4(%rsp)
movq 0x9d3c(%rip), %rsi      # 0xd3b8
movq 0x996d(%rip), %rdi      # 0xcff0
callq 0x3260
movq %rax, %rdi
leaq 0x5a58(%rip), %rsi      # 0x90ea
callq 0x3260
movq %rax, %rdi
movq 0x98ff(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9943(%rip), %rdi      # 0xcff0
movq 0x98ec(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq %rax, %rdi
leaq 0x5a65(%rip), %rsi      # 0x9128
callq 0x3260
movq %rax, %rdi
movq 0x98ce(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9912(%rip), %rdi      # 0xcff0
movq 0x98bb(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq %rax, %rdi
leaq 0x5a4c(%rip), %rsi      # 0x9140
callq 0x3260
movq %rax, %rdi
movq 0x989d(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9ca9(%rip), %rsi      # 0xd3b8
movq 0x98da(%rip), %rdi      # 0xcff0
callq 0x3260
movq %rax, %rdi
leaq 0x5a22(%rip), %rsi      # 0x9147
callq 0x3260
movq %rax, %rdi
movq 0x986c(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq %rax, %rdi
movq 0x985d(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9c69(%rip), %rsi      # 0xd3b8
movq 0x989a(%rip), %rdi      # 0xcff0
callq 0x3260
movq %rax, %rdi
leaq 0x5a15(%rip), %rsi      # 0x917a
callq 0x3260
movq %rax, %rdi
movq 0x982c(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq %rax, %rdi
movq 0x981d(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9c29(%rip), %rsi      # 0xd3b8
movq 0x985a(%rip), %rdi      # 0xcff0
callq 0x3260
movq %rax, %rdi
leaq 0x59fb(%rip), %rsi      # 0x91a0
callq 0x3260
movq %rax, %rdi
movq 0x97ec(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq %rax, %rdi
movq 0x97dd(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9821(%rip), %rdi      # 0xcff0
leaq 0x59db(%rip), %rsi      # 0x91b1
callq 0x3260
movq %rax, %rdi
movq 0x97bb(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x97ff(%rip), %rdi      # 0xcff0
leaq 0x59c4(%rip), %rsi      # 0x91bc
callq 0x3260
movq %rax, %rdi
movq 0x9799(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x97dd(%rip), %rdi      # 0xcff0
leaq 0x59e8(%rip), %rsi      # 0x9202
callq 0x3260
movq %rax, %rdi
movq 0x9777(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x97bb(%rip), %rdi      # 0xcff0
leaq 0x59fe(%rip), %rsi      # 0x923a
callq 0x3260
movq %rax, %rdi
movq 0x9755(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9799(%rip), %rdi      # 0xcff0
leaq 0x5a25(%rip), %rsi      # 0x9283
callq 0x3260
movq %rax, %rdi
movq 0x9733(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9777(%rip), %rdi      # 0xcff0
leaq 0x5a41(%rip), %rsi      # 0x92c1
callq 0x3260
movq %rax, %rdi
movq 0x9711(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9755(%rip), %rdi      # 0xcff0
leaq 0x5a52(%rip), %rsi      # 0x92f4
callq 0x3260
movq %rax, %rdi
movq 0x96ef(%rip), %rsi      # 0xcfa0
callq 0x32b0
movq 0x9733(%rip), %rdi      # 0xcff0
leaq 0x5a6b(%rip), %rsi      # 0x932f
callq 0x3260
movq %rax, %rdi
movq 0x96cd(%rip), %rsi      # 0xcfa0
callq 0x32b0
movl 0x4(%rsp), %edi
callq 0x3310
nopw %cs:(%rax,%rax)