#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *, char *, char *,
                           int);
void startrail_help(FILE *file, char *basename, char *cmd) {
  fprintf(
      file,
      "Usage: %s %s [options] [file...]\n\n"
      "Options:\n"
      "    -o <output>         Output JPEG file. (default: %s)\n"
      "    -q <quality>        Output JPEG quality from 0 to 100 (default: "
      "%d)\n"
      "    -s <black>[:white]  Stretch contrast; black and white points could "
      "be pixel value or percentage calculated from first frame.\n"
      "    -t <begin>:<end>    Treat file name as template, e.g. '%%08d.JPG'.\n"
      "\n",
      basename, cmd, "startrails.jpg", 98);
}


x86 assembly (clang, -O0):
<startrail_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
lea    0xec9(%rip),%rsi
lea    0x1037(%rip),%r8
mov    $0x62,%r9d
call   1030 <fprintf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<startrail_help>:
mov    %rdx,%rcx
mov    %rsi,%rdx
lea    0xee3(%rip),%rsi
lea    0x1051(%rip),%r8
mov    $0x62,%r9d
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [373 x i8] c"Usage: %s %s [options] [file...]\0A\0AOptions:\0A -o <output> Output JPEG file. (default: %s)\0A -q <quality> Output JPEG quality from 0 to 100 (default: %d)\0A -s <black>[:white] Stretch contrast; black and white points could be pixel value or percentage calculated from first frame.\0A -t <begin>:<end> Treat file name as template, e.g. '%%08d.JPG'.\0A\0A\00"
@.str.1 = [15 x i8] c"startrails.jpg\00"
define void @startrail_help(i32* %0, i8* %1, i8* %2) {
%4 = alloca i32*
%5 = alloca i8*
%6 = alloca i8*
store i32* %0, i32** %4
store i8* %1, i8** %5
store i8* %2, i8** %6
%7 = load i32*, i32** %4
%8 = load i8*, i8** %5
%9 = load i8*, i8** %6
%10 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([373 x i8], [373 x i8]* @.str, i64 0, i64 0), i8* %8, i8* %9, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 98)
ret void
}

LLVM IR (-O2):
@.str = [373 x i8] c"Usage: %s %s [options] [file...]\0A\0AOptions:\0A -o <output> Output JPEG file. (default: %s)\0A -q <quality> Output JPEG quality from 0 to 100 (default: %d)\0A -s <black>[:white] Stretch contrast; black and white points could be pixel value or percentage calculated from first frame.\0A -t <begin>:<end> Treat file name as template, e.g. '%%08d.JPG'.\0A\0A\00"
@.str.1 = [15 x i8] c"startrails.jpg\00"
define void @startrail_help(i32* nocapture %0, i8* %1, i8* %2) {
%4 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([373 x i8], [373 x i8]* @.str, i64 0, i64 0), i8* %1, i8* %2, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 98)
ret void
}