#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 /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void usage(void) {
  printf("Usage: ipod_update [OPTIONS]\n\n");
  printf("Update the database in iPod_Control/iTunes/iTunesDB\n");
  printf("with music from the Music folder.\n\n");
  printf("  -p, --prefix=<prefix> set the iPod's prefix\n");
  printf("  -n, --noartwork       supress modifying the ArtworkDB\n");
  printf("  -c, --create=<name>   create new database\n");
  printf("  -d, --debug           increase debuging verbosity\n");
  printf("  -t, --itunes_compat   turn on itunes compatability for files\n"
         "                        with non-ASCII characters in their name\n");
  printf("  -?, --help            print this screen\n");
  printf("  -v, --version         print version\n");
  exit(0);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee8(%rip),%rdi
call   1030 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <printf@plt>
lea    0xf29(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf79(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1037(%rip),%rdi
call   1030 <printf@plt>
lea    0x1056(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xeea(%rip),%rdi
call   1030 <puts@plt>
lea    0xf12(%rip),%rdi
call   1030 <puts@plt>
lea    0xf29(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf77(%rip),%rdi
call   1030 <puts@plt>
lea    0xf97(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbf(%rip),%rdi
call   1030 <puts@plt>
lea    0x1032(%rip),%rdi
call   1030 <puts@plt>
lea    0x1050(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [31 x i8] c"Usage: ipod_update [OPTIONS]\0A\0A\00"
@.str.1 = [53 x i8] c"Update the database in iPod_Control/iTunes/iTunesDB\0A\00"
@.str.2 = [36 x i8] c"with music from the Music folder.\0A\0A\00"
@.str.3 = [47 x i8] c" -p, --prefix=<prefix> set the iPod's prefix\0A\00"
@.str.4 = [57 x i8] c" -n, --noartwork supress modifying the ArtworkDB\0A\00"
@.str.5 = [45 x i8] c" -c, --create=<name> create new database\0A\00"
@.str.6 = [53 x i8] c" -d, --debug increase debuging verbosity\0A\00"
@.str.7 = [128 x i8] c" -t, --itunes_compat turn on itunes compatability for files\0A with non-ASCII characters in their name\0A\00"
@.str.8 = [43 x i8] c" -?, --help print this screen\0A\00"
@.str.9 = [39 x i8] c" -v, --version print version\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([128 x i8], [128 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [30 x i8] c"Usage: ipod_update [OPTIONS]\0A\00"
@str.10 = [52 x i8] c"Update the database in iPod_Control/iTunes/iTunesDB\00"
@str.11 = [35 x i8] c"with music from the Music folder.\0A\00"
@str.12 = [46 x i8] c" -p, --prefix=<prefix> set the iPod's prefix\00"
@str.13 = [56 x i8] c" -n, --noartwork supress modifying the ArtworkDB\00"
@str.14 = [44 x i8] c" -c, --create=<name> create new database\00"
@str.15 = [52 x i8] c" -d, --debug increase debuging verbosity\00"
@str.16 = [127 x i8] c" -t, --itunes_compat turn on itunes compatability for files\0A with non-ASCII characters in their name\00"
@str.17 = [42 x i8] c" -?, --help print this screen\00"
@str.18 = [38 x i8] c" -v, --version print version\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.10, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.11, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.14, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([127 x i8], [127 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.17, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.18, i64 0, i64 0))
%11 = tail call i32 @exit(i32 0)
unreachable
}