#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*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
int _usage(void) {
  fputs("Usage: "
        "ls"
        " [-CFRacdilqrtu1][-H | -L]\n  -C	Write multi-column output\n  "
        "-F	Write a symbol after files names depending on their type\n  "
        "-R	Recursively list subdirectories encountered\n  -a	Write "
        "out all hidden directory entries\n  -c	Use time of last modification "
        "of file status\n  -d	Treat directories like files\n",
        stderr);
  fputs("  -l	Write out in long format\n  -t	Sort with the last modified "
        "file first\n  -u	Use time of last access\n  -1	Force output "
        "to be one entry per line\n  -H	Dereference symbolic links\n  "
        "-L	Evaluate symbolic links\n",
        stderr);
  return 1;
}


x86 assembly (clang, -O0):
<_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%esi
lea    0xedc(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2eb0(%rip),%rax
mov    (%rax),%esi
lea    0xffa(%rip),%rdi
call   1030 <fputs@plt>
mov    $0x1,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<_usage>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%esi
lea    0xedf(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0x1004(%rip),%rdi
call   1030 <fputs@plt>
mov    $0x1,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [307 x i8] c"Usage: ls [-CFRacdilqrtu1][-H | -L]\0A -C\09Write multi-column output\0A -F\09Write a symbol after files names depending on their type\0A -R\09Recursively list subdirectories encountered\0A -a\09Write out all hidden directory entries\0A -c\09Use time of last modification of file status\0A -d\09Treat directories like files\0A\00"
@stderr = global i32 0
@.str.1 = [208 x i8] c" -l\09Write out in long format\0A -t\09Sort with the last modified file first\0A -u\09Use time of last access\0A -1\09Force output to be one entry per line\0A -H\09Dereference symbolic links\0A -L\09Evaluate symbolic links\0A\00"
define i32 @_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fputs(i8* getelementptr inbounds ([307 x i8], [307 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @stderr
%4 = call i32 @fputs(i8* getelementptr inbounds ([208 x i8], [208 x i8]* @.str.1, i64 0, i64 0), i32 %3)
ret i32 1
}

LLVM IR (-O2):
@.str = [307 x i8] c"Usage: ls [-CFRacdilqrtu1][-H | -L]\0A -C\09Write multi-column output\0A -F\09Write a symbol after files names depending on their type\0A -R\09Recursively list subdirectories encountered\0A -a\09Write out all hidden directory entries\0A -c\09Use time of last modification of file status\0A -d\09Treat directories like files\0A\00"
@stderr = global i32 0
@.str.1 = [208 x i8] c" -l\09Write out in long format\0A -t\09Sort with the last modified file first\0A -u\09Use time of last access\0A -1\09Force output to be one entry per line\0A -H\09Dereference symbolic links\0A -L\09Evaluate symbolic links\0A\00"
define i32 @_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fputs(i8* getelementptr inbounds ([307 x i8], [307 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = load i32, i32* @stderr
%4 = tail call i32 @fputs(i8* getelementptr inbounds ([208 x i8], [208 x i8]* @.str.1, i64 0, i64 0), i32 %3)
ret i32 1
}