#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);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void usage(int e) {
  fprintf(stderr, "Usage: mtftar [-v] [-p] [-s setno] [patterns...] < "
                  "backup.btf | tar xvf -\n");
  fprintf(stderr, "       mtftar [-v] [-p] [-s setno] -f backup.btf "
                  "[patterns...] | tar xvf -\n");
  fprintf(stderr, "       mtftar [-v] [-p] [-s setno] -f backup.btf -o "
                  "output.tar [patterns...]\n");
  fprintf(stderr, "       mtftar [-v] [-p] [-s setno] -o output.tar "
                  "[patterns...] < backup.btf\n");
  fprintf(stderr, "       mtftar -l [-v] [-s setno] < backup.btf\n");
  fprintf(stderr, "       mtftar -l [-v] [-s setno] -f backup.btf\n");
  fprintf(stderr, "       mtftar -L [-v] [-s setno] < backup.btf\n");
  fprintf(stderr, "       mtftar -L [-v] [-s setno] -f backup.btf\n");
  exit(e);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    0x2eae(%rip),%rax
mov    (%rax),%edi
lea    0xec5(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e99(%rip),%rax
mov    (%rax),%edi
lea    0xefb(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e84(%rip),%rax
mov    (%rax),%edi
lea    0xf32(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e6f(%rip),%rax
mov    (%rax),%edi
lea    0xf6b(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e5a(%rip),%rax
mov    (%rax),%edi
lea    0xfa3(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e45(%rip),%rax
mov    (%rax),%edi
lea    0xfbd(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e30(%rip),%rax
mov    (%rax),%edi
lea    0xfd8(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2e1b(%rip),%rax
mov    (%rax),%edi
lea    0xff2(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x4(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rbp
push   %rbx
push   %rax
mov    %edi,%ebp
mov    0x2eb4(%rip),%rbx
mov    (%rbx),%edi
lea    0xecb(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf08(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf46(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf86(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfc5(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfe6(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1008(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1029(%rip),%rsi
call   1030 <fprintf@plt>
mov    %ebp,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [75 x i8] c"Usage: mtftar [-v] [-p] [-s setno] [patterns...] < backup.btf | tar xvf -\0A\00"
@.str.1 = [76 x i8] c" mtftar [-v] [-p] [-s setno] -f backup.btf [patterns...] | tar xvf -\0A\00"
@.str.2 = [78 x i8] c" mtftar [-v] [-p] [-s setno] -f backup.btf -o output.tar [patterns...]\0A\00"
@.str.3 = [77 x i8] c" mtftar [-v] [-p] [-s setno] -o output.tar [patterns...] < backup.btf\0A\00"
@.str.4 = [47 x i8] c" mtftar -l [-v] [-s setno] < backup.btf\0A\00"
@.str.5 = [48 x i8] c" mtftar -l [-v] [-s setno] -f backup.btf\0A\00"
@.str.6 = [47 x i8] c" mtftar -L [-v] [-s setno] < backup.btf\0A\00"
@.str.7 = [48 x i8] c" mtftar -L [-v] [-s setno] -f backup.btf\0A\00"
define void @usage(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32, i32* @stderr
%8 = call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32, i32* @stderr
%10 = call i32 @fprintf(i32 %9, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
%13 = load i32, i32* @stderr
%14 = call i32 @fprintf(i32 %13, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%15 = load i32, i32* @stderr
%16 = call i32 @fprintf(i32 %15, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%17 = load i32, i32* @stderr
%18 = call i32 @fprintf(i32 %17, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%19 = load i32, i32* %2
%20 = call i32 @exit(i32 %19)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [75 x i8] c"Usage: mtftar [-v] [-p] [-s setno] [patterns...] < backup.btf | tar xvf -\0A\00"
@.str.1 = [76 x i8] c" mtftar [-v] [-p] [-s setno] -f backup.btf [patterns...] | tar xvf -\0A\00"
@.str.2 = [78 x i8] c" mtftar [-v] [-p] [-s setno] -f backup.btf -o output.tar [patterns...]\0A\00"
@.str.3 = [77 x i8] c" mtftar [-v] [-p] [-s setno] -o output.tar [patterns...] < backup.btf\0A\00"
@.str.4 = [47 x i8] c" mtftar -l [-v] [-s setno] < backup.btf\0A\00"
@.str.5 = [48 x i8] c" mtftar -l [-v] [-s setno] -f backup.btf\0A\00"
@.str.6 = [47 x i8] c" mtftar -L [-v] [-s setno] < backup.btf\0A\00"
@.str.7 = [48 x i8] c" mtftar -L [-v] [-s setno] -f backup.btf\0A\00"
define void @usage(i32 %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stderr
%5 = tail call i32 @fprintf(i32 %4, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.1, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = tail call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.3, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = tail call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = tail call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = tail call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = tail call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%18 = tail call i32 @exit(i32 %0)
unreachable
}