#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*/ nxtDisplayTextLine(int, char *);
void showArticle() {
  nxtDisplayTextLine(1, "Willkommen!");
  nxtDisplayTextLine(2, "-------------------");
  nxtDisplayTextLine(3, "Waehlen Sie:");
  nxtDisplayTextLine(4, "< - Cola");
  nxtDisplayTextLine(5, "[o] - Fanta");
  nxtDisplayTextLine(6, "> - Wasser");
}


x86 assembly (clang, -O0):
<showArticle>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
lea    0xee0(%rip),%rsi
call   1030 <nxtDisplayTextLine@plt>
mov    $0x2,%edi
lea    0xedb(%rip),%rsi
call   1030 <nxtDisplayTextLine@plt>
mov    $0x3,%edi
lea    0xede(%rip),%rsi
call   1030 <nxtDisplayTextLine@plt>
mov    $0x4,%edi
lea    0xeda(%rip),%rsi
call   1030 <nxtDisplayTextLine@plt>
mov    $0x5,%edi
lea    0xed2(%rip),%rsi
call   1030 <nxtDisplayTextLine@plt>
mov    $0x6,%edi
lea    0xecd(%rip),%rsi
call   1030 <nxtDisplayTextLine@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<showArticle>:
push   %rax
lea    0xee8(%rip),%rsi
mov    $0x1,%edi
call   1030 <nxtDisplayTextLine@plt>
lea    0xee3(%rip),%rsi
mov    $0x2,%edi
call   1030 <nxtDisplayTextLine@plt>
lea    0xee6(%rip),%rsi
mov    $0x3,%edi
call   1030 <nxtDisplayTextLine@plt>
lea    0xee2(%rip),%rsi
mov    $0x4,%edi
call   1030 <nxtDisplayTextLine@plt>
lea    0xeda(%rip),%rsi
mov    $0x5,%edi
call   1030 <nxtDisplayTextLine@plt>
lea    0xed5(%rip),%rsi
mov    $0x6,%edi
pop    %rax
jmp    1030 <nxtDisplayTextLine@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"Willkommen!\00"
@.str.1 = [20 x i8] c"-------------------\00"
@.str.2 = [13 x i8] c"Waehlen Sie:\00"
@.str.3 = [9 x i8] c"< - Cola\00"
@.str.4 = [12 x i8] c"[o] - Fanta\00"
@.str.5 = [11 x i8] c"> - Wasser\00"
define void @showArticle() {
%1 = call i32 @nxtDisplayTextLine(i32 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @nxtDisplayTextLine(i32 2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @nxtDisplayTextLine(i32 3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @nxtDisplayTextLine(i32 4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @nxtDisplayTextLine(i32 5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @nxtDisplayTextLine(i32 6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [12 x i8] c"Willkommen!\00"
@.str.1 = [20 x i8] c"-------------------\00"
@.str.2 = [13 x i8] c"Waehlen Sie:\00"
@.str.3 = [9 x i8] c"< - Cola\00"
@.str.4 = [12 x i8] c"[o] - Fanta\00"
@.str.5 = [11 x i8] c"> - Wasser\00"
define void @showArticle() {
%1 = tail call i32 @nxtDisplayTextLine(i32 1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @nxtDisplayTextLine(i32 2, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @nxtDisplayTextLine(i32 3, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @nxtDisplayTextLine(i32 4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @nxtDisplayTextLine(i32 5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @nxtDisplayTextLine(i32 6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
ret void
}