#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 /*<<< orphan*/ GLenum;
typedef int GLdouble;

/* Variables and functions */
int /*<<< orphan*/ crossprod(int *, int *, int *);
int /*<<< orphan*/ diff3(int *, int *, int *);
int /*<<< orphan*/ glBegin(int /*<<< orphan*/);
int /*<<< orphan*/ glEnd();
int /*<<< orphan*/ glNormal3dv(int *);
int /*<<< orphan*/ glVertex3dv(int *);
int /*<<< orphan*/ m_xformpt(int *, int *, int *, int *);
int /*<<< orphan*/ m_xformptonly(int *, int *);
int /*<<< orphan*/ normalize(int *);
void recorditem(GLdouble *n1, GLdouble *n2, GLdouble *n3, GLdouble center[3],
                GLdouble radius, GLenum shadeType, int avnormal) {
  GLdouble p1[3], p2[3], p3[3], q0[3], q1[3], n11[3], n22[3], n33[3];
  int i;
  for (i = 0; i < 3; i++) {
    p1[i] = n1[i] * radius + center[i];
    p2[i] = n2[i] * radius + center[i];
    p3[i] = n3[i] * radius + center[i];
  }
  if (avnormal == 0) {
    diff3(p1, p2, q0);
    diff3(p2, p3, q1);
    crossprod(q0, q1, q1);
    normalize(q1);
    m_xformpt(p1, p1, q1, n11);
    m_xformptonly(p2, p2);
    m_xformptonly(p3, p3);
    glBegin(shadeType);
    glNormal3dv(n11);
    glVertex3dv(p1);
    glVertex3dv(p2);
    glVertex3dv(p3);
    glEnd();
    return;
  }
  m_xformpt(p1, p1, n1, n11);
  m_xformpt(p2, p2, n2, n22);
  m_xformpt(p3, p3, n3, n33);
  glBegin(shadeType);
  glNormal3dv(n11);
  glVertex3dv(p1);
  glNormal3dv(n22);
  glVertex3dv(p2);
  glNormal3dv(n33);
  glVertex3dv(p3);
  glEnd();
}


