void drawVector3D(float p[3], double u[3], double scale) {
  double c[3], cc[3], m[9], dd, scal5;
  m[0] = u[0];
  m[1] = u[1];
  m[2] = u[2];
  if (fabs(u[0]) > 1.e-06) {
    m[3] = -(u[1] + u[2]) / u[0];
    m[4] = m[5] = 1.0;
  } else if (fabs(u[1]) > 1.e-06) {
    m[4] = -(u[0] + u[2]) / u[1];
    m[3] = m[5] = 1.0;
  } else {
    m[5] = -(u[0] + u[1]) / u[2];
    m[3] = m[4] = 1.0;
  }
  dd = 1.0 / sqrt(m[3] * m[3] + m[4] * m[4] + m[5] * m[5]);
  m[3] *= dd;
  m[4] *= dd;
  m[5] *= dd;
  m[6] = m[1] * m[5] - m[2] * m[4];
  m[7] = m[2] * m[3] - m[0] * m[5];
  m[8] = m[0] * m[4] - m[3] * m[1];
  u[0] *= scale;
  u[1] *= scale;
  u[2] *= scale;
  c[0] = p[0] + u[0];
  c[1] = p[1] + u[1];
  c[2] = p[2] + u[2];
  glVertex3fv(p);
  glVertex3dv(c);
  scal5 = scale / 10.0;
  cc[0] = -.9781476007338057 * scal5;
  cc[1] = 0.0;
  cc[2] = .2079116908177593 * scal5;
  glVertex3dv(c);
  glVertex3d(c[0] + (m[0] * cc[0] + m[6] * cc[2]),
             c[1] + (m[1] * cc[0] + m[7] * cc[2]),
             c[2] + (m[2] * cc[0] + m[8] * cc[2]));
  cc[0] = -.9781476007338057 * scal5;
  cc[2] = -cc[2];
  glVertex3dv(c);
  glVertex3d(c[0] + (m[0] * cc[0] + m[6] * cc[2]),
             c[1] + (m[1] * cc[0] + m[7] * cc[2]),
             c[2] + (m[2] * cc[0] + m[8] * cc[2]));
  cc[0] = -.9781476007338057 * scal5;
  cc[1] = .2079116908177593 * scal5;
  cc[2] = 0.0;
  glVertex3dv(c);
  glVertex3d(c[0] + (m[0] * cc[0] + m[3] * cc[1]),
             c[1] + (m[1] * cc[0] + m[4] * cc[1]),
             c[2] + (m[2] * cc[0] + m[5] * cc[1]));
  cc[1] = -cc[1];
  glVertex3dv(c);
  glVertex3d(c[0] + (m[0] * cc[0] + m[3] * cc[1]),
             c[1] + (m[1] * cc[0] + m[4] * cc[1]),
             c[2] + (m[2] * cc[0] + m[5] * cc[1]));
}


