#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*/ draw_strut();
int /*<<< orphan*/ glPopMatrix();
int /*<<< orphan*/ glPushMatrix();
int /*<<< orphan*/ glTranslatef(double, double, double);
void draw_line_of_struts() {
  glPushMatrix();
  glTranslatef(-29.0, 0.0, 0.0);
  draw_strut();
  glTranslatef(14.0, 0.0, 0.0);
  draw_strut();
  glTranslatef(11.0, 0.0, 0.0);
  draw_strut();
  glTranslatef(8.0, 0.0, 0.0);
  draw_strut();
  glTranslatef(11.0, 0.0, 0.0);
  draw_strut();
  glTranslatef(14.0, 0.0, 0.0);
  draw_strut();
  glPopMatrix();
}


x86 assembly (clang, -O0):
<draw_line_of_struts>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1040 <glPushMatrix@plt>
movsd  0xec5(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1050 <glTranslatef@plt>
mov    $0x0,%al
call   1060 <draw_strut@plt>
movsd  0xe93(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1050 <glTranslatef@plt>
mov    $0x0,%al
call   1060 <draw_strut@plt>
movsd  0xe81(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1050 <glTranslatef@plt>
mov    $0x0,%al
call   1060 <draw_strut@plt>
movsd  0xe6f(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1050 <glTranslatef@plt>
mov    $0x0,%al
call   1060 <draw_strut@plt>
movsd  0xe4d(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1050 <glTranslatef@plt>
mov    $0x0,%al
call   1060 <draw_strut@plt>
movsd  0xe2b(%rip),%xmm0
xorps  %xmm2,%xmm2
movaps %xmm2,%xmm1
call   1050 <glTranslatef@plt>
mov    $0x0,%al
call   1060 <draw_strut@plt>
mov    $0x0,%al
call   1030 <glPopMatrix@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<draw_line_of_struts>:
push   %rax
xor    %eax,%eax
call   1040 <glPushMatrix@plt>
movsd  0xeb0(%rip),%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
call   1050 <glTranslatef@plt>
xor    %eax,%eax
call   1060 <draw_strut@plt>
movsd  0xe9e(%rip),%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
call   1050 <glTranslatef@plt>
xor    %eax,%eax
call   1060 <draw_strut@plt>
movsd  0xe8c(%rip),%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
call   1050 <glTranslatef@plt>
xor    %eax,%eax
call   1060 <draw_strut@plt>
movsd  0xe7a(%rip),%xmm0
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
call   1050 <glTranslatef@plt>
xor    %eax,%eax
call   1060 <draw_strut@plt>
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
movsd  0xe52(%rip),%xmm0
call   1050 <glTranslatef@plt>
xor    %eax,%eax
call   1060 <draw_strut@plt>
xorps  %xmm1,%xmm1
xorps  %xmm2,%xmm2
movsd  0xe30(%rip),%xmm0
call   1050 <glTranslatef@plt>
xor    %eax,%eax
call   1060 <draw_strut@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <glPopMatrix@plt>

LLVM IR (-O0):
define void @draw_line_of_struts() {
%1 = call i32 (...) @glPushMatrix()
%2 = call i32 @glTranslatef(double -2.900000e+01, double 0.000000e+00, double 0.000000e+00)
%3 = call i32 (...) @draw_strut()
%4 = call i32 @glTranslatef(double 1.400000e+01, double 0.000000e+00, double 0.000000e+00)
%5 = call i32 (...) @draw_strut()
%6 = call i32 @glTranslatef(double 1.100000e+01, double 0.000000e+00, double 0.000000e+00)
%7 = call i32 (...) @draw_strut()
%8 = call i32 @glTranslatef(double 8.000000e+00, double 0.000000e+00, double 0.000000e+00)
%9 = call i32 (...) @draw_strut()
%10 = call i32 @glTranslatef(double 1.100000e+01, double 0.000000e+00, double 0.000000e+00)
%11 = call i32 (...) @draw_strut()
%12 = call i32 @glTranslatef(double 1.400000e+01, double 0.000000e+00, double 0.000000e+00)
%13 = call i32 (...) @draw_strut()
%14 = call i32 (...) @glPopMatrix()
ret void
}

LLVM IR (-O2):
define void @draw_line_of_struts() {
%1 = tail call i32 (...) @glPushMatrix()
%2 = tail call i32 @glTranslatef(double -2.900000e+01, double 0.000000e+00, double 0.000000e+00)
%3 = tail call i32 (...) @draw_strut()
%4 = tail call i32 @glTranslatef(double 1.400000e+01, double 0.000000e+00, double 0.000000e+00)
%5 = tail call i32 (...) @draw_strut()
%6 = tail call i32 @glTranslatef(double 1.100000e+01, double 0.000000e+00, double 0.000000e+00)
%7 = tail call i32 (...) @draw_strut()
%8 = tail call i32 @glTranslatef(double 8.000000e+00, double 0.000000e+00, double 0.000000e+00)
%9 = tail call i32 (...) @draw_strut()
%10 = tail call i32 @glTranslatef(double 1.100000e+01, double 0.000000e+00, double 0.000000e+00)
%11 = tail call i32 (...) @draw_strut()
%12 = tail call i32 @glTranslatef(double 1.400000e+01, double 0.000000e+00, double 0.000000e+00)
%13 = tail call i32 (...) @draw_strut()
%14 = tail call i32 (...) @glPopMatrix()
ret void
}