#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*/ mvaddstr(int, int, char *);
void meniu2() {
  mvaddstr(1, 3, "Level 1");
  mvaddstr(2, 3, "Level 2");
  mvaddstr(3, 3, "Level 3");
  mvaddstr(4, 3, "Level 4");
  mvaddstr(5, 3, "Level 5");
  mvaddstr(6, 3, "Level 6");
  mvaddstr(7, 3, "Level 7");
  mvaddstr(8, 3, "Level 8");
  mvaddstr(9, 3, "Level 9");
  mvaddstr(10, 3, "Level 10");
}


x86 assembly (clang, -O0):
<meniu2>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
mov    $0x3,%esi
lea    0xedb(%rip),%rdx
call   1030 <mvaddstr@plt>
mov    $0x2,%edi
mov    $0x3,%esi
lea    0xecd(%rip),%rdx
call   1030 <mvaddstr@plt>
mov    $0x3,%esi
lea    0xec4(%rip),%rdx
mov    %esi,%edi
call   1030 <mvaddstr@plt>
mov    $0x4,%edi
mov    $0x3,%esi
lea    0xeb4(%rip),%rdx
call   1030 <mvaddstr@plt>
mov    $0x5,%edi
mov    $0x3,%esi
lea    0xea6(%rip),%rdx
call   1030 <mvaddstr@plt>
mov    $0x6,%edi
mov    $0x3,%esi
lea    0xe98(%rip),%rdx
call   1030 <mvaddstr@plt>
mov    $0x7,%edi
mov    $0x3,%esi
lea    0xe8a(%rip),%rdx
call   1030 <mvaddstr@plt>
mov    $0x8,%edi
mov    $0x3,%esi
lea    0xe7c(%rip),%rdx
call   1030 <mvaddstr@plt>
mov    $0x9,%edi
mov    $0x3,%esi
lea    0xe6e(%rip),%rdx
call   1030 <mvaddstr@plt>
mov    $0xa,%edi
mov    $0x3,%esi
lea    0xe60(%rip),%rdx
call   1030 <mvaddstr@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<meniu2>:
push   %rax
lea    0xee8(%rip),%rdx
mov    $0x1,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xeda(%rip),%rdx
mov    $0x2,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xecc(%rip),%rdx
mov    $0x3,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xebe(%rip),%rdx
mov    $0x4,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xeb0(%rip),%rdx
mov    $0x5,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xea2(%rip),%rdx
mov    $0x6,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xe94(%rip),%rdx
mov    $0x7,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xe86(%rip),%rdx
mov    $0x8,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xe78(%rip),%rdx
mov    $0x9,%edi
mov    $0x3,%esi
call   1030 <mvaddstr@plt>
lea    0xe6a(%rip),%rdx
mov    $0xa,%edi
mov    $0x3,%esi
pop    %rax
jmp    1030 <mvaddstr@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Level 1\00"
@.str.1 = [8 x i8] c"Level 2\00"
@.str.2 = [8 x i8] c"Level 3\00"
@.str.3 = [8 x i8] c"Level 4\00"
@.str.4 = [8 x i8] c"Level 5\00"
@.str.5 = [8 x i8] c"Level 6\00"
@.str.6 = [8 x i8] c"Level 7\00"
@.str.7 = [8 x i8] c"Level 8\00"
@.str.8 = [8 x i8] c"Level 9\00"
@.str.9 = [9 x i8] c"Level 10\00"
define void @meniu2() {
%1 = call i32 @mvaddstr(i32 1, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @mvaddstr(i32 2, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @mvaddstr(i32 3, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @mvaddstr(i32 4, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @mvaddstr(i32 5, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @mvaddstr(i32 6, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @mvaddstr(i32 7, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @mvaddstr(i32 8, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @mvaddstr(i32 9, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @mvaddstr(i32 10, i32 3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"Level 1\00"
@.str.1 = [8 x i8] c"Level 2\00"
@.str.2 = [8 x i8] c"Level 3\00"
@.str.3 = [8 x i8] c"Level 4\00"
@.str.4 = [8 x i8] c"Level 5\00"
@.str.5 = [8 x i8] c"Level 6\00"
@.str.6 = [8 x i8] c"Level 7\00"
@.str.7 = [8 x i8] c"Level 8\00"
@.str.8 = [8 x i8] c"Level 9\00"
@.str.9 = [9 x i8] c"Level 10\00"
define void @meniu2() {
%1 = tail call i32 @mvaddstr(i32 1, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @mvaddstr(i32 2, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @mvaddstr(i32 3, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @mvaddstr(i32 4, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @mvaddstr(i32 5, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @mvaddstr(i32 6, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @mvaddstr(i32 7, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @mvaddstr(i32 8, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @mvaddstr(i32 9, i32 3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @mvaddstr(i32 10, i32 3, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
ret void
}