#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 *);
void printHelp() {
  printf("Program pocita arcus sinus, druhou odmocninu ci vnitrni uhly v "
         "trojuhelniku.\n");
  printf("Spousteni: ./proj2 VOLBA HODNOTA\n\n");
  printf("Volby:\n");
  printf("  --sqrt                    vypocita druhou odmocnimu z cisla "
         "HODNOTA\n");
  printf("  --asin                    vypocita arcus sinus z cisla HODNOTA\n");
  printf("  --triangle                vypocita velikosti vnitrnich uhlu v "
         "trojuhelniku\n");
  printf("  -h  --help                vypise tuto napovedu a skonci\n\n");
  printf("Parametr HODNOTA muze byt:\n");
  printf("  pro druhou odmocninu:     desetinne cislo vetsi nebo rovno 0\n");
  printf("  pro arcus sinu:           desetinne cislo v intervalu <-1; 1>\n");
  printf("  pro vypocet uhlu:         souradnice vrcholu v poradi AX AY BX BY "
         "CX CY\n\n");
  printf("Autor: Tomas Coufal  <xcoufa09@stud.fit.vutbr.cz>\n");
  printf("Login: xcoufa09\n");
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf27(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf75(%rip),%rdi
call   1030 <printf@plt>
lea    0xfab(%rip),%rdi
call   1030 <printf@plt>
lea    0xfed(%rip),%rdi
call   1030 <printf@plt>
lea    0x101d(%rip),%rdi
call   1030 <printf@plt>
lea    0x102d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1061(%rip),%rdi
call   1030 <printf@plt>
lea    0x1096(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d6(%rip),%rdi
call   1030 <printf@plt>
lea    0x10fd(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf29(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf74(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa9(%rip),%rdi
call   1030 <puts@plt>
lea    0xfea(%rip),%rdi
call   1030 <puts@plt>
lea    0x1019(%rip),%rdi
call   1030 <puts@plt>
lea    0x1028(%rip),%rdi
call   1030 <puts@plt>
lea    0x105b(%rip),%rdi
call   1030 <puts@plt>
lea    0x108f(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ce(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f4(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [78 x i8] c"Program pocita arcus sinus, druhou odmocninu ci vnitrni uhly v trojuhelniku.\0A\00"
@.str.1 = [35 x i8] c"Spousteni: ./proj2 VOLBA HODNOTA\0A\0A\00"
@.str.2 = [8 x i8] c"Volby:\0A\00"
@.str.3 = [71 x i8] c" --sqrt vypocita druhou odmocnimu z cisla HODNOTA\0A\00"
@.str.4 = [66 x i8] c" --asin vypocita arcus sinus z cisla HODNOTA\0A\00"
@.str.5 = [78 x i8] c" --triangle vypocita velikosti vnitrnich uhlu v trojuhelniku\0A\00"
@.str.6 = [60 x i8] c" -h --help vypise tuto napovedu a skonci\0A\0A\00"
@.str.7 = [28 x i8] c"Parametr HODNOTA muze byt:\0A\00"
@.str.8 = [64 x i8] c" pro druhou odmocninu: desetinne cislo vetsi nebo rovno 0\0A\00"
@.str.9 = [65 x i8] c" pro arcus sinu: desetinne cislo v intervalu <-1; 1>\0A\00"
@.str.10 = [76 x i8] c" pro vypocet uhlu: souradnice vrcholu v poradi AX AY BX BY CX CY\0A\0A\00"
@.str.11 = [51 x i8] c"Autor: Tomas Coufal <xcoufa09@stud.fit.vutbr.cz>\0A\00"
@.str.12 = [17 x i8] c"Login: xcoufa09\0A\00"
define void @printHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [77 x i8] c"Program pocita arcus sinus, druhou odmocninu ci vnitrni uhly v trojuhelniku.\00"
@str.13 = [34 x i8] c"Spousteni: ./proj2 VOLBA HODNOTA\0A\00"
@str.14 = [7 x i8] c"Volby:\00"
@str.15 = [70 x i8] c" --sqrt vypocita druhou odmocnimu z cisla HODNOTA\00"
@str.16 = [65 x i8] c" --asin vypocita arcus sinus z cisla HODNOTA\00"
@str.17 = [77 x i8] c" --triangle vypocita velikosti vnitrnich uhlu v trojuhelniku\00"
@str.18 = [59 x i8] c" -h --help vypise tuto napovedu a skonci\0A\00"
@str.19 = [27 x i8] c"Parametr HODNOTA muze byt:\00"
@str.20 = [63 x i8] c" pro druhou odmocninu: desetinne cislo vetsi nebo rovno 0\00"
@str.21 = [64 x i8] c" pro arcus sinu: desetinne cislo v intervalu <-1; 1>\00"
@str.22 = [75 x i8] c" pro vypocet uhlu: souradnice vrcholu v poradi AX AY BX BY CX CY\0A\00"
@str.23 = [50 x i8] c"Autor: Tomas Coufal <xcoufa09@stud.fit.vutbr.cz>\00"
@str.24 = [16 x i8] c"Login: xcoufa09\00"
define void @printHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.24, i64 0, i64 0))
ret void
}