#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_FAILURE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ msg_Raw(int /*<<< orphan*/ *, char *);
void usage(void) {
  msg_Raw(NULL,
          "Usage: multicat_validate [-k <start time>] [-r <file duration>] [-W "
          "<tolerance>] [-m <payload size>] <input directory>");
  msg_Raw(NULL, "    -k: start at the given position (in 27 MHz units, "
                "negative = from the end)");
  msg_Raw(NULL, "    -r: in directory mode, rotate file after this duration "
                "(default: 97200000000 ticks = 1 hour)");
  msg_Raw(NULL, "    -W: maximum tolerated wait time before the forthcoming "
                "packet (by default: 27000000 ticks = 1 second)");
  msg_Raw(NULL, "    -m: size of the payload chunk, excluding optional RTP "
                "header (default 1316)");
  exit(EXIT_FAILURE);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
xor    %eax,%eax
mov    %eax,%edi
lea    0xed1(%rip),%rsi
call   1030 <msg_Raw@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xf38(%rip),%rsi
call   1030 <msg_Raw@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xf77(%rip),%rsi
call   1030 <msg_Raw@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xfc8(%rip),%rsi
call   1030 <msg_Raw@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0x1022(%rip),%rsi
call   1030 <msg_Raw@plt>
mov    0x2e65(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rsi
xor    %edi,%edi
call   1030 <msg_Raw@plt>
lea    0xf41(%rip),%rsi
xor    %edi,%edi
call   1030 <msg_Raw@plt>
lea    0xf82(%rip),%rsi
xor    %edi,%edi
call   1030 <msg_Raw@plt>
lea    0xfd5(%rip),%rsi
xor    %edi,%edi
call   1030 <msg_Raw@plt>
lea    0x1031(%rip),%rsi
xor    %edi,%edi
call   1030 <msg_Raw@plt>
mov    0x2e72(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [119 x i8] c"Usage: multicat_validate [-k <start time>] [-r <file duration>] [-W <tolerance>] [-m <payload size>] <input directory>\00"
@.str.1 = [79 x i8] c" -k: start at the given position (in 27 MHz units, negative = from the end)\00"
@.str.2 = [97 x i8] c" -r: in directory mode, rotate file after this duration (default: 97200000000 ticks = 1 hour)\00"
@.str.3 = [106 x i8] c" -W: maximum tolerated wait time before the forthcoming packet (by default: 27000000 ticks = 1 second)\00"
@.str.4 = [80 x i8] c" -m: size of the payload chunk, excluding optional RTP header (default 1316)\00"
@EXIT_FAILURE = global i32 0
define void @usage() {
%1 = call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([119 x i8], [119 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([106 x i8], [106 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.4, i64 0, i64 0))
%6 = load i32, i32* @EXIT_FAILURE
%7 = call i32 @exit(i32 %6)
unreachable
}

LLVM IR (-O2):
@.str = [119 x i8] c"Usage: multicat_validate [-k <start time>] [-r <file duration>] [-W <tolerance>] [-m <payload size>] <input directory>\00"
@.str.1 = [79 x i8] c" -k: start at the given position (in 27 MHz units, negative = from the end)\00"
@.str.2 = [97 x i8] c" -r: in directory mode, rotate file after this duration (default: 97200000000 ticks = 1 hour)\00"
@.str.3 = [106 x i8] c" -W: maximum tolerated wait time before the forthcoming packet (by default: 27000000 ticks = 1 second)\00"
@.str.4 = [80 x i8] c" -m: size of the payload chunk, excluding optional RTP header (default 1316)\00"
@EXIT_FAILURE = global i32 0
define void @usage() {
%1 = tail call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([119 x i8], [119 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([106 x i8], [106 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @msg_Raw(i32* null, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.4, i64 0, i64 0))
%6 = load i32, i32* @EXIT_FAILURE
%7 = tail call i32 @exit(i32 %6)
unreachable
}