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

/* Variables and functions */
int /*<<< orphan*/ GLU_FILL;
int /*<<< orphan*/ GLU_SMOOTH;
int /*<<< orphan*/ GL_DIFFUSE;
int /*<<< orphan*/ GL_FRONT;
int /*<<< orphan*/ GL_SHININESS;
int /*<<< orphan*/ GL_SPECULAR;
int /*<<< orphan*/ glMaterialf(int /*<<< orphan*/, int /*<<< orphan*/,
                               int /*<<< orphan*/);
int /*<<< orphan*/ glMaterialfv(int /*<<< orphan*/, int /*<<< orphan*/,
                                double *);
int /*<<< orphan*/ glPopMatrix();
int /*<<< orphan*/ glPushMatrix();
int /*<<< orphan*/ glRotated(double, double, double, double);
int /*<<< orphan*/ glScaled(double, double, double);
int /*<<< orphan*/ glTranslated(double, double, double);
int /*<<< orphan*/ gluCylinder(int /*<<< orphan*/ *, double, double, double,
                               int, int);
int /*<<< orphan*/ *gluNewQuadric();
int /*<<< orphan*/ gluQuadricDrawStyle(int /*<<< orphan*/ *,
                                       int /*<<< orphan*/);
int /*<<< orphan*/ gluQuadricNormals(int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ gluSphere(int /*<<< orphan*/ *, double, int, int);
void myDrawLwrRightArm(void) {
  GLUquadricObj *qobj;
  GLfloat spec[] = {0.0, 0.0, 0.0, 1.0};
  GLfloat diffY[] = {0.0, 0.8, 0.0, 1.0};
  GLfloat diffB[] = {0.0, 0.0, 0.0, 0.0};
  GLfloat diffW[] = {1.0, 1.0, 1.0, 1.0};
  GLfloat diffBR[] = {0.4, 0.2, 0.1, 1.0};
  GLfloat diffBL[] = {0.0, 0.0, 1.0, 1.0};
  glMaterialf(GL_FRONT, GL_SHININESS, 0);
  glMaterialfv(GL_FRONT, GL_SPECULAR, spec);
  glMaterialfv(GL_FRONT, GL_DIFFUSE, diffY);
  qobj = gluNewQuadric();
  qobj = gluNewQuadric();
  gluQuadricDrawStyle(qobj, GLU_FILL);
  gluQuadricNormals(qobj, GLU_SMOOTH);
  gluCylinder(qobj, 0.7, 0.5, 1.9, 22, 22);
  glPushMatrix();
  glTranslated(0.0, 0.0, 2.2);
  glScaled(1.0, 2.0, 1.0);
  gluSphere(qobj, 0.5, 30, 30);
  glPushMatrix();
  glTranslated(0.0, 0.0, 0.0);
  gluCylinder(qobj, 0.2, 0.2, 1.2, 22, 22);
  glTranslated(0.0, 0.0, 1.2);
  gluSphere(qobj, 0.2, 30, 30);
  glPopMatrix();
  glPushMatrix();
  glRotated(22.0, 1.0, 0.0, 0.0);
  glTranslated(0.0, 0.0, 0.4);
  gluCylinder(qobj, 0.2, 0.2, 0.8, 22, 22);
  glTranslated(0.0, 0.0, 0.8);
  gluSphere(qobj, 0.2, 30, 30);
  glPopMatrix();
  glPushMatrix();
  glRotated(35.0, 1.0, 0.0, 0.0);
  glTranslated(0.0, -0.2, 0.0);
  gluCylinder(qobj, 0.2, 0.2, 0.8, 22, 22);
  glTranslated(0.0, 0.0, 0.8);
  gluSphere(qobj, 0.2, 30, 30);
  glPopMatrix();
  glPushMatrix();
  glRotated(-30.0, 1.1, 0.0, 0.0);
  glTranslated(0.0, 0.0, 0.1);
  gluCylinder(qobj, 0.2, 0.2, 0.8, 22, 22);
  glTranslated(0.0, 0.0, 0.8);
  gluSphere(qobj, 0.2, 30, 30);
  glPopMatrix();
  glPopMatrix();
}


x86 assembly (clang, -O0):
<myDrawLwrRightArm>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
mov    0xe9e(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xe9b(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xe98(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xe95(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xe92(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xe8f(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0xe8c(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xe89(%rip),%rax
mov    %rax,-0x38(%rbp)
lea    -0x70(%rbp),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1050 <memset@plt>
mov    0xe76(%rip),%rax
mov    %rax,-0x90(%rbp)
mov    0xe70(%rip),%rax
mov    %rax,-0x88(%rbp)
mov    0xe6a(%rip),%rax
mov    %rax,-0x80(%rbp)
mov    0xe67(%rip),%rax
mov    %rax,-0x78(%rbp)
mov    0xe64(%rip),%rax
mov    %rax,-0xb0(%rbp)
mov    0xe5e(%rip),%rax
mov    %rax,-0xa8(%rbp)
mov    0xe58(%rip),%rax
mov    %rax,-0xa0(%rbp)
mov    0xe52(%rip),%rax
mov    %rax,-0x98(%rbp)
mov    0xe4c(%rip),%rax
mov    %rax,-0xd0(%rbp)
mov    0xe46(%rip),%rax
mov    %rax,-0xc8(%rbp)
mov    0xe40(%rip),%rax
mov    %rax,-0xc0(%rbp)
mov    0xe3a(%rip),%rax
mov    %rax,-0xb8(%rbp)
mov    0x2cec(%rip),%rax
mov    (%rax),%edi
mov    0x2cfb(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1030 <glMaterialf@plt>
mov    0x2cd3(%rip),%rax
mov    (%rax),%edi
mov    0x2cda(%rip),%rax
mov    (%rax),%esi
lea    -0x30(%rbp),%rdx
call   10e0 <glMaterialfv@plt>
mov    0x2cb8(%rip),%rax
mov    (%rax),%edi
mov    0x2c8f(%rip),%rax
mov    (%rax),%esi
lea    -0x50(%rbp),%rdx
call   10e0 <glMaterialfv@plt>
mov    $0x0,%al
call   1040 <gluNewQuadric@plt>
mov    %rax,-0x8(%rbp)
mov    $0x0,%al
call   1040 <gluNewQuadric@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    0x2c6b(%rip),%rax
mov    (%rax),%esi
call   1090 <gluQuadricDrawStyle@plt>
mov    -0x8(%rbp),%rdi
mov    0x2c69(%rip),%rax
mov    (%rax),%esi
call   10c0 <gluQuadricNormals@plt>
mov    -0x8(%rbp),%rdi
movsd  0xcf6(%rip),%xmm0
movsd  0xcd6(%rip),%xmm1
movsd  0xcee(%rip),%xmm2
mov    $0x16,%edx
mov    %edx,%esi
call   10b0 <gluCylinder@plt>
mov    $0x0,%al
call   10a0 <glPushMatrix@plt>
xorps  %xmm1,%xmm1
movsd  0xcc0(%rip),%xmm2
movaps %xmm1,%xmm0
call   10d0 <glTranslated@plt>
movsd  0xc80(%rip),%xmm2
movsd  0xca0(%rip),%xmm1
movaps %xmm2,%xmm0
call   1080 <glScaled@plt>
mov    -0x8(%rbp),%rdi
movsd  0xc84(%rip),%xmm0
mov    $0x1e,%edx
mov    %edx,%esi
call   1060 <gluSphere@plt>
mov    $0x0,%al
call   10a0 <glPushMatrix@plt>
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm0
movaps %xmm2,%xmm1
call   10d0 <glTranslated@plt>
mov    -0x8(%rbp),%rdi
movsd  0xbff(%rip),%xmm1
movsd  0xc47(%rip),%xmm2
mov    $0x16,%edx
movaps %xmm1,%xmm0
mov    %edx,%esi
call   10b0 <gluCylinder@plt>
xorps  %xmm1,%xmm1
movsd  0xc2d(%rip),%xmm2
movaps %xmm1,%xmm0
call   10d0 <glTranslated@plt>
mov    -0x8(%rbp),%rdi
movsd  0xbc9(%rip),%xmm0
mov    $0x1e,%edx
mov    %edx,%esi
call   1060 <gluSphere@plt>
mov    $0x0,%al
call   1070 <glPopMatrix@plt>
mov    $0x0,%al
call   10a0 <glPushMatrix@plt>
movsd  0xbef(%rip),%xmm0
movsd  0xbd7(%rip),%xmm1
xorps  %xmm3,%xmm3
movaps %xmm3,%xmm2
call   10f0 <glRotated@plt>
xorps  %xmm1,%xmm1
movsd  0xbc9(%rip),%xmm2
movaps %xmm1,%xmm0
call   10d0 <glTranslated@plt>
mov    -0x8(%rbp),%rdi
movsd  0xb75(%rip),%xmm1
movsd  0xb75(%rip),%xmm2
mov    $0x16,%edx
movaps %xmm1,%xmm0
mov    %edx,%esi
call   10b0 <gluCylinder@plt>
xorps  %xmm1,%xmm1
movsd  0xb5b(%rip),%xmm2
movaps %xmm1,%xmm0
call   10d0 <glTranslated@plt>
mov    -0x8(%rbp),%rdi
movsd  0xb3f(%rip),%xmm0
mov    $0x1e,%edx
mov    %edx,%esi
call   1060 <gluSphere@plt>
mov    $0x0,%al
call   1070 <glPopMatrix@plt>
mov    $0x0,%al
call   10a0 <glPushMatrix@plt>
movsd  0xb4d(%rip),%xmm0
movsd  0xb4d(%rip),%xmm1
xorps  %xmm3,%xmm3
movaps %xmm3,%xmm2
call   10f0 <glRotated@plt>
xorps  %xmm2,%xmm2
movsd  0xb27(%rip),%xmm1
movaps %xmm2,%xmm0
call   10d0 <glTranslated@plt>
mov    -0x8(%rbp),%rdi
movsd  0xaeb(%rip),%xmm1
movsd  0xaeb(%rip),%xmm2
mov    $0x16,%edx
movaps %xmm1,%xmm0
mov    %edx,%esi
call   10b0 <gluCylinder@plt>
xorps  %xmm1,%xmm1
movsd  0xad1(%rip),%xmm2
movaps %xmm1,%xmm0
call   10d0 <glTranslated@plt>
mov    -0x8(%rbp),%rdi
movsd  0xab5(%rip),%xmm0
mov    $0x1e,%edx
mov    %edx,%esi
call   1060 <gluSphere@plt>
mov    $0x0,%al
call   1070 <glPopMatrix@plt>
mov    $0x0,%al
call   10a0 <glPushMatrix@plt>
movsd  0xaab(%rip),%xmm0
movsd  0xaab(%rip),%xmm1
xorps  %xmm3,%xmm3
movaps %xmm3,%xmm2
call   10f0 <glRotated@plt>
xorps  %xmm1,%xmm1
movsd  0xa85(%rip),%xmm2
movaps %xmm1,%xmm0
call   10d0 <glTranslated@plt>
mov    -0x8(%rbp),%rdi
movsd  0xa61(%rip),%xmm1
movsd  0xa61(%rip),%xmm2
mov    $0x16,%edx
movaps %xmm1,%xmm0
mov    %edx,%esi
call   10b0 <gluCylinder@plt>
xorps  %xmm1,%xmm1
movsd  0xa47(%rip),%xmm2
movaps %xmm1,%xmm0
call   10d0 <glTranslated@plt>
mov    -0x8(%rbp),%rdi
movsd  0xa2b(%rip),%xmm0
mov    $0x1e,%edx
mov    %edx,%esi
call   1060 <gluSphere@plt>
mov    $0x0,%al
call   1070 <glPopMatrix@plt>
mov    $0x0,%al
call   1070 <glPopMatrix@plt>
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<myDrawLwrRightArm>:
push   %rbx
sub    $0x40,%rsp
movaps 0xec4(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xea8(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xecc(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xeb0(%rip),%xmm0
movaps %xmm0,(%rsp)
mov    0x2ddd(%rip),%rbx
mov    (%rbx),%edi
mov    0x2dec(%rip),%rax
mov    (%rax),%esi
xor    %edx,%edx
call   1030 <glMaterialf@plt>
mov    (%rbx),%edi
mov    0x2dd2(%rip),%rax
mov    (%rax),%esi
lea    0x20(%rsp),%rdx
call   10d0 <glMaterialfv@plt>
mov    (%rbx),%edi
mov    0x2d8d(%rip),%rax
mov    (%rax),%esi
mov    %rsp,%rdx
call   10d0 <glMaterialfv@plt>
xor    %eax,%eax
call   1040 <gluNewQuadric@plt>
xor    %eax,%eax
call   1040 <gluNewQuadric@plt>
mov    %rax,%rbx
mov    0x2d73(%rip),%rax
mov    (%rax),%esi
mov    %rbx,%rdi
call   1080 <gluQuadricDrawStyle@plt>
mov    0x2d72(%rip),%rax
mov    (%rax),%esi
mov    %rbx,%rdi
call   10b0 <gluQuadricNormals@plt>
movsd  0xd90(%rip),%xmm0
movsd  0xd90(%rip),%xmm1
movsd  0xd90(%rip),%xmm2
mov    %rbx,%rdi
mov    $0x16,%esi
mov    $0x16,%edx
call   10a0 <gluCylinder@plt>
xor    %eax,%eax
call   1090 <glPushMatrix@plt>
movsd  0xd77(%rip),%xmm2
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
call   10c0 <glTranslated@plt>
movsd  0xd6c(%rip),%xmm1
movsd  0xd6c(%rip),%xmm0
movaps %xmm0,%xmm2
call   1070 <glScaled@plt>
mov    %rbx,%rdi
movsd  0xd39(%rip),%xmm0
mov    $0x1e,%esi
mov    $0x1e,%edx
call   1050 <gluSphere@plt>
xor    %eax,%eax
call   1090 <glPushMatrix@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
call   10c0 <glTranslated@plt>
movsd  0xd35(%rip),%xmm0
movsd  0xd35(%rip),%xmm2
mov    %rbx,%rdi
movaps %xmm0,%xmm1
mov    $0x16,%esi
mov    $0x16,%edx
call   10a0 <gluCylinder@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
movsd  0xd12(%rip),%xmm2
call   10c0 <glTranslated@plt>
mov    %rbx,%rdi
movsd  0xcfa(%rip),%xmm0
mov    $0x1e,%esi
mov    $0x1e,%edx
call   1050 <gluSphere@plt>
xor    %eax,%eax
call   1060 <glPopMatrix@plt>
xor    %eax,%eax
call   1090 <glPushMatrix@plt>
movsd  0xce5(%rip),%xmm0
xorps  %xmm2,%xmm2
xorps  %xmm3,%xmm3
movsd  0xcbf(%rip),%xmm1
call   10e0 <glRotated@plt>
movsd  0xcd2(%rip),%xmm2
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
call   10c0 <glTranslated@plt>
movsd  0xcc7(%rip),%xmm2
mov    %rbx,%rdi
movsd  0xc9c(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x16,%esi
mov    $0x16,%edx
call   10a0 <gluCylinder@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
movsd  0xc9c(%rip),%xmm2
call   10c0 <glTranslated@plt>
mov    %rbx,%rdi
movsd  0xc6c(%rip),%xmm0
mov    $0x1e,%esi
mov    $0x1e,%edx
call   1050 <gluSphere@plt>
xor    %eax,%eax
call   1060 <glPopMatrix@plt>
xor    %eax,%eax
call   1090 <glPushMatrix@plt>
movsd  0xc6f(%rip),%xmm0
xorps  %xmm2,%xmm2
xorps  %xmm3,%xmm3
movsd  0xc31(%rip),%xmm1
call   10e0 <glRotated@plt>
movsd  0xc5c(%rip),%xmm1
xorps  %xmm0,%xmm0
xorps  %xmm2,%xmm2
call   10c0 <glTranslated@plt>
mov    %rbx,%rdi
movsd  0xc16(%rip),%xmm0
movaps %xmm0,%xmm1
movsd  0xc2b(%rip),%xmm2
mov    $0x16,%esi
mov    $0x16,%edx
call   10a0 <gluCylinder@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
movsd  0xc0e(%rip),%xmm2
call   10c0 <glTranslated@plt>
mov    %rbx,%rdi
movsd  0xbde(%rip),%xmm0
mov    $0x1e,%esi
mov    $0x1e,%edx
call   1050 <gluSphere@plt>
xor    %eax,%eax
call   1060 <glPopMatrix@plt>
xor    %eax,%eax
call   1090 <glPushMatrix@plt>
movsd  0xbf1(%rip),%xmm0
movsd  0xbf1(%rip),%xmm1
xorps  %xmm2,%xmm2
xorps  %xmm3,%xmm3
call   10e0 <glRotated@plt>
movsd  0xbe6(%rip),%xmm2
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
call   10c0 <glTranslated@plt>
mov    %rbx,%rdi
movsd  0xb88(%rip),%xmm0
movaps %xmm0,%xmm1
movsd  0xb9d(%rip),%xmm2
mov    $0x16,%esi
mov    $0x16,%edx
call   10a0 <gluCylinder@plt>
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
movsd  0xb80(%rip),%xmm2
call   10c0 <glTranslated@plt>
mov    %rbx,%rdi
movsd  0xb50(%rip),%xmm0
mov    $0x1e,%esi
mov    $0x1e,%edx
call   1050 <gluSphere@plt>
xor    %eax,%eax
call   1060 <glPopMatrix@plt>
xor    %eax,%eax
call   1060 <glPopMatrix@plt>
add    $0x40,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.myDrawLwrRightArm.spec = [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00]
@__const.myDrawLwrRightArm.diffY = [4 x double] [double 0.000000e+00, double 8.000000e-01, double 0.000000e+00, double 1.000000e+00]
@__const.myDrawLwrRightArm.diffW = [4 x double] [double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00]
@__const.myDrawLwrRightArm.diffBR = [4 x double] [double 4.000000e-01, double 2.000000e-01, double 1.000000e-01, double 1.000000e+00]
@__const.myDrawLwrRightArm.diffBL = [4 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00, double 1.000000e+00]
@GL_FRONT = global i32 0
@GL_SHININESS = global i32 0
@GL_SPECULAR = global i32 0
@GL_DIFFUSE = global i32 0
@GLU_FILL = global i32 0
@GLU_SMOOTH = global i32 0
define void @myDrawLwrRightArm() {
%1 = alloca i32*
%2 = alloca [4 x double]
%3 = alloca [4 x double]
%4 = alloca [4 x double]
%5 = alloca [4 x double]
%6 = alloca [4 x double]
%7 = alloca [4 x double]
%8 = bitcast [4 x double]* %2 to i8*
%9 = bitcast [4 x double]* %3 to i8*
%10 = bitcast [4 x double]* %4 to i8*
%11 = bitcast [4 x double]* %5 to i8*
%12 = bitcast [4 x double]* %6 to i8*
%13 = bitcast [4 x double]* %7 to i8*
%14 = load i32, i32* @GL_FRONT
%15 = load i32, i32* @GL_SHININESS
%16 = call i32 @glMaterialf(i32 %14, i32 %15, i32 0)
%17 = load i32, i32* @GL_FRONT
%18 = load i32, i32* @GL_SPECULAR
%19 = getelementptr inbounds [4 x double], [4 x double]* %2, i64 0, i64 0
%20 = call i32 @glMaterialfv(i32 %17, i32 %18, double* %19)
%21 = load i32, i32* @GL_FRONT
%22 = load i32, i32* @GL_DIFFUSE
%23 = getelementptr inbounds [4 x double], [4 x double]* %3, i64 0, i64 0
%24 = call i32 @glMaterialfv(i32 %21, i32 %22, double* %23)
%25 = call i32* (...) @gluNewQuadric()
store i32* %25, i32** %1
%26 = call i32* (...) @gluNewQuadric()
store i32* %26, i32** %1
%27 = load i32*, i32** %1
%28 = load i32, i32* @GLU_FILL
%29 = call i32 @gluQuadricDrawStyle(i32* %27, i32 %28)
%30 = load i32*, i32** %1
%31 = load i32, i32* @GLU_SMOOTH
%32 = call i32 @gluQuadricNormals(i32* %30, i32 %31)
%33 = load i32*, i32** %1
%34 = call i32 @gluCylinder(i32* %33, double 0x3FE6666666666666, double 5.000000e-01, double 1.900000e+00, i32 22, i32 22)
%35 = call i32 (...) @glPushMatrix()
%36 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 2.200000e+00)
%37 = call i32 @glScaled(double 1.000000e+00, double 2.000000e+00, double 1.000000e+00)
%38 = load i32*, i32** %1
%39 = call i32 @gluSphere(i32* %38, double 5.000000e-01, i32 30, i32 30)
%40 = call i32 (...) @glPushMatrix()
%41 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00)
%42 = load i32*, i32** %1
%43 = call i32 @gluCylinder(i32* %42, double 2.000000e-01, double 2.000000e-01, double 1.200000e+00, i32 22, i32 22)
%44 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 1.200000e+00)
%45 = load i32*, i32** %1
%46 = call i32 @gluSphere(i32* %45, double 2.000000e-01, i32 30, i32 30)
%47 = call i32 (...) @glPopMatrix()
%48 = call i32 (...) @glPushMatrix()
%49 = call i32 @glRotated(double 2.200000e+01, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%50 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 4.000000e-01)
%51 = load i32*, i32** %1
%52 = call i32 @gluCylinder(i32* %51, double 2.000000e-01, double 2.000000e-01, double 8.000000e-01, i32 22, i32 22)
%53 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 8.000000e-01)
%54 = load i32*, i32** %1
%55 = call i32 @gluSphere(i32* %54, double 2.000000e-01, i32 30, i32 30)
%56 = call i32 (...) @glPopMatrix()
%57 = call i32 (...) @glPushMatrix()
%58 = call i32 @glRotated(double 3.500000e+01, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%59 = call i32 @glTranslated(double 0.000000e+00, double -2.000000e-01, double 0.000000e+00)
%60 = load i32*, i32** %1
%61 = call i32 @gluCylinder(i32* %60, double 2.000000e-01, double 2.000000e-01, double 8.000000e-01, i32 22, i32 22)
%62 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 8.000000e-01)
%63 = load i32*, i32** %1
%64 = call i32 @gluSphere(i32* %63, double 2.000000e-01, i32 30, i32 30)
%65 = call i32 (...) @glPopMatrix()
%66 = call i32 (...) @glPushMatrix()
%67 = call i32 @glRotated(double -3.000000e+01, double 1.100000e+00, double 0.000000e+00, double 0.000000e+00)
%68 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 1.000000e-01)
%69 = load i32*, i32** %1
%70 = call i32 @gluCylinder(i32* %69, double 2.000000e-01, double 2.000000e-01, double 8.000000e-01, i32 22, i32 22)
%71 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 8.000000e-01)
%72 = load i32*, i32** %1
%73 = call i32 @gluSphere(i32* %72, double 2.000000e-01, i32 30, i32 30)
%74 = call i32 (...) @glPopMatrix()
%75 = call i32 (...) @glPopMatrix()
ret void
}

LLVM IR (-O2):
@__const.myDrawLwrRightArm.spec = [4 x double] [double 0.000000e+00, double 0.000000e+00, double 0.000000e+00, double 1.000000e+00]
@__const.myDrawLwrRightArm.diffY = [4 x double] [double 0.000000e+00, double 8.000000e-01, double 0.000000e+00, double 1.000000e+00]
@GL_FRONT = global i32 0
@GL_SHININESS = global i32 0
@GL_SPECULAR = global i32 0
@GL_DIFFUSE = global i32 0
@GLU_FILL = global i32 0
@GLU_SMOOTH = global i32 0
define void @myDrawLwrRightArm() {
%1 = alloca [4 x double]
%2 = alloca [4 x double]
%3 = bitcast [4 x double]* %1 to i8*
%4 = bitcast [4 x double]* %2 to i8*
%5 = load i32, i32* @GL_FRONT
%6 = load i32, i32* @GL_SHININESS
%7 = tail call i32 @glMaterialf(i32 %5, i32 %6, i32 0)
%8 = load i32, i32* @GL_FRONT
%9 = load i32, i32* @GL_SPECULAR
%10 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 0
%11 = call i32 @glMaterialfv(i32 %8, i32 %9, double* %10)
%12 = load i32, i32* @GL_FRONT
%13 = load i32, i32* @GL_DIFFUSE
%14 = getelementptr inbounds [4 x double], [4 x double]* %2, i64 0, i64 0
%15 = call i32 @glMaterialfv(i32 %12, i32 %13, double* %14)
%16 = call i32* (...) @gluNewQuadric()
%17 = call i32* (...) @gluNewQuadric()
%18 = load i32, i32* @GLU_FILL
%19 = call i32 @gluQuadricDrawStyle(i32* %17, i32 %18)
%20 = load i32, i32* @GLU_SMOOTH
%21 = call i32 @gluQuadricNormals(i32* %17, i32 %20)
%22 = call i32 @gluCylinder(i32* %17, double 0x3FE6666666666666, double 5.000000e-01, double 1.900000e+00, i32 22, i32 22)
%23 = call i32 (...) @glPushMatrix()
%24 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 2.200000e+00)
%25 = call i32 @glScaled(double 1.000000e+00, double 2.000000e+00, double 1.000000e+00)
%26 = call i32 @gluSphere(i32* %17, double 5.000000e-01, i32 30, i32 30)
%27 = call i32 (...) @glPushMatrix()
%28 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 0.000000e+00)
%29 = call i32 @gluCylinder(i32* %17, double 2.000000e-01, double 2.000000e-01, double 1.200000e+00, i32 22, i32 22)
%30 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 1.200000e+00)
%31 = call i32 @gluSphere(i32* %17, double 2.000000e-01, i32 30, i32 30)
%32 = call i32 (...) @glPopMatrix()
%33 = call i32 (...) @glPushMatrix()
%34 = call i32 @glRotated(double 2.200000e+01, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%35 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 4.000000e-01)
%36 = call i32 @gluCylinder(i32* %17, double 2.000000e-01, double 2.000000e-01, double 8.000000e-01, i32 22, i32 22)
%37 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 8.000000e-01)
%38 = call i32 @gluSphere(i32* %17, double 2.000000e-01, i32 30, i32 30)
%39 = call i32 (...) @glPopMatrix()
%40 = call i32 (...) @glPushMatrix()
%41 = call i32 @glRotated(double 3.500000e+01, double 1.000000e+00, double 0.000000e+00, double 0.000000e+00)
%42 = call i32 @glTranslated(double 0.000000e+00, double -2.000000e-01, double 0.000000e+00)
%43 = call i32 @gluCylinder(i32* %17, double 2.000000e-01, double 2.000000e-01, double 8.000000e-01, i32 22, i32 22)
%44 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 8.000000e-01)
%45 = call i32 @gluSphere(i32* %17, double 2.000000e-01, i32 30, i32 30)
%46 = call i32 (...) @glPopMatrix()
%47 = call i32 (...) @glPushMatrix()
%48 = call i32 @glRotated(double -3.000000e+01, double 1.100000e+00, double 0.000000e+00, double 0.000000e+00)
%49 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 1.000000e-01)
%50 = call i32 @gluCylinder(i32* %17, double 2.000000e-01, double 2.000000e-01, double 8.000000e-01, i32 22, i32 22)
%51 = call i32 @glTranslated(double 0.000000e+00, double 0.000000e+00, double 8.000000e-01)
%52 = call i32 @gluSphere(i32* %17, double 2.000000e-01, i32 30, i32 30)
%53 = call i32 (...) @glPopMatrix()
%54 = call i32 (...) @glPopMatrix()
ret void
}