#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 *, char const *);
void printHelp() {
  const char message[] =
      "Program: Program pomoci iteracnich algoritmu prubezne pocita \n         "
      "arcsin a obecny logaritmus, delku lomene cary bez a s chybou\n\n"
      "Autor: Frantisek Kolacek (xkolac12@stud.fit.vutbr.cz)\n\n"
      "Pouziti: proj2 [moznosti]\n"
      " --arcsin <sigdig>     - vypocita arcsin o zadane presnosti\n"
      " --logax <sigdig> <a>  - vypocita obecny logaritmus o zadane prenosti a "
      "zakladu\n"
      " --lbl                 - vypocita delku lomene cary\n"
      " --lble <err>          - vypocita delku lomene cary s chybou\n"
      " -h                    - vypise napovedu\n";
  printf("%s\n", message);
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x200,%rsp
lea    -0x200(%rbp),%rdi
lea    0xec7(%rip),%rsi
mov    $0x1fd,%edx
call   1040 <memcpy@plt>
lea    -0x200(%rbp),%rsi
lea    0x10ac(%rip),%rdi
call   1030 <printf@plt>
add    $0x200,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHelp>:
push   %rbx
sub    $0x200,%rsp
lea    0xed1(%rip),%rsi
mov    %rsp,%rbx
mov    $0x1fd,%edx
mov    %rbx,%rdi
call   1040 <memcpy@plt>
lea    0x10b7(%rip),%rdi
mov    %rbx,%rsi
call   1030 <printf@plt>
add    $0x200,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.printHelp.message = [509 x i8] c"Program: Program pomoci iteracnich algoritmu prubezne pocita \0A arcsin a obecny logaritmus, delku lomene cary bez a s chybou\0A\0AAutor: Frantisek Kolacek (xkolac12@stud.fit.vutbr.cz)\0A\0APouziti: proj2 [moznosti]\0A --arcsin <sigdig> - vypocita arcsin o zadane presnosti\0A --logax <sigdig> <a> - vypocita obecny logaritmus o zadane prenosti a zakladu\0A --lbl - vypocita delku lomene cary\0A --lble <err> - vypocita delku lomene cary s chybou\0A -h - vypise napovedu\0A\00"
@.str = [4 x i8] c"%s\0A\00"
define void @printHelp() {
%1 = alloca [509 x i8]
%2 = bitcast [509 x i8]* %1 to i8*
%3 = getelementptr inbounds [509 x i8], [509 x i8]* %1, i64 0, i64 0
%4 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %3)
ret void
}

LLVM IR (-O2):
@__const.printHelp.message = [509 x i8] c"Program: Program pomoci iteracnich algoritmu prubezne pocita \0A arcsin a obecny logaritmus, delku lomene cary bez a s chybou\0A\0AAutor: Frantisek Kolacek (xkolac12@stud.fit.vutbr.cz)\0A\0APouziti: proj2 [moznosti]\0A --arcsin <sigdig> - vypocita arcsin o zadane presnosti\0A --logax <sigdig> <a> - vypocita obecny logaritmus o zadane prenosti a zakladu\0A --lbl - vypocita delku lomene cary\0A --lble <err> - vypocita delku lomene cary s chybou\0A -h - vypise napovedu\0A\00"
@.str = [4 x i8] c"%s\0A\00"
define void @printHelp() {
%1 = alloca [509 x i8]
%2 = getelementptr inbounds [509 x i8], [509 x i8]* %1, i64 0, i64 0
%3 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %2)
ret void
}