#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void printHelp() {
  fprintf(
      stderr,
      "Usage: watson [OPTION]...\nCaptures network traffic and writes to "
      "disk\n\n-d, --directory specific directory to create files "
      "[MANDATORY]\n-i, --interface capture interface [MANDATORY]\n-h, "
      "--help	prints this help\n-v, --verbose	verbose\n-s, --filesize "
      "	filesize (default 0 - grow indefinitely)\n-r, --ringsize  ringsize "
      "(default 256M and be multiple of blocksize)\n-c, --cpu	bind to "
      "cpu\n-f, --format    output format (1=pcap, 2=pcapns,...)\n-l, "
      "--linktype  linktype (1=LINKTYPE_ETHERNET (with layer2), "
      "101=LINKTYPE_RAW( w/o layer2)\n");
  exit(0);
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
mov    0x2eb5(%rip),%rax
mov    (%rax),%edi
lea    0xecc(%rip),%rsi
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
mov    0x2eb8(%rip),%rax
mov    (%rax),%edi
lea    0xecf(%rip),%rsi
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [523 x i8] c"Usage: watson [OPTION]...\0ACaptures network traffic and writes to disk\0A\0A-d, --directory specific directory to create files [MANDATORY]\0A-i, --interface capture interface [MANDATORY]\0A-h, --help\09prints this help\0A-v, --verbose\09verbose\0A-s, --filesize \09filesize (default 0 - grow indefinitely)\0A-r, --ringsize ringsize (default 256M and be multiple of blocksize)\0A-c, --cpu\09bind to cpu\0A-f, --format output format (1=pcap, 2=pcapns,...)\0A-l, --linktype linktype (1=LINKTYPE_ETHERNET (with layer2), 101=LINKTYPE_RAW( w/o layer2)\0A\00"
define void @printHelp() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([523 x i8], [523 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [523 x i8] c"Usage: watson [OPTION]...\0ACaptures network traffic and writes to disk\0A\0A-d, --directory specific directory to create files [MANDATORY]\0A-i, --interface capture interface [MANDATORY]\0A-h, --help\09prints this help\0A-v, --verbose\09verbose\0A-s, --filesize \09filesize (default 0 - grow indefinitely)\0A-r, --ringsize ringsize (default 256M and be multiple of blocksize)\0A-c, --cpu\09bind to cpu\0A-f, --format output format (1=pcap, 2=pcapns,...)\0A-l, --linktype linktype (1=LINKTYPE_ETHERNET (with layer2), 101=LINKTYPE_RAW( w/o layer2)\0A\00"
define void @printHelp() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([523 x i8], [523 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @exit(i32 0)
unreachable
}