#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*/ glColor3fv(float *);
int /*<<< orphan*/ glEnd();
int /*<<< orphan*/ glTexCoord2fv(float *);
int /*<<< orphan*/ glVertex3fv(float *);
void drawcolrtexmesh_10(float *op) {
  glBegin(GL_TRIANGLE_STRIP);
  glTexCoord2fv((op + 12));
  glColor3fv((op + 8));
  glVertex3fv((op + 0));
  glTexCoord2fv((op + (16 + 12)));
  glColor3fv((op + (16 + 8)));
  glVertex3fv((op + (16 + 0)));
  glTexCoord2fv((op + (2 * 16 + 12)));
  glColor3fv((op + (2 * 16 + 8)));
  glVertex3fv((op + (2 * 16 + 0)));
  glTexCoord2fv((op + (3 * 16 + 12)));
  glColor3fv((op + (3 * 16 + 8)));
  glVertex3fv((op + (3 * 16 + 0)));
  glTexCoord2fv((op + (4 * 16 + 12)));
  glColor3fv((op + (4 * 16 + 8)));
  glVertex3fv((op + (4 * 16 + 0)));
  glTexCoord2fv((op + (5 * 16 + 12)));
  glColor3fv((op + (5 * 16 + 8)));
  glVertex3fv((op + (5 * 16 + 0)));
  glTexCoord2fv((op + (6 * 16 + 12)));
  glColor3fv((op + (6 * 16 + 8)));
  glVertex3fv((op + (6 * 16 + 0)));
  glTexCoord2fv((op + (7 * 16 + 12)));
  glColor3fv((op + (7 * 16 + 8)));
  glVertex3fv((op + (7 * 16 + 0)));
  glTexCoord2fv((op + (8 * 16 + 12)));
  glColor3fv((op + (8 * 16 + 8)));
  glVertex3fv((op + (8 * 16 + 0)));
  glTexCoord2fv((op + (9 * 16 + 12)));
  glColor3fv((op + (9 * 16 + 8)));
  glVertex3fv((op + (9 * 16 + 0)));
  glEnd();
}


x86 assembly (clang, -O0):
<drawcolrtexmesh_10>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2e95(%rip),%rax
mov    (%rax),%edi
call   1070 <glBegin@plt>
mov    -0x8(%rbp),%rdi
add    $0x30,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x20,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x70,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x60,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x40,%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0xb0,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0xa0,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x80,%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0xf0,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0xe0,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0xc0,%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x130,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x120,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x100,%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x170,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x160,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x140,%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x1b0,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x1a0,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x180,%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x1f0,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x1e0,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x1c0,%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x230,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x220,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x200,%rdi
call   1060 <glVertex3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x270,%rdi
call   1040 <glTexCoord2fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x260,%rdi
call   1030 <glColor3fv@plt>
mov    -0x8(%rbp),%rdi
add    $0x240,%rdi
call   1060 <glVertex3fv@plt>
mov    $0x0,%al
call   1050 <glEnd@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<drawcolrtexmesh_10>:
push   %rbx
mov    %rdi,%rbx
mov    0x2e9d(%rip),%rax
mov    (%rax),%edi
call   1070 <glBegin@plt>
lea    0x30(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0x20(%rbx),%rdi
call   1030 <glColor3fv@plt>
mov    %rbx,%rdi
call   1060 <glVertex3fv@plt>
lea    0x70(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0x60(%rbx),%rdi
call   1030 <glColor3fv@plt>
lea    0x40(%rbx),%rdi
call   1060 <glVertex3fv@plt>
lea    0xb0(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0xa0(%rbx),%rdi
call   1030 <glColor3fv@plt>
lea    0x80(%rbx),%rdi
call   1060 <glVertex3fv@plt>
lea    0xf0(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0xe0(%rbx),%rdi
call   1030 <glColor3fv@plt>
lea    0xc0(%rbx),%rdi
call   1060 <glVertex3fv@plt>
lea    0x130(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0x120(%rbx),%rdi
call   1030 <glColor3fv@plt>
lea    0x100(%rbx),%rdi
call   1060 <glVertex3fv@plt>
lea    0x170(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0x160(%rbx),%rdi
call   1030 <glColor3fv@plt>
lea    0x140(%rbx),%rdi
call   1060 <glVertex3fv@plt>
lea    0x1b0(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0x1a0(%rbx),%rdi
call   1030 <glColor3fv@plt>
lea    0x180(%rbx),%rdi
call   1060 <glVertex3fv@plt>
lea    0x1f0(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0x1e0(%rbx),%rdi
call   1030 <glColor3fv@plt>
lea    0x1c0(%rbx),%rdi
call   1060 <glVertex3fv@plt>
lea    0x230(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0x220(%rbx),%rdi
call   1030 <glColor3fv@plt>
lea    0x200(%rbx),%rdi
call   1060 <glVertex3fv@plt>
lea    0x270(%rbx),%rdi
call   1040 <glTexCoord2fv@plt>
lea    0x260(%rbx),%rdi
call   1030 <glColor3fv@plt>
add    $0x240,%rbx
mov    %rbx,%rdi
call   1060 <glVertex3fv@plt>
xor    %eax,%eax
pop    %rbx
jmp    1050 <glEnd@plt>

LLVM IR (-O0):
@GL_TRIANGLE_STRIP = global i32 0
define void @drawcolrtexmesh_10(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 12
%7 = call i32 @glTexCoord2fv(float* %6)
%8 = load float*, float** %2
%9 = getelementptr inbounds float, float* %8, i64 8
%10 = call i32 @glColor3fv(float* %9)
%11 = load float*, float** %2
%12 = getelementptr inbounds float, float* %11, i64 0
%13 = call i32 @glVertex3fv(float* %12)
%14 = load float*, float** %2
%15 = getelementptr inbounds float, float* %14, i64 28
%16 = call i32 @glTexCoord2fv(float* %15)
%17 = load float*, float** %2
%18 = getelementptr inbounds float, float* %17, i64 24
%19 = call i32 @glColor3fv(float* %18)
%20 = load float*, float** %2
%21 = getelementptr inbounds float, float* %20, i64 16
%22 = call i32 @glVertex3fv(float* %21)
%23 = load float*, float** %2
%24 = getelementptr inbounds float, float* %23, i64 44
%25 = call i32 @glTexCoord2fv(float* %24)
%26 = load float*, float** %2
%27 = getelementptr inbounds float, float* %26, i64 40
%28 = call i32 @glColor3fv(float* %27)
%29 = load float*, float** %2
%30 = getelementptr inbounds float, float* %29, i64 32
%31 = call i32 @glVertex3fv(float* %30)
%32 = load float*, float** %2
%33 = getelementptr inbounds float, float* %32, i64 60
%34 = call i32 @glTexCoord2fv(float* %33)
%35 = load float*, float** %2
%36 = getelementptr inbounds float, float* %35, i64 56
%37 = call i32 @glColor3fv(float* %36)
%38 = load float*, float** %2
%39 = getelementptr inbounds float, float* %38, i64 48
%40 = call i32 @glVertex3fv(float* %39)
%41 = load float*, float** %2
%42 = getelementptr inbounds float, float* %41, i64 76
%43 = call i32 @glTexCoord2fv(float* %42)
%44 = load float*, float** %2
%45 = getelementptr inbounds float, float* %44, i64 72
%46 = call i32 @glColor3fv(float* %45)
%47 = load float*, float** %2
%48 = getelementptr inbounds float, float* %47, i64 64
%49 = call i32 @glVertex3fv(float* %48)
%50 = load float*, float** %2
%51 = getelementptr inbounds float, float* %50, i64 92
%52 = call i32 @glTexCoord2fv(float* %51)
%53 = load float*, float** %2
%54 = getelementptr inbounds float, float* %53, i64 88
%55 = call i32 @glColor3fv(float* %54)
%56 = load float*, float** %2
%57 = getelementptr inbounds float, float* %56, i64 80
%58 = call i32 @glVertex3fv(float* %57)
%59 = load float*, float** %2
%60 = getelementptr inbounds float, float* %59, i64 108
%61 = call i32 @glTexCoord2fv(float* %60)
%62 = load float*, float** %2
%63 = getelementptr inbounds float, float* %62, i64 104
%64 = call i32 @glColor3fv(float* %63)
%65 = load float*, float** %2
%66 = getelementptr inbounds float, float* %65, i64 96
%67 = call i32 @glVertex3fv(float* %66)
%68 = load float*, float** %2
%69 = getelementptr inbounds float, float* %68, i64 124
%70 = call i32 @glTexCoord2fv(float* %69)
%71 = load float*, float** %2
%72 = getelementptr inbounds float, float* %71, i64 120
%73 = call i32 @glColor3fv(float* %72)
%74 = load float*, float** %2
%75 = getelementptr inbounds float, float* %74, i64 112
%76 = call i32 @glVertex3fv(float* %75)
%77 = load float*, float** %2
%78 = getelementptr inbounds float, float* %77, i64 140
%79 = call i32 @glTexCoord2fv(float* %78)
%80 = load float*, float** %2
%81 = getelementptr inbounds float, float* %80, i64 136
%82 = call i32 @glColor3fv(float* %81)
%83 = load float*, float** %2
%84 = getelementptr inbounds float, float* %83, i64 128
%85 = call i32 @glVertex3fv(float* %84)
%86 = load float*, float** %2
%87 = getelementptr inbounds float, float* %86, i64 156
%88 = call i32 @glTexCoord2fv(float* %87)
%89 = load float*, float** %2
%90 = getelementptr inbounds float, float* %89, i64 152
%91 = call i32 @glColor3fv(float* %90)
%92 = load float*, float** %2
%93 = getelementptr inbounds float, float* %92, i64 144
%94 = call i32 @glVertex3fv(float* %93)
%95 = call i32 (...) @glEnd()
ret void
}

LLVM IR (-O2):
@GL_TRIANGLE_STRIP = global i32 0
define void @drawcolrtexmesh_10(float* %0) {
%2 = load i32, i32* @GL_TRIANGLE_STRIP
%3 = tail call i32 @glBegin(i32 %2)
%4 = getelementptr inbounds float, float* %0, i64 12
%5 = tail call i32 @glTexCoord2fv(float* %4)
%6 = getelementptr inbounds float, float* %0, i64 8
%7 = tail call i32 @glColor3fv(float* %6)
%8 = tail call i32 @glVertex3fv(float* %0)
%9 = getelementptr inbounds float, float* %0, i64 28
%10 = tail call i32 @glTexCoord2fv(float* %9)
%11 = getelementptr inbounds float, float* %0, i64 24
%12 = tail call i32 @glColor3fv(float* %11)
%13 = getelementptr inbounds float, float* %0, i64 16
%14 = tail call i32 @glVertex3fv(float* %13)
%15 = getelementptr inbounds float, float* %0, i64 44
%16 = tail call i32 @glTexCoord2fv(float* %15)
%17 = getelementptr inbounds float, float* %0, i64 40
%18 = tail call i32 @glColor3fv(float* %17)
%19 = getelementptr inbounds float, float* %0, i64 32
%20 = tail call i32 @glVertex3fv(float* %19)
%21 = getelementptr inbounds float, float* %0, i64 60
%22 = tail call i32 @glTexCoord2fv(float* %21)
%23 = getelementptr inbounds float, float* %0, i64 56
%24 = tail call i32 @glColor3fv(float* %23)
%25 = getelementptr inbounds float, float* %0, i64 48
%26 = tail call i32 @glVertex3fv(float* %25)
%27 = getelementptr inbounds float, float* %0, i64 76
%28 = tail call i32 @glTexCoord2fv(float* %27)
%29 = getelementptr inbounds float, float* %0, i64 72
%30 = tail call i32 @glColor3fv(float* %29)
%31 = getelementptr inbounds float, float* %0, i64 64
%32 = tail call i32 @glVertex3fv(float* %31)
%33 = getelementptr inbounds float, float* %0, i64 92
%34 = tail call i32 @glTexCoord2fv(float* %33)
%35 = getelementptr inbounds float, float* %0, i64 88
%36 = tail call i32 @glColor3fv(float* %35)
%37 = getelementptr inbounds float, float* %0, i64 80
%38 = tail call i32 @glVertex3fv(float* %37)
%39 = getelementptr inbounds float, float* %0, i64 108
%40 = tail call i32 @glTexCoord2fv(float* %39)
%41 = getelementptr inbounds float, float* %0, i64 104
%42 = tail call i32 @glColor3fv(float* %41)
%43 = getelementptr inbounds float, float* %0, i64 96
%44 = tail call i32 @glVertex3fv(float* %43)
%45 = getelementptr inbounds float, float* %0, i64 124
%46 = tail call i32 @glTexCoord2fv(float* %45)
%47 = getelementptr inbounds float, float* %0, i64 120
%48 = tail call i32 @glColor3fv(float* %47)
%49 = getelementptr inbounds float, float* %0, i64 112
%50 = tail call i32 @glVertex3fv(float* %49)
%51 = getelementptr inbounds float, float* %0, i64 140
%52 = tail call i32 @glTexCoord2fv(float* %51)
%53 = getelementptr inbounds float, float* %0, i64 136
%54 = tail call i32 @glColor3fv(float* %53)
%55 = getelementptr inbounds float, float* %0, i64 128
%56 = tail call i32 @glVertex3fv(float* %55)
%57 = getelementptr inbounds float, float* %0, i64 156
%58 = tail call i32 @glTexCoord2fv(float* %57)
%59 = getelementptr inbounds float, float* %0, i64 152
%60 = tail call i32 @glColor3fv(float* %59)
%61 = getelementptr inbounds float, float* %0, i64 144
%62 = tail call i32 @glVertex3fv(float* %61)
%63 = tail call i32 (...) @glEnd()
ret void
}