#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 *);
int help() {
  printf("USAGE: raw2map [options] <file> [more options and/or files]\n");
  printf("OPTIONS:\n");
  printf("        -w [int]    : image width in pixels (default = 0)\n");
  printf(
      "                      if width is 0, image is assumed to be square\n");
  printf("        -o [string] : output filename (NOTE: affects only the next "
         "input file)\n");
  printf("                      (default = input filename but with .map "
         "extension\n");
  printf("        -h [float]  : horizontal scale in Quake units per pixel "
         "(default = 128)\n");
  printf("        -v [float]  : vertical   scale in Quake units per pixel "
         "(default = 4)\n");
  printf("        -x [float]  : X offset (lattitude) in Quake units (default = "
         "0)\n");
  printf("        -y [float]  : Y offset (longitude) in Quake units (default = "
         "0)\n");
  printf("        -z [float]  : Z offset (altitude)  in Quake units (default = "
         "0)\n");
  printf("        -f [float]  : height of brush bottoms in Quake units\n");
  printf("                      (default = Z offset - vertical scale)\n");
  printf("        -c [float]  : ceiling or sky height in Quake units\n");
  printf("                      (default = maximum terrain height + 64)\n");
  printf(
      "        -t [float]  : wall thickness in Quake units (default = 64)\n");
  printf("                      (if this is 0, no wall or hint brushes will be "
         "created)\n");
  printf("                      NOTE: -v and -z restore default floor and "
         "ceiling height\n");
  return 1;
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf16(%rip),%rdi
call   1030 <printf@plt>
lea    0xf14(%rip),%rdi
call   1030 <printf@plt>
lea    0xf43(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbf(%rip),%rdi
call   1030 <printf@plt>
lea    0xffc(%rip),%rdi
call   1030 <printf@plt>
lea    0x1041(%rip),%rdi
call   1030 <printf@plt>
lea    0x1084(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c1(%rip),%rdi
call   1030 <printf@plt>
lea    0x10fe(%rip),%rdi
call   1030 <printf@plt>
lea    0x113b(%rip),%rdi
call   1030 <printf@plt>
lea    0x116d(%rip),%rdi
call   1030 <printf@plt>
lea    0x119e(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ce(%rip),%rdi
call   1030 <printf@plt>
lea    0x1201(%rip),%rdi
call   1030 <printf@plt>
lea    0x1239(%rip),%rdi
call   1030 <printf@plt>
lea    0x127c(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf18(%rip),%rdi
call   1030 <puts@plt>
lea    0xf15(%rip),%rdi
call   1030 <puts@plt>
lea    0xf43(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbd(%rip),%rdi
call   1030 <puts@plt>
lea    0xff9(%rip),%rdi
call   1030 <puts@plt>
lea    0x103d(%rip),%rdi
call   1030 <puts@plt>
lea    0x107f(%rip),%rdi
call   1030 <puts@plt>
lea    0x10bb(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1133(%rip),%rdi
call   1030 <puts@plt>
lea    0x1164(%rip),%rdi
call   1030 <puts@plt>
lea    0x1194(%rip),%rdi
call   1030 <puts@plt>
lea    0x11c3(%rip),%rdi
call   1030 <puts@plt>
lea    0x11f5(%rip),%rdi
call   1030 <puts@plt>
lea    0x122c(%rip),%rdi
call   1030 <puts@plt>
lea    0x126e(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [61 x i8] c"USAGE: raw2map [options] <file> [more options and/or files]\0A\00"
@.str.1 = [10 x i8] c"OPTIONS:\0A\00"
@.str.2 = [59 x i8] c" -w [int] : image width in pixels (default = 0)\0A\00"
@.str.3 = [68 x i8] c" if width is 0, image is assumed to be square\0A\00"
@.str.4 = [80 x i8] c" -o [string] : output filename (NOTE: affects only the next input file)\0A\00"
@.str.5 = [73 x i8] c" (default = input filename but with .map extension\0A\00"
@.str.6 = [81 x i8] c" -h [float] : horizontal scale in Quake units per pixel (default = 128)\0A\00"
@.str.7 = [79 x i8] c" -v [float] : vertical scale in Quake units per pixel (default = 4)\0A\00"
@.str.8 = [73 x i8] c" -x [float] : X offset (lattitude) in Quake units (default = 0)\0A\00"
@.str.9 = [73 x i8] c" -y [float] : Y offset (longitude) in Quake units (default = 0)\0A\00"
@.str.10 = [73 x i8] c" -z [float] : Z offset (altitude) in Quake units (default = 0)\0A\00"
@.str.11 = [62 x i8] c" -f [float] : height of brush bottoms in Quake units\0A\00"
@.str.12 = [61 x i8] c" (default = Z offset - vertical scale)\0A\00"
@.str.13 = [60 x i8] c" -c [float] : ceiling or sky height in Quake units\0A\00"
@.str.14 = [63 x i8] c" (default = maximum terrain height + 64)\0A\00"
@.str.15 = [68 x i8] c" -t [float] : wall thickness in Quake units (default = 64)\0A\00"
@.str.16 = [79 x i8] c" (if this is 0, no wall or hint brushes will be created)\0A\00"
@.str.17 = [80 x i8] c" NOTE: -v and -z restore default floor and ceiling height\0A\00"
define i32 @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.17, i64 0, i64 0))
ret i32 1
}

LLVM IR (-O2):
@str = [60 x i8] c"USAGE: raw2map [options] <file> [more options and/or files]\00"
@str.18 = [9 x i8] c"OPTIONS:\00"
@str.19 = [58 x i8] c" -w [int] : image width in pixels (default = 0)\00"
@str.20 = [67 x i8] c" if width is 0, image is assumed to be square\00"
@str.21 = [79 x i8] c" -o [string] : output filename (NOTE: affects only the next input file)\00"
@str.22 = [72 x i8] c" (default = input filename but with .map extension\00"
@str.23 = [80 x i8] c" -h [float] : horizontal scale in Quake units per pixel (default = 128)\00"
@str.24 = [78 x i8] c" -v [float] : vertical scale in Quake units per pixel (default = 4)\00"
@str.25 = [72 x i8] c" -x [float] : X offset (lattitude) in Quake units (default = 0)\00"
@str.26 = [72 x i8] c" -y [float] : Y offset (longitude) in Quake units (default = 0)\00"
@str.27 = [72 x i8] c" -z [float] : Z offset (altitude) in Quake units (default = 0)\00"
@str.28 = [61 x i8] c" -f [float] : height of brush bottoms in Quake units\00"
@str.29 = [60 x i8] c" (default = Z offset - vertical scale)\00"
@str.30 = [59 x i8] c" -c [float] : ceiling or sky height in Quake units\00"
@str.31 = [62 x i8] c" (default = maximum terrain height + 64)\00"
@str.32 = [67 x i8] c" -t [float] : wall thickness in Quake units (default = 64)\00"
@str.33 = [78 x i8] c" (if this is 0, no wall or hint brushes will be created)\00"
@str.34 = [79 x i8] c" NOTE: -v and -z restore default floor and ceiling height\00"
define i32 @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.18, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.19, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.20, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.21, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.22, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.23, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.24, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.25, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.26, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.27, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.28, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.29, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.30, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.32, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.33, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.34, i64 0, i64 0))
ret i32 1
}