#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(char *progname) {
  printf("%s\n", "ccsrch 1.0.9 (c) 2012 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("    -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("    -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("    -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    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1042(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1080(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10f0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1121(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1151(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11a7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11d8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x11e9(%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    0xf2c(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf3d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf48(%rip),%rdi
call   1030 <puts@plt>
lea    0xf77(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcb(%rip),%rdi
call   1030 <puts@plt>
lea    0xff8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1045(%rip),%rdi
call   1030 <puts@plt>
lea    0x1084(%rip),%rdi
call   1030 <puts@plt>
lea    0x10cb(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f6(%rip),%rdi
call   1030 <puts@plt>
lea    0x1128(%rip),%rdi
call   1030 <puts@plt>
lea    0x1159(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b0(%rip),%rdi
call   1030 <puts@plt>
lea    0x11e2(%rip),%rdi
call   1030 <puts@plt>
lea    0x11f4(%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 = [115 x i8] c"ccsrch 1.0.9 (c) 2012 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 = [60 x i8] c" -b\09\09 Add the byte offset into the file of the number\0A\00"
@.str.5 = [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.6 = [58 x i8] c" -f\09\09 Only print the filename w/ potential PAN data\0A\00"
@.str.7 = [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.8 = [76 x i8] c" -o <filename> Output the data to the file <filename> vs. standard out\0A\00"
@.str.9 = [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.10 = [56 x i8] c" -T\09\09 Check for both Track 1 and Track 2 patterns\0A\00"
@.str.11 = [63 x i8] c" -c\09\09 Show a count of hits per file (only when using -o)\0A\00"
@.str.12 = [62 x i8] c" -s\09\09 Show live status information (only when using -o)\0A\00"
@.str.13 = [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.14 = [63 x i8] c" -n <list> File extensions to exclude (i.e .dll,.exe)\0A\00"
@.str.15 = [31 x i8] c" -h\09\09 Usage information\0A\0A\00"
@.str.16 = [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 ([115 x i8], [115 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 ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.14, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.15, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.16, i64 0, i64 0))
%20 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str.1 = [115 x i8] c"ccsrch 1.0.9 (c) 2012 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.17 = [59 x i8] c" -b\09\09 Add the byte offset into the file of the number\00"
@str.18 = [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.19 = [57 x i8] c" -f\09\09 Only print the filename w/ potential PAN data\00"
@str.20 = [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.21 = [75 x i8] c" -o <filename> Output the data to the file <filename> vs. standard out\00"
@str.22 = [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.23 = [55 x i8] c" -T\09\09 Check for both Track 1 and Track 2 patterns\00"
@str.24 = [62 x i8] c" -c\09\09 Show a count of hits per file (only when using -o)\00"
@str.25 = [61 x i8] c" -s\09\09 Show live status information (only when using -o)\00"
@str.26 = [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.27 = [62 x i8] c" -n <list> File extensions to exclude (i.e .dll,.exe)\00"
@str.28 = [30 x i8] c" -h\09\09 Usage information\0A\00"
@str.29 = [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 ([115 x i8], [115 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 ([59 x i8], [59 x i8]* @str.17, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([96 x i8], [96 x i8]* @str.18, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.19, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([89 x i8], [89 x i8]* @str.20, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @str.26, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.27, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.28, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.29, i64 0, i64 0))
%18 = tail call i32 @exit(i32 0)
unreachable
}