#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*/ print_copyright();
int /*<<< orphan*/ printf(char *);
void print_tessgrd_help() {
  printf("Usage: tessgrd [PARAMS] [OPTIONS]\n\n");
  printf("Make a regular grid of points.\n\n");
  printf("All units either SI or degrees!\n\n");
  printf("Output:\n");
  printf("  Printed to standard output (stdout) in the format:\n");
  printf("    lon1    lat1    height\n");
  printf("    lon2    lat1    height\n");
  printf("    ...     ...     ...\n");
  printf("    lonNLON lat1    height\n");
  printf("    lon1    lat2    height\n");
  printf("    ...     ...     ...\n");
  printf("    ...     ...     ...\n");
  printf("    lonNLON latNLAT height\n\n");
  printf("  * Comments about the provenance of the data are inserted into\n");
  printf("    the top of the output\n\n");
  printf("Parameters:\n");
  printf("  -r           W/E/S/N: Bounding region of the grid.\n");
  printf("  -b           NLON/NLAT: Number of grid points in the\n");
  printf("               longitudinal and latitudinal directions.\n");
  printf("  -z           HEIGHT: Height of the grid with respect to the\n");
  printf("               mean Earth radius.\n");
  printf("  -h           Print instructions.\n");
  printf("  --version    Print version and license information.\n");
  printf("\nOptions:\n");
  printf("  -v           Enable verbose printing to stderr.\n");
  printf("  -lFILENAME   Print log messages to file FILENAME.\n");
  print_copyright();
}


