#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void usage() {
  printf("Usage: setbathy <file> [-i <imin>:<imax>] [-j <jmin>:<jmax>]\n");
  printf("                [-d <nx>x<ny>] [-o <line No. offset>] [-v] -z "
         "<value>\n");
  printf("Description: in a text file containing <nx> x <ny> lines with some "
         "data\n");
  printf("  e.g. bathymetry values, `setbathy' sets values in specified index "
         "range to\n");
  printf("  a specified value. The first (or pointed) line of the file should "
         "contain\n");
  printf("  the header \"## <nx> x <ny>\" with grid dimensions; otherwhile one "
         "must\n");
  printf("  enter them by using \"-d\" option.\n");
  exit(0);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <printf@plt>
lea    0xf42(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc1(%rip),%rdi
call   1030 <printf@plt>
lea    0x1002(%rip),%rdi
call   1030 <printf@plt>
lea    0x103f(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xf43(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7f(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc0(%rip),%rdi
call   1030 <puts@plt>
lea    0x1000(%rip),%rdi
call   1030 <puts@plt>
lea    0x103c(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [62 x i8] c"Usage: setbathy <file> [-i <imin>:<imax>] [-j <jmin>:<jmax>]\0A\00"
@.str.1 = [71 x i8] c" [-d <nx>x<ny>] [-o <line No. offset>] [-v] -z <value>\0A\00"
@.str.2 = [73 x i8] c"Description: in a text file containing <nx> x <ny> lines with some data\0A\00"
@.str.3 = [78 x i8] c" e.g. bathymetry values, `setbathy' sets values in specified index range to\0A\00"
@.str.4 = [77 x i8] c" a specified value. The first (or pointed) line of the file should contain\0A\00"
@.str.5 = [73 x i8] c" the header \22## <nx> x <ny>\22 with grid dimensions; otherwhile one must\0A\00"
@.str.6 = [36 x i8] c" enter them by using \22-d\22 option.\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 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 ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [61 x i8] c"Usage: setbathy <file> [-i <imin>:<imax>] [-j <jmin>:<jmax>]\00"
@str.7 = [70 x i8] c" [-d <nx>x<ny>] [-o <line No. offset>] [-v] -z <value>\00"
@str.8 = [72 x i8] c"Description: in a text file containing <nx> x <ny> lines with some data\00"
@str.9 = [77 x i8] c" e.g. bathymetry values, `setbathy' sets values in specified index range to\00"
@str.10 = [76 x i8] c" a specified value. The first (or pointed) line of the file should contain\00"
@str.11 = [72 x i8] c" the header \22## <nx> x <ny>\22 with grid dimensions; otherwhile one must\00"
@str.12 = [35 x i8] c" enter them by using \22-d\22 option.\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.7, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.8, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.9, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.10, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.11, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.12, i64 0, i64 0))
%8 = tail call i32 @exit(i32 0)
unreachable
}