#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);
int /*<<< orphan*/ printf(char *);
void usage() {
  printf("Usage: makeEllipsoidNektar <options>\n");
  printf("Where <options> are one or more of the following:\n");
  printf("\t<-NameFile n>     Name of the output file containg the ellipsoid "
         "(default=\"toto.xml\")\n");
  printf(
      "\t<-MaxLength n>    Maximum length allowed for an edge (default=0.5)\n");
  printf("\t<-NbSubdiv n>     Number of subdivisions of each edge to make it "
         "curved (default=1)\n");
  printf("\t<-RadiusX n>      Radius of the ellipsoid in the X direction  "
         "(default=1.)\n");
  printf("\t<-RadiusY n>      Radius of the ellipsoid in the Y direction  "
         "(default=1.)\n");
  printf("\t<-RadiusZ n>      Radius of the ellipsoid in the Z direction  "
         "(default=1.)\n");
  printf("\t<-MinX n>         Bounding box - min X                        "
         "(default=-1000.)\n");
  printf("\t<-MaxX n>         Bounding box - max X                        "
         "(default=1000.)\n");
  printf("\t<-MinY n>         Bounding box - min Y                        "
         "(default=-1000.)\n");
  printf("\t<-MaxY n>         Bounding box - max Y                        "
         "(default=1000.)\n");
  printf("\t<-MinZ n>         Bounding box - min Z                        "
         "(default=-1000.)\n");
  printf("\t<-MaxZ n>         Bounding box - max Z                        "
         "(default=1000.)\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
call   1030 <printf@plt>
lea    0xf16(%rip),%rdi
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1026(%rip),%rdi
call   1030 <printf@plt>
lea    0x1067(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a8(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ed(%rip),%rdi
call   1030 <printf@plt>
lea    0x1131(%rip),%rdi
call   1030 <printf@plt>
lea    0x1176(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ba(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ff(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef1(%rip),%rdi
call   1030 <puts@plt>
lea    0xf17(%rip),%rdi
call   1030 <puts@plt>
lea    0xf62(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1023(%rip),%rdi
call   1030 <puts@plt>
lea    0x1063(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a3(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e7(%rip),%rdi
call   1030 <puts@plt>
lea    0x112a(%rip),%rdi
call   1030 <puts@plt>
lea    0x116e(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b1(%rip),%rdi
call   1030 <puts@plt>
lea    0x11f5(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [38 x i8] c"Usage: makeEllipsoidNektar <options>\0A\00"
@.str.1 = [51 x i8] c"Where <options> are one or more of the following:\0A\00"
@.str.2 = [88 x i8] c"\09<-NameFile n> Name of the output file containg the ellipsoid (default=\22toto.xml\22)\0A\00"
@.str.3 = [69 x i8] c"\09<-MaxLength n> Maximum length allowed for an edge (default=0.5)\0A\00"
@.str.4 = [86 x i8] c"\09<-NbSubdiv n> Number of subdivisions of each edge to make it curved (default=1)\0A\00"
@.str.5 = [77 x i8] c"\09<-RadiusX n> Radius of the ellipsoid in the X direction (default=1.)\0A\00"
@.str.6 = [77 x i8] c"\09<-RadiusY n> Radius of the ellipsoid in the Y direction (default=1.)\0A\00"
@.str.7 = [77 x i8] c"\09<-RadiusZ n> Radius of the ellipsoid in the Z direction (default=1.)\0A\00"
@.str.8 = [81 x i8] c"\09<-MinX n> Bounding box - min X (default=-1000.)\0A\00"
@.str.9 = [80 x i8] c"\09<-MaxX n> Bounding box - max X (default=1000.)\0A\00"
@.str.10 = [81 x i8] c"\09<-MinY n> Bounding box - min Y (default=-1000.)\0A\00"
@.str.11 = [80 x i8] c"\09<-MaxY n> Bounding box - max Y (default=1000.)\0A\00"
@.str.12 = [81 x i8] c"\09<-MinZ n> Bounding box - min Z (default=-1000.)\0A\00"
@.str.13 = [80 x i8] c"\09<-MaxZ n> Bounding box - max Z (default=1000.)\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@str = [37 x i8] c"Usage: makeEllipsoidNektar <options>\00"
@str.14 = [50 x i8] c"Where <options> are one or more of the following:\00"
@str.15 = [87 x i8] c"\09<-NameFile n> Name of the output file containg the ellipsoid (default=\22toto.xml\22)\00"
@str.16 = [68 x i8] c"\09<-MaxLength n> Maximum length allowed for an edge (default=0.5)\00"
@str.17 = [85 x i8] c"\09<-NbSubdiv n> Number of subdivisions of each edge to make it curved (default=1)\00"
@str.18 = [76 x i8] c"\09<-RadiusX n> Radius of the ellipsoid in the X direction (default=1.)\00"
@str.19 = [76 x i8] c"\09<-RadiusY n> Radius of the ellipsoid in the Y direction (default=1.)\00"
@str.20 = [76 x i8] c"\09<-RadiusZ n> Radius of the ellipsoid in the Z direction (default=1.)\00"
@str.21 = [80 x i8] c"\09<-MinX n> Bounding box - min X (default=-1000.)\00"
@str.22 = [79 x i8] c"\09<-MaxX n> Bounding box - max X (default=1000.)\00"
@str.23 = [80 x i8] c"\09<-MinY n> Bounding box - min Y (default=-1000.)\00"
@str.24 = [79 x i8] c"\09<-MaxY n> Bounding box - max Y (default=1000.)\00"
@str.25 = [80 x i8] c"\09<-MinZ n> Bounding box - min Z (default=-1000.)\00"
@str.26 = [79 x i8] c"\09<-MaxZ n> Bounding box - max Z (default=1000.)\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.14, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([87 x i8], [87 x i8]* @str.15, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.16, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @str.17, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.18, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.19, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.20, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.21, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.22, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.23, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.24, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.25, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.26, i64 0, i64 0))
%15 = tail call i32 @exit(i32 1)
unreachable
}