x86 assembly (clang, -O0):
<recorditem>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    %r9d,-0x28(%rbp)
movl   $0x0,-0x8c(%rbp)
cmpl   $0x3,-0x8c(%rbp)
jge    1262 <recorditem+0xd2>
mov    -0x8(%rbp),%rax
movslq -0x8c(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
imul   -0x24(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq -0x8c(%rbp),%rdx
add    (%rax,%rdx,4),%ecx
movslq -0x8c(%rbp),%rax
mov    %ecx,-0x34(%rbp,%rax,4)
mov    -0x10(%rbp),%rax
movslq -0x8c(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
imul   -0x24(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq -0x8c(%rbp),%rdx
add    (%rax,%rdx,4),%ecx
movslq -0x8c(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
mov    -0x18(%rbp),%rax
movslq -0x8c(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
imul   -0x24(%rbp),%ecx
mov    -0x20(%rbp),%rax
movslq -0x8c(%rbp),%rdx
add    (%rax,%rdx,4),%ecx
movslq -0x8c(%rbp),%rax
mov    %ecx,-0x4c(%rbp,%rax,4)
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    11c0 <recorditem+0x30>
cmpl   $0x0,0x10(%rbp)
jne    130f <recorditem+0x17f>
lea    -0x34(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x58(%rbp),%rdx
call   10a0 <diff3@plt>
lea    -0x40(%rbp),%rdi
lea    -0x4c(%rbp),%rsi
lea    -0x64(%rbp),%rdx
call   10a0 <diff3@plt>
lea    -0x58(%rbp),%rdi
lea    -0x64(%rbp),%rsi
lea    -0x64(%rbp),%rdx
call   1090 <crossprod@plt>
lea    -0x64(%rbp),%rdi
call   1070 <normalize@plt>
lea    -0x34(%rbp),%rdi
lea    -0x34(%rbp),%rsi
lea    -0x64(%rbp),%rdx
lea    -0x70(%rbp),%rcx
call   1080 <m_xformpt@plt>
lea    -0x40(%rbp),%rdi
lea    -0x40(%rbp),%rsi
call   1030 <m_xformptonly@plt>
lea    -0x4c(%rbp),%rdi
lea    -0x4c(%rbp),%rsi
call   1030 <m_xformptonly@plt>
mov    -0x28(%rbp),%edi
call   10b0 <glBegin@plt>
lea    -0x70(%rbp),%rdi
call   1040 <glNormal3dv@plt>
lea    -0x34(%rbp),%rdi
call   1060 <glVertex3dv@plt>
lea    -0x40(%rbp),%rdi
call   1060 <glVertex3dv@plt>
lea    -0x4c(%rbp),%rdi
call   1060 <glVertex3dv@plt>
mov    $0x0,%al
call   1050 <glEnd@plt>
jmp    1399 <recorditem+0x209>
lea    -0x34(%rbp),%rdi
lea    -0x34(%rbp),%rsi
mov    -0x8(%rbp),%rdx
lea    -0x70(%rbp),%rcx
call   1080 <m_xformpt@plt>
lea    -0x40(%rbp),%rdi
lea    -0x40(%rbp),%rsi
mov    -0x10(%rbp),%rdx
lea    -0x7c(%rbp),%rcx
call   1080 <m_xformpt@plt>
lea    -0x4c(%rbp),%rdi
lea    -0x4c(%rbp),%rsi
mov    -0x18(%rbp),%rdx
lea    -0x88(%rbp),%rcx
call   1080 <m_xformpt@plt>
mov    -0x28(%rbp),%edi
call   10b0 <glBegin@plt>
lea    -0x70(%rbp),%rdi
call   1040 <glNormal3dv@plt>
lea    -0x34(%rbp),%rdi
call   1060 <glVertex3dv@plt>
lea    -0x7c(%rbp),%rdi
call   1040 <glNormal3dv@plt>
lea    -0x40(%rbp),%rdi
call   1060 <glVertex3dv@plt>
lea    -0x88(%rbp),%rdi
call   1040 <glNormal3dv@plt>
lea    -0x4c(%rbp),%rdi
call   1060 <glVertex3dv@plt>
mov    $0x0,%al
call   1050 <glEnd@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<recorditem>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %r9d,%r14d
mov    %rdx,%rbx
mov    %rsi,%rbp
mov    (%rdi),%eax
imul   %r8d,%eax
mov    (%rcx),%esi
add    %esi,%eax
mov    %eax,0x18(%rsp)
mov    0x0(%rbp),%eax
imul   %r8d,%eax
add    %esi,%eax
mov    %eax,0xc(%rsp)
mov    (%rdx),%eax
imul   %r8d,%eax
add    %esi,%eax
mov    %eax,(%rsp)
mov    0x4(%rdi),%eax
imul   %r8d,%eax
mov    0x4(%rcx),%esi
add    %esi,%eax
mov    %eax,0x1c(%rsp)
mov    0x4(%rbp),%eax
imul   %r8d,%eax
add    %esi,%eax
mov    %eax,0x10(%rsp)
mov    0x4(%rdx),%eax
imul   %r8d,%eax
add    %esi,%eax
mov    %eax,0x4(%rsp)
mov    0x8(%rdi),%eax
imul   %r8d,%eax
mov    0x8(%rcx),%ecx
add    %ecx,%eax
mov    %eax,0x20(%rsp)
mov    0x8(%rbp),%eax
imul   %r8d,%eax
add    %ecx,%eax
mov    %eax,0x14(%rsp)
imul   0x8(%rdx),%r8d
add    %ecx,%r8d
mov    %r8d,0x8(%rsp)
cmpl   $0x0,0x80(%rsp)
je     12af <recorditem+0x11f>
mov    %rdi,%rdx
lea    0x18(%rsp),%r15
lea    0x24(%rsp),%rcx
mov    %r15,%rdi
mov    %r15,%rsi
call   1080 <m_xformpt@plt>
lea    0xc(%rsp),%r12
lea    0x3c(%rsp),%r13
mov    %r12,%rdi
mov    %r12,%rsi
mov    %rbp,%rdx
mov    %r13,%rcx
call   1080 <m_xformpt@plt>
mov    %rsp,%rdi
lea    0x30(%rsp),%rbp
mov    %rdi,%rsi
mov    %rbx,%rdx
mov    %rbp,%rcx
call   1080 <m_xformpt@plt>
mov    %r14d,%edi
call   10b0 <glBegin@plt>
lea    0x24(%rsp),%rdi
call   1040 <glNormal3dv@plt>
mov    %r15,%rdi
call   1060 <glVertex3dv@plt>
mov    %r13,%rdi
call   1040 <glNormal3dv@plt>
mov    %r12,%rdi
call   1060 <glVertex3dv@plt>
mov    %rbp,%rdi
call   1040 <glNormal3dv@plt>
jmp    1344 <recorditem+0x1b4>
lea    0x18(%rsp),%r15
lea    0xc(%rsp),%r13
lea    0x3c(%rsp),%rbp
mov    %r15,%rdi
mov    %r13,%rsi
mov    %rbp,%rdx
call   10a0 <diff3@plt>
mov    %rsp,%r12
lea    0x30(%rsp),%rbx
mov    %r13,%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
call   10a0 <diff3@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %rbx,%rdx
call   1090 <crossprod@plt>
mov    %rbx,%rdi
call   1070 <normalize@plt>
lea    0x24(%rsp),%rbp
mov    %r15,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
mov    %rbp,%rcx
call   1080 <m_xformpt@plt>
mov    %r13,%rdi
mov    %r13,%rsi
call   1030 <m_xformptonly@plt>
mov    %r12,%rdi
mov    %r12,%rsi
call   1030 <m_xformptonly@plt>
mov    %r14d,%edi
call   10b0 <glBegin@plt>
mov    %rbp,%rdi
call   1040 <glNormal3dv@plt>
mov    %r15,%rdi
call   1060 <glVertex3dv@plt>
mov    %r13,%rdi
call   1060 <glVertex3dv@plt>
mov    %rsp,%rdi
call   1060 <glVertex3dv@plt>
xor    %eax,%eax
call   1050 <glEnd@plt>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @recorditem(i32* %0, i32* %1, i32* %2, i32* %3, i32 %4, i32 %5, i32 %6) {
%8 = alloca i32*
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca i32*
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca [3 x i32]
%16 = alloca [3 x i32]
%17 = alloca [3 x i32]
%18 = alloca [3 x i32]
%19 = alloca [3 x i32]
%20 = alloca [3 x i32]
%21 = alloca [3 x i32]
%22 = alloca [3 x i32]
%23 = alloca i32
store i32* %0, i32** %8
store i32* %1, i32** %9
store i32* %2, i32** %10
store i32* %3, i32** %11
store i32 %4, i32* %12
store i32 %5, i32* %13
store i32 %6, i32* %14
store i32 0, i32* %23
br label %24
24: ; preds = %76, %7
%25 = load i32, i32* %23
%26 = icmp slt i32 %25, 3
br i1 %26, label %27, label %79
27: ; preds = %24
%28 = load i32*, i32** %8
%29 = load i32, i32* %23
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, i32* %28, i64 %30
%32 = load i32, i32* %31
%33 = load i32, i32* %12
%34 = mul nsw i32 %32, %33
%35 = load i32*, i32** %11
%36 = load i32, i32* %23
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, i32* %35, i64 %37
%39 = load i32, i32* %38
%40 = add nsw i32 %34, %39
%41 = load i32, i32* %23
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 %42
store i32 %40, i32* %43
%44 = load i32*, i32** %9
%45 = load i32, i32* %23
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, i32* %44, i64 %46
%48 = load i32, i32* %47
%49 = load i32, i32* %12
%50 = mul nsw i32 %48, %49
%51 = load i32*, i32** %11
%52 = load i32, i32* %23
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, i32* %51, i64 %53
%55 = load i32, i32* %54
%56 = add nsw i32 %50, %55
%57 = load i32, i32* %23
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 %58
store i32 %56, i32* %59
%60 = load i32*, i32** %10
%61 = load i32, i32* %23
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, i32* %60, i64 %62
%64 = load i32, i32* %63
%65 = load i32, i32* %12
%66 = mul nsw i32 %64, %65
%67 = load i32*, i32** %11
%68 = load i32, i32* %23
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, i32* %67, i64 %69
%71 = load i32, i32* %70
%72 = add nsw i32 %66, %71
%73 = load i32, i32* %23
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 %74
store i32 %72, i32* %75
br label %76
76: ; preds = %27
%77 = load i32, i32* %23
%78 = add nsw i32 %77, 1
store i32 %78, i32* %23
br label %24
79: ; preds = %24
%80 = load i32, i32* %14
%81 = icmp eq i32 %80, 0
br i1 %81, label %82, label %119
82: ; preds = %79
%83 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%84 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%85 = getelementptr inbounds [3 x i32], [3 x i32]* %18, i64 0, i64 0
%86 = call i32 @diff3(i32* %83, i32* %84, i32* %85)
%87 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%88 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%89 = getelementptr inbounds [3 x i32], [3 x i32]* %19, i64 0, i64 0
%90 = call i32 @diff3(i32* %87, i32* %88, i32* %89)
%91 = getelementptr inbounds [3 x i32], [3 x i32]* %18, i64 0, i64 0
%92 = getelementptr inbounds [3 x i32], [3 x i32]* %19, i64 0, i64 0
%93 = getelementptr inbounds [3 x i32], [3 x i32]* %19, i64 0, i64 0
%94 = call i32 @crossprod(i32* %91, i32* %92, i32* %93)
%95 = getelementptr inbounds [3 x i32], [3 x i32]* %19, i64 0, i64 0
%96 = call i32 @normalize(i32* %95)
%97 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%98 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%99 = getelementptr inbounds [3 x i32], [3 x i32]* %19, i64 0, i64 0
%100 = getelementptr inbounds [3 x i32], [3 x i32]* %20, i64 0, i64 0
%101 = call i32 @m_xformpt(i32* %97, i32* %98, i32* %99, i32* %100)
%102 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%103 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%104 = call i32 @m_xformptonly(i32* %102, i32* %103)
%105 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%106 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%107 = call i32 @m_xformptonly(i32* %105, i32* %106)
%108 = load i32, i32* %13
%109 = call i32 @glBegin(i32 %108)
%110 = getelementptr inbounds [3 x i32], [3 x i32]* %20, i64 0, i64 0
%111 = call i32 @glNormal3dv(i32* %110)
%112 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%113 = call i32 @glVertex3dv(i32* %112)
%114 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%115 = call i32 @glVertex3dv(i32* %114)
%116 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%117 = call i32 @glVertex3dv(i32* %116)
%118 = call i32 (...) @glEnd()
br label %150
119: ; preds = %79
%120 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%121 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%122 = load i32*, i32** %8
%123 = getelementptr inbounds [3 x i32], [3 x i32]* %20, i64 0, i64 0
%124 = call i32 @m_xformpt(i32* %120, i32* %121, i32* %122, i32* %123)
%125 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%126 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%127 = load i32*, i32** %9
%128 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%129 = call i32 @m_xformpt(i32* %125, i32* %126, i32* %127, i32* %128)
%130 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%131 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%132 = load i32*, i32** %10
%133 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%134 = call i32 @m_xformpt(i32* %130, i32* %131, i32* %132, i32* %133)
%135 = load i32, i32* %13
%136 = call i32 @glBegin(i32 %135)
%137 = getelementptr inbounds [3 x i32], [3 x i32]* %20, i64 0, i64 0
%138 = call i32 @glNormal3dv(i32* %137)
%139 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%140 = call i32 @glVertex3dv(i32* %139)
%141 = getelementptr inbounds [3 x i32], [3 x i32]* %21, i64 0, i64 0
%142 = call i32 @glNormal3dv(i32* %141)
%143 = getelementptr inbounds [3 x i32], [3 x i32]* %16, i64 0, i64 0
%144 = call i32 @glVertex3dv(i32* %143)
%145 = getelementptr inbounds [3 x i32], [3 x i32]* %22, i64 0, i64 0
%146 = call i32 @glNormal3dv(i32* %145)
%147 = getelementptr inbounds [3 x i32], [3 x i32]* %17, i64 0, i64 0
%148 = call i32 @glVertex3dv(i32* %147)
%149 = call i32 (...) @glEnd()
br label %150
150: ; preds = %119, %82
ret void
}

LLVM IR (-O2):
define void @recorditem(i32* %0, i32* %1, i32* %2, i32* nocapture %3, i32 %4, i32 %5, i32 %6) {
%8 = alloca [3 x i32]
%9 = alloca [3 x i32]
%10 = alloca [3 x i32]
%11 = alloca [3 x i32]
%12 = alloca [3 x i32]
%13 = alloca [3 x i32]
%14 = alloca [3 x i32]
%15 = alloca [3 x i32]
%16 = bitcast [3 x i32]* %8 to i8*
%17 = bitcast [3 x i32]* %9 to i8*
%18 = bitcast [3 x i32]* %10 to i8*
%19 = bitcast [3 x i32]* %11 to i8*
%20 = bitcast [3 x i32]* %12 to i8*
%21 = bitcast [3 x i32]* %13 to i8*
%22 = bitcast [3 x i32]* %14 to i8*
%23 = bitcast [3 x i32]* %15 to i8*
%24 = load i32, i32* %0
%25 = mul nsw i32 %24, %4
%26 = load i32, i32* %3
%27 = add nsw i32 %25, %26
%28 = getelementptr inbounds [3 x i32], [3 x i32]* %8, i64 0, i64 0
store i32 %27, i32* %28
%29 = load i32, i32* %1
%30 = mul nsw i32 %29, %4
%31 = add nsw i32 %30, %26
%32 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 0
store i32 %31, i32* %32
%33 = load i32, i32* %2
%34 = mul nsw i32 %33, %4
%35 = add nsw i32 %34, %26
%36 = getelementptr inbounds [3 x i32], [3 x i32]* %10, i64 0, i64 0
store i32 %35, i32* %36
%37 = getelementptr inbounds i32, i32* %0, i64 1
%38 = load i32, i32* %37
%39 = mul nsw i32 %38, %4
%40 = getelementptr inbounds i32, i32* %3, i64 1
%41 = load i32, i32* %40
%42 = add nsw i32 %39, %41
%43 = getelementptr inbounds [3 x i32], [3 x i32]* %8, i64 0, i64 1
store i32 %42, i32* %43
%44 = getelementptr inbounds i32, i32* %1, i64 1
%45 = load i32, i32* %44
%46 = mul nsw i32 %45, %4
%47 = add nsw i32 %46, %41
%48 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 1
store i32 %47, i32* %48
%49 = getelementptr inbounds i32, i32* %2, i64 1
%50 = load i32, i32* %49
%51 = mul nsw i32 %50, %4
%52 = add nsw i32 %51, %41
%53 = getelementptr inbounds [3 x i32], [3 x i32]* %10, i64 0, i64 1
store i32 %52, i32* %53
%54 = getelementptr inbounds i32, i32* %0, i64 2
%55 = load i32, i32* %54
%56 = mul nsw i32 %55, %4
%57 = getelementptr inbounds i32, i32* %3, i64 2
%58 = load i32, i32* %57
%59 = add nsw i32 %56, %58
%60 = getelementptr inbounds [3 x i32], [3 x i32]* %8, i64 0, i64 2
store i32 %59, i32* %60
%61 = getelementptr inbounds i32, i32* %1, i64 2
%62 = load i32, i32* %61
%63 = mul nsw i32 %62, %4
%64 = add nsw i32 %63, %58
%65 = getelementptr inbounds [3 x i32], [3 x i32]* %9, i64 0, i64 2
store i32 %64, i32* %65
%66 = getelementptr inbounds i32, i32* %2, i64 2
%67 = load i32, i32* %66
%68 = mul nsw i32 %67, %4
%69 = add nsw i32 %68, %58
%70 = getelementptr inbounds [3 x i32], [3 x i32]* %10, i64 0, i64 2
store i32 %69, i32* %70
%71 = icmp eq i32 %6, 0
br i1 %71, label %72, label %87
72: ; preds = %7
%73 = getelementptr inbounds [3 x i32], [3 x i32]* %11, i64 0, i64 0
%74 = call i32 @diff3(i32* %28, i32* %32, i32* %73)
%75 = getelementptr inbounds [3 x i32], [3 x i32]* %12, i64 0, i64 0
%76 = call i32 @diff3(i32* %32, i32* %36, i32* %75)
%77 = call i32 @crossprod(i32* %73, i32* %75, i32* %75)
%78 = call i32 @normalize(i32* %75)
%79 = getelementptr inbounds [3 x i32], [3 x i32]* %13, i64 0, i64 0
%80 = call i32 @m_xformpt(i32* %28, i32* %28, i32* %75, i32* %79)
%81 = call i32 @m_xformptonly(i32* %32, i32* %32)
%82 = call i32 @m_xformptonly(i32* %36, i32* %36)
%83 = call i32 @glBegin(i32 %5)
%84 = call i32 @glNormal3dv(i32* %79)
%85 = call i32 @glVertex3dv(i32* %28)
%86 = call i32 @glVertex3dv(i32* %32)
br label %100
87: ; preds = %7
%88 = getelementptr inbounds [3 x i32], [3 x i32]* %13, i64 0, i64 0
%89 = call i32 @m_xformpt(i32* %28, i32* %28, i32* %0, i32* %88)
%90 = getelementptr inbounds [3 x i32], [3 x i32]* %14, i64 0, i64 0
%91 = call i32 @m_xformpt(i32* %32, i32* %32, i32* %1, i32* %90)
%92 = getelementptr inbounds [3 x i32], [3 x i32]* %15, i64 0, i64 0
%93 = call i32 @m_xformpt(i32* %36, i32* %36, i32* %2, i32* %92)
%94 = call i32 @glBegin(i32 %5)
%95 = call i32 @glNormal3dv(i32* %88)
%96 = call i32 @glVertex3dv(i32* %28)
%97 = call i32 @glNormal3dv(i32* %90)
%98 = call i32 @glVertex3dv(i32* %32)
%99 = call i32 @glNormal3dv(i32* %92)
br label %100
100: ; preds = %87, %72
%101 = call i32 @glVertex3dv(i32* %36)
%102 = call i32 (...) @glEnd()
ret void
}