#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*/ printf(char *);
void usage(void) {
  printf("Usage: cbootimage [options] configfile imagename\n");
  printf("    options:\n");
  printf("    -h, --help, -?        Display this message.\n");
  printf("    -d, --debug           Output debugging information.\n");
  printf("    -gbct                 Generate the new bct file.\n");
  printf("    -o<ODM_DATA>          Specify the odm_data(in hex).\n");
  printf("    -t|--tegra NN         Select target device. Must be one of:\n");
  printf("                          20, 30, 114, 124.\n");
  printf("                          Default: 20. This option is deprecated\n");
  printf("    -s|--soc tegraNN      Select target device. Must be one of:\n");
  printf("                          tegra20, tegra30, tegra114, tegra124.\n");
  printf("                          Default: tegra20.\n");
  printf("    configfile            File with configuration information\n");
  printf("    imagename             Output image name\n");
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf32(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
call   1030 <printf@plt>
lea    0xfeb(%rip),%rdi
call   1030 <printf@plt>
lea    0x100c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1042(%rip),%rdi
call   1030 <printf@plt>
lea    0x1077(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ac(%rip),%rdi
call   1030 <printf@plt>
lea    0x10cd(%rip),%rdi
call   1030 <printf@plt>
lea    0x1100(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf32(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf87(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb3(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1007(%rip),%rdi
call   1030 <puts@plt>
lea    0x103c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1070(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a4(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c4(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f6(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [50 x i8] c"Usage: cbootimage [options] configfile imagename\0A\00"
@.str.1 = [14 x i8] c" options:\0A\00"
@.str.2 = [49 x i8] c" -h, --help, -? Display this message.\0A\00"
@.str.3 = [57 x i8] c" -d, --debug Output debugging information.\0A\00"
@.str.4 = [54 x i8] c" -gbct Generate the new bct file.\0A\00"
@.str.5 = [57 x i8] c" -o<ODM_DATA> Specify the odm_data(in hex).\0A\00"
@.str.6 = [65 x i8] c" -t|--tegra NN Select target device. Must be one of:\0A\00"
@.str.7 = [45 x i8] c" 20, 30, 114, 124.\0A\00"
@.str.8 = [66 x i8] c" Default: 20. This option is deprecated\0A\00"
@.str.9 = [65 x i8] c" -s|--soc tegraNN Select target device. Must be one of:\0A\00"
@.str.10 = [65 x i8] c" tegra20, tegra30, tegra114, tegra124.\0A\00"
@.str.11 = [45 x i8] c" Default: tegra20.\0A\00"
@.str.12 = [63 x i8] c" configfile File with configuration information\0A\00"
@.str.13 = [45 x i8] c" imagename Output image name\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.13, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [49 x i8] c"Usage: cbootimage [options] configfile imagename\00"
@str.14 = [13 x i8] c" options:\00"
@str.15 = [48 x i8] c" -h, --help, -? Display this message.\00"
@str.16 = [56 x i8] c" -d, --debug Output debugging information.\00"
@str.17 = [53 x i8] c" -gbct Generate the new bct file.\00"
@str.18 = [56 x i8] c" -o<ODM_DATA> Specify the odm_data(in hex).\00"
@str.19 = [64 x i8] c" -t|--tegra NN Select target device. Must be one of:\00"
@str.20 = [44 x i8] c" 20, 30, 114, 124.\00"
@str.21 = [65 x i8] c" Default: 20. This option is deprecated\00"
@str.22 = [64 x i8] c" -s|--soc tegraNN Select target device. Must be one of:\00"
@str.23 = [64 x i8] c" tegra20, tegra30, tegra114, tegra124.\00"
@str.24 = [44 x i8] c" Default: tegra20.\00"
@str.25 = [62 x i8] c" configfile File with configuration information\00"
@str.26 = [44 x i8] c" imagename Output image name\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.14, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.15, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.16, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.17, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.18, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.19, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.20, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.26, i64 0, i64 0))
ret void
}