#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*/ GL_DEPTH_TEST;
int /*<<< orphan*/ GL_NEAREST;
int /*<<< orphan*/ GL_NICEST;
int /*<<< orphan*/ GL_PERSPECTIVE_CORRECTION_HINT;
int /*<<< orphan*/ GL_TEXTURE_2D;
int /*<<< orphan*/ GL_TEXTURE_MAG_FILTER;
int /*<<< orphan*/ GL_TEXTURE_MIN_FILTER;
int /*<<< orphan*/ InitMatrices();
int /*<<< orphan*/ glClearColor(float, float, float, float);
int /*<<< orphan*/ glEnable(int /*<<< orphan*/);
int /*<<< orphan*/ glHint(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ glTexParameteri(int /*<<< orphan*/, int /*<<< orphan*/,
                                   int /*<<< orphan*/);
int /*<<< orphan*/ setCheckedTexture();
void Init() {
  glClearColor(0.2f, 0.2f, 0.6f, 1.0f);
  glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
  glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
  glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
  glEnable(GL_TEXTURE_2D);
  glEnable(GL_DEPTH_TEST);
  setCheckedTexture();
  InitMatrices();
}


x86 assembly (clang, -O0):
<Init>:
push   %rbp
mov    %rsp,%rbp
movss  0xe94(%rip),%xmm1
movss  0xe90(%rip),%xmm2
movss  0xe8c(%rip),%xmm3
movaps %xmm1,%xmm0
call   1070 <glClearColor@plt>
mov    0x2e4d(%rip),%rax
mov    (%rax),%edi
mov    0x2e54(%rip),%rax
mov    (%rax),%esi
mov    0x2e2b(%rip),%rax
mov    (%rax),%edx
call   1050 <glTexParameteri@plt>
mov    0x2e2d(%rip),%rax
mov    (%rax),%edi
mov    0x2e04(%rip),%rax
mov    (%rax),%esi
mov    0x2e0b(%rip),%rax
mov    (%rax),%edx
call   1050 <glTexParameteri@plt>
mov    0x2ddd(%rip),%rax
mov    (%rax),%edi
mov    0x2dfc(%rip),%rax
mov    (%rax),%esi
call   1080 <glHint@plt>
mov    0x2df6(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2dd0(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    $0x0,%al
call   1030 <setCheckedTexture@plt>
mov    $0x0,%al
call   1040 <InitMatrices@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<Init>:
push   %r14
push   %rbx
push   %rax
movss  0xe94(%rip),%xmm0
movss  0xe90(%rip),%xmm2
movss  0xe8c(%rip),%xmm3
movaps %xmm0,%xmm1
call   1070 <glClearColor@plt>
mov    0x2e4d(%rip),%r14
mov    (%r14),%edi
mov    0x2e53(%rip),%rax
mov    (%rax),%esi
mov    0x2e2a(%rip),%rbx
mov    (%rbx),%edx
call   1050 <glTexParameteri@plt>
mov    (%r14),%edi
mov    0x2e09(%rip),%rax
mov    (%rax),%esi
mov    (%rbx),%edx
call   1050 <glTexParameteri@plt>
mov    0x2de9(%rip),%rax
mov    (%rax),%edi
mov    0x2e08(%rip),%rax
mov    (%rax),%esi
call   1080 <glHint@plt>
mov    (%r14),%edi
call   1060 <glEnable@plt>
mov    0x2de2(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
xor    %eax,%eax
call   1030 <setCheckedTexture@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <InitMatrices@plt>

LLVM IR (-O0):
@GL_TEXTURE_2D = global i32 0
@GL_TEXTURE_MIN_FILTER = global i32 0
@GL_NEAREST = global i32 0
@GL_TEXTURE_MAG_FILTER = global i32 0
@GL_PERSPECTIVE_CORRECTION_HINT = global i32 0
@GL_NICEST = global i32 0
@GL_DEPTH_TEST = global i32 0
define void @Init() {
%1 = call i32 @glClearColor(float 0x3FC99999A0000000, float 0x3FC99999A0000000, float 0x3FE3333340000000, float 1.000000e+00)
%2 = load i32, i32* @GL_TEXTURE_2D
%3 = load i32, i32* @GL_TEXTURE_MIN_FILTER
%4 = load i32, i32* @GL_NEAREST
%5 = call i32 @glTexParameteri(i32 %2, i32 %3, i32 %4)
%6 = load i32, i32* @GL_TEXTURE_2D
%7 = load i32, i32* @GL_TEXTURE_MAG_FILTER
%8 = load i32, i32* @GL_NEAREST
%9 = call i32 @glTexParameteri(i32 %6, i32 %7, i32 %8)
%10 = load i32, i32* @GL_PERSPECTIVE_CORRECTION_HINT
%11 = load i32, i32* @GL_NICEST
%12 = call i32 @glHint(i32 %10, i32 %11)
%13 = load i32, i32* @GL_TEXTURE_2D
%14 = call i32 @glEnable(i32 %13)
%15 = load i32, i32* @GL_DEPTH_TEST
%16 = call i32 @glEnable(i32 %15)
%17 = call i32 (...) @setCheckedTexture()
%18 = call i32 (...) @InitMatrices()
ret void
}

LLVM IR (-O2):
@GL_TEXTURE_2D = global i32 0
@GL_TEXTURE_MIN_FILTER = global i32 0
@GL_NEAREST = global i32 0
@GL_TEXTURE_MAG_FILTER = global i32 0
@GL_PERSPECTIVE_CORRECTION_HINT = global i32 0
@GL_NICEST = global i32 0
@GL_DEPTH_TEST = global i32 0
define void @Init() {
%1 = tail call i32 @glClearColor(float 0x3FC99999A0000000, float 0x3FC99999A0000000, float 0x3FE3333340000000, float 1.000000e+00)
%2 = load i32, i32* @GL_TEXTURE_2D
%3 = load i32, i32* @GL_TEXTURE_MIN_FILTER
%4 = load i32, i32* @GL_NEAREST
%5 = tail call i32 @glTexParameteri(i32 %2, i32 %3, i32 %4)
%6 = load i32, i32* @GL_TEXTURE_2D
%7 = load i32, i32* @GL_TEXTURE_MAG_FILTER
%8 = load i32, i32* @GL_NEAREST
%9 = tail call i32 @glTexParameteri(i32 %6, i32 %7, i32 %8)
%10 = load i32, i32* @GL_PERSPECTIVE_CORRECTION_HINT
%11 = load i32, i32* @GL_NICEST
%12 = tail call i32 @glHint(i32 %10, i32 %11)
%13 = load i32, i32* @GL_TEXTURE_2D
%14 = tail call i32 @glEnable(i32 %13)
%15 = load i32, i32* @GL_DEPTH_TEST
%16 = tail call i32 @glEnable(i32 %15)
%17 = tail call i32 (...) @setCheckedTexture()
%18 = tail call i32 (...) @InitMatrices()
ret void
}