x86 assembly (clang, -O0):
<print_tessgrd_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
call   1030 <printf@plt>
lea    0xf02(%rip),%rdi
call   1030 <printf@plt>
lea    0xf18(%rip),%rdi
call   1030 <printf@plt>
lea    0xf15(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf74(%rip),%rdi
call   1030 <printf@plt>
lea    0xf85(%rip),%rdi
call   1030 <printf@plt>
lea    0xfba(%rip),%rdi
call   1030 <printf@plt>
lea    0xfca(%rip),%rdi
call   1030 <printf@plt>
lea    0xfcb(%rip),%rdi
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1021(%rip),%rdi
call   1030 <printf@plt>
lea    0x104e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1081(%rip),%rdi
call   1030 <printf@plt>
lea    0x1098(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b0(%rip),%rdi
call   1030 <printf@plt>
lea    0x10db(%rip),%rdi
call   1030 <printf@plt>
lea    0x10da(%rip),%rdi
call   1030 <printf@plt>
lea    0x1101(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <print_copyright@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_tessgrd_help>:
push   %rbx
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xeef(%rip),%rdi
call   1030 <puts@plt>
lea    0xf03(%rip),%rdi
call   1030 <puts@plt>
lea    0xf18(%rip),%rdi
call   1030 <puts@plt>
lea    0xf14(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf91(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf4c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5b(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xf72(%rip),%rdi
call   1030 <puts@plt>
lea    0xf82(%rip),%rdi
call   1030 <puts@plt>
lea    0xfb6(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfee(%rip),%rdi
call   1030 <puts@plt>
lea    0x1019(%rip),%rdi
call   1030 <puts@plt>
lea    0x1045(%rip),%rdi
call   1030 <puts@plt>
lea    0x1077(%rip),%rdi
call   1030 <puts@plt>
lea    0x108d(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a4(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ce(%rip),%rdi
call   1030 <puts@plt>
lea    0x10cc(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f2(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rbx
jmp    1040 <print_copyright@plt>

LLVM IR (-O0):
@.str = [36 x i8] c"Usage: tessgrd [PARAMS] [OPTIONS]\0A\0A\00"
@.str.1 = [33 x i8] c"Make a regular grid of points.\0A\0A\00"
@.str.2 = [34 x i8] c"All units either SI or degrees!\0A\0A\00"
@.str.3 = [9 x i8] c"Output:\0A\00"
@.str.4 = [54 x i8] c" Printed to standard output (stdout) in the format:\0A\00"
@.str.5 = [28 x i8] c" lon1 lat1 height\0A\00"
@.str.6 = [28 x i8] c" lon2 lat1 height\0A\00"
@.str.7 = [25 x i8] c" ... ... ...\0A\00"
@.str.8 = [28 x i8] c" lonNLON lat1 height\0A\00"
@.str.9 = [28 x i8] c" lon1 lat2 height\0A\00"
@.str.10 = [29 x i8] c" lonNLON latNLAT height\0A\0A\00"
@.str.11 = [65 x i8] c" * Comments about the provenance of the data are inserted into\0A\00"
@.str.12 = [28 x i8] c" the top of the output\0A\0A\00"
@.str.13 = [13 x i8] c"Parameters:\0A\00"
@.str.14 = [54 x i8] c" -r W/E/S/N: Bounding region of the grid.\0A\00"
@.str.15 = [56 x i8] c" -b NLON/NLAT: Number of grid points in the\0A\00"
@.str.16 = [57 x i8] c" longitudinal and latitudinal directions.\0A\00"
@.str.17 = [63 x i8] c" -z HEIGHT: Height of the grid with respect to the\0A\00"
@.str.18 = [35 x i8] c" mean Earth radius.\0A\00"
@.str.19 = [36 x i8] c" -h Print instructions.\0A\00"
@.str.20 = [55 x i8] c" --version Print version and license information.\0A\00"
@.str.21 = [11 x i8] c"\0AOptions:\0A\00"
@.str.22 = [51 x i8] c" -v Enable verbose printing to stderr.\0A\00"
@.str.23 = [53 x i8] c" -lFILENAME Print log messages to file FILENAME.\0A\00"
define void @print_tessgrd_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.11, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.14, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.15, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.16, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.17, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.18, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.19, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.20, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.22, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.23, i64 0, i64 0))
%27 = call i32 (...) @print_copyright()
ret void
}

LLVM IR (-O2):
@str = [35 x i8] c"Usage: tessgrd [PARAMS] [OPTIONS]\0A\00"
@str.24 = [32 x i8] c"Make a regular grid of points.\0A\00"
@str.25 = [33 x i8] c"All units either SI or degrees!\0A\00"
@str.26 = [8 x i8] c"Output:\00"
@str.27 = [53 x i8] c" Printed to standard output (stdout) in the format:\00"
@str.28 = [27 x i8] c" lon1 lat1 height\00"
@str.29 = [27 x i8] c" lon2 lat1 height\00"
@str.31 = [27 x i8] c" lonNLON lat1 height\00"
@str.32 = [27 x i8] c" lon1 lat2 height\00"
@str.34 = [24 x i8] c" ... ... ...\00"
@str.35 = [28 x i8] c" lonNLON latNLAT height\0A\00"
@str.36 = [64 x i8] c" * Comments about the provenance of the data are inserted into\00"
@str.37 = [27 x i8] c" the top of the output\0A\00"
@str.38 = [12 x i8] c"Parameters:\00"
@str.39 = [53 x i8] c" -r W/E/S/N: Bounding region of the grid.\00"
@str.40 = [55 x i8] c" -b NLON/NLAT: Number of grid points in the\00"
@str.41 = [56 x i8] c" longitudinal and latitudinal directions.\00"
@str.42 = [62 x i8] c" -z HEIGHT: Height of the grid with respect to the\00"
@str.43 = [34 x i8] c" mean Earth radius.\00"
@str.44 = [35 x i8] c" -h Print instructions.\00"
@str.45 = [54 x i8] c" --version Print version and license information.\00"
@str.46 = [10 x i8] c"\0AOptions:\00"
@str.47 = [50 x i8] c" -v Enable verbose printing to stderr.\00"
@str.48 = [52 x i8] c" -lFILENAME Print log messages to file FILENAME.\00"
define void @print_tessgrd_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.24, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.25, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.26, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.27, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.28, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.29, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.34, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.31, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.32, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.34, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.34, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.35, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.36, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.37, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.38, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.39, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.40, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.41, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.42, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.43, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.44, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.45, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.46, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.47, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.48, i64 0, i64 0))
%27 = tail call i32 (...) @print_copyright()
ret void
}