#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_SUCCESS;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char *, int, char *);
void setopt_help(const char *value) {
  (void)value;
  printf("Usage: %s [OPTION]... [INFILE] -o [OUTFILE]\n"
         "Remove duplicate lines from INFILE without changing order.\n"
         "\n"
         "Options:\n"
         "-o, --outfile <FILE>       Write result to <FILE>\n"
         "-t, --threads <NUM>        Max threads to use (default max)\n"
         "-m, --memlimit <VALUE>     Limit max used memory (default max)\n"
         "-l, --line-max-size <NUM>  Max line size (default %d)\n"
         "-p, --printable            Filter ascii printable lines\n"
         "-c, --lowercase            Convert wordlist to lowercase\n"
         "-C, --uppercase            Convert wordlist to uppercase\n"
         "-h, --help                 Display this help and exit\n"
         "-v, --version              Output version information and exit\n"
         "\n"
         "Example: %s wordlist.txt -o new-wordlist.txt\n"
         "\n",
         "duplicut", (64), "duplicut");
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<setopt_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xecd(%rip),%rdi
lea    0x1169(%rip),%rcx
mov    $0x40,%edx
mov    %rcx,%rsi
call   1030 <printf@plt>
mov    0x2e92(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<setopt_help>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0x1174(%rip),%rcx
mov    %rcx,%rsi
mov    $0x40,%edx
call   1030 <printf@plt>
mov    0x2e9d(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [675 x i8] c"Usage: %s [OPTION]... [INFILE] -o [OUTFILE]\0ARemove duplicate lines from INFILE without changing order.\0A\0AOptions:\0A-o, --outfile <FILE> Write result to <FILE>\0A-t, --threads <NUM> Max threads to use (default max)\0A-m, --memlimit <VALUE> Limit max used memory (default max)\0A-l, --line-max-size <NUM> Max line size (default %d)\0A-p, --printable Filter ascii printable lines\0A-c, --lowercase Convert wordlist to lowercase\0A-C, --uppercase Convert wordlist to uppercase\0A-h, --help Display this help and exit\0A-v, --version Output version information and exit\0A\0AExample: %s wordlist.txt -o new-wordlist.txt\0A\0A\00"
@.str.1 = [9 x i8] c"duplicut\00"
@EXIT_SUCCESS = global i32 0
define void @setopt_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @printf(i8* getelementptr inbounds ([675 x i8], [675 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @EXIT_SUCCESS
%6 = call i32 @exit(i32 %5)
unreachable
}

LLVM IR (-O2):
@.str = [675 x i8] c"Usage: %s [OPTION]... [INFILE] -o [OUTFILE]\0ARemove duplicate lines from INFILE without changing order.\0A\0AOptions:\0A-o, --outfile <FILE> Write result to <FILE>\0A-t, --threads <NUM> Max threads to use (default max)\0A-m, --memlimit <VALUE> Limit max used memory (default max)\0A-l, --line-max-size <NUM> Max line size (default %d)\0A-p, --printable Filter ascii printable lines\0A-c, --lowercase Convert wordlist to lowercase\0A-C, --uppercase Convert wordlist to uppercase\0A-h, --help Display this help and exit\0A-v, --version Output version information and exit\0A\0AExample: %s wordlist.txt -o new-wordlist.txt\0A\0A\00"
@.str.1 = [9 x i8] c"duplicut\00"
@EXIT_SUCCESS = global i32 0
define void @setopt_help(i8* nocapture readnone %0) {
%2 = tail call i32 @printf(i8* getelementptr inbounds ([675 x i8], [675 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%3 = load i32, i32* @EXIT_SUCCESS
%4 = tail call i32 @exit(i32 %3)
unreachable
}