#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ GL_TRIANGLE_STRIP;
int /*<<< orphan*/ glBegin(int /*<<< orphan*/);
int /*<<< orphan*/ glEnd();
int /*<<< orphan*/ glNormal3fv(float *);
int /*<<< orphan*/ glVertex3fv(float *);
void drawlitmesh_11(float *op) {
  glBegin(GL_TRIANGLE_STRIP);
  glNormal3fv((op + 4));
  glVertex3fv((op + 0));
  glNormal3fv((op + (16 + 4)));
  glVertex3fv((op + (16 + 0)));
  glNormal3fv((op + (2 * 16 + 4)));
  glVertex3fv((op + (2 * 16 + 0)));
  glNormal3fv((op + (3 * 16 + 4)));
  glVertex3fv((op + (3 * 16 + 0)));
  glNormal3fv((op + (4 * 16 + 4)));
  glVertex3fv((op + (4 * 16 + 0)));
  glNormal3fv((op + (5 * 16 + 4)));
  glVertex3fv((op + (5 * 16 + 0)));
  glNormal3fv((op + (6 * 16 + 4)));
  glVertex3fv((op + (6 * 16 + 0)));
  glNormal3fv((op + (7 * 16 + 4)));
  glVertex3fv((op + (7 * 16 + 0)));
  glNormal3fv((op + (8 * 16 + 4)));
  glVertex3fv((op + (8 * 16 + 0)));
  glNormal3fv((op + (9 * 16 + 4)));
  glVertex3fv((op + (9 * 16 + 0)));
  glNormal3fv((op + (10 * 16 + 4)));
  glVertex3fv((op + (10 * 16 + 0)));
  glEnd();
}


