#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void usage(const char *progname) {
  printf("%s\n",
         "ccsrch 1.0.9 (c) 2012-2016 Adam Caudill <adam@adamcaudill.com>\n     "
         "        (c) 2007 Mike Beekey <zaphod2718@yahoo.com>");
  printf("Usage: %s <options> <start path>\n", progname);
  printf("  where <options> are:\n");
  printf("    -a\t\t   Limit to ascii files.\n");
  printf("    -b\t\t   Add the byte offset into the file of the number\n");
  printf("    -e\t\t   Include the Modify Access and Create times in terms "
         "\n\t\t   of seconds since the epoch\n");
  printf("    -f\t\t   Only print the filename w/ potential PAN data\n");
  printf("    -i <filename>  Ignore credit card numbers in this list (test "
         "cards)\n");
  printf("    -j\t\t   Include the Modify Access and Create times in terms "
         "\n\t\t   of normal date/time\n");
  printf("    -o <filename>  Output the data to the file <filename> vs. "
         "standard out\n");
  printf("    -t <1 or 2>\t   Check if the pattern follows either a Track 1 "
         "\n\t\t   or 2 format\n");
  printf("    -T\t\t   Check for both Track 1 and Track 2 patterns\n");
  printf("    -c\t\t   Show a count of hits per file (only when using -o)\n");
  printf("    -s\t\t   Show live status information (only when using -o)\n");
  printf("    -l N\t   Limits the number of results from a single file before "
         "going\n\t\t   on to the next file.\n");
  printf("    -n <list>      File extensions to exclude (i.e .dll,.exe)\n");
  printf("    -m\t\t   Mask the PAN number.\n");
  printf("    -w\t\t   Check for card matches wrapped across lines.\n");
  printf("    -h\t\t   Usage information\n\n");
  printf("See https://github.com/adamcaudill/ccsrch for more information.\n\n");
  exit(0);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xecd(%rip),%rdi
