#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_SUCCESS;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void usage(void) {
  printf("ioniced %s: daemon to automagically update priority/nice-level of "
         "running programs.\n",
         "0.1");
  printf(" [-h]\t\tshow this help\n"
         " [-v]\t\tbe more verbose\n"
         " [-n]\t\tstay in foreground (no daemon)\n"
         " [-u sec]           update interval in seconds\n"
         " [-c config_file]   load given config file (default: "
         "/etc/ioniced.conf)\n"
         " [-p pid_file]      filename to store pid in\n");
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xf23(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf19(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e92(%rip),%rax
mov    (%rax),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xec8(%rip),%rdi
lea    0xf16(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf0c(%rip),%rdi
call   1030 <puts@plt>
mov    0x2e87(%rip),%rax
mov    (%rax),%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [85 x i8] c"ioniced %s: daemon to automagically update priority/nice-level of running programs.\0A\00"
@.str.1 = [4 x i8] c"0.1\00"
@.str.2 = [248 x i8] c" [-h]\09\09show this help\0A [-v]\09\09be more verbose\0A [-n]\09\09stay in foreground (no daemon)\0A [-u sec] update interval in seconds\0A [-c config_file] load given config file (default: /etc/ioniced.conf)\0A [-p pid_file] filename to store pid in\0A\00"
@EXIT_SUCCESS = global i32 0
define void @usage() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([248 x i8], [248 x i8]* @.str.2, i64 0, i64 0))
%3 = load i32, i32* @EXIT_SUCCESS
%4 = call i32 @exit(i32 %3)
unreachable
}

LLVM IR (-O2):
@.str = [85 x i8] c"ioniced %s: daemon to automagically update priority/nice-level of running programs.\0A\00"
@.str.1 = [4 x i8] c"0.1\00"
@EXIT_SUCCESS = global i32 0
@str = [247 x i8] c" [-h]\09\09show this help\0A [-v]\09\09be more verbose\0A [-n]\09\09stay in foreground (no daemon)\0A [-u sec] update interval in seconds\0A [-c config_file] load given config file (default: /etc/ioniced.conf)\0A [-p pid_file] filename to store pid in\00"
define void @usage() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([247 x i8], [247 x i8]* @str, i64 0, i64 0))
%3 = load i32, i32* @EXIT_SUCCESS
%4 = tail call i32 @exit(i32 %3)
unreachable
}