#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 *);
int /*<<< orphan*/ stderr;
void print_usage(int argc, char **argv) {
  fprintf(
      stderr,
      "Usage: %s [-slkdqhv] [-u users] [-m message] [-b path]\n"
      "\n"
      "-s, --no-sysreq              Keep sysrequests enabled.\n"
      "-l, --no-lock                Do not lock terminal switching.\n"
      "-k, --no-kernel-messages     Do not mute kernel messages while the "
      "console is locked.\n"
      "-u, --users users            Comma separated list of users allowed to "
      "unlock.\n"
      "                             Note that the root user will always be "
      "able to unlock.\n"
      "-m, --message message        Display the given message instead of the "
      "default one.\n"
      "-d, --dark                   Dark mode: switch off the screen after "
      "locking.\n"
      "-q, --quick                  Quick mode: do not wait for enter to be "
      "pressed to unlock.\n"
      "\n"
      "-b, --background             Set background image.\n"
      "    --background-fill        Background fill mode. Available values:\n"
      "                             - center: center the image without "
      "resizing it.\n"
      "                             - stretch: stretch the image to fill all "
      "the available space.\n"
      "                             - resize: like stretch, but keeps image "
      "proportions.\n"
      "                             - resize-fill: resize the image to fill "
      "the screen but keep proportions. (default)\n"
      "    --fbdev                  Path to the framebuffer device to use to "
      "draw the background.\n"
      "\n"
      "-D, --no-detach              Dont't detach: waits for the screen to be "
      "unlocked before returning.\n"
      "\n"
      "-h, --help                   Display this help text.\n"
      "-v, --version                Display version information.\n",
      argv[0]);
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2eba(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xeca(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

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

LLVM IR (-O0):
@stderr = global i32 0
@.str = [1454 x i8] c"Usage: %s [-slkdqhv] [-u users] [-m message] [-b path]\0A\0A-s, --no-sysreq Keep sysrequests enabled.\0A-l, --no-lock Do not lock terminal switching.\0A-k, --no-kernel-messages Do not mute kernel messages while the console is locked.\0A-u, --users users Comma separated list of users allowed to unlock.\0A Note that the root user will always be able to unlock.\0A-m, --message message Display the given message instead of the default one.\0A-d, --dark Dark mode: switch off the screen after locking.\0A-q, --quick Quick mode: do not wait for enter to be pressed to unlock.\0A\0A-b, --background Set background image.\0A --background-fill Background fill mode. Available values:\0A - center: center the image without resizing it.\0A - stretch: stretch the image to fill all the available space.\0A - resize: like stretch, but keeps image proportions.\0A - resize-fill: resize the image to fill the screen but keep proportions. (default)\0A --fbdev Path to the framebuffer device to use to draw the background.\0A\0A-D, --no-detach Dont't detach: waits for the screen to be unlocked before returning.\0A\0A-h, --help Display this help text.\0A-v, --version Display version information.\0A\00"
define void @print_usage(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
store i32 %0, i32* %3
store i8** %1, i8*** %4
%5 = load i32, i32* @stderr
%6 = load i8**, i8*** %4
%7 = getelementptr inbounds i8*, i8** %6, i64 0
%8 = load i8*, i8** %7
%9 = call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([1454 x i8], [1454 x i8]* @.str, i64 0, i64 0), i8* %8)
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [1454 x i8] c"Usage: %s [-slkdqhv] [-u users] [-m message] [-b path]\0A\0A-s, --no-sysreq Keep sysrequests enabled.\0A-l, --no-lock Do not lock terminal switching.\0A-k, --no-kernel-messages Do not mute kernel messages while the console is locked.\0A-u, --users users Comma separated list of users allowed to unlock.\0A Note that the root user will always be able to unlock.\0A-m, --message message Display the given message instead of the default one.\0A-d, --dark Dark mode: switch off the screen after locking.\0A-q, --quick Quick mode: do not wait for enter to be pressed to unlock.\0A\0A-b, --background Set background image.\0A --background-fill Background fill mode. Available values:\0A - center: center the image without resizing it.\0A - stretch: stretch the image to fill all the available space.\0A - resize: like stretch, but keeps image proportions.\0A - resize-fill: resize the image to fill the screen but keep proportions. (default)\0A --fbdev Path to the framebuffer device to use to draw the background.\0A\0A-D, --no-detach Dont't detach: waits for the screen to be unlocked before returning.\0A\0A-h, --help Display this help text.\0A-v, --version Display version information.\0A\00"
define void @print_usage(i32 %0, i8** nocapture %1) {
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %1
%5 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([1454 x i8], [1454 x i8]* @.str, i64 0, i64 0), i8* %4)
ret void
}