#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 help(void) {
  printf("Usage: dfu-suffix [options] <file>\n"
         "  -h --help\tPrint this help message\n"
         "  -V --version\tPrint the version number\n"
         "  -D --delete\tDelete DFU suffix from <file>\n"
         "  -p --pid\tAdd product ID into DFU suffix in <file>\n"
         "  -v --vid\tAdd vendor ID into DFU suffix in <file>\n"
         "  -d --did\tAdd device ID into DFU suffix in <file>\n"
         "  -c --check\tCheck DFU suffix of <file>\n"
         "  -a --add\tAdd DFU suffix to <file>\n");
  printf("  -s --stellaris-address <address>  Add TI Stellaris address "
         "prefix to <file>,\n\t\tto be used together with -a\n"
         "  -T --stellaris  Act on TI Stellaris extension prefix of "
         "<file>, to be used\n\t\tin combination with -D or -c\n");
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0x105b(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0x105d(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [386 x i8] c"Usage: dfu-suffix [options] <file>\0A -h --help\09Print this help message\0A -V --version\09Print the version number\0A -D --delete\09Delete DFU suffix from <file>\0A -p --pid\09Add product ID into DFU suffix in <file>\0A -v --vid\09Add vendor ID into DFU suffix in <file>\0A -d --did\09Add device ID into DFU suffix in <file>\0A -c --check\09Check DFU suffix of <file>\0A -a --add\09Add DFU suffix to <file>\0A\00"
@.str.1 = [218 x i8] c" -s --stellaris-address <address> Add TI Stellaris address prefix to <file>,\0A\09\09to be used together with -a\0A -T --stellaris Act on TI Stellaris extension prefix of <file>, to be used\0A\09\09in combination with -D or -c\0A\00"
define void @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([386 x i8], [386 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([218 x i8], [218 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [385 x i8] c"Usage: dfu-suffix [options] <file>\0A -h --help\09Print this help message\0A -V --version\09Print the version number\0A -D --delete\09Delete DFU suffix from <file>\0A -p --pid\09Add product ID into DFU suffix in <file>\0A -v --vid\09Add vendor ID into DFU suffix in <file>\0A -d --did\09Add device ID into DFU suffix in <file>\0A -c --check\09Check DFU suffix of <file>\0A -a --add\09Add DFU suffix to <file>\00"
@str.2 = [217 x i8] c" -s --stellaris-address <address> Add TI Stellaris address prefix to <file>,\0A\09\09to be used together with -a\0A -T --stellaris Act on TI Stellaris extension prefix of <file>, to be used\0A\09\09in combination with -D or -c\00"
define void @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([385 x i8], [385 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([217 x i8], [217 x i8]* @str.2, i64 0, i64 0))
ret void
}