#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_BLEND;
int /*<<< orphan*/ GL_DEPTH_TEST;
int /*<<< orphan*/ GL_LINE_SMOOTH;
int /*<<< orphan*/ GL_LINE_STIPPLE;
int /*<<< orphan*/ GL_ONE_MINUS_SRC_ALPHA;
int /*<<< orphan*/ GL_PROJECTION;
int /*<<< orphan*/ GL_SRC_ALPHA;
int /*<<< orphan*/ glBlendFunc(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ glEnable(int /*<<< orphan*/);
int /*<<< orphan*/ glMatrixMode(int /*<<< orphan*/);
int /*<<< orphan*/ gluPerspective(int, int, double, int);
int /*<<< orphan*/ setCamera();
void init() {
  glEnable(GL_DEPTH_TEST);
  glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
  glEnable(GL_BLEND);
  glEnable(GL_LINE_SMOOTH);
  glEnable(GL_LINE_STIPPLE);
  glMatrixMode(GL_PROJECTION);
  gluPerspective(40, 1, 0.2, 100);
  setCamera();
}


x86 assembly (clang, -O0):
<init>:
push   %rbp
mov    %rsp,%rbp
mov    0x2e55(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2e57(%rip),%rax
mov    (%rax),%edi
mov    0x2e76(%rip),%rax
mov    (%rax),%esi
call   1030 <glBlendFunc@plt>
mov    0x2e60(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2e2a(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2e34(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2e1e(%rip),%rax
mov    (%rax),%edi
call   1040 <glMatrixMode@plt>
mov    $0x28,%edi
mov    $0x1,%esi
movsd  0xe3d(%rip),%xmm0
mov    $0x64,%edx
call   1070 <gluPerspective@plt>
mov    $0x0,%al
call   1050 <setCamera@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<init>:
push   %rax
mov    0x2e58(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2e5a(%rip),%rax
mov    (%rax),%edi
mov    0x2e79(%rip),%rax
mov    (%rax),%esi
call   1030 <glBlendFunc@plt>
mov    0x2e63(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2e2d(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2e37(%rip),%rax
mov    (%rax),%edi
call   1060 <glEnable@plt>
mov    0x2e21(%rip),%rax
mov    (%rax),%edi
call   1040 <glMatrixMode@plt>
movsd  0xe4a(%rip),%xmm0
mov    $0x28,%edi
mov    $0x1,%esi
mov    $0x64,%edx
call   1070 <gluPerspective@plt>
xor    %eax,%eax
pop    %rcx
jmp    1050 <setCamera@plt>

LLVM IR (-O0):
@GL_DEPTH_TEST = global i32 0
@GL_SRC_ALPHA = global i32 0
@GL_ONE_MINUS_SRC_ALPHA = global i32 0
@GL_BLEND = global i32 0
@GL_LINE_SMOOTH = global i32 0
@GL_LINE_STIPPLE = global i32 0
@GL_PROJECTION = global i32 0
define void @init() {
%1 = load i32, i32* @GL_DEPTH_TEST
%2 = call i32 @glEnable(i32 %1)
%3 = load i32, i32* @GL_SRC_ALPHA
%4 = load i32, i32* @GL_ONE_MINUS_SRC_ALPHA
%5 = call i32 @glBlendFunc(i32 %3, i32 %4)
%6 = load i32, i32* @GL_BLEND
%7 = call i32 @glEnable(i32 %6)
%8 = load i32, i32* @GL_LINE_SMOOTH
%9 = call i32 @glEnable(i32 %8)
%10 = load i32, i32* @GL_LINE_STIPPLE
%11 = call i32 @glEnable(i32 %10)
%12 = load i32, i32* @GL_PROJECTION
%13 = call i32 @glMatrixMode(i32 %12)
%14 = call i32 @gluPerspective(i32 40, i32 1, double 2.000000e-01, i32 100)
%15 = call i32 (...) @setCamera()
ret void
}

LLVM IR (-O2):
@GL_DEPTH_TEST = global i32 0
@GL_SRC_ALPHA = global i32 0
@GL_ONE_MINUS_SRC_ALPHA = global i32 0
@GL_BLEND = global i32 0
@GL_LINE_SMOOTH = global i32 0
@GL_LINE_STIPPLE = global i32 0
@GL_PROJECTION = global i32 0
define void @init() {
%1 = load i32, i32* @GL_DEPTH_TEST
%2 = tail call i32 @glEnable(i32 %1)
%3 = load i32, i32* @GL_SRC_ALPHA
%4 = load i32, i32* @GL_ONE_MINUS_SRC_ALPHA
%5 = tail call i32 @glBlendFunc(i32 %3, i32 %4)
%6 = load i32, i32* @GL_BLEND
%7 = tail call i32 @glEnable(i32 %6)
%8 = load i32, i32* @GL_LINE_SMOOTH
%9 = tail call i32 @glEnable(i32 %8)
%10 = load i32, i32* @GL_LINE_STIPPLE
%11 = tail call i32 @glEnable(i32 %10)
%12 = load i32, i32* @GL_PROJECTION
%13 = tail call i32 @glMatrixMode(i32 %12)
%14 = tail call i32 @gluPerspective(i32 40, i32 1, double 2.000000e-01, i32 100)
%15 = tail call i32 (...) @setCamera()
ret void
}