#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 */
typedef int GLfloat;

/* Variables and functions */
int /*<<< orphan*/ Sprint(int, int, int, char *);
int /*<<< orphan*/ glColor3f(double, double, double);
int /*<<< orphan*/ glPopMatrix();
int /*<<< orphan*/ glPushMatrix();
int /*<<< orphan*/ glRotatef(int, double, double, double);
int /*<<< orphan*/ glTranslatef(int, int, int);
int /*<<< orphan*/ glutSolidSphere(int, int, int);
int /*<<< orphan*/ glutSolidTorus(double, int, int, int);
void Draw_atom_Xe(GLfloat x, GLfloat y, GLfloat z, int elec, int orbit) {
  int i;
  glColor3f(0.0, 1.0, 0.5);
  Sprint(22, -20, 2, "XENON");
  Sprint(20, 25, 2, "  1st : 2");
  Sprint(20, 22, 2, "  2nd : 8");
  Sprint(20, 19, 2, "  3rd : 18");
  Sprint(20, 16, 2, "  4th : 18");
  Sprint(20, 13, 2, "  5th : 8");
  glRotatef(60, 1.0, 0.0, 0.0);
  glPushMatrix();
  glTranslatef(x, y, z);
  glColor3f(1.0, 0.0, 0.0);
  glutSolidSphere(5, 16, 8);
  glPushMatrix();
  glColor3f(1.0, 1.0, 1.0);
  glRotatef(orbit, 0, 0, 1);
  glutSolidTorus(0.12, 10, 16, 32);
  glPushMatrix();
  glTranslatef(0, 10, 0);
  glColor3f(0.0, 0.1, 1.0);
  glutSolidSphere(1, 16, 8);
  glPopMatrix();
  glPushMatrix();
  glTranslatef(0, -10, 0);
  glColor3f(0.0, 0.1, 1.0);
  glutSolidSphere(1, 16, 8);
  glPopMatrix();
  glPopMatrix();
  glPushMatrix();
  glColor3f(1.0, 1.0, 1.0);
  glRotatef(25, 1.0, 0.0, 0.0);
  glRotatef(360 - orbit, 0, 0, 1);
  glutSolidTorus(0.12, 15, 16, 32);
  for (i = 0; i < 8; i++) {
    glPushMatrix();
    glRotatef((360 / 8) * i, 0.0, 0.0, 1.0);
    glTranslatef(0, 15, 0);
    glColor3f(0.0, 1.0, 0.0);
    glutSolidSphere(1, 16, 8);
    glPopMatrix();
  }
  glPopMatrix();
  glPushMatrix();
  glColor3f(1.0, 1.0, 1.0);
  glRotatef(25, 0.0, 0.0, 1.0);
  glRotatef(orbit, 0, 0, 1);
  glutSolidTorus(0.12, 20, 16, 32);
  for (i = 0; i < 18; i++) {
    glPushMatrix();
    glRotatef((360 / 18) * i, 0.0, 0.0, 1.0);
    glTranslatef(0, 20, 0);
    glColor3f(0.9, .5, .1);
    glutSolidSphere(1, 16, 8);
    glPopMatrix();
  }
  glPopMatrix();
  glPushMatrix();
  glColor3f(1.0, 1.0, 1.0);
  glRotatef(60, 0.5, 0.0, 1.0);
  glRotatef(360 - orbit, 0, 0, 1);
  glutSolidTorus(0.12, 25, 16, 32);
  for (i = 0; i < 18; i++) {
    glPushMatrix();
    glRotatef((360 / 18) * i, 0.0, 0.0, 1.0);
    glTranslatef(0, 25, 0);
    glColor3f(1, 1, 0);
    glutSolidSphere(1, 16, 8);
    glPopMatrix();
  }
  glPopMatrix();
  glPushMatrix();
  glColor3f(1.0, 1.0, 1.0);
  glRotatef(50, .5, .8, 1.0);
  glRotatef(orbit, 0, 0, 1);
  glutSolidTorus(0.12, 30, 16, 32);
  for (i = 0; i < 8; i++) {
    glPushMatrix();
    glRotatef((360 / 8) * i, 0.0, 0.0, 1.0);
    glTranslatef(0, 30, 0);
    glColor3f(.9, .2, .0);
    glutSolidSphere(1, 16, 8);
    glPopMatrix();
  }
  glPopMatrix();
  glPopMatrix();
  glPopMatrix();
}


