#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *);
void prinHelpAndExit(FILE *stream, int exitCode) {
  fprintf(stream, "Usage: parametre [-h] [-a | alpha] [(-b | --beta) argB] (-c "
                  "| --gamma) argC [(-d | delta) [argD]]\n");
  fprintf(stream, "Program vypise nastavenie svojich vstupnych argumentov\n");
  fprintf(stream, "Prepinace:\n");
  fprintf(stream, " -h, --help   vypise help\n");
  fprintf(stream, " -a, --alpha  popis vyznamu parametra .....\n");
  fprintf(stream, " -b, --beta   popis vyznamu parametra .....\n");
  fprintf(stream, " -c, --gamma  popis vyznamu parametra .....\n");
  fprintf(stream, " -d, --delta  popis vyznamu parametra .....\n");
  exit(exitCode);
}


x86 assembly (clang, -O0):
<prinHelpAndExit>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xec6(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf19(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf41(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf3d(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf48(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf65(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf82(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf9f(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0xc(%rbp),%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<prinHelpAndExit>:
push   %rbp
push   %rbx
push   %rax
mov    %esi,%ebp
mov    %rdi,%rbx
lea    0xed1(%rip),%rdi
mov    $0x62,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf1b(%rip),%rdi
mov    $0x37,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf3a(%rip),%rdi
mov    $0xb,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf2d(%rip),%rdi
mov    $0x1a,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf2f(%rip),%rdi
mov    $0x2c,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf43(%rip),%rdi
mov    $0x2c,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf57(%rip),%rdi
mov    $0x2c,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf6b(%rip),%rdi
mov    $0x2c,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    %ebp,%edi
call   1030 <exit@plt>

LLVM IR (-O0):
@.str = [99 x i8] c"Usage: parametre [-h] [-a | alpha] [(-b | --beta) argB] (-c | --gamma) argC [(-d | delta) [argD]]\0A\00"
@.str.1 = [56 x i8] c"Program vypise nastavenie svojich vstupnych argumentov\0A\00"
@.str.2 = [12 x i8] c"Prepinace:\0A\00"
@.str.3 = [27 x i8] c" -h, --help vypise help\0A\00"
@.str.4 = [45 x i8] c" -a, --alpha popis vyznamu parametra .....\0A\00"
@.str.5 = [45 x i8] c" -b, --beta popis vyznamu parametra .....\0A\00"
@.str.6 = [45 x i8] c" -c, --gamma popis vyznamu parametra .....\0A\00"
@.str.7 = [45 x i8] c" -d, --delta popis vyznamu parametra .....\0A\00"
define void @prinHelpAndExit(i32* %0, i32 %1) {
%3 = alloca i32*
%4 = alloca i32
store i32* %0, i32** %3
store i32 %1, i32* %4
%5 = load i32*, i32** %3
%6 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str, i64 0, i64 0))
%7 = load i32*, i32** %3
%8 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0))
%9 = load i32*, i32** %3
%10 = call i32 @fprintf(i32* %9, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%11 = load i32*, i32** %3
%12 = call i32 @fprintf(i32* %11, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%13 = load i32*, i32** %3
%14 = call i32 @fprintf(i32* %13, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%15 = load i32*, i32** %3
%16 = call i32 @fprintf(i32* %15, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0))
%17 = load i32*, i32** %3
%18 = call i32 @fprintf(i32* %17, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.6, i64 0, i64 0))
%19 = load i32*, i32** %3
%20 = call i32 @fprintf(i32* %19, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%21 = load i32, i32* %4
%22 = call i32 @exit(i32 %21)
unreachable
}

LLVM IR (-O2):
@.str = [99 x i8] c"Usage: parametre [-h] [-a | alpha] [(-b | --beta) argB] (-c | --gamma) argC [(-d | delta) [argD]]\0A\00"
@.str.1 = [56 x i8] c"Program vypise nastavenie svojich vstupnych argumentov\0A\00"
@.str.2 = [12 x i8] c"Prepinace:\0A\00"
@.str.3 = [27 x i8] c" -h, --help vypise help\0A\00"
@.str.4 = [45 x i8] c" -a, --alpha popis vyznamu parametra .....\0A\00"
@.str.5 = [45 x i8] c" -b, --beta popis vyznamu parametra .....\0A\00"
@.str.6 = [45 x i8] c" -c, --gamma popis vyznamu parametra .....\0A\00"
@.str.7 = [45 x i8] c" -d, --delta popis vyznamu parametra .....\0A\00"
define void @prinHelpAndExit(i32* nocapture %0, i32 %1) {
%3 = tail call i64 @fwrite(i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str, i64 0, i64 0), i64 98, i64 1, i32* %0)
%4 = tail call i64 @fwrite(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0), i64 55, i64 1, i32* %0)
%5 = tail call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i64 11, i64 1, i32* %0)
%6 = tail call i64 @fwrite(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i64 26, i64 1, i32* %0)
%7 = tail call i64 @fwrite(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0), i64 44, i64 1, i32* %0)
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i64 44, i64 1, i32* %0)
%9 = tail call i64 @fwrite(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.6, i64 0, i64 0), i64 44, i64 1, i32* %0)
%10 = tail call i64 @fwrite(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0), i64 44, i64 1, i32* %0)
%11 = tail call i32 @exit(i32 %1)
unreachable
}