#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*/ dropCube();
int /*<<< orphan*/ lowerCube();
int /*<<< orphan*/ pause();
int /*<<< orphan*/ primeCube();
int /*<<< orphan*/ straight(int, int);
int /*<<< orphan*/ turnRight(int, int);
int /*<<< orphan*/ wait10Msec(int);
int /*<<< orphan*/ writeDebugStreamLine(char *);
void leftInnerCrate3() {
  writeDebugStreamLine("Crate 3");
  turnRight(-75, 1800);
  straight(75, 48);
  pause();
  turnRight(-50, 2200);
  pause();
  straight(75, 70);
  pause();
  primeCube();
  dropCube();
  lowerCube();
  wait10Msec(300);
  straight(-50, 30);
}


x86 assembly (clang, -O0):
<leftInnerCrate3>:
push   %rbp
mov    %rsp,%rbp
lea    0xe75(%rip),%rdi
call   1040 <writeDebugStreamLine@plt>
mov    $0xffffffb5,%edi
mov    $0x708,%esi
call   1070 <turnRight@plt>
mov    $0x4b,%edi
mov    $0x30,%esi
call   1060 <straight@plt>
mov    $0x0,%al
call   1080 <pause@plt>
mov    $0xffffffce,%edi
mov    $0x898,%esi
call   1070 <turnRight@plt>
mov    $0x0,%al
call   1080 <pause@plt>
mov    $0x4b,%edi
mov    $0x46,%esi
call   1060 <straight@plt>
mov    $0x0,%al
call   1080 <pause@plt>
mov    $0x0,%al
call   1050 <primeCube@plt>
mov    $0x0,%al
call   1030 <dropCube@plt>
mov    $0x0,%al
call   1090 <lowerCube@plt>
mov    $0x12c,%edi
call   10a0 <wait10Msec@plt>
mov    $0xffffffce,%edi
mov    $0x1e,%esi
call   1060 <straight@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<leftInnerCrate3>:
push   %rax
lea    0xe78(%rip),%rdi
call   1040 <writeDebugStreamLine@plt>
mov    $0xffffffb5,%edi
mov    $0x708,%esi
call   1070 <turnRight@plt>
mov    $0x4b,%edi
mov    $0x30,%esi
call   1060 <straight@plt>
xor    %eax,%eax
call   1080 <pause@plt>
mov    $0xffffffce,%edi
mov    $0x898,%esi
call   1070 <turnRight@plt>
xor    %eax,%eax
call   1080 <pause@plt>
mov    $0x4b,%edi
mov    $0x46,%esi
call   1060 <straight@plt>
xor    %eax,%eax
call   1080 <pause@plt>
xor    %eax,%eax
call   1050 <primeCube@plt>
xor    %eax,%eax
call   1030 <dropCube@plt>
xor    %eax,%eax
call   1090 <lowerCube@plt>
mov    $0x12c,%edi
call   10a0 <wait10Msec@plt>
mov    $0xffffffce,%edi
mov    $0x1e,%esi
pop    %rax
jmp    1060 <straight@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Crate 3\00"
define void @leftInnerCrate3() {
%1 = call i32 @writeDebugStreamLine(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @turnRight(i32 -75, i32 1800)
%3 = call i32 @straight(i32 75, i32 48)
%4 = call i32 (...) @pause()
%5 = call i32 @turnRight(i32 -50, i32 2200)
%6 = call i32 (...) @pause()
%7 = call i32 @straight(i32 75, i32 70)
%8 = call i32 (...) @pause()
%9 = call i32 (...) @primeCube()
%10 = call i32 (...) @dropCube()
%11 = call i32 (...) @lowerCube()
%12 = call i32 @wait10Msec(i32 300)
%13 = call i32 @straight(i32 -50, i32 30)
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"Crate 3\00"
define void @leftInnerCrate3() {
%1 = tail call i32 @writeDebugStreamLine(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @turnRight(i32 -75, i32 1800)
%3 = tail call i32 @straight(i32 75, i32 48)
%4 = tail call i32 (...) @pause()
%5 = tail call i32 @turnRight(i32 -50, i32 2200)
%6 = tail call i32 (...) @pause()
%7 = tail call i32 @straight(i32 75, i32 70)
%8 = tail call i32 (...) @pause()
%9 = tail call i32 (...) @primeCube()
%10 = tail call i32 (...) @dropCube()
%11 = tail call i32 (...) @lowerCube()
%12 = tail call i32 @wait10Msec(i32 300)
%13 = tail call i32 @straight(i32 -50, i32 30)
ret void
}