lea    0xeca(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf4e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf90(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x100f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x104a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1096(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10d4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x111a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1144(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1175(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11a5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11fb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x122c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x123f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x126a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x127b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    %rdi,%rbx
lea    0xec5(%rip),%rdi
call   1030 <puts@plt>
lea    0xf31(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf42(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf62(%rip),%rdi
call   1030 <puts@plt>
lea    0xf91(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe5(%rip),%rdi
call   1030 <puts@plt>
lea    0x1012(%rip),%rdi
call   1030 <puts@plt>
lea    0x104e(%rip),%rdi
call   1030 <puts@plt>
lea    0x109b(%rip),%rdi
call   1030 <puts@plt>
lea    0x10da(%rip),%rdi
call   1030 <puts@plt>
lea    0x1121(%rip),%rdi
call   1030 <puts@plt>
lea    0x114c(%rip),%rdi
call   1030 <puts@plt>
lea    0x117e(%rip),%rdi
call   1030 <puts@plt>
lea    0x11af(%rip),%rdi
call   1030 <puts@plt>
lea    0x1206(%rip),%rdi
call   1030 <puts@plt>
lea    0x1238(%rip),%rdi
call   1030 <puts@plt>
lea    0x124c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1278(%rip),%rdi
call   1030 <puts@plt>
lea    0x128a(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"%s\0A\00"
@.str.1 = [120 x i8] c"ccsrch 1.0.9 (c) 2012-2016 Adam Caudill <adam@adamcaudill.com>\0A (c) 2007 Mike Beekey <zaphod2718@yahoo.com>\00"
@.str.2 = [34 x i8] c"Usage: %s <options> <start path>\0A\00"
@.str.3 = [24 x i8] c" where <options> are:\0A\00"
@.str.4 = [34 x i8] c" -a\09\09 Limit to ascii files.\0A\00"
@.str.5 = [60 x i8] c" -b\09\09 Add the byte offset into the file of the number\0A\00"
@.str.6 = [97 x i8] c" -e\09\09 Include the Modify Access and Create times in terms \0A\09\09 of seconds since the epoch\0A\00"
@.str.7 = [58 x i8] c" -f\09\09 Only print the filename w/ potential PAN data\0A\00"
@.str.8 = [73 x i8] c" -i <filename> Ignore credit card numbers in this list (test cards)\0A\00"
@.str.9 = [90 x i8] c" -j\09\09 Include the Modify Access and Create times in terms \0A\09\09 of normal date/time\0A\00"
@.str.10 = [76 x i8] c" -o <filename> Output the data to the file <filename> vs. standard out\0A\00"
@.str.11 = [84 x i8] c" -t <1 or 2>\09 Check if the pattern follows either a Track 1 \0A\09\09 or 2 format\0A\00"
@.str.12 = [56 x i8] c" -T\09\09 Check for both Track 1 and Track 2 patterns\0A\00"
@.str.13 = [63 x i8] c" -c\09\09 Show a count of hits per file (only when using -o)\0A\00"
@.str.14 = [62 x i8] c" -s\09\09 Show live status information (only when using -o)\0A\00"
@.str.15 = [100 x i8] c" -l N\09 Limits the number of results from a single file before going\0A\09\09 on to the next file.\0A\00"
@.str.16 = [63 x i8] c" -n <list> File extensions to exclude (i.e .dll,.exe)\0A\00"
@.str.17 = [33 x i8] c" -m\09\09 Mask the PAN number.\0A\00"
@.str.18 = [57 x i8] c" -w\09\09 Check for card matches wrapped across lines.\0A\00"
@.str.19 = [31 x i8] c" -h\09\09 Usage information\0A\0A\00"
@.str.20 = [66 x i8] c"See https://github.com/adamcaudill/ccsrch for more information.\0A\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.1, i64 0, i64 0))
%4 = load i8*, i8** %2
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i8* %4)
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.14, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.15, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.16, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0))
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.18, i64 0, i64 0))
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.19, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.20, i64 0, i64 0))
%24 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str.1 = [120 x i8] c"ccsrch 1.0.9 (c) 2012-2016 Adam Caudill <adam@adamcaudill.com>\0A (c) 2007 Mike Beekey <zaphod2718@yahoo.com>\00"
@.str.2 = [34 x i8] c"Usage: %s <options> <start path>\0A\00"
@str = [23 x i8] c" where <options> are:\00"
@str.21 = [33 x i8] c" -a\09\09 Limit to ascii files.\00"
@str.22 = [59 x i8] c" -b\09\09 Add the byte offset into the file of the number\00"
@str.23 = [96 x i8] c" -e\09\09 Include the Modify Access and Create times in terms \0A\09\09 of seconds since the epoch\00"
@str.24 = [57 x i8] c" -f\09\09 Only print the filename w/ potential PAN data\00"
@str.25 = [72 x i8] c" -i <filename> Ignore credit card numbers in this list (test cards)\00"
@str.26 = [89 x i8] c" -j\09\09 Include the Modify Access and Create times in terms \0A\09\09 of normal date/time\00"
@str.27 = [75 x i8] c" -o <filename> Output the data to the file <filename> vs. standard out\00"
@str.28 = [83 x i8] c" -t <1 or 2>\09 Check if the pattern follows either a Track 1 \0A\09\09 or 2 format\00"
@str.29 = [55 x i8] c" -T\09\09 Check for both Track 1 and Track 2 patterns\00"
@str.30 = [62 x i8] c" -c\09\09 Show a count of hits per file (only when using -o)\00"
@str.31 = [61 x i8] c" -s\09\09 Show live status information (only when using -o)\00"
@str.32 = [99 x i8] c" -l N\09 Limits the number of results from a single file before going\0A\09\09 on to the next file.\00"
@str.33 = [62 x i8] c" -n <list> File extensions to exclude (i.e .dll,.exe)\00"
@str.34 = [32 x i8] c" -m\09\09 Mask the PAN number.\00"
@str.35 = [56 x i8] c" -w\09\09 Check for card matches wrapped across lines.\00"
@str.36 = [30 x i8] c" -h\09\09 Usage information\0A\00"
@str.37 = [65 x i8] c"See https://github.com/adamcaudill/ccsrch for more information.\0A\00"
define void @usage(i8* %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([120 x i8], [120 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i8* %0)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.21, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.22, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([96 x i8], [96 x i8]* @str.23, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.24, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.25, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str.26, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.27, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.28, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.29, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.30, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @str.32, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.33, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.34, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.35, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.36, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.37, i64 0, i64 0))
%22 = tail call i32 @exit(i32 0)
unreachable
}