#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*/ time_t;
struct utsname {
  int /*<<< orphan*/ machine;
  int /*<<< orphan*/ release;
  int /*<<< orphan*/ sysname;
};
typedef int /*<<< orphan*/ WINDOW;

/* Variables and functions */
int /*<<< orphan*/ ACS_HLINE;
int /*<<< orphan*/ ACS_VLINE;
int /*<<< orphan*/ A_BOLD;
int /*<<< orphan*/ A_UNDERLINE;
int /*<<< orphan*/ attroff(int /*<<< orphan*/);
int /*<<< orphan*/ attron(int /*<<< orphan*/);
int /*<<< orphan*/ box(int /*<<< orphan*/ *, int /*<<< orphan*/,
                       int /*<<< orphan*/);
int /*<<< orphan*/ clear();
int /*<<< orphan*/ ctime(int /*<<< orphan*/ *);
int /*<<< orphan*/ getch();
scalar_t__ gethostname(char *, int);
int /*<<< orphan*/ getlogin();
int /*<<< orphan*/ move(int, int);
int /*<<< orphan*/ mvprintw(int, int, char *, ...);
int /*<<< orphan*/ mvwprintw(int /*<<< orphan*/ *, int, int, char *);
int /*<<< orphan*/ *newwin(int, int, int, int);
int /*<<< orphan*/ *stdscr;
int /*<<< orphan*/ sysctls(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
scalar_t__ uname(struct utsname *);
int /*<<< orphan*/ uptime(int /*<<< orphan*/ *);
int /*<<< orphan*/ werase(int /*<<< orphan*/ *);
int /*<<< orphan*/ wgetch(int /*<<< orphan*/ *);
int sysinfo(void) {
  WINDOW *ERROR;
  char computer[256];
  struct utsname uts;
  if (gethostname(computer, 255) != 0 || uname(&uts) < 0) {
    ERROR = newwin(5, 51, 6, 15);
    box(ERROR, ACS_VLINE, ACS_HLINE);
    mvwprintw(ERROR, 1, 2, "Unable to open host information");
    mvwprintw(ERROR, 2, 2, "Press any key to return to menu");
    wgetch(ERROR);
    werase(ERROR);
  }
  time_t timeval;
  (void)time(&timeval);
  clear();
  box(stdscr, ACS_VLINE, ACS_HLINE);
  attron(A_UNDERLINE);
  mvprintw(1, 25, "%s System Information", "FreeBSD SMIT");
  attroff(A_UNDERLINE);
  attron(A_BOLD);
  mvprintw(3, 10, "Date/Time: ");
  mvprintw(5, 10, "Username: ");
  mvprintw(6, 10, "Hostname: ");
  mvprintw(8, 10, "O/S: ");
  mvprintw(9, 10, "Release: ");
  mvprintw(10, 10, "ARCH: ");
  attroff(A_BOLD);
  mvprintw(3, 25, "%s", ctime(&timeval));
  mvprintw(5, 25, "%s", getlogin());
  mvprintw(6, 25, "%s", computer);
  mvprintw(8, 25, "%s", uts.sysname);
  mvprintw(9, 25, "%s", uts.release);
  mvprintw(10, 25, "%s", uts.machine);
  sysctls(0);
  time_t now;
  time(&now);
  uptime(&now);
  mvprintw(17, 2, "Press Enter when finished viewing & return to previous");
  move(18, 2);
  getch();
  return 0;
}


x86 assembly (clang, -O0):
<sysinfo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
lea    -0x110(%rbp),%rdi
mov    $0xff,%esi
call   1100 <gethostname@plt>
cmp    $0x0,%rax
jne    125c <sysinfo+0x3c>
lea    -0x120(%rbp),%rdi
call   1050 <uname@plt>
cmp    $0x0,%rax
jge    12d7 <sysinfo+0xb7>
mov    $0x5,%edi
mov    $0x33,%esi
mov    $0x6,%edx
mov    $0xf,%ecx
call   1060 <newwin@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    0x2d44(%rip),%rax
mov    (%rax),%esi
mov    0x2d4b(%rip),%rax
mov    (%rax),%edx
call   1090 <box@plt>
mov    -0x8(%rbp),%rdi
mov    $0x1,%esi
mov    $0x2,%edx
lea    0xd57(%rip),%rcx
call   10e0 <mvwprintw@plt>
mov    -0x8(%rbp),%rdi
mov    $0x2,%edx
lea    0xd62(%rip),%rcx
mov    %edx,%esi
call   10e0 <mvwprintw@plt>
mov    -0x8(%rbp),%rdi
call   10d0 <wgetch@plt>
mov    -0x8(%rbp),%rdi
call   1130 <werase@plt>
lea    -0x124(%rbp),%rdi
call   10a0 <time@plt>
mov    $0x0,%al
call   1110 <clear@plt>
mov    0x2cf7(%rip),%rax
mov    (%rax),%rdi
mov    0x2ccd(%rip),%rax
mov    (%rax),%esi
mov    0x2cd4(%rip),%rax
mov    (%rax),%edx
call   1090 <box@plt>
mov    0x2cae(%rip),%rax
mov    (%rax),%edi
call   1070 <attron@plt>
mov    $0x1,%edi
mov    $0x19,%esi
lea    0xd16(%rip),%rdx
lea    0xd25(%rip),%rcx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    0x2c81(%rip),%rax
mov    (%rax),%edi
call   1030 <attroff@plt>
mov    0x2c83(%rip),%rax
mov    (%rax),%edi
call   1070 <attron@plt>
mov    $0x3,%edi
mov    $0xa,%esi
lea    0xcfe(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    $0x5,%edi
mov    $0xa,%esi
lea    0xcf2(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    $0x6,%edi
mov    $0xa,%esi
lea    0xce5(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    $0x8,%edi
mov    $0xa,%esi
lea    0xcd8(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    $0x9,%edi
mov    $0xa,%esi
lea    0xcc6(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    $0xa,%esi
lea    0xcbd(%rip),%rdx
mov    %esi,%edi
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    0x2be8(%rip),%rax
mov    (%rax),%edi
call   1030 <attroff@plt>
lea    -0x124(%rbp),%rdi
call   1040 <ctime@plt>
mov    %eax,%ecx
mov    $0x3,%edi
mov    $0x19,%esi
lea    0xc8e(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    $0x0,%al
call   10b0 <getlogin@plt>
mov    %eax,%ecx
mov    $0x5,%edi
mov    $0x19,%esi
lea    0xc6d(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
lea    -0x110(%rbp),%rcx
mov    $0x6,%edi
mov    $0x19,%esi
lea    0xc4e(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    -0x118(%rbp),%ecx
mov    $0x8,%edi
mov    $0x19,%esi
lea    0xc30(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    -0x11c(%rbp),%ecx
mov    $0x9,%edi
mov    $0x19,%esi
lea    0xc12(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    -0x120(%rbp),%ecx
mov    $0xa,%edi
mov    $0x19,%esi
lea    0xbf4(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
xor    %edi,%edi
call   10f0 <sysctls@plt>
lea    -0x128(%rbp),%rdi
call   10a0 <time@plt>
lea    -0x128(%rbp),%rdi
call   1080 <uptime@plt>
mov    $0x11,%edi
mov    $0x2,%esi
lea    0xbc0(%rip),%rdx
mov    $0x0,%al
call   1120 <mvprintw@plt>
mov    $0x12,%edi
mov    $0x2,%esi
call   1140 <move@plt>
mov    $0x0,%al
call   10c0 <getch@plt>
xor    %eax,%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sysinfo>:
push   %r14
push   %rbx
sub    $0x128,%rsp
lea    0x20(%rsp),%rdi
mov    $0xff,%esi
call   1100 <gethostname@plt>
test   %rax,%rax
jne    124d <sysinfo+0x2d>
lea    0x8(%rsp),%rdi
call   1050 <uname@plt>
test   %rax,%rax
jns    12c5 <sysinfo+0xa5>
mov    $0x5,%edi
mov    $0x33,%esi
mov    $0x6,%edx
mov    $0xf,%ecx
call   1060 <newwin@plt>
mov    %rax,%rbx
mov    0x2d58(%rip),%rax
mov    (%rax),%esi
mov    0x2d5f(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
call   1090 <box@plt>
lea    0xd76(%rip),%rcx
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
call   10e0 <mvwprintw@plt>
lea    0xd7d(%rip),%rcx
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
call   10e0 <mvwprintw@plt>
mov    %rbx,%rdi
call   10d0 <wgetch@plt>
mov    %rbx,%rdi
call   1130 <werase@plt>
lea    0x1c(%rsp),%r14
mov    %r14,%rdi
call   10a0 <time@plt>
xor    %eax,%eax
call   1110 <clear@plt>
mov    0x2d08(%rip),%rax
mov    (%rax),%rdi
mov    0x2cde(%rip),%rax
mov    (%rax),%esi
mov    0x2ce5(%rip),%rax
mov    (%rax),%edx
call   1090 <box@plt>
mov    0x2cbf(%rip),%rbx
mov    (%rbx),%edi
call   1070 <attron@plt>
lea    0xd31(%rip),%rdx
lea    0xd40(%rip),%rcx
mov    $0x1,%edi
mov    $0x19,%esi
xor    %eax,%eax
call   1120 <mvprintw@plt>
mov    (%rbx),%edi
call   1030 <attroff@plt>
mov    0x2c9b(%rip),%rbx
mov    (%rbx),%edi
call   1070 <attron@plt>
lea    0xd20(%rip),%rdx
mov    $0x3,%edi
mov    $0xa,%esi
xor    %eax,%eax
call   1120 <mvprintw@plt>
lea    0xd14(%rip),%rdx
mov    $0x5,%edi
mov    $0xa,%esi
xor    %eax,%eax
call   1120 <mvprintw@plt>
lea    0xd07(%rip),%rdx
mov    $0x6,%edi
mov    $0xa,%esi
xor    %eax,%eax
call   1120 <mvprintw@plt>
lea    0xcfa(%rip),%rdx
mov    $0x8,%edi
mov    $0xa,%esi
xor    %eax,%eax
call   1120 <mvprintw@plt>
lea    0xce8(%rip),%rdx
mov    $0x9,%edi
mov    $0xa,%esi
xor    %eax,%eax
call   1120 <mvprintw@plt>
lea    0xcda(%rip),%rdx
mov    $0xa,%edi
mov    $0xa,%esi
xor    %eax,%eax
call   1120 <mvprintw@plt>
mov    (%rbx),%edi
call   1030 <attroff@plt>
mov    %r14,%rdi
call   1040 <ctime@plt>
lea    0xcba(%rip),%rbx
mov    $0x3,%edi
mov    $0x19,%esi
mov    %rbx,%rdx
mov    %eax,%ecx
xor    %eax,%eax
call   1120 <mvprintw@plt>
xor    %eax,%eax
call   10b0 <getlogin@plt>
mov    $0x5,%edi
mov    $0x19,%esi
mov    %rbx,%rdx
mov    %eax,%ecx
xor    %eax,%eax
call   1120 <mvprintw@plt>
lea    0x20(%rsp),%rcx
mov    $0x6,%edi
mov    $0x19,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1120 <mvprintw@plt>
mov    0x10(%rsp),%ecx
mov    $0x8,%edi
mov    $0x19,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1120 <mvprintw@plt>
mov    0xc(%rsp),%ecx
mov    $0x9,%edi
mov    $0x19,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1120 <mvprintw@plt>
mov    0x8(%rsp),%ecx
mov    $0xa,%edi
mov    $0x19,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1120 <mvprintw@plt>
xor    %edi,%edi
call   10f0 <sysctls@plt>
lea    0x18(%rsp),%rbx
mov    %rbx,%rdi
call   10a0 <time@plt>
mov    %rbx,%rdi
call   1080 <uptime@plt>
lea    0xc06(%rip),%rdx
mov    $0x11,%edi
mov    $0x2,%esi
xor    %eax,%eax
call   1120 <mvprintw@plt>
mov    $0x12,%edi
mov    $0x2,%esi
call   1140 <move@plt>
xor    %eax,%eax
call   10c0 <getch@plt>
xor    %eax,%eax
add    $0x128,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
%struct.utsname = type { i32, i32, i32 }
@ACS_VLINE = global i32 0
@ACS_HLINE = global i32 0
@.str = [32 x i8] c"Unable to open host information\00"
@.str.1 = [32 x i8] c"Press any key to return to menu\00"
@stdscr = global i32* null
@A_UNDERLINE = global i32 0
@.str.2 = [22 x i8] c"%s System Information\00"
@.str.3 = [13 x i8] c"FreeBSD SMIT\00"
@A_BOLD = global i32 0
@.str.4 = [12 x i8] c"Date/Time: \00"
@.str.5 = [11 x i8] c"Username: \00"
@.str.6 = [11 x i8] c"Hostname: \00"
@.str.7 = [6 x i8] c"O/S: \00"
@.str.8 = [10 x i8] c"Release: \00"
@.str.9 = [7 x i8] c"ARCH: \00"
@.str.10 = [3 x i8] c"%s\00"
@.str.11 = [55 x i8] c"Press Enter when finished viewing & return to previous\00"
define i32 @sysinfo() {
%1 = alloca i32*
%2 = alloca [256 x i8]
%3 = alloca %struct.utsname
%4 = alloca i32
%5 = alloca i32
%6 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%7 = call i64 @gethostname(i8* %6, i32 255)
%8 = icmp ne i64 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %0
%10 = call i64 @uname(%struct.utsname* %3)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %9, %0
%13 = call i32* @newwin(i32 5, i32 51, i32 6, i32 15)
store i32* %13, i32** %1
%14 = load i32*, i32** %1
%15 = load i32, i32* @ACS_VLINE
%16 = load i32, i32* @ACS_HLINE
%17 = call i32 @box(i32* %14, i32 %15, i32 %16)
%18 = load i32*, i32** %1
%19 = call i32 @mvwprintw(i32* %18, i32 1, i32 2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%20 = load i32*, i32** %1
%21 = call i32 @mvwprintw(i32* %20, i32 2, i32 2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%22 = load i32*, i32** %1
%23 = call i32 @wgetch(i32* %22)
%24 = load i32*, i32** %1
%25 = call i32 @werase(i32* %24)
br label %26
26: ; preds = %12, %9
%27 = call i32 @time(i32* %4)
%28 = call i32 (...) @clear()
%29 = load i32*, i32** @stdscr
%30 = load i32, i32* @ACS_VLINE
%31 = load i32, i32* @ACS_HLINE
%32 = call i32 @box(i32* %29, i32 %30, i32 %31)
%33 = load i32, i32* @A_UNDERLINE
%34 = call i32 @attron(i32 %33)
%35 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 1, i32 25, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%36 = load i32, i32* @A_UNDERLINE
%37 = call i32 @attroff(i32 %36)
%38 = load i32, i32* @A_BOLD
%39 = call i32 @attron(i32 %38)
%40 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 3, i32 10, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%41 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 5, i32 10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
%42 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 6, i32 10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0))
%43 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 8, i32 10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%44 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 9, i32 10, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%45 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 10, i32 10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0))
%46 = load i32, i32* @A_BOLD
%47 = call i32 @attroff(i32 %46)
%48 = call i32 @ctime(i32* %4)
%49 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 3, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %48)
%50 = call i32 (...) @getlogin()
%51 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 5, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %50)
%52 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%53 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 6, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* %52)
%54 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i32 0, i32 2
%55 = load i32, i32* %54
%56 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 8, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %55)
%57 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i32 0, i32 1
%58 = load i32, i32* %57
%59 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 9, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i32 0, i32 0
%61 = load i32, i32* %60
%62 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 10, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %61)
%63 = call i32 @sysctls(i32 0)
%64 = call i32 @time(i32* %5)
%65 = call i32 @uptime(i32* %5)
%66 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 17, i32 2, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.11, i64 0, i64 0))
%67 = call i32 @move(i32 18, i32 2)
%68 = call i32 (...) @getch()
ret i32 0
}

LLVM IR (-O2):
%struct.utsname = type { i32, i32, i32 }
@ACS_VLINE = global i32 0
@ACS_HLINE = global i32 0
@.str = [32 x i8] c"Unable to open host information\00"
@.str.1 = [32 x i8] c"Press any key to return to menu\00"
@stdscr = global i32* null
@A_UNDERLINE = global i32 0
@.str.2 = [22 x i8] c"%s System Information\00"
@.str.3 = [13 x i8] c"FreeBSD SMIT\00"
@A_BOLD = global i32 0
@.str.4 = [12 x i8] c"Date/Time: \00"
@.str.5 = [11 x i8] c"Username: \00"
@.str.6 = [11 x i8] c"Hostname: \00"
@.str.7 = [6 x i8] c"O/S: \00"
@.str.8 = [10 x i8] c"Release: \00"
@.str.9 = [7 x i8] c"ARCH: \00"
@.str.10 = [3 x i8] c"%s\00"
@.str.11 = [55 x i8] c"Press Enter when finished viewing & return to previous\00"
define i32 @sysinfo() {
%1 = alloca [256 x i8]
%2 = alloca %struct.utsname
%3 = alloca i32
%4 = alloca i32
%5 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%6 = bitcast %struct.utsname* %2 to i8*
%7 = call i64 @gethostname(i8* %5, i32 255)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = call i64 @uname(%struct.utsname* %2)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %21
12: ; preds = %9, %0
%13 = call i32* @newwin(i32 5, i32 51, i32 6, i32 15)
%14 = load i32, i32* @ACS_VLINE
%15 = load i32, i32* @ACS_HLINE
%16 = call i32 @box(i32* %13, i32 %14, i32 %15)
%17 = call i32 @mvwprintw(i32* %13, i32 1, i32 2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%18 = call i32 @mvwprintw(i32* %13, i32 2, i32 2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.1, i64 0, i64 0))
%19 = call i32 @wgetch(i32* %13)
%20 = call i32 @werase(i32* %13)
br label %21
21: ; preds = %12, %9
%22 = bitcast i32* %3 to i8*
%23 = call i32 @time(i32* %3)
%24 = call i32 (...) @clear()
%25 = load i32*, i32** @stdscr
%26 = load i32, i32* @ACS_VLINE
%27 = load i32, i32* @ACS_HLINE
%28 = call i32 @box(i32* %25, i32 %26, i32 %27)
%29 = load i32, i32* @A_UNDERLINE
%30 = call i32 @attron(i32 %29)
%31 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 1, i32 25, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%32 = load i32, i32* @A_UNDERLINE
%33 = call i32 @attroff(i32 %32)
%34 = load i32, i32* @A_BOLD
%35 = call i32 @attron(i32 %34)
%36 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 3, i32 10, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%37 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 5, i32 10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
%38 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 6, i32 10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0))
%39 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 8, i32 10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%40 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 9, i32 10, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%41 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 10, i32 10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0))
%42 = load i32, i32* @A_BOLD
%43 = call i32 @attroff(i32 %42)
%44 = call i32 @ctime(i32* %3)
%45 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 3, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %44)
%46 = call i32 (...) @getlogin()
%47 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 5, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %46)
%48 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 6, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* %5)
%49 = getelementptr inbounds %struct.utsname, %struct.utsname* %2, i64 0, i32 2
%50 = load i32, i32* %49
%51 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 8, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %50)
%52 = getelementptr inbounds %struct.utsname, %struct.utsname* %2, i64 0, i32 1
%53 = load i32, i32* %52
%54 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 9, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %53)
%55 = getelementptr inbounds %struct.utsname, %struct.utsname* %2, i64 0, i32 0
%56 = load i32, i32* %55
%57 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 10, i32 25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %56)
%58 = call i32 @sysctls(i32 0)
%59 = bitcast i32* %4 to i8*
%60 = call i32 @time(i32* %4)
%61 = call i32 @uptime(i32* %4)
%62 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 17, i32 2, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.11, i64 0, i64 0))
%63 = call i32 @move(i32 18, i32 2)
%64 = call i32 (...) @getch()
ret i32 0
}