x86 assembly (clang, -O0):
<drawlitmesh_11>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ea5(%rip),%rax
mov    (%rax),%edi
call   1060 <glBegin@plt>
mov    -0x8(%rbp),%rdi
add    $0x10,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x50,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x40,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x90,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x80,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0xd0,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0xc0,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x110,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x100,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x150,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x140,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x190,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x180,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x1d0,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x1c0,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x210,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x200,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x250,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x240,%rdi
call   1050 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x290,%rdi
call   1030 <glNormal3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x280,%rdi
call   1050 <glVertex3fv@plt>
mov    $0x0,%al
call   1040 <glEnd@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<drawlitmesh_11>:
push   %rbx
mov    %rdi,%rbx
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
call   1060 <glBegin@plt>
lea    0x10(%rbx),%rdi
call   1030 <glNormal3fv@plt>
mov    %rbx,%rdi
call   1050 <glVertex3fv@plt>
lea    0x50(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0x40(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0x90(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0x80(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0xd0(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0xc0(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0x110(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0x100(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0x150(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0x140(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0x190(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0x180(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0x1d0(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0x1c0(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0x210(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0x200(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0x250(%rbx),%rdi
call   1030 <glNormal3fv@plt>
lea    0x240(%rbx),%rdi
call   1050 <glVertex3fv@plt>
lea    0x290(%rbx),%rdi
call   1030 <glNormal3fv@plt>
add    $0x280,%rbx
mov    %rbx,%rdi
call   1050 <glVertex3fv@plt>
xor    %eax,%eax
pop    %rbx
jmp    1040 <glEnd@plt>

LLVM IR (-O0):
@GL_TRIANGLE_STRIP = global i32 0
define void @drawlitmesh_11(float* %0) {
%2 = alloca float*
store float* %0, float** %2
%3 = load i32, i32* @GL_TRIANGLE_STRIP
%4 = call i32 @glBegin(i32 %3)
%5 = load float*, float** %2
%6 = getelementptr inbounds float, float* %5, i64 4
%7 = call i32 @glNormal3fv(float* %6)
%8 = load float*, float** %2
%9 = getelementptr inbounds float, float* %8, i64 0
%10 = call i32 @glVertex3fv(float* %9)
%11 = load float*, float** %2
%12 = getelementptr inbounds float, float* %11, i64 20
%13 = call i32 @glNormal3fv(float* %12)
%14 = load float*, float** %2
%15 = getelementptr inbounds float, float* %14, i64 16
%16 = call i32 @glVertex3fv(float* %15)
%17 = load float*, float** %2
%18 = getelementptr inbounds float, float* %17, i64 36
%19 = call i32 @glNormal3fv(float* %18)
%20 = load float*, float** %2
%21 = getelementptr inbounds float, float* %20, i64 32
%22 = call i32 @glVertex3fv(float* %21)
%23 = load float*, float** %2
%24 = getelementptr inbounds float, float* %23, i64 52
%25 = call i32 @glNormal3fv(float* %24)
%26 = load float*, float** %2
%27 = getelementptr inbounds float, float* %26, i64 48
%28 = call i32 @glVertex3fv(float* %27)
%29 = load float*, float** %2
%30 = getelementptr inbounds float, float* %29, i64 68
%31 = call i32 @glNormal3fv(float* %30)
%32 = load float*, float** %2
%33 = getelementptr inbounds float, float* %32, i64 64
%34 = call i32 @glVertex3fv(float* %33)
%35 = load float*, float** %2
%36 = getelementptr inbounds float, float* %35, i64 84
%37 = call i32 @glNormal3fv(float* %36)
%38 = load float*, float** %2
%39 = getelementptr inbounds float, float* %38, i64 80
%40 = call i32 @glVertex3fv(float* %39)
%41 = load float*, float** %2
%42 = getelementptr inbounds float, float* %41, i64 100
%43 = call i32 @glNormal3fv(float* %42)
%44 = load float*, float** %2
%45 = getelementptr inbounds float, float* %44, i64 96
%46 = call i32 @glVertex3fv(float* %45)
%47 = load float*, float** %2
%48 = getelementptr inbounds float, float* %47, i64 116
%49 = call i32 @glNormal3fv(float* %48)
%50 = load float*, float** %2
%51 = getelementptr inbounds float, float* %50, i64 112
%52 = call i32 @glVertex3fv(float* %51)
%53 = load float*, float** %2
%54 = getelementptr inbounds float, float* %53, i64 132
%55 = call i32 @glNormal3fv(float* %54)
%56 = load float*, float** %2
%57 = getelementptr inbounds float, float* %56, i64 128
%58 = call i32 @glVertex3fv(float* %57)
%59 = load float*, float** %2
%60 = getelementptr inbounds float, float* %59, i64 148
%61 = call i32 @glNormal3fv(float* %60)
%62 = load float*, float** %2
%63 = getelementptr inbounds float, float* %62, i64 144
%64 = call i32 @glVertex3fv(float* %63)
%65 = load float*, float** %2
%66 = getelementptr inbounds float, float* %65, i64 164
%67 = call i32 @glNormal3fv(float* %66)
%68 = load float*, float** %2
%69 = getelementptr inbounds float, float* %68, i64 160
%70 = call i32 @glVertex3fv(float* %69)
%71 = call i32 (...) @glEnd()
ret void
}

LLVM IR (-O2):
@GL_TRIANGLE_STRIP = global i32 0
define void @drawlitmesh_11(float* %0) {
%2 = load i32, i32* @GL_TRIANGLE_STRIP
%3 = tail call i32 @glBegin(i32 %2)
%4 = getelementptr inbounds float, float* %0, i64 4
%5 = tail call i32 @glNormal3fv(float* %4)
%6 = tail call i32 @glVertex3fv(float* %0)
%7 = getelementptr inbounds float, float* %0, i64 20
%8 = tail call i32 @glNormal3fv(float* %7)
%9 = getelementptr inbounds float, float* %0, i64 16
%10 = tail call i32 @glVertex3fv(float* %9)
%11 = getelementptr inbounds float, float* %0, i64 36
%12 = tail call i32 @glNormal3fv(float* %11)
%13 = getelementptr inbounds float, float* %0, i64 32
%14 = tail call i32 @glVertex3fv(float* %13)
%15 = getelementptr inbounds float, float* %0, i64 52
%16 = tail call i32 @glNormal3fv(float* %15)
%17 = getelementptr inbounds float, float* %0, i64 48
%18 = tail call i32 @glVertex3fv(float* %17)
%19 = getelementptr inbounds float, float* %0, i64 68
%20 = tail call i32 @glNormal3fv(float* %19)
%21 = getelementptr inbounds float, float* %0, i64 64
%22 = tail call i32 @glVertex3fv(float* %21)
%23 = getelementptr inbounds float, float* %0, i64 84
%24 = tail call i32 @glNormal3fv(float* %23)
%25 = getelementptr inbounds float, float* %0, i64 80
%26 = tail call i32 @glVertex3fv(float* %25)
%27 = getelementptr inbounds float, float* %0, i64 100
%28 = tail call i32 @glNormal3fv(float* %27)
%29 = getelementptr inbounds float, float* %0, i64 96
%30 = tail call i32 @glVertex3fv(float* %29)
%31 = getelementptr inbounds float, float* %0, i64 116
%32 = tail call i32 @glNormal3fv(float* %31)
%33 = getelementptr inbounds float, float* %0, i64 112
%34 = tail call i32 @glVertex3fv(float* %33)
%35 = getelementptr inbounds float, float* %0, i64 132
%36 = tail call i32 @glNormal3fv(float* %35)
%37 = getelementptr inbounds float, float* %0, i64 128
%38 = tail call i32 @glVertex3fv(float* %37)
%39 = getelementptr inbounds float, float* %0, i64 148
%40 = tail call i32 @glNormal3fv(float* %39)
%41 = getelementptr inbounds float, float* %0, i64 144
%42 = tail call i32 @glVertex3fv(float* %41)
%43 = getelementptr inbounds float, float* %0, i64 164
%44 = tail call i32 @glNormal3fv(float* %43)
%45 = getelementptr inbounds float, float* %0, i64 160
%46 = tail call i32 @glVertex3fv(float* %45)
%47 = tail call i32 (...) @glEnd()
ret void
}