#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: tri2map [options] <file> [more options and/or files]\n");
  printf("OPTIONS:\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 (default = 64)\n");
  printf("        -v [float]  : vertical   scale (default = 64)\n");
  printf("        -s [float]  : sets both horizontal and vertical scale "
         "(default = 64)\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 "
         "(default = -4096)\n");
  printf("        -q [float]  : use Quake Army Knife (QuArK)'s \"three "
         "points\"\n");
  printf("                      texture alignment system to fit textures on "
         "faces\n");
  printf("                      this float value is the number of texture "
         "pixels\n");
  printf("                      to stretch along each edge of the triangles\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    0xf58(%rip),%rdi
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc0(%rip),%rdi
call   1030 <printf@plt>
lea    0xfeb(%rip),%rdi
call   1030 <printf@plt>
lea    0x102d(%rip),%rdi
call   1030 <printf@plt>
lea    0x106a(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a7(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1128(%rip),%rdi
call   1030 <printf@plt>
lea    0x1161(%rip),%rdi
call   1030 <printf@plt>
lea    0x119e(%rip),%rdi
call   1030 <printf@plt>
lea    0x11da(%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    0xf58(%rip),%rdi
call   1030 <puts@plt>
lea    0xf94(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbe(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe8(%rip),%rdi
call   1030 <puts@plt>
lea    0x1029(%rip),%rdi
call   1030 <puts@plt>
lea    0x1065(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a1(%rip),%rdi
call   1030 <puts@plt>
lea    0x10dd(%rip),%rdi
call   1030 <puts@plt>
lea    0x1120(%rip),%rdi
call   1030 <puts@plt>
lea    0x1158(%rip),%rdi
call   1030 <puts@plt>
lea    0x1194(%rip),%rdi
call   1030 <puts@plt>
lea    0x11cf(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [61 x i8] c"USAGE: tri2map [options] <file> [more options and/or files]\0A\00"
@.str.1 = [10 x i8] c"OPTIONS:\0A\00"
@.str.2 = [80 x i8] c" -o [string] : output filename (NOTE: affects only the next input file)\0A\00"
@.str.3 = [73 x i8] c" (default = input filename but with .map extension\0A\00"
@.str.4 = [55 x i8] c" -h [float] : horizontal scale (default = 64)\0A\00"
@.str.5 = [55 x i8] c" -v [float] : vertical scale (default = 64)\0A\00"
@.str.6 = [78 x i8] c" -s [float] : sets both horizontal and vertical scale (default = 64)\0A\00"
@.str.7 = [73 x i8] c" -x [float] : X offset (lattitude) in Quake units (default = 0)\0A\00"
@.str.8 = [73 x i8] c" -y [float] : Y offset (longitude) in Quake units (default = 0)\0A\00"
@.str.9 = [73 x i8] c" -z [float] : Z offset (altitude) in Quake units (default = 0)\0A\00"
@.str.10 = [80 x i8] c" -f [float] : height of brush bottoms in Quake units (default = -4096)\0A\00"
@.str.11 = [69 x i8] c" -q [float] : use Quake Army Knife (QuArK)'s \22three points\22\0A\00"
@.str.12 = [73 x i8] c" texture alignment system to fit textures on faces\0A\00"
@.str.13 = [72 x i8] c" this float value is the number of texture pixels\0A\00"
@.str.14 = [67 x i8] c" to stretch along each edge of the triangles\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 ([80 x i8], [80 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 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 ([80 x i8], [80 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.14, i64 0, i64 0))
ret i32 1
}

LLVM IR (-O2):
@str = [60 x i8] c"USAGE: tri2map [options] <file> [more options and/or files]\00"
@str.15 = [9 x i8] c"OPTIONS:\00"
@str.16 = [79 x i8] c" -o [string] : output filename (NOTE: affects only the next input file)\00"
@str.17 = [72 x i8] c" (default = input filename but with .map extension\00"
@str.18 = [54 x i8] c" -h [float] : horizontal scale (default = 64)\00"
@str.19 = [54 x i8] c" -v [float] : vertical scale (default = 64)\00"
@str.20 = [77 x i8] c" -s [float] : sets both horizontal and vertical scale (default = 64)\00"
@str.21 = [72 x i8] c" -x [float] : X offset (lattitude) in Quake units (default = 0)\00"
@str.22 = [72 x i8] c" -y [float] : Y offset (longitude) in Quake units (default = 0)\00"
@str.23 = [72 x i8] c" -z [float] : Z offset (altitude) in Quake units (default = 0)\00"
@str.24 = [79 x i8] c" -f [float] : height of brush bottoms in Quake units (default = -4096)\00"
@str.25 = [68 x i8] c" -q [float] : use Quake Army Knife (QuArK)'s \22three points\22\00"
@str.26 = [72 x i8] c" texture alignment system to fit textures on faces\00"
@str.27 = [71 x i8] c" this float value is the number of texture pixels\00"
@str.28 = [66 x i8] c" to stretch along each edge of the triangles\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.15, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.16, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.17, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.18, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.19, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.20, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.21, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.22, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.23, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.24, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.25, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.26, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.27, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.28, i64 0, i64 0))
ret i32 1
}