#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*/ fprintf(int /*<<< orphan*/, char *, char const *);
int /*<<< orphan*/ stderr;
void usage(const char *self) {
  fprintf(
      stderr,
      "usage: %1$s NAME OPTIONS COMMAND\n"
      "\n"
      "Runs COMMAND inside the home directory container with the given name.\n"
      "Within the container, your real home directory will be invisible "
      "(modulo\n"
      "options below), replaced by a directory that starts out empty, but "
      "which\n"
      "persists across runs with the same container name.\n"
      "\n"
      "Hint: You can maintain multiple \"profiles\" (different configurations\n"
      "of the same app) by running the same app in multiple containers.\n"
      "\n"
      "Options:\n"
      "    --nx      Prevent executing files from locations that are "
      "writable.\n"
      "    -r <dir>  Make <dir> from your real homedir accessible in the\n"
      "              container read-only.\n"
      "    -w <dir>  Make <dir> from your real homedir accessible in the\n"
      "              container with full access.\n"
      "    -h <dir>  Hide <dir>, a subdirectory of a <dir> passed to a "
      "previous\n"
      "              -w or -r. This makes the directory inaccessible in the\n"
      "              container (it will appear empty and unwritable).\n"
      "\n"
      "Example:\n"
      "    %1$s browser -w Downloads google-chrome\n"
      "        Runs Google Chrome in a container but lets it put downloads in\n"
      "        your real \"Downloads\" directory.\n",
      self);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ebd(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xed0(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
mov    %rdi,%rdx
mov    0x2ec6(%rip),%rax
mov    (%rax),%edi
lea    0xedd(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [1099 x i8] c"usage: %1$s NAME OPTIONS COMMAND\0A\0ARuns COMMAND inside the home directory container with the given name.\0AWithin the container, your real home directory will be invisible (modulo\0Aoptions below), replaced by a directory that starts out empty, but which\0Apersists across runs with the same container name.\0A\0AHint: You can maintain multiple \22profiles\22 (different configurations\0Aof the same app) by running the same app in multiple containers.\0A\0AOptions:\0A --nx Prevent executing files from locations that are writable.\0A -r <dir> Make <dir> from your real homedir accessible in the\0A container read-only.\0A -w <dir> Make <dir> from your real homedir accessible in the\0A container with full access.\0A -h <dir> Hide <dir>, a subdirectory of a <dir> passed to a previous\0A -w or -r. This makes the directory inaccessible in the\0A container (it will appear empty and unwritable).\0A\0AExample:\0A %1$s browser -w Downloads google-chrome\0A Runs Google Chrome in a container but lets it put downloads in\0A your real \22Downloads\22 directory.\0A\00"
define void @usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([1099 x i8], [1099 x i8]* @.str, i64 0, i64 0), i8* %4)
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [1099 x i8] c"usage: %1$s NAME OPTIONS COMMAND\0A\0ARuns COMMAND inside the home directory container with the given name.\0AWithin the container, your real home directory will be invisible (modulo\0Aoptions below), replaced by a directory that starts out empty, but which\0Apersists across runs with the same container name.\0A\0AHint: You can maintain multiple \22profiles\22 (different configurations\0Aof the same app) by running the same app in multiple containers.\0A\0AOptions:\0A --nx Prevent executing files from locations that are writable.\0A -r <dir> Make <dir> from your real homedir accessible in the\0A container read-only.\0A -w <dir> Make <dir> from your real homedir accessible in the\0A container with full access.\0A -h <dir> Hide <dir>, a subdirectory of a <dir> passed to a previous\0A -w or -r. This makes the directory inaccessible in the\0A container (it will appear empty and unwritable).\0A\0AExample:\0A %1$s browser -w Downloads google-chrome\0A Runs Google Chrome in a container but lets it put downloads in\0A your real \22Downloads\22 directory.\0A\00"
define void @usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([1099 x i8], [1099 x i8]* @.str, i64 0, i64 0), i8* %0)
ret void
}