x86 assembly (clang, -O0):
<drawVector3D>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movaps 0xe97(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  0xe5b(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1207 <drawVector3D+0xc7>
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
addsd  0x10(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x10(%rbp),%rax
divsd  (%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xe18(%rip),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xe0b(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
jmp    12dd <drawVector3D+0x19d>
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movaps 0xe19(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  0xddd(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1285 <drawVector3D+0x145>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
addsd  0x10(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x10(%rbp),%rax
divsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xd9d(%rip),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xd90(%rip),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
jmp    12d8 <drawVector3D+0x198>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
addsd  0x8(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x10(%rbp),%rax
divsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xd45(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xd38(%rip),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
jmp    12dd <drawVector3D+0x19d>
movsd  -0x88(%rbp),%xmm1
ff
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x80(%rbp),%xmm0
mulsd  -0x80(%rbp),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1060 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  0xce7(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x98(%rbp),%xmm0
ff
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  -0x80(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0x80(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x98(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x18(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
movsd  -0x18(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0x18(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm0
movsd  %xmm0,0x10(%rax)
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x10(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x10(%rbp),%rax
addsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x8(%rbp),%rax
movss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x10(%rbp),%rax
addsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x0,%al
call   1050 <glVertex3fv@plt>
lea    -0x30(%rbp),%rdi
mov    $0x0,%al
call   1040 <glVertex3dv@plt>
movsd  -0x18(%rbp),%xmm0
movsd  0xb4e(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xb32(%rip),%xmm0
mulsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xb0d(%rip),%xmm0
mulsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x40(%rbp)
lea    -0x30(%rbp),%rdi
mov    $0x0,%al
call   1040 <glVertex3dv@plt>
movsd  -0x30(%rbp),%xmm0
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0x50(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm2
mulsd  -0x40(%rbp),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x98(%rbp),%xmm2
ff
movsd  -0x50(%rbp),%xmm4
movsd  -0x68(%rbp),%xmm3
mulsd  -0x40(%rbp),%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
addsd  %xmm2,%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm3
ff
movsd  -0x50(%rbp),%xmm5
movsd  -0x60(%rbp),%xmm4
mulsd  -0x40(%rbp),%xmm4
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
addsd  %xmm3,%xmm2
mov    $0x3,%al
call   1030 <glVertex3d@plt>
movsd  0xa76(%rip),%xmm0
mulsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x50(%rbp)
movsd  -0x40(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    -0x30(%rbp),%rdi
mov    $0x0,%al
call   1040 <glVertex3dv@plt>
movsd  -0x30(%rbp),%xmm0
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0x50(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm2
mulsd  -0x40(%rbp),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x98(%rbp),%xmm2
ff
movsd  -0x50(%rbp),%xmm4
movsd  -0x68(%rbp),%xmm3
mulsd  -0x40(%rbp),%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
addsd  %xmm2,%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm3
ff
movsd  -0x50(%rbp),%xmm5
movsd  -0x60(%rbp),%xmm4
mulsd  -0x40(%rbp),%xmm4
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
addsd  %xmm3,%xmm2
mov    $0x3,%al
call   1030 <glVertex3d@plt>
movsd  0x9b6(%rip),%xmm0
mulsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x50(%rbp)
movsd  0x999(%rip),%xmm0
mulsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    -0x30(%rbp),%rdi
mov    $0x0,%al
call   1040 <glVertex3dv@plt>
movsd  -0x30(%rbp),%xmm0
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0x50(%rbp),%xmm3
movsd  -0x88(%rbp),%xmm2
ff
mulsd  -0x48(%rbp),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x98(%rbp),%xmm2
ff
movsd  -0x50(%rbp),%xmm4
movsd  -0x80(%rbp),%xmm3
mulsd  -0x48(%rbp),%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
addsd  %xmm2,%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm3
ff
movsd  -0x50(%rbp),%xmm5
movsd  -0x78(%rbp),%xmm4
mulsd  -0x48(%rbp),%xmm4
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
addsd  %xmm3,%xmm2
mov    $0x3,%al
call   1030 <glVertex3d@plt>
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x48(%rbp)
lea    -0x30(%rbp),%rdi
mov    $0x0,%al
call   1040 <glVertex3dv@plt>
movsd  -0x30(%rbp),%xmm0
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0x50(%rbp),%xmm3
movsd  -0x88(%rbp),%xmm2
ff
mulsd  -0x48(%rbp),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x98(%rbp),%xmm2
ff
movsd  -0x50(%rbp),%xmm4
movsd  -0x80(%rbp),%xmm3
mulsd  -0x48(%rbp),%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
addsd  %xmm2,%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm3
ff
movsd  -0x50(%rbp),%xmm5
movsd  -0x78(%rbp),%xmm4
mulsd  -0x48(%rbp),%xmm4
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
addsd  %xmm3,%xmm2
mov    $0x3,%al
call   1030 <glVertex3d@plt>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<drawVector3D>:
push   %r14
push   %rbx
sub    $0xd8,%rsp
movaps %xmm0,0x30(%rsp)
mov    %rsi,%rbx
mov    %rdi,%r14
movsd  (%rsi),%xmm1
movsd  0x8(%rsi),%xmm2
movsd  0x10(%rsi),%xmm5
movapd 0xe95(%rip),%xmm0
andpd  %xmm1,%xmm0
ucomisd 0xea9(%rip),%xmm0
movapd %xmm1,0x60(%rsp)
jbe    11a1 <drawVector3D+0x61>
movapd %xmm2,%xmm3
addsd  %xmm5,%xmm3
xorpd  0xe81(%rip),%xmm3
divsd  %xmm1,%xmm3
movsd  0xe8d(%rip),%xmm0
movapd %xmm0,%xmm4
jmp    11f9 <drawVector3D+0xb9>
movapd 0xe57(%rip),%xmm0
andpd  %xmm2,%xmm0
ucomisd 0xe6b(%rip),%xmm0
jbe    11d9 <drawVector3D+0x99>
movapd %xmm1,%xmm0
addsd  %xmm5,%xmm0
xorpd  0xe49(%rip),%xmm0
divsd  %xmm2,%xmm0
movsd  0xe55(%rip),%xmm3
movapd %xmm3,%xmm4
jmp    11f9 <drawVector3D+0xb9>
movapd %xmm1,%xmm4
addsd  %xmm2,%xmm4
xorpd  0xe27(%rip),%xmm4
divsd  %xmm5,%xmm4
movsd  0xe33(%rip),%xmm3
movapd %xmm3,%xmm0
movapd %xmm0,0x80(%rsp)
mulsd  %xmm0,%xmm0
movapd %xmm3,%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm0,%xmm1
movapd %xmm4,%xmm0
mulsd  %xmm4,%xmm0
addsd  %xmm1,%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
movapd %xmm2,0x50(%rsp)
movsd  %xmm5,0x98(%rsp)
jb     123d <drawVector3D+0xfd>
sqrtsd %xmm0,%xmm0
jmp    126f <drawVector3D+0x12f>
movapd %xmm3,0x70(%rsp)
movapd %xmm4,0xa0(%rsp)
call   1060 <sqrt@plt>
movsd  0x98(%rsp),%xmm5
movapd 0xa0(%rsp),%xmm4
movapd 0x70(%rsp),%xmm3
movapd 0x50(%rsp),%xmm2
movsd  0xdb1(%rip),%xmm1
divsd  %xmm0,%xmm1
mulsd  %xmm1,%xmm3
movapd %xmm3,0x70(%rsp)
movapd 0x80(%rsp),%xmm6
mulsd  %xmm1,%xmm6
mulsd  %xmm1,%xmm4
movapd %xmm4,0xa0(%rsp)
movapd %xmm6,%xmm0
movapd %xmm6,0x80(%rsp)
mulsd  %xmm5,%xmm0
movapd %xmm2,%xmm1
mulsd  %xmm4,%xmm1
subsd  %xmm0,%xmm1
movapd %xmm1,0xb0(%rsp)
movapd %xmm4,%xmm0
movapd 0x60(%rsp),%xmm4
mulsd  %xmm4,%xmm0
movapd %xmm5,%xmm1
mulsd  %xmm3,%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x48(%rsp)
movapd %xmm2,%xmm0
mulsd  %xmm3,%xmm0
movapd %xmm4,%xmm1
mulsd  %xmm6,%xmm1
subsd  %xmm0,%xmm1
movapd %xmm1,0xc0(%rsp)
movupd (%rbx),%xmm0
movapd 0x30(%rsp),%xmm2
movapd %xmm2,%xmm1
unpcklpd %xmm2,%xmm1
mulpd  %xmm0,%xmm1
movupd %xmm1,(%rbx)
movsd  0x10(%rbx),%xmm0
mulsd  %xmm2,%xmm0
movsd  %xmm0,0x10(%rbx)
cvtps2pd (%r14),%xmm2
addpd  %xmm1,%xmm2
movapd %xmm2,0x10(%rsp)
movss  0x8(%r14),%xmm1
cvtss2sd %xmm1,%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x20(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <glVertex3fv@plt>
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <glVertex3dv@plt>
movapd 0x30(%rsp),%xmm0
divsd  0xcbd(%rip),%xmm0
movsd  0xcbd(%rip),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
mulsd  0xcb3(%rip),%xmm0
movapd %xmm0,0x30(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <glVertex3dv@plt>
movapd 0xb0(%rsp),%xmm1
movapd 0x30(%rsp),%xmm5
mulsd  %xmm5,%xmm1
movapd %xmm1,0xb0(%rsp)
movapd 0x60(%rsp),%xmm0
movsd  0x8(%rsp),%xmm3
mulsd  %xmm3,%xmm0
movapd %xmm0,0x60(%rsp)
addsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
movsd  0x48(%rsp),%xmm2
mulsd  %xmm5,%xmm2
movsd  %xmm2,0x48(%rsp)
movapd 0x50(%rsp),%xmm1
mulsd  %xmm3,%xmm1
movapd %xmm1,0x50(%rsp)
addsd  %xmm2,%xmm1
addsd  0x18(%rsp),%xmm1
movapd 0xc0(%rsp),%xmm4
mulsd  %xmm5,%xmm4
movapd %xmm4,0xc0(%rsp)
mulsd  0x98(%rsp),%xmm3
movsd  %xmm3,0x8(%rsp)
movapd %xmm3,%xmm2
addsd  %xmm4,%xmm2
addsd  0x20(%rsp),%xmm2
mov    $0x3,%al
call   1030 <glVertex3d@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <glVertex3dv@plt>
movapd 0x60(%rsp),%xmm0
subsd  0xb0(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movapd 0x50(%rsp),%xmm1
subsd  0x48(%rsp),%xmm1
addsd  0x18(%rsp),%xmm1
movsd  0x8(%rsp),%xmm2
subsd  0xc0(%rsp),%xmm2
addsd  0x20(%rsp),%xmm2
mov    $0x3,%al
call   1030 <glVertex3d@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <glVertex3dv@plt>
movapd 0x70(%rsp),%xmm1
movapd 0x30(%rsp),%xmm3
mulsd  %xmm3,%xmm1
movapd %xmm1,0x70(%rsp)
movapd 0x60(%rsp),%xmm0
addsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
movapd 0x80(%rsp),%xmm2
mulsd  %xmm3,%xmm2
movapd %xmm2,0x80(%rsp)
movapd 0x50(%rsp),%xmm1
addsd  %xmm2,%xmm1
addsd  0x18(%rsp),%xmm1
mulsd  0xa0(%rsp),%xmm3
movapd %xmm3,0x30(%rsp)
movsd  0x8(%rsp),%xmm2
addsd  %xmm3,%xmm2
addsd  0x20(%rsp),%xmm2
mov    $0x3,%al
call   1030 <glVertex3d@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <glVertex3dv@plt>
movapd 0x60(%rsp),%xmm0
subsd  0x70(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movapd 0x50(%rsp),%xmm1
subsd  0x80(%rsp),%xmm1
addsd  0x18(%rsp),%xmm1
movsd  0x8(%rsp),%xmm2
subsd  0x30(%rsp),%xmm2
addsd  0x20(%rsp),%xmm2
mov    $0x3,%al
call   1030 <glVertex3d@plt>
add    $0xd8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @drawVector3D(float* %0, double* %1, double %2) {
%4 = alloca float*
%5 = alloca double*
%6 = alloca double
%7 = alloca [3 x double]
%8 = alloca [3 x double]
%9 = alloca [9 x double]
%10 = alloca double
%11 = alloca double
store float* %0, float** %4
store double* %1, double** %5
store double %2, double* %6
%12 = load double*, double** %5
%13 = getelementptr inbounds double, double* %12, i64 0
%14 = load double, double* %13
%15 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 0
store double %14, double* %15
%16 = load double*, double** %5
%17 = getelementptr inbounds double, double* %16, i64 1
%18 = load double, double* %17
%19 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 1
store double %18, double* %19
%20 = load double*, double** %5
%21 = getelementptr inbounds double, double* %20, i64 2
%22 = load double, double* %21
%23 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 2
store double %22, double* %23
%24 = load double*, double** %5
%25 = getelementptr inbounds double, double* %24, i64 0
%26 = load double, double* %25
%27 = call double @llvm.fabs.f64(double %26)
%28 = fcmp ogt double %27, 0x3EB0C6F7A0B5ED8D
br i1 %28, label %29, label %45
29: ; preds = %3
%30 = load double*, double** %5
%31 = getelementptr inbounds double, double* %30, i64 1
%32 = load double, double* %31
%33 = load double*, double** %5
%34 = getelementptr inbounds double, double* %33, i64 2
%35 = load double, double* %34
%36 = fadd double %32, %35
%37 = fneg double %36
%38 = load double*, double** %5
%39 = getelementptr inbounds double, double* %38, i64 0
%40 = load double, double* %39
%41 = fdiv double %37, %40
%42 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
store double %41, double* %42
%43 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
store double 1.000000e+00, double* %43
%44 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
store double 1.000000e+00, double* %44
br label %84
45: ; preds = %3
%46 = load double*, double** %5
%47 = getelementptr inbounds double, double* %46, i64 1
%48 = load double, double* %47
%49 = call double @llvm.fabs.f64(double %48)
%50 = fcmp ogt double %49, 0x3EB0C6F7A0B5ED8D
br i1 %50, label %51, label %67
51: ; preds = %45
%52 = load double*, double** %5
%53 = getelementptr inbounds double, double* %52, i64 0
%54 = load double, double* %53
%55 = load double*, double** %5
%56 = getelementptr inbounds double, double* %55, i64 2
%57 = load double, double* %56
%58 = fadd double %54, %57
%59 = fneg double %58
%60 = load double*, double** %5
%61 = getelementptr inbounds double, double* %60, i64 1
%62 = load double, double* %61
%63 = fdiv double %59, %62
%64 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
store double %63, double* %64
%65 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
store double 1.000000e+00, double* %65
%66 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
store double 1.000000e+00, double* %66
br label %83
67: ; preds = %45
%68 = load double*, double** %5
%69 = getelementptr inbounds double, double* %68, i64 0
%70 = load double, double* %69
%71 = load double*, double** %5
%72 = getelementptr inbounds double, double* %71, i64 1
%73 = load double, double* %72
%74 = fadd double %70, %73
%75 = fneg double %74
%76 = load double*, double** %5
%77 = getelementptr inbounds double, double* %76, i64 2
%78 = load double, double* %77
%79 = fdiv double %75, %78
%80 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
store double %79, double* %80
%81 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
store double 1.000000e+00, double* %81
%82 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
store double 1.000000e+00, double* %82
br label %83
83: ; preds = %67, %51
br label %84
84: ; preds = %83, %29
%85 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
%86 = load double, double* %85
%87 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
%88 = load double, double* %87
%89 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
%90 = load double, double* %89
%91 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
%92 = load double, double* %91
%93 = fmul double %90, %92
%94 = call double @llvm.fmuladd.f64(double %86, double %88, double %93)
%95 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
%96 = load double, double* %95
%97 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
%98 = load double, double* %97
%99 = call double @llvm.fmuladd.f64(double %96, double %98, double %94)
%100 = call double @sqrt(double %99)
%101 = fdiv double 1.000000e+00, %100
store double %101, double* %10
%102 = load double, double* %10
%103 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
%104 = load double, double* %103
%105 = fmul double %104, %102
store double %105, double* %103
%106 = load double, double* %10
%107 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
%108 = load double, double* %107
%109 = fmul double %108, %106
store double %109, double* %107
%110 = load double, double* %10
%111 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
%112 = load double, double* %111
%113 = fmul double %112, %110
store double %113, double* %111
%114 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 1
%115 = load double, double* %114
%116 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
%117 = load double, double* %116
%118 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 2
%119 = load double, double* %118
%120 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
%121 = load double, double* %120
%122 = fmul double %119, %121
%123 = fneg double %122
%124 = call double @llvm.fmuladd.f64(double %115, double %117, double %123)
%125 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 6
store double %124, double* %125
%126 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 2
%127 = load double, double* %126
%128 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
%129 = load double, double* %128
%130 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 0
%131 = load double, double* %130
%132 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
%133 = load double, double* %132
%134 = fmul double %131, %133
%135 = fneg double %134
%136 = call double @llvm.fmuladd.f64(double %127, double %129, double %135)
%137 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 7
store double %136, double* %137
%138 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 0
%139 = load double, double* %138
%140 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
%141 = load double, double* %140
%142 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
%143 = load double, double* %142
%144 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 1
%145 = load double, double* %144
%146 = fmul double %143, %145
%147 = fneg double %146
%148 = call double @llvm.fmuladd.f64(double %139, double %141, double %147)
%149 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 8
store double %148, double* %149
%150 = load double, double* %6
%151 = load double*, double** %5
%152 = getelementptr inbounds double, double* %151, i64 0
%153 = load double, double* %152
%154 = fmul double %153, %150
store double %154, double* %152
%155 = load double, double* %6
%156 = load double*, double** %5
%157 = getelementptr inbounds double, double* %156, i64 1
%158 = load double, double* %157
%159 = fmul double %158, %155
store double %159, double* %157
%160 = load double, double* %6
%161 = load double*, double** %5
%162 = getelementptr inbounds double, double* %161, i64 2
%163 = load double, double* %162
%164 = fmul double %163, %160
store double %164, double* %162
%165 = load float*, float** %4
%166 = getelementptr inbounds float, float* %165, i64 0
%167 = load float, float* %166
%168 = fpext float %167 to double
%169 = load double*, double** %5
%170 = getelementptr inbounds double, double* %169, i64 0
%171 = load double, double* %170
%172 = fadd double %168, %171
%173 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
store double %172, double* %173
%174 = load float*, float** %4
%175 = getelementptr inbounds float, float* %174, i64 1
%176 = load float, float* %175
%177 = fpext float %176 to double
%178 = load double*, double** %5
%179 = getelementptr inbounds double, double* %178, i64 1
%180 = load double, double* %179
%181 = fadd double %177, %180
%182 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 1
store double %181, double* %182
%183 = load float*, float** %4
%184 = getelementptr inbounds float, float* %183, i64 2
%185 = load float, float* %184
%186 = fpext float %185 to double
%187 = load double*, double** %5
%188 = getelementptr inbounds double, double* %187, i64 2
%189 = load double, double* %188
%190 = fadd double %186, %189
%191 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 2
store double %190, double* %191
%192 = load float*, float** %4
%193 = call i32 (float*, ...) bitcast (i32 (...)* @glVertex3fv to i32 (float*, ...)*)(float* %192)
%194 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%195 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %194)
%196 = load double, double* %6
%197 = fdiv double %196, 1.000000e+01
store double %197, double* %11
%198 = load double, double* %11
%199 = fmul double 0xBFEF4CFC327A0080, %198
%200 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
store double %199, double* %200
%201 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
store double 0.000000e+00, double* %201
%202 = load double, double* %11
%203 = fmul double 0x3FCA9CD9AC4258F4, %202
%204 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
store double %203, double* %204
%205 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%206 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %205)
%207 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%208 = load double, double* %207
%209 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 0
%210 = load double, double* %209
%211 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%212 = load double, double* %211
%213 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 6
%214 = load double, double* %213
%215 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
%216 = load double, double* %215
%217 = fmul double %214, %216
%218 = call double @llvm.fmuladd.f64(double %210, double %212, double %217)
%219 = fadd double %208, %218
%220 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 1
%221 = load double, double* %220
%222 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 1
%223 = load double, double* %222
%224 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%225 = load double, double* %224
%226 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 7
%227 = load double, double* %226
%228 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
%229 = load double, double* %228
%230 = fmul double %227, %229
%231 = call double @llvm.fmuladd.f64(double %223, double %225, double %230)
%232 = fadd double %221, %231
%233 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 2
%234 = load double, double* %233
%235 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 2
%236 = load double, double* %235
%237 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%238 = load double, double* %237
%239 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 8
%240 = load double, double* %239
%241 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
%242 = load double, double* %241
%243 = fmul double %240, %242
%244 = call double @llvm.fmuladd.f64(double %236, double %238, double %243)
%245 = fadd double %234, %244
%246 = call i32 (double, double, double, ...) bitcast (i32 (...)* @glVertex3d to i32 (double, double, double, ...)*)(double %219, double %232, double %245)
%247 = load double, double* %11
%248 = fmul double 0xBFEF4CFC327A0080, %247
%249 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
store double %248, double* %249
%250 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
%251 = load double, double* %250
%252 = fneg double %251
%253 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
store double %252, double* %253
%254 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%255 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %254)
%256 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%257 = load double, double* %256
%258 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 0
%259 = load double, double* %258
%260 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%261 = load double, double* %260
%262 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 6
%263 = load double, double* %262
%264 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
%265 = load double, double* %264
%266 = fmul double %263, %265
%267 = call double @llvm.fmuladd.f64(double %259, double %261, double %266)
%268 = fadd double %257, %267
%269 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 1
%270 = load double, double* %269
%271 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 1
%272 = load double, double* %271
%273 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%274 = load double, double* %273
%275 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 7
%276 = load double, double* %275
%277 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
%278 = load double, double* %277
%279 = fmul double %276, %278
%280 = call double @llvm.fmuladd.f64(double %272, double %274, double %279)
%281 = fadd double %270, %280
%282 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 2
%283 = load double, double* %282
%284 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 2
%285 = load double, double* %284
%286 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%287 = load double, double* %286
%288 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 8
%289 = load double, double* %288
%290 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
%291 = load double, double* %290
%292 = fmul double %289, %291
%293 = call double @llvm.fmuladd.f64(double %285, double %287, double %292)
%294 = fadd double %283, %293
%295 = call i32 (double, double, double, ...) bitcast (i32 (...)* @glVertex3d to i32 (double, double, double, ...)*)(double %268, double %281, double %294)
%296 = load double, double* %11
%297 = fmul double 0xBFEF4CFC327A0080, %296
%298 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
store double %297, double* %298
%299 = load double, double* %11
%300 = fmul double 0x3FCA9CD9AC4258F4, %299
%301 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
store double %300, double* %301
%302 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 2
store double 0.000000e+00, double* %302
%303 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%304 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %303)
%305 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%306 = load double, double* %305
%307 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 0
%308 = load double, double* %307
%309 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%310 = load double, double* %309
%311 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
%312 = load double, double* %311
%313 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
%314 = load double, double* %313
%315 = fmul double %312, %314
%316 = call double @llvm.fmuladd.f64(double %308, double %310, double %315)
%317 = fadd double %306, %316
%318 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 1
%319 = load double, double* %318
%320 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 1
%321 = load double, double* %320
%322 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%323 = load double, double* %322
%324 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
%325 = load double, double* %324
%326 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
%327 = load double, double* %326
%328 = fmul double %325, %327
%329 = call double @llvm.fmuladd.f64(double %321, double %323, double %328)
%330 = fadd double %319, %329
%331 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 2
%332 = load double, double* %331
%333 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 2
%334 = load double, double* %333
%335 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%336 = load double, double* %335
%337 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
%338 = load double, double* %337
%339 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
%340 = load double, double* %339
%341 = fmul double %338, %340
%342 = call double @llvm.fmuladd.f64(double %334, double %336, double %341)
%343 = fadd double %332, %342
%344 = call i32 (double, double, double, ...) bitcast (i32 (...)* @glVertex3d to i32 (double, double, double, ...)*)(double %317, double %330, double %343)
%345 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
%346 = load double, double* %345
%347 = fneg double %346
%348 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
store double %347, double* %348
%349 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%350 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %349)
%351 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%352 = load double, double* %351
%353 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 0
%354 = load double, double* %353
%355 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%356 = load double, double* %355
%357 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 3
%358 = load double, double* %357
%359 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
%360 = load double, double* %359
%361 = fmul double %358, %360
%362 = call double @llvm.fmuladd.f64(double %354, double %356, double %361)
%363 = fadd double %352, %362
%364 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 1
%365 = load double, double* %364
%366 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 1
%367 = load double, double* %366
%368 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%369 = load double, double* %368
%370 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 4
%371 = load double, double* %370
%372 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
%373 = load double, double* %372
%374 = fmul double %371, %373
%375 = call double @llvm.fmuladd.f64(double %367, double %369, double %374)
%376 = fadd double %365, %375
%377 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 2
%378 = load double, double* %377
%379 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 2
%380 = load double, double* %379
%381 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%382 = load double, double* %381
%383 = getelementptr inbounds [9 x double], [9 x double]* %9, i64 0, i64 5
%384 = load double, double* %383
%385 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 1
%386 = load double, double* %385
%387 = fmul double %384, %386
%388 = call double @llvm.fmuladd.f64(double %380, double %382, double %387)
%389 = fadd double %378, %388
%390 = call i32 (double, double, double, ...) bitcast (i32 (...)* @glVertex3d to i32 (double, double, double, ...)*)(double %363, double %376, double %389)
ret void
}

LLVM IR (-O2):
define void @drawVector3D(float* %0, double* nocapture %1, double %2) {
%4 = alloca [3 x double]
%5 = bitcast [3 x double]* %4 to i8*
%6 = load double, double* %1
%7 = getelementptr inbounds double, double* %1, i64 1
%8 = load double, double* %7
%9 = getelementptr inbounds double, double* %1, i64 2
%10 = load double, double* %9
%11 = tail call double @llvm.fabs.f64(double %6)
%12 = fcmp ogt double %11, 0x3EB0C6F7A0B5ED8D
br i1 %12, label %13, label %17
13: ; preds = %3
%14 = fadd double %8, %10
%15 = fneg double %14
%16 = fdiv double %15, %6
br label %28
17: ; preds = %3
%18 = tail call double @llvm.fabs.f64(double %8)
%19 = fcmp ogt double %18, 0x3EB0C6F7A0B5ED8D
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = fadd double %6, %10
%22 = fneg double %21
%23 = fdiv double %22, %8
br label %28
24: ; preds = %17
%25 = fadd double %6, %8
%26 = fneg double %25
%27 = fdiv double %26, %10
br label %28
28: ; preds = %20, %24, %13
%29 = phi double [ %16, %13 ], [ 1.000000e+00, %20 ], [ 1.000000e+00, %24 ]
%30 = phi double [ 1.000000e+00, %13 ], [ %23, %20 ], [ 1.000000e+00, %24 ]
%31 = phi double [ 1.000000e+00, %13 ], [ 1.000000e+00, %20 ], [ %27, %24 ]
%32 = fmul double %30, %30
%33 = tail call double @llvm.fmuladd.f64(double %29, double %29, double %32)
%34 = tail call double @llvm.fmuladd.f64(double %31, double %31, double %33)
%35 = tail call double @sqrt(double %34)
%36 = fdiv double 1.000000e+00, %35
%37 = fmul double %29, %36
%38 = fmul double %30, %36
%39 = fmul double %31, %36
%40 = fneg double %10
%41 = fmul double %38, %40
%42 = tail call double @llvm.fmuladd.f64(double %8, double %39, double %41)
%43 = fneg double %6
%44 = fmul double %39, %43
%45 = tail call double @llvm.fmuladd.f64(double %10, double %37, double %44)
%46 = fneg double %37
%47 = fmul double %8, %46
%48 = tail call double @llvm.fmuladd.f64(double %6, double %38, double %47)
%49 = bitcast double* %1 to <2 x double>*
%50 = load <2 x double>, <2 x double>* %49
%51 = insertelement <2 x double> poison, double %2, i64 0
%52 = shufflevector <2 x double> %51, <2 x double> poison, <2 x i32> zeroinitializer
%53 = fmul <2 x double> %50, %52
%54 = bitcast double* %1 to <2 x double>*
store <2 x double> %53, <2 x double>* %54
%55 = load double, double* %9
%56 = fmul double %55, %2
store double %56, double* %9
%57 = getelementptr inbounds [3 x double], [3 x double]* %4, i64 0, i64 0
%58 = bitcast float* %0 to <2 x float>*
%59 = load <2 x float>, <2 x float>* %58
%60 = fpext <2 x float> %59 to <2 x double>
%61 = fadd <2 x double> %53, %60
%62 = getelementptr inbounds [3 x double], [3 x double]* %4, i64 0, i64 1
%63 = bitcast [3 x double]* %4 to <2 x double>*
store <2 x double> %61, <2 x double>* %63
%64 = getelementptr inbounds float, float* %0, i64 2
%65 = load float, float* %64
%66 = fpext float %65 to double
%67 = fadd double %56, %66
%68 = getelementptr inbounds [3 x double], [3 x double]* %4, i64 0, i64 2
store double %67, double* %68
%69 = tail call i32 (float*, ...) bitcast (i32 (...)* @glVertex3fv to i32 (float*, ...)*)(float* %0)
%70 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %57)
%71 = fdiv double %2, 1.000000e+01
%72 = fmul double %71, 0xBFEF4CFC327A0080
%73 = fmul double %71, 0x3FCA9CD9AC4258F4
%74 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %57)
%75 = load double, double* %57
%76 = fmul double %73, %42
%77 = call double @llvm.fmuladd.f64(double %6, double %72, double %76)
%78 = fadd double %77, %75
%79 = load double, double* %62
%80 = fmul double %73, %45
%81 = call double @llvm.fmuladd.f64(double %8, double %72, double %80)
%82 = fadd double %81, %79
%83 = load double, double* %68
%84 = fmul double %73, %48
%85 = call double @llvm.fmuladd.f64(double %10, double %72, double %84)
%86 = fadd double %85, %83
%87 = call i32 (double, double, double, ...) bitcast (i32 (...)* @glVertex3d to i32 (double, double, double, ...)*)(double %78, double %82, double %86)
%88 = fneg double %73
%89 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %57)
%90 = load double, double* %57
%91 = fmul double %42, %88
%92 = call double @llvm.fmuladd.f64(double %6, double %72, double %91)
%93 = fadd double %92, %90
%94 = load double, double* %62
%95 = fmul double %45, %88
%96 = call double @llvm.fmuladd.f64(double %8, double %72, double %95)
%97 = fadd double %96, %94
%98 = load double, double* %68
%99 = fmul double %48, %88
%100 = call double @llvm.fmuladd.f64(double %10, double %72, double %99)
%101 = fadd double %100, %98
%102 = call i32 (double, double, double, ...) bitcast (i32 (...)* @glVertex3d to i32 (double, double, double, ...)*)(double %93, double %97, double %101)
%103 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %57)
%104 = load double, double* %57
%105 = fmul double %73, %37
%106 = call double @llvm.fmuladd.f64(double %6, double %72, double %105)
%107 = fadd double %106, %104
%108 = load double, double* %62
%109 = fmul double %73, %38
%110 = call double @llvm.fmuladd.f64(double %8, double %72, double %109)
%111 = fadd double %110, %108
%112 = load double, double* %68
%113 = fmul double %73, %39
%114 = call double @llvm.fmuladd.f64(double %10, double %72, double %113)
%115 = fadd double %114, %112
%116 = call i32 (double, double, double, ...) bitcast (i32 (...)* @glVertex3d to i32 (double, double, double, ...)*)(double %107, double %111, double %115)
%117 = call i32 (double*, ...) bitcast (i32 (...)* @glVertex3dv to i32 (double*, ...)*)(double* %57)
%118 = load double, double* %57
%119 = fmul double %37, %88
%120 = call double @llvm.fmuladd.f64(double %6, double %72, double %119)
%121 = fadd double %120, %118
%122 = load double, double* %62
%123 = fmul double %38, %88
%124 = call double @llvm.fmuladd.f64(double %8, double %72, double %123)
%125 = fadd double %124, %122
%126 = load double, double* %68
%127 = fmul double %39, %88
%128 = call double @llvm.fmuladd.f64(double %10, double %72, double %127)
%129 = fadd double %128, %126
%130 = call i32 (double, double, double, ...) bitcast (i32 (...)* @glVertex3d to i32 (double, double, double, ...)*)(double %121, double %125, double %129)
ret void
}