#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*/ wrap_one_var(char *, char *, char *, char *);
void gen_public_vars(void) {
  wrap_one_var("stdscr", "Window", "Standard_Window", "Window");
  wrap_one_var("curscr", "Window", "Current_Window", "Window");
  wrap_one_var("LINES", "C_Int", "Lines", "Line_Count");
  wrap_one_var("COLS", "C_Int", "Columns", "Column_Count");
  wrap_one_var("TABSIZE", "C_Int", "Tab_Size", "Natural");
  wrap_one_var("COLORS", "C_Int", "Number_Of_Colors", "Natural");
  wrap_one_var("COLOR_PAIRS", "C_Int", "Number_Of_Color_Pairs", "Natural");
}


x86 assembly (clang, -O0):
<gen_public_vars>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xeee(%rip),%rcx
lea    0xede(%rip),%rdx
mov    %rcx,%rsi
call   1030 <wrap_one_var@plt>
lea    0xedf(%rip),%rdi
lea    0xed1(%rip),%rcx
lea    0xed8(%rip),%rdx
mov    %rcx,%rsi
call   1030 <wrap_one_var@plt>
lea    0xed8(%rip),%rdi
lea    0xed7(%rip),%rsi
lea    0xed6(%rip),%rdx
lea    0xed5(%rip),%rcx
call   1030 <wrap_one_var@plt>
lea    0xed4(%rip),%rdi
lea    0xeb6(%rip),%rsi
lea    0xecb(%rip),%rdx
lea    0xecc(%rip),%rcx
call   1030 <wrap_one_var@plt>
lea    0xecd(%rip),%rdi
lea    0xe95(%rip),%rsi
lea    0xec7(%rip),%rdx
lea    0xec9(%rip),%rcx
call   1030 <wrap_one_var@plt>
lea    0xec5(%rip),%rdi
lea    0xe74(%rip),%rsi
lea    0xebe(%rip),%rdx
lea    0xea8(%rip),%rcx
call   1030 <wrap_one_var@plt>
lea    0xebc(%rip),%rdi
lea    0xe53(%rip),%rsi
lea    0xeba(%rip),%rdx
lea    0xe87(%rip),%rcx
call   1030 <wrap_one_var@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<gen_public_vars>:
push   %r14
push   %rbx
push   %rax
lea    0xee5(%rip),%rdi
lea    0xee5(%rip),%rdx
lea    0xee7(%rip),%rbx
mov    %rbx,%rsi
mov    %rbx,%rcx
call   1030 <wrap_one_var@plt>
lea    0xedc(%rip),%rdi
lea    0xedc(%rip),%rdx
mov    %rbx,%rsi
mov    %rbx,%rcx
call   1030 <wrap_one_var@plt>
lea    0xed9(%rip),%rdi
lea    0xed8(%rip),%rbx
lea    0xed7(%rip),%rdx
lea    0xed6(%rip),%rcx
mov    %rbx,%rsi
call   1030 <wrap_one_var@plt>
lea    0xed2(%rip),%rdi
lea    0xed0(%rip),%rdx
lea    0xed1(%rip),%rcx
mov    %rbx,%rsi
call   1030 <wrap_one_var@plt>
lea    0xecf(%rip),%rdi
lea    0xed0(%rip),%rdx
lea    0xed2(%rip),%r14
mov    %rbx,%rsi
mov    %r14,%rcx
call   1030 <wrap_one_var@plt>
lea    0xec8(%rip),%rdi
lea    0xec8(%rip),%rdx
mov    %rbx,%rsi
mov    %r14,%rcx
call   1030 <wrap_one_var@plt>
lea    0xec7(%rip),%rdi
lea    0xecc(%rip),%rdx
mov    %rbx,%rsi
mov    %r14,%rcx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <wrap_one_var@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"stdscr\00"
@.str.1 = [7 x i8] c"Window\00"
@.str.2 = [16 x i8] c"Standard_Window\00"
@.str.3 = [7 x i8] c"curscr\00"
@.str.4 = [15 x i8] c"Current_Window\00"
@.str.5 = [6 x i8] c"LINES\00"
@.str.6 = [6 x i8] c"C_Int\00"
@.str.7 = [6 x i8] c"Lines\00"
@.str.8 = [11 x i8] c"Line_Count\00"
@.str.9 = [5 x i8] c"COLS\00"
@.str.10 = [8 x i8] c"Columns\00"
@.str.11 = [13 x i8] c"Column_Count\00"
@.str.12 = [8 x i8] c"TABSIZE\00"
@.str.13 = [9 x i8] c"Tab_Size\00"
@.str.14 = [8 x i8] c"Natural\00"
@.str.15 = [7 x i8] c"COLORS\00"
@.str.16 = [17 x i8] c"Number_Of_Colors\00"
@.str.17 = [12 x i8] c"COLOR_PAIRS\00"
@.str.18 = [22 x i8] c"Number_Of_Color_Pairs\00"
define void @gen_public_vars() {
%1 = call i32 @wrap_one_var(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @wrap_one_var(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @wrap_one_var(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%4 = call i32 @wrap_one_var(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
%5 = call i32 @wrap_one_var(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%6 = call i32 @wrap_one_var(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%7 = call i32 @wrap_one_var(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"stdscr\00"
@.str.1 = [7 x i8] c"Window\00"
@.str.2 = [16 x i8] c"Standard_Window\00"
@.str.3 = [7 x i8] c"curscr\00"
@.str.4 = [15 x i8] c"Current_Window\00"
@.str.5 = [6 x i8] c"LINES\00"
@.str.6 = [6 x i8] c"C_Int\00"
@.str.7 = [6 x i8] c"Lines\00"
@.str.8 = [11 x i8] c"Line_Count\00"
@.str.9 = [5 x i8] c"COLS\00"
@.str.10 = [8 x i8] c"Columns\00"
@.str.11 = [13 x i8] c"Column_Count\00"
@.str.12 = [8 x i8] c"TABSIZE\00"
@.str.13 = [9 x i8] c"Tab_Size\00"
@.str.14 = [8 x i8] c"Natural\00"
@.str.15 = [7 x i8] c"COLORS\00"
@.str.16 = [17 x i8] c"Number_Of_Colors\00"
@.str.17 = [12 x i8] c"COLOR_PAIRS\00"
@.str.18 = [22 x i8] c"Number_Of_Color_Pairs\00"
define void @gen_public_vars() {
%1 = tail call i32 @wrap_one_var(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @wrap_one_var(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @wrap_one_var(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%4 = tail call i32 @wrap_one_var(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
%5 = tail call i32 @wrap_one_var(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%6 = tail call i32 @wrap_one_var(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%7 = tail call i32 @wrap_one_var(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
ret void
}