#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 XCB_COPY_FROM_PARENT;
int XCB_CURRENT_TIME;
int XCB_EXPOSE;
int XCB_NONE;
int XCB_NO_SYMBOL;
int /*<<< orphan*/ printf(char *, int);
int main(int argc, char **argv) {
  printf("XCB_EXPOSE = %d\n", XCB_EXPOSE);
  printf("XCB_NONE = %d\n", XCB_NONE);
  printf("XCB_CURRENT_TIME = %d\n", XCB_CURRENT_TIME);
  printf("XCB_NO_SYMBOL = %d\n", XCB_NO_SYMBOL);
  printf("XCB_COPY_FROM_PARENT: %d\n", XCB_COPY_FROM_PARENT);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2eb3(%rip),%rax
mov    (%rax),%esi
lea    0xeca(%rip),%rdi
call   1030 <printf@plt>
mov    0x2eb6(%rip),%rax
mov    (%rax),%esi
lea    0xec6(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e81(%rip),%rax
mov    (%rax),%esi
lea    0xec0(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e64(%rip),%rax
mov    (%rax),%esi
lea    0xec2(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e47(%rip),%rax
mov    (%rax),%esi
lea    0xec1(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    0x2ec8(%rip),%rax
mov    (%rax),%esi
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
mov    0x2ecb(%rip),%rax
mov    (%rax),%esi
lea    0xedb(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e96(%rip),%rax
mov    (%rax),%esi
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e79(%rip),%rax
mov    (%rax),%esi
lea    0xed7(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e5c(%rip),%rax
mov    (%rax),%esi
lea    0xed6(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [17 x i8] c"XCB_EXPOSE = %d\0A\00"
@XCB_EXPOSE = global i32 0
@.str.1 = [15 x i8] c"XCB_NONE = %d\0A\00"
@XCB_NONE = global i32 0
@.str.2 = [23 x i8] c"XCB_CURRENT_TIME = %d\0A\00"
@XCB_CURRENT_TIME = global i32 0
@.str.3 = [20 x i8] c"XCB_NO_SYMBOL = %d\0A\00"
@XCB_NO_SYMBOL = global i32 0
@.str.4 = [26 x i8] c"XCB_COPY_FROM_PARENT: %d\0A\00"
@XCB_COPY_FROM_PARENT = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* @XCB_EXPOSE
%7 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @XCB_NONE
%9 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 %8)
%10 = load i32, i32* @XCB_CURRENT_TIME
%11 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i32 %10)
%12 = load i32, i32* @XCB_NO_SYMBOL
%13 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %12)
%14 = load i32, i32* @XCB_COPY_FROM_PARENT
%15 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0), i32 %14)
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"XCB_EXPOSE = %d\0A\00"
@XCB_EXPOSE = global i32 0
@.str.1 = [15 x i8] c"XCB_NONE = %d\0A\00"
@XCB_NONE = global i32 0
@.str.2 = [23 x i8] c"XCB_CURRENT_TIME = %d\0A\00"
@XCB_CURRENT_TIME = global i32 0
@.str.3 = [20 x i8] c"XCB_NO_SYMBOL = %d\0A\00"
@XCB_NO_SYMBOL = global i32 0
@.str.4 = [26 x i8] c"XCB_COPY_FROM_PARENT: %d\0A\00"
@XCB_COPY_FROM_PARENT = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = load i32, i32* @XCB_EXPOSE
%4 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %3)
%5 = load i32, i32* @XCB_NONE
%6 = tail call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 %5)
%7 = load i32, i32* @XCB_CURRENT_TIME
%8 = tail call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%9 = load i32, i32* @XCB_NO_SYMBOL
%10 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @XCB_COPY_FROM_PARENT
%12 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0), i32 %11)
ret i32 0
}