#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*/ writeDebugStreamLine(char *);
void leftInnerCrate4() {
  writeDebugStreamLine("Crate 4");
  turnRight(-75, 1800);
  straight(75, 48);
  pause();
  turnRight(-50, 2200);
  pause();
  straight(75, 84);
  pause();
  primeCube();
  dropCube();
  lowerCube();
  straight(-50, 42);
}


x86 assembly (clang, -O0):
<leftInnerCrate4>:
push   %rbp
mov    %rsp,%rbp
lea    0xe85(%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    $0x54,%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    $0xffffffce,%edi
mov    $0x2a,%esi
call   1060 <straight@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<leftInnerCrate4>:
push   %rax
lea    0xe88(%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    $0x54,%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    $0xffffffce,%edi
mov    $0x2a,%esi
pop    %rax
jmp    1060 <straight@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Crate 4\00"
define void @leftInnerCrate4() {
%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 84)
%8 = call i32 (...) @pause()
%9 = call i32 (...) @primeCube()
%10 = call i32 (...) @dropCube()
%11 = call i32 (...) @lowerCube()
%12 = call i32 @straight(i32 -50, i32 42)
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"Crate 4\00"
define void @leftInnerCrate4() {
%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 84)
%8 = tail call i32 (...) @pause()
%9 = tail call i32 (...) @primeCube()
%10 = tail call i32 (...) @dropCube()
%11 = tail call i32 (...) @lowerCube()
%12 = tail call i32 @straight(i32 -50, i32 42)
ret void
}