#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 print_help(void) {
  printf(
      "usage: gears3d [options]"
      "\n"
      ""
      "\n"
      "optional arguments:"
      "\n"
      "  --gl-compat           run with OpenGL compatibility profile"
      "\n"
      "  --gl-core             run with OpenGL core profile"
      "\n"
      "  --gles                run with OpenGLES"
      "\n"
      "  --max-frames=n        quit after `n` frames are drawn"
      "\n"
      "  --max-time=ms         quit after `ms` milliseconds"
      "\n"
      "  --output-file=fn      save to file `fn` (ppm supported)"
      "\n"
      "  --sim-time=ms         sim frame time in milliseconds (default is wall "
      "time)"
      "\n"
      "  --speed=dps           gear speed in degrees per second (default is 70)"
      "\n"
      "  --vk                  run with Vulkan"
      "\n"
      "  --vsync               run syncronized with monitor refresh"
      "\n"
      "  --win-size=WxH        `W` and `H` are the window size (default "
      "300x300)"
      "\n"
      "  --winsys=w            where `w` is none, wayland or x11"
      "\n"
      "  -h, --help            display help message and exit"
      "\n");
}


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

x86 assembly (clang, -O2):
<print_help>:
lea    0xee9(%rip),%rdi
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [809 x i8] c"usage: gears3d [options]\0A\0Aoptional arguments:\0A --gl-compat run with OpenGL compatibility profile\0A --gl-core run with OpenGL core profile\0A --gles run with OpenGLES\0A --max-frames=n quit after `n` frames are drawn\0A --max-time=ms quit after `ms` milliseconds\0A --output-file=fn save to file `fn` (ppm supported)\0A --sim-time=ms sim frame time in milliseconds (default is wall time)\0A --speed=dps gear speed in degrees per second (default is 70)\0A --vk run with Vulkan\0A --vsync run syncronized with monitor refresh\0A --win-size=WxH `W` and `H` are the window size (default 300x300)\0A --winsys=w where `w` is none, wayland or x11\0A -h, --help display help message and exit\0A\00"
define void @print_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([809 x i8], [809 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [808 x i8] c"usage: gears3d [options]\0A\0Aoptional arguments:\0A --gl-compat run with OpenGL compatibility profile\0A --gl-core run with OpenGL core profile\0A --gles run with OpenGLES\0A --max-frames=n quit after `n` frames are drawn\0A --max-time=ms quit after `ms` milliseconds\0A --output-file=fn save to file `fn` (ppm supported)\0A --sim-time=ms sim frame time in milliseconds (default is wall time)\0A --speed=dps gear speed in degrees per second (default is 70)\0A --vk run with Vulkan\0A --vsync run syncronized with monitor refresh\0A --win-size=WxH `W` and `H` are the window size (default 300x300)\0A --winsys=w where `w` is none, wayland or x11\0A -h, --help display help message and exit\00"
define void @print_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([808 x i8], [808 x i8]* @str, i64 0, i64 0))
ret void
}