#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 */
scalar_t__ O_APPEND;
scalar_t__ O_CREAT;
scalar_t__ O_EXCL;
scalar_t__ O_NOCTTY;
scalar_t__ O_NONBLOCK;
scalar_t__ O_RDONLY;
scalar_t__ O_RDWR;
scalar_t__ O_TRUNC;
scalar_t__ O_WRONLY;
int /*<<< orphan*/ printf(char *, unsigned long, unsigned long, unsigned long,
                          unsigned long, unsigned long, unsigned long,
                          unsigned long, unsigned long, unsigned long,
                          unsigned long, unsigned long, unsigned long,
                          unsigned long, unsigned long, unsigned long);
int main(void) {
  (void)printf("  O_APPEND    : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_CLOEXEC   : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_CREAT     : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_DIRECTORY : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_EXCL      : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_EXEC      : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_NOCTTY    : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_NOFOLLOW  : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_NONBLOCK  : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_RDONLY    : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_RDWR      : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_SEARCH    : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_TRUNC     : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_TTY_INIT  : constant Open_Flag_Integer_t := 16#%lx#;\n"
               "  O_WRONLY    : constant Open_Flag_Integer_t := 16#%lx#;\n",
               (unsigned long)O_APPEND, (unsigned long)0xffffffffL,
               (unsigned long)O_CREAT, (unsigned long)0xffffffffL,
               (unsigned long)O_EXCL, (unsigned long)0xffffffffL,
               (unsigned long)O_NOCTTY, (unsigned long)0xffffffffL,
               (unsigned long)O_NONBLOCK, (unsigned long)O_RDONLY,
               (unsigned long)O_RDWR, (unsigned long)0xffffffffL,
               (unsigned long)O_TRUNC, (unsigned long)0xffffffffL,
               (unsigned long)O_WRONLY);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x60,%rsp
movl   $0x0,-0x24(%rbp)
mov    0x2e6b(%rip),%rax
mov    (%rax),%rsi
mov    0x2ec1(%rip),%rax
mov    (%rax),%rcx
mov    0x2e6f(%rip),%rax
mov    (%rax),%r9
mov    0x2e6d(%rip),%rax
mov    (%rax),%r12
mov    0x2e7b(%rip),%rax
mov    (%rax),%r15
mov    0x2e69(%rip),%rax
mov    (%rax),%r14
mov    0x2e6f(%rip),%rax
mov    (%rax),%rbx
mov    0x2e7d(%rip),%rax
mov    (%rax),%r11
mov    0x2e23(%rip),%rax
mov    (%rax),%rax
lea    0xe79(%rip),%rdi
mov    $0xffffffff,%r10d
mov    %r10,%rdx
mov    %r10,%r8
mov    %r10,(%rsp)
mov    %r12,0x8(%rsp)
mov    %r10,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,0x20(%rsp)
mov    %rbx,0x28(%rsp)
mov    %r10,0x30(%rsp)
mov    %r11,0x38(%rsp)
mov    %r10,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    0x2e79(%rip),%rax
mov    (%rax),%rsi
mov    0x2ecf(%rip),%rax
mov    (%rax),%rcx
mov    0x2e7d(%rip),%rax
mov    (%rax),%r9
mov    0x2e7b(%rip),%r10
mov    0x2e8c(%rip),%r11
mov    0x2e7d(%rip),%r14
mov    0x2e86(%rip),%r15
mov    0x2e97(%rip),%r12
mov    0x2e40(%rip),%rbx
mov    $0xffffffff,%eax
lea    0xe94(%rip),%rdi
mov    $0xffffffff,%edx
mov    $0xffffffff,%r8d
push   (%rbx)
push   %rax
push   (%r12)
push   %rax
push   (%r15)
push   (%r14)
push   (%r11)
push   %rax
push   (%r10)
push   %rax
call   1030 <printf@plt>
add    $0x50,%rsp
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [856 x i8] c" O_APPEND : constant Open_Flag_Integer_t := 16#%lx#;\0A O_CLOEXEC : constant Open_Flag_Integer_t := 16#%lx#;\0A O_CREAT : constant Open_Flag_Integer_t := 16#%lx#;\0A O_DIRECTORY : constant Open_Flag_Integer_t := 16#%lx#;\0A O_EXCL : constant Open_Flag_Integer_t := 16#%lx#;\0A O_EXEC : constant Open_Flag_Integer_t := 16#%lx#;\0A O_NOCTTY : constant Open_Flag_Integer_t := 16#%lx#;\0A O_NOFOLLOW : constant Open_Flag_Integer_t := 16#%lx#;\0A O_NONBLOCK : constant Open_Flag_Integer_t := 16#%lx#;\0A O_RDONLY : constant Open_Flag_Integer_t := 16#%lx#;\0A O_RDWR : constant Open_Flag_Integer_t := 16#%lx#;\0A O_SEARCH : constant Open_Flag_Integer_t := 16#%lx#;\0A O_TRUNC : constant Open_Flag_Integer_t := 16#%lx#;\0A O_TTY_INIT : constant Open_Flag_Integer_t := 16#%lx#;\0A O_WRONLY : constant Open_Flag_Integer_t := 16#%lx#;\0A\00"
@O_APPEND = global i64 0
@O_CREAT = global i64 0
@O_EXCL = global i64 0
@O_NOCTTY = global i64 0
@O_NONBLOCK = global i64 0
@O_RDONLY = global i64 0
@O_RDWR = global i64 0
@O_TRUNC = global i64 0
@O_WRONLY = global i64 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = load i64, i64* @O_APPEND
%3 = load i64, i64* @O_CREAT
%4 = load i64, i64* @O_EXCL
%5 = load i64, i64* @O_NOCTTY
%6 = load i64, i64* @O_NONBLOCK
%7 = load i64, i64* @O_RDONLY
%8 = load i64, i64* @O_RDWR
%9 = load i64, i64* @O_TRUNC
%10 = load i64, i64* @O_WRONLY
%11 = call i32 @printf(i8* getelementptr inbounds ([856 x i8], [856 x i8]* @.str, i64 0, i64 0), i64 %2, i64 4294967295, i64 %3, i64 4294967295, i64 %4, i64 4294967295, i64 %5, i64 4294967295, i64 %6, i64 %7, i64 %8, i64 4294967295, i64 %9, i64 4294967295, i64 %10)
ret i32 0
}

LLVM IR (-O2):
@.str = [856 x i8] c" O_APPEND : constant Open_Flag_Integer_t := 16#%lx#;\0A O_CLOEXEC : constant Open_Flag_Integer_t := 16#%lx#;\0A O_CREAT : constant Open_Flag_Integer_t := 16#%lx#;\0A O_DIRECTORY : constant Open_Flag_Integer_t := 16#%lx#;\0A O_EXCL : constant Open_Flag_Integer_t := 16#%lx#;\0A O_EXEC : constant Open_Flag_Integer_t := 16#%lx#;\0A O_NOCTTY : constant Open_Flag_Integer_t := 16#%lx#;\0A O_NOFOLLOW : constant Open_Flag_Integer_t := 16#%lx#;\0A O_NONBLOCK : constant Open_Flag_Integer_t := 16#%lx#;\0A O_RDONLY : constant Open_Flag_Integer_t := 16#%lx#;\0A O_RDWR : constant Open_Flag_Integer_t := 16#%lx#;\0A O_SEARCH : constant Open_Flag_Integer_t := 16#%lx#;\0A O_TRUNC : constant Open_Flag_Integer_t := 16#%lx#;\0A O_TTY_INIT : constant Open_Flag_Integer_t := 16#%lx#;\0A O_WRONLY : constant Open_Flag_Integer_t := 16#%lx#;\0A\00"
@O_APPEND = global i64 0
@O_CREAT = global i64 0
@O_EXCL = global i64 0
@O_NOCTTY = global i64 0
@O_NONBLOCK = global i64 0
@O_RDONLY = global i64 0
@O_RDWR = global i64 0
@O_TRUNC = global i64 0
@O_WRONLY = global i64 0
define i32 @main() {
%1 = load i64, i64* @O_APPEND
%2 = load i64, i64* @O_CREAT
%3 = load i64, i64* @O_EXCL
%4 = load i64, i64* @O_NOCTTY
%5 = load i64, i64* @O_NONBLOCK
%6 = load i64, i64* @O_RDONLY
%7 = load i64, i64* @O_RDWR
%8 = load i64, i64* @O_TRUNC
%9 = load i64, i64* @O_WRONLY
%10 = tail call i32 @printf(i8* getelementptr inbounds ([856 x i8], [856 x i8]* @.str, i64 0, i64 0), i64 %1, i64 4294967295, i64 %2, i64 4294967295, i64 %3, i64 4294967295, i64 %4, i64 4294967295, i64 %5, i64 %6, i64 %7, i64 4294967295, i64 %8, i64 4294967295, i64 %9)
ret i32 0
}