#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 A_BOLD;
int /*<<< orphan*/ AnyKey();
int COLOR_PAIR(int);
int /*<<< orphan*/ attrset(int);
int /*<<< orphan*/ clear();
int /*<<< orphan*/ mvprintw(int, int, char *);
int /*<<< orphan*/ refresh();
void db_edit() {
  clear();
  attrset(COLOR_PAIR(3) | A_BOLD);
  mvprintw(2, 15, "* PREDICT Transponder Database Editing Utility *");
  attrset(COLOR_PAIR(2) | A_BOLD);
  mvprintw(13, 33, "Coming Soon!");
  attrset(COLOR_PAIR(4) | A_BOLD);
  refresh();
  AnyKey();
}


x86 assembly (clang, -O0):
<db_edit>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1070 <clear@plt>
mov    $0x3,%edi
call   1030 <COLOR_PAIR@plt>
mov    %eax,%edi
mov    0x2e62(%rip),%rax
or     (%rax),%edi
call   1060 <attrset@plt>
mov    $0x2,%edi
mov    $0xf,%esi
lea    0xe6a(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0x2,%edi
call   1030 <COLOR_PAIR@plt>
mov    %eax,%edi
mov    0x2e32(%rip),%rax
or     (%rax),%edi
call   1060 <attrset@plt>
mov    $0xd,%edi
mov    $0x21,%esi
lea    0xe6b(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0x4,%edi
call   1030 <COLOR_PAIR@plt>
mov    %eax,%edi
mov    0x2e02(%rip),%rax
or     (%rax),%edi
call   1060 <attrset@plt>
mov    $0x0,%al
call   1040 <refresh@plt>
mov    $0x0,%al
call   1050 <AnyKey@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<db_edit>:
push   %rbx
xor    %eax,%eax
call   1070 <clear@plt>
mov    $0x3,%edi
call   1030 <COLOR_PAIR@plt>
mov    0x2e67(%rip),%rbx
or     (%rbx),%eax
mov    %eax,%edi
call   1060 <attrset@plt>
lea    0xe77(%rip),%rdx
mov    $0x2,%edi
mov    $0xf,%esi
call   1080 <mvprintw@plt>
mov    $0x2,%edi
call   1030 <COLOR_PAIR@plt>
or     (%rbx),%eax
mov    %eax,%edi
call   1060 <attrset@plt>
lea    0xe7f(%rip),%rdx
mov    $0xd,%edi
mov    $0x21,%esi
call   1080 <mvprintw@plt>
mov    $0x4,%edi
call   1030 <COLOR_PAIR@plt>
or     (%rbx),%eax
mov    %eax,%edi
call   1060 <attrset@plt>
xor    %eax,%eax
call   1040 <refresh@plt>
xor    %eax,%eax
pop    %rbx
jmp    1050 <AnyKey@plt>

LLVM IR (-O0):
@A_BOLD = global i32 0
@.str = [49 x i8] c"* PREDICT Transponder Database Editing Utility *\00"
@.str.1 = [13 x i8] c"Coming Soon!\00"
define void @db_edit() {
%1 = call i32 (...) @clear()
%2 = call i32 @COLOR_PAIR(i32 3)
%3 = load i32, i32* @A_BOLD
%4 = or i32 %2, %3
%5 = call i32 @attrset(i32 %4)
%6 = call i32 @mvprintw(i32 2, i32 15, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @COLOR_PAIR(i32 2)
%8 = load i32, i32* @A_BOLD
%9 = or i32 %7, %8
%10 = call i32 @attrset(i32 %9)
%11 = call i32 @mvprintw(i32 13, i32 33, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 @COLOR_PAIR(i32 4)
%13 = load i32, i32* @A_BOLD
%14 = or i32 %12, %13
%15 = call i32 @attrset(i32 %14)
%16 = call i32 (...) @refresh()
%17 = call i32 (...) @AnyKey()
ret void
}

LLVM IR (-O2):
@A_BOLD = global i32 0
@.str = [49 x i8] c"* PREDICT Transponder Database Editing Utility *\00"
@.str.1 = [13 x i8] c"Coming Soon!\00"
define void @db_edit() {
%1 = tail call i32 (...) @clear()
%2 = tail call i32 @COLOR_PAIR(i32 3)
%3 = load i32, i32* @A_BOLD
%4 = or i32 %3, %2
%5 = tail call i32 @attrset(i32 %4)
%6 = tail call i32 @mvprintw(i32 2, i32 15, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 @COLOR_PAIR(i32 2)
%8 = load i32, i32* @A_BOLD
%9 = or i32 %8, %7
%10 = tail call i32 @attrset(i32 %9)
%11 = tail call i32 @mvprintw(i32 13, i32 33, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%12 = tail call i32 @COLOR_PAIR(i32 4)
%13 = load i32, i32* @A_BOLD
%14 = or i32 %13, %12
%15 = tail call i32 @attrset(i32 %14)
%16 = tail call i32 (...) @refresh()
%17 = tail call i32 (...) @AnyKey()
ret void
}