#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void print_usage() {
  fprintf(stderr,
          "Usage: nn [options ...] input\n"
          "Options:\n"
          "   -l file:        The file to log to. Defaults to stderr.\n"
          "   -R radius:      Initial R0 value.\n"
          "   -r reserve:     Number of particles to reserve space for.\n"
          "   -v | --verbose: Equivalent to --log-level=debug.\n"
          "   -n nbmax:       Synonym for --nb-max nbmax.\n"
          "   -t tstep:       Regular timestep.\n"
          "   -e eta:         Timestep accuracy.\n"
          "   -f time:        End time for integration.\n"
          "   -p interval:    Time interval for printing.\n"
          "   -a:             Print initial forces and then quit.\n"
          "\n"
          "   --log-level=[debug|info|warning|error]: Set the log level.\n"
          "   --version:  Print version info and exit.\n"
          "   --nb-max=n: Set the maximum number of neighbours.\n"
          "   --lmax=l:   Set the LMAX parameter.\n"
          "\n"
          "If input = '-', particles are read from stdin.\n");
}


x86 assembly (clang, -O0):
<print_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_usage>:
mov    0x2ec9(%rip),%rax
mov    (%rax),%edi
lea    0xee0(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [765 x i8] c"Usage: nn [options ...] input\0AOptions:\0A -l file: The file to log to. Defaults to stderr.\0A -R radius: Initial R0 value.\0A -r reserve: Number of particles to reserve space for.\0A -v | --verbose: Equivalent to --log-level=debug.\0A -n nbmax: Synonym for --nb-max nbmax.\0A -t tstep: Regular timestep.\0A -e eta: Timestep accuracy.\0A -f time: End time for integration.\0A -p interval: Time interval for printing.\0A -a: Print initial forces and then quit.\0A\0A --log-level=[debug|info|warning|error]: Set the log level.\0A --version: Print version info and exit.\0A --nb-max=n: Set the maximum number of neighbours.\0A --lmax=l: Set the LMAX parameter.\0A\0AIf input = '-', particles are read from stdin.\0A\00"
define void @print_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([765 x i8], [765 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [765 x i8] c"Usage: nn [options ...] input\0AOptions:\0A -l file: The file to log to. Defaults to stderr.\0A -R radius: Initial R0 value.\0A -r reserve: Number of particles to reserve space for.\0A -v | --verbose: Equivalent to --log-level=debug.\0A -n nbmax: Synonym for --nb-max nbmax.\0A -t tstep: Regular timestep.\0A -e eta: Timestep accuracy.\0A -f time: End time for integration.\0A -p interval: Time interval for printing.\0A -a: Print initial forces and then quit.\0A\0A --log-level=[debug|info|warning|error]: Set the log level.\0A --version: Print version info and exit.\0A --nb-max=n: Set the maximum number of neighbours.\0A --lmax=l: Set the LMAX parameter.\0A\0AIf input = '-', particles are read from stdin.\0A\00"
define void @print_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([765 x i8], [765 x i8]* @.str, i64 0, i64 0))
ret void
}