x86 assembly (clang, -O0):
<Draw_atom_Xe>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
xorps  %xmm0,%xmm0
movsd  0xe65(%rip),%xmm1
movsd  0xe6d(%rip),%xmm2
call   1040 <glColor3f@plt>
mov    $0x16,%edi
mov    $0xffffffec,%esi
mov    $0x2,%edx
lea    0xe72(%rip),%rcx
call   1060 <Sprint@plt>
mov    $0x14,%edi
mov    $0x19,%esi
mov    $0x2,%edx
lea    0xe5d(%rip),%rcx
call   1060 <Sprint@plt>
mov    $0x14,%edi
mov    $0x16,%esi
mov    $0x2,%edx
lea    0xe4c(%rip),%rcx
call   1060 <Sprint@plt>
mov    $0x14,%edi
mov    $0x13,%esi
mov    $0x2,%edx
lea    0xe3b(%rip),%rcx
call   1060 <Sprint@plt>
mov    $0x14,%edi
mov    $0x10,%esi
mov    $0x2,%edx
lea    0xe2b(%rip),%rcx
call   1060 <Sprint@plt>
mov    $0x14,%edi
mov    $0xd,%esi
mov    $0x2,%edx
lea    0xe1b(%rip),%rcx
call   1060 <Sprint@plt>
mov    $0x3c,%edi
movsd  0xda9(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1090 <glRotatef@plt>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
call   1080 <glTranslatef@plt>
movsd  0xd81(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1040 <glColor3f@plt>
mov    $0x5,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
movsd  0xd53(%rip),%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   1040 <glColor3f@plt>
mov    -0x14(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0xd3a(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
movsd  0xd22(%rip),%xmm0
mov    $0xa,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
xor    %edx,%edx
mov    $0xa,%esi
mov    %edx,%edi
call   1080 <glTranslatef@plt>
xorps  %xmm0,%xmm0
movsd  0xcfe(%rip),%xmm1
movsd  0xcee(%rip),%xmm2
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
xor    %edx,%edx
mov    $0xfffffff6,%esi
mov    %edx,%edi
call   1080 <glTranslatef@plt>
xorps  %xmm0,%xmm0
movsd  0xcb6(%rip),%xmm1
movsd  0xca6(%rip),%xmm2
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
movsd  0xc70(%rip),%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   1040 <glColor3f@plt>
mov    $0x19,%edi
movsd  0xc58(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1090 <glRotatef@plt>
mov    $0x168,%edi
sub    -0x14(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0xc3a(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
movsd  0xc22(%rip),%xmm0
mov    $0xf,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    146b <Draw_atom_Xe+0x2eb>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
imul   $0x2d,-0x18(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0xbef(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
xor    %edx,%edx
mov    $0xf,%esi
mov    %edx,%edi
call   1080 <glTranslatef@plt>
xorps  %xmm2,%xmm2
movsd  0xbce(%rip),%xmm1
movaps %xmm2,%xmm0
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13f9 <Draw_atom_Xe+0x279>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
movsd  0xb87(%rip),%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   1040 <glColor3f@plt>
mov    $0x19,%edi
xorps  %xmm1,%xmm1
movsd  0xb6c(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
mov    -0x14(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0xb56(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
movsd  0xb3e(%rip),%xmm0
mov    $0x14,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x12,-0x18(%rbp)
jge    1559 <Draw_atom_Xe+0x3d9>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
imul   $0x14,-0x18(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0xb0b(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
xor    %edx,%edx
mov    $0x14,%esi
mov    %edx,%edi
call   1080 <glTranslatef@plt>
movsd  0xb0d(%rip),%xmm0
movsd  0xaf5(%rip),%xmm1
movsd  0xae5(%rip),%xmm2
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    14dd <Draw_atom_Xe+0x35d>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
movsd  0xa99(%rip),%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   1040 <glColor3f@plt>
mov    $0x3c,%edi
movsd  0xa91(%rip),%xmm0
xorps  %xmm1,%xmm1
movsd  0xa76(%rip),%xmm2
call   1090 <glRotatef@plt>
mov    $0x168,%edi
sub    -0x14(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0xa5e(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
movsd  0xa46(%rip),%xmm0
mov    $0x19,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x12,-0x18(%rbp)
jge    1647 <Draw_atom_Xe+0x4c7>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
imul   $0x14,-0x18(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0xa13(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
xor    %edx,%edx
mov    $0x19,%esi
mov    %edx,%edi
call   1080 <glTranslatef@plt>
movsd  0x9f5(%rip),%xmm1
xorps  %xmm2,%xmm2
movaps %xmm1,%xmm0
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    15d5 <Draw_atom_Xe+0x455>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
movsd  0x9ab(%rip),%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   1040 <glColor3f@plt>
mov    $0x32,%edi
movsd  0x9a3(%rip),%xmm0
movsd  0x9a3(%rip),%xmm1
movsd  0x983(%rip),%xmm2
call   1090 <glRotatef@plt>
mov    -0x14(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0x970(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
movsd  0x958(%rip),%xmm0
mov    $0x1e,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    173a <Draw_atom_Xe+0x5ba>
mov    $0x0,%al
call   1050 <glPushMatrix@plt>
imul   $0x2d,-0x18(%rbp),%edi
xorps  %xmm1,%xmm1
movsd  0x925(%rip),%xmm2
movaps %xmm1,%xmm0
call   1090 <glRotatef@plt>
xor    %edx,%edx
mov    $0x1e,%esi
mov    %edx,%edi
call   1080 <glTranslatef@plt>
movsd  0x927(%rip),%xmm0
movsd  0x927(%rip),%xmm1
xorps  %xmm2,%xmm2
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    16c3 <Draw_atom_Xe+0x543>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Draw_atom_Xe>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %r8d,%r14d
mov    %edx,%r15d
mov    %esi,%ebx
mov    %edi,%ebp
movsd  0xe67(%rip),%xmm1
movsd  0xe67(%rip),%xmm2
xorps  %xmm0,%xmm0
call   1040 <glColor3f@plt>
lea    0xe88(%rip),%rcx
mov    $0x16,%edi
mov    $0xffffffec,%esi
mov    $0x2,%edx
call   1060 <Sprint@plt>
lea    0xe73(%rip),%rcx
mov    $0x14,%edi
mov    $0x19,%esi
mov    $0x2,%edx
call   1060 <Sprint@plt>
lea    0xe62(%rip),%rcx
mov    $0x14,%edi
mov    $0x16,%esi
mov    $0x2,%edx
call   1060 <Sprint@plt>
lea    0xe51(%rip),%rcx
mov    $0x14,%edi
mov    $0x13,%esi
mov    $0x2,%edx
call   1060 <Sprint@plt>
lea    0xe41(%rip),%rcx
mov    $0x14,%edi
mov    $0x10,%esi
mov    $0x2,%edx
call   1060 <Sprint@plt>
lea    0xe31(%rip),%rcx
mov    $0x14,%edi
mov    $0xd,%esi
mov    $0x2,%edx
call   1060 <Sprint@plt>
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
mov    $0x3c,%edi
movsd  0xda2(%rip),%xmm0
call   1090 <glRotatef@plt>
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
mov    %ebp,%edi
mov    %ebx,%esi
mov    %r15d,%edx
call   1080 <glTranslatef@plt>
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
movsd  0xd7c(%rip),%xmm0
call   1040 <glColor3f@plt>
mov    $0x5,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
movsd  0xd54(%rip),%xmm0
movaps %xmm0,%xmm1
movaps %xmm0,%xmm2
call   1040 <glColor3f@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %r14d,%edi
movsd  0xd38(%rip),%xmm2
call   1090 <glRotatef@plt>
movsd  0xd3b(%rip),%xmm0
mov    $0xa,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
xor    %edi,%edi
mov    $0xa,%esi
xor    %edx,%edx
call   1080 <glTranslatef@plt>
movsd  0xd12(%rip),%xmm1
xorps  %xmm0,%xmm0
movsd  0xcef(%rip),%xmm2
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
xor    %edi,%edi
mov    $0xfffffff6,%esi
xor    %edx,%edx
call   1080 <glTranslatef@plt>
xorps  %xmm0,%xmm0
movsd  0xcc7(%rip),%xmm1
movsd  0xca7(%rip),%xmm2
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
movsd  0xc71(%rip),%xmm0
movaps %xmm0,%xmm1
movaps %xmm0,%xmm2
call   1040 <glColor3f@plt>
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
mov    $0x19,%edi
movsd  0xc53(%rip),%xmm0
call   1090 <glRotatef@plt>
mov    $0x168,%ebp
sub    %r14d,%ebp
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %ebp,%edi
movsd  0xc36(%rip),%xmm2
call   1090 <glRotatef@plt>
movsd  0xc39(%rip),%xmm0
mov    $0xf,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
xor    %ebx,%ebx
nopl   (%rax)
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %ebx,%edi
movsd  0xbf9(%rip),%xmm2
call   1090 <glRotatef@plt>
xor    %edi,%edi
mov    $0xf,%esi
xor    %edx,%edx
call   1080 <glTranslatef@plt>
xorps  %xmm0,%xmm0
xorps  %xmm2,%xmm2
movsd  0xbd8(%rip),%xmm1
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
add    $0x2d,%ebx
cmp    $0x168,%ebx
jne    13f0 <Draw_atom_Xe+0x270>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
movsd  0xb97(%rip),%xmm0
movaps %xmm0,%xmm1
movaps %xmm0,%xmm2
call   1040 <glColor3f@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    $0x19,%edi
movsd  0xb79(%rip),%xmm2
call   1090 <glRotatef@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %r14d,%edi
movsd  0xb63(%rip),%xmm2
call   1090 <glRotatef@plt>
movsd  0xb66(%rip),%xmm0
mov    $0x14,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
xor    %ebx,%ebx
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %ebx,%edi
movsd  0xb29(%rip),%xmm2
call   1090 <glRotatef@plt>
xor    %edi,%edi
mov    $0x14,%esi
xor    %edx,%edx
call   1080 <glTranslatef@plt>
movsd  0xb2e(%rip),%xmm0
movsd  0xb0e(%rip),%xmm1
movsd  0xb16(%rip),%xmm2
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
add    $0x14,%ebx
cmp    $0x168,%ebx
jne    14c0 <Draw_atom_Xe+0x340>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
movsd  0xabd(%rip),%xmm0
movaps %xmm0,%xmm1
movaps %xmm0,%xmm2
call   1040 <glColor3f@plt>
movsd  0xab2(%rip),%xmm0
xorps  %xmm1,%xmm1
mov    $0x3c,%edi
movsd  0xa9a(%rip),%xmm2
call   1090 <glRotatef@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %ebp,%edi
movsd  0xa85(%rip),%xmm2
call   1090 <glRotatef@plt>
movsd  0xa88(%rip),%xmm0
mov    $0x19,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
xor    %ebx,%ebx
xchg   %ax,%ax
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %ebx,%edi
movsd  0xa49(%rip),%xmm2
call   1090 <glRotatef@plt>
xor    %edi,%edi
mov    $0x19,%esi
xor    %edx,%edx
call   1080 <glTranslatef@plt>
xorps  %xmm2,%xmm2
movsd  0xa2b(%rip),%xmm0
movaps %xmm0,%xmm1
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
add    $0x14,%ebx
cmp    $0x168,%ebx
jne    15a0 <Draw_atom_Xe+0x420>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
movsd  0x9e7(%rip),%xmm0
movaps %xmm0,%xmm1
movaps %xmm0,%xmm2
call   1040 <glColor3f@plt>
movsd  0x9dc(%rip),%xmm0
movsd  0x9f4(%rip),%xmm1
mov    $0x32,%edi
movsd  0x9bf(%rip),%xmm2
call   1090 <glRotatef@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %r14d,%edi
movsd  0x9a9(%rip),%xmm2
call   1090 <glRotatef@plt>
movsd  0x9ac(%rip),%xmm0
mov    $0x1e,%edi
mov    $0x10,%esi
mov    $0x20,%edx
call   10a0 <glutSolidTorus@plt>
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1050 <glPushMatrix@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    %ebx,%edi
movsd  0x969(%rip),%xmm2
call   1090 <glRotatef@plt>
xor    %edi,%edi
mov    $0x1e,%esi
xor    %edx,%edx
call   1080 <glTranslatef@plt>
xorps  %xmm2,%xmm2
movsd  0x96b(%rip),%xmm0
movsd  0x973(%rip),%xmm1
call   1040 <glColor3f@plt>
mov    $0x1,%edi
mov    $0x10,%esi
mov    $0x8,%edx
call   1070 <glutSolidSphere@plt>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
add    $0x2d,%ebx
cmp    $0x168,%ebx
jne    1680 <Draw_atom_Xe+0x500>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
xor    %eax,%eax
call   1030 <glPopMatrix@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <glPopMatrix@plt>

LLVM IR (-O0):
@.str = [6 x i8] c"XENON\00"
@.str.1 = [10 x i8] c" 1st : 2\00"
@.str.2 = [10 x i8] c" 2nd : 8\00"
@.str.3 = [11 x i8] c" 3rd : 18\00"
@.str.4 = [11 x i8] c" 4th : 18\00"
@.str.5 = [10 x i8] c" 5th : 8\00"
define void @Draw_atom_Xe(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 %0, i32* %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 %4, i32* %10
%12 = call i32 @glColor3f(double 0.000000e+00, double 1.000000e+00, double 5.000000e-01)
%13 = call i32 @Sprint(i32 22, i32 -20, i32 2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%14 = call i32 @Sprint(i32 20, i32 25, i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%15 = call i32 @Sprint(i32 20, i32 22, i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%16 = call i32 @Sprint(i32 20, i32 19, i32 2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%17 = call i32 @Sprint(i32 20, i32 16, i32 2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%18 = call i32 @Sprint(i32 20, i32 13, i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%19 = call i32 @glRotatef(i32 60, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%20 = call i32 (...) @glPushMatrix()
%21 = load i32, i32* %6
%22 = load i32, i32* %7
%23 = load i32, i32* %8
%24 = call i32 @glTranslatef(i32 %21, i32 %22, i32 %23)
%25 = call i32 @glColor3f(double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%26 = call i32 @glutSolidSphere(i32 5, i32 16, i32 8)
%27 = call i32 (...) @glPushMatrix()
%28 = call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%29 = load i32, i32* %10
%30 = call i32 @glRotatef(i32 %29, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%31 = call i32 @glutSolidTorus(double 1.200000e-01, i32 10, i32 16, i32 32)
%32 = call i32 (...) @glPushMatrix()
%33 = call i32 @glTranslatef(i32 0, i32 10, i32 0)
%34 = call i32 @glColor3f(double 0.000000e+00, double 1.000000e-01, double 1.000000e+00)
%35 = call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%36 = call i32 (...) @glPopMatrix()
%37 = call i32 (...) @glPushMatrix()
%38 = call i32 @glTranslatef(i32 0, i32 -10, i32 0)
%39 = call i32 @glColor3f(double 0.000000e+00, double 1.000000e-01, double 1.000000e+00)
%40 = call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%41 = call i32 (...) @glPopMatrix()
%42 = call i32 (...) @glPopMatrix()
%43 = call i32 (...) @glPushMatrix()
%44 = call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%45 = call i32 @glRotatef(i32 25, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%46 = load i32, i32* %10
%47 = sub nsw i32 360, %46
%48 = call i32 @glRotatef(i32 %47, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%49 = call i32 @glutSolidTorus(double 1.200000e-01, i32 15, i32 16, i32 32)
store i32 0, i32* %11
br label %50
50: ; preds = %62, %5
%51 = load i32, i32* %11
%52 = icmp slt i32 %51, 8
br i1 %52, label %53, label %65
53: ; preds = %50
%54 = call i32 (...) @glPushMatrix()
%55 = load i32, i32* %11
%56 = mul nsw i32 45, %55
%57 = call i32 @glRotatef(i32 %56, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%58 = call i32 @glTranslatef(i32 0, i32 15, i32 0)
%59 = call i32 @glColor3f(double 0.000000e+00, double 1.000000e+00, double 0.000000e+00)
%60 = call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%61 = call i32 (...) @glPopMatrix()
br label %62
62: ; preds = %53
%63 = load i32, i32* %11
%64 = add nsw i32 %63, 1
store i32 %64, i32* %11
br label %50
65: ; preds = %50
%66 = call i32 (...) @glPopMatrix()
%67 = call i32 (...) @glPushMatrix()
%68 = call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%69 = call i32 @glRotatef(i32 25, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%70 = load i32, i32* %10
%71 = call i32 @glRotatef(i32 %70, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%72 = call i32 @glutSolidTorus(double 1.200000e-01, i32 20, i32 16, i32 32)
store i32 0, i32* %11
br label %73
73: ; preds = %85, %65
%74 = load i32, i32* %11
%75 = icmp slt i32 %74, 18
br i1 %75, label %76, label %88
76: ; preds = %73
%77 = call i32 (...) @glPushMatrix()
%78 = load i32, i32* %11
%79 = mul nsw i32 20, %78
%80 = call i32 @glRotatef(i32 %79, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%81 = call i32 @glTranslatef(i32 0, i32 20, i32 0)
%82 = call i32 @glColor3f(double 9.000000e-01, double 5.000000e-01, double 1.000000e-01)
%83 = call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%84 = call i32 (...) @glPopMatrix()
br label %85
85: ; preds = %76
%86 = load i32, i32* %11
%87 = add nsw i32 %86, 1
store i32 %87, i32* %11
br label %73
88: ; preds = %73
%89 = call i32 (...) @glPopMatrix()
%90 = call i32 (...) @glPushMatrix()
%91 = call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%92 = call i32 @glRotatef(i32 60, double 5.000000e-01, double 0.000000e+00, double 1.000000e+00)
%93 = load i32, i32* %10
%94 = sub nsw i32 360, %93
%95 = call i32 @glRotatef(i32 %94, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%96 = call i32 @glutSolidTorus(double 1.200000e-01, i32 25, i32 16, i32 32)
store i32 0, i32* %11
br label %97
97: ; preds = %109, %88
%98 = load i32, i32* %11
%99 = icmp slt i32 %98, 18
br i1 %99, label %100, label %112
100: ; preds = %97
%101 = call i32 (...) @glPushMatrix()
%102 = load i32, i32* %11
%103 = mul nsw i32 20, %102
%104 = call i32 @glRotatef(i32 %103, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%105 = call i32 @glTranslatef(i32 0, i32 25, i32 0)
%106 = call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 0.000000e+00)
%107 = call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%108 = call i32 (...) @glPopMatrix()
br label %109
109: ; preds = %100
%110 = load i32, i32* %11
%111 = add nsw i32 %110, 1
store i32 %111, i32* %11
br label %97
112: ; preds = %97
%113 = call i32 (...) @glPopMatrix()
%114 = call i32 (...) @glPushMatrix()
%115 = call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%116 = call i32 @glRotatef(i32 50, double 5.000000e-01, double 8.000000e-01, double 1.000000e+00)
%117 = load i32, i32* %10
%118 = call i32 @glRotatef(i32 %117, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%119 = call i32 @glutSolidTorus(double 1.200000e-01, i32 30, i32 16, i32 32)
store i32 0, i32* %11
br label %120
120: ; preds = %132, %112
%121 = load i32, i32* %11
%122 = icmp slt i32 %121, 8
br i1 %122, label %123, label %135
123: ; preds = %120
%124 = call i32 (...) @glPushMatrix()
%125 = load i32, i32* %11
%126 = mul nsw i32 45, %125
%127 = call i32 @glRotatef(i32 %126, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%128 = call i32 @glTranslatef(i32 0, i32 30, i32 0)
%129 = call i32 @glColor3f(double 9.000000e-01, double 2.000000e-01, double 0.000000e+00)
%130 = call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%131 = call i32 (...) @glPopMatrix()
br label %132
132: ; preds = %123
%133 = load i32, i32* %11
%134 = add nsw i32 %133, 1
store i32 %134, i32* %11
br label %120
135: ; preds = %120
%136 = call i32 (...) @glPopMatrix()
%137 = call i32 (...) @glPopMatrix()
%138 = call i32 (...) @glPopMatrix()
ret void
}

LLVM IR (-O2):
@.str = [6 x i8] c"XENON\00"
@.str.1 = [10 x i8] c" 1st : 2\00"
@.str.2 = [10 x i8] c" 2nd : 8\00"
@.str.3 = [11 x i8] c" 3rd : 18\00"
@.str.4 = [11 x i8] c" 4th : 18\00"
@.str.5 = [10 x i8] c" 5th : 8\00"
define void @Draw_atom_Xe(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = tail call i32 @glColor3f(double 0.000000e+00, double 1.000000e+00, double 5.000000e-01)
%7 = tail call i32 @Sprint(i32 22, i32 -20, i32 2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%8 = tail call i32 @Sprint(i32 20, i32 25, i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%9 = tail call i32 @Sprint(i32 20, i32 22, i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%10 = tail call i32 @Sprint(i32 20, i32 19, i32 2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%11 = tail call i32 @Sprint(i32 20, i32 16, i32 2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%12 = tail call i32 @Sprint(i32 20, i32 13, i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%13 = tail call i32 @glRotatef(i32 60, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%14 = tail call i32 (...) @glPushMatrix()
%15 = tail call i32 @glTranslatef(i32 %0, i32 %1, i32 %2)
%16 = tail call i32 @glColor3f(double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%17 = tail call i32 @glutSolidSphere(i32 5, i32 16, i32 8)
%18 = tail call i32 (...) @glPushMatrix()
%19 = tail call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%20 = tail call i32 @glRotatef(i32 %4, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%21 = tail call i32 @glutSolidTorus(double 1.200000e-01, i32 10, i32 16, i32 32)
%22 = tail call i32 (...) @glPushMatrix()
%23 = tail call i32 @glTranslatef(i32 0, i32 10, i32 0)
%24 = tail call i32 @glColor3f(double 0.000000e+00, double 1.000000e-01, double 1.000000e+00)
%25 = tail call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%26 = tail call i32 (...) @glPopMatrix()
%27 = tail call i32 (...) @glPushMatrix()
%28 = tail call i32 @glTranslatef(i32 0, i32 -10, i32 0)
%29 = tail call i32 @glColor3f(double 0.000000e+00, double 1.000000e-01, double 1.000000e+00)
%30 = tail call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%31 = tail call i32 (...) @glPopMatrix()
%32 = tail call i32 (...) @glPopMatrix()
%33 = tail call i32 (...) @glPushMatrix()
%34 = tail call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%35 = tail call i32 @glRotatef(i32 25, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%36 = sub nsw i32 360, %4
%37 = tail call i32 @glRotatef(i32 %36, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%38 = tail call i32 @glutSolidTorus(double 1.200000e-01, i32 15, i32 16, i32 32)
br label %39
39: ; preds = %5, %39
%40 = phi i32 [ 0, %5 ], [ %48, %39 ]
%41 = tail call i32 (...) @glPushMatrix()
%42 = mul nuw nsw i32 %40, 45
%43 = tail call i32 @glRotatef(i32 %42, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%44 = tail call i32 @glTranslatef(i32 0, i32 15, i32 0)
%45 = tail call i32 @glColor3f(double 0.000000e+00, double 1.000000e+00, double 0.000000e+00)
%46 = tail call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%47 = tail call i32 (...) @glPopMatrix()
%48 = add nuw nsw i32 %40, 1
%49 = icmp eq i32 %48, 8
br i1 %49, label %50, label %39
50: ; preds = %39
%51 = tail call i32 (...) @glPopMatrix()
%52 = tail call i32 (...) @glPushMatrix()
%53 = tail call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%54 = tail call i32 @glRotatef(i32 25, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%55 = tail call i32 @glRotatef(i32 %4, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%56 = tail call i32 @glutSolidTorus(double 1.200000e-01, i32 20, i32 16, i32 32)
br label %57
57: ; preds = %50, %57
%58 = phi i32 [ 0, %50 ], [ %66, %57 ]
%59 = tail call i32 (...) @glPushMatrix()
%60 = mul nuw nsw i32 %58, 20
%61 = tail call i32 @glRotatef(i32 %60, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%62 = tail call i32 @glTranslatef(i32 0, i32 20, i32 0)
%63 = tail call i32 @glColor3f(double 9.000000e-01, double 5.000000e-01, double 1.000000e-01)
%64 = tail call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%65 = tail call i32 (...) @glPopMatrix()
%66 = add nuw nsw i32 %58, 1
%67 = icmp eq i32 %66, 18
br i1 %67, label %68, label %57
68: ; preds = %57
%69 = tail call i32 (...) @glPopMatrix()
%70 = tail call i32 (...) @glPushMatrix()
%71 = tail call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%72 = tail call i32 @glRotatef(i32 60, double 5.000000e-01, double 0.000000e+00, double 1.000000e+00)
%73 = tail call i32 @glRotatef(i32 %36, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%74 = tail call i32 @glutSolidTorus(double 1.200000e-01, i32 25, i32 16, i32 32)
br label %75
75: ; preds = %68, %75
%76 = phi i32 [ 0, %68 ], [ %84, %75 ]
%77 = tail call i32 (...) @glPushMatrix()
%78 = mul nuw nsw i32 %76, 20
%79 = tail call i32 @glRotatef(i32 %78, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%80 = tail call i32 @glTranslatef(i32 0, i32 25, i32 0)
%81 = tail call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 0.000000e+00)
%82 = tail call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%83 = tail call i32 (...) @glPopMatrix()
%84 = add nuw nsw i32 %76, 1
%85 = icmp eq i32 %84, 18
br i1 %85, label %86, label %75
86: ; preds = %75
%87 = tail call i32 (...) @glPopMatrix()
%88 = tail call i32 (...) @glPushMatrix()
%89 = tail call i32 @glColor3f(double 1.000000e+00, double 1.000000e+00, double 1.000000e+00)
%90 = tail call i32 @glRotatef(i32 50, double 5.000000e-01, double 8.000000e-01, double 1.000000e+00)
%91 = tail call i32 @glRotatef(i32 %4, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%92 = tail call i32 @glutSolidTorus(double 1.200000e-01, i32 30, i32 16, i32 32)
br label %93
93: ; preds = %86, %93
%94 = phi i32 [ 0, %86 ], [ %102, %93 ]
%95 = tail call i32 (...) @glPushMatrix()
%96 = mul nuw nsw i32 %94, 45
%97 = tail call i32 @glRotatef(i32 %96, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00)
%98 = tail call i32 @glTranslatef(i32 0, i32 30, i32 0)
%99 = tail call i32 @glColor3f(double 9.000000e-01, double 2.000000e-01, double 0.000000e+00)
%100 = tail call i32 @glutSolidSphere(i32 1, i32 16, i32 8)
%101 = tail call i32 (...) @glPopMatrix()
%102 = add nuw nsw i32 %94, 1
%103 = icmp eq i32 %102, 8
br i1 %103, label %104, label %93
104: ; preds = %93
%105 = tail call i32 (...) @glPopMatrix()
%106 = tail call i32 (...) @glPopMatrix()
%107 = tail call i32 (...) @glPopMatrix()
ret void
}