#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*/ changeMethaneLevel();
int /*<<< orphan*/ cleanup();
int /*<<< orphan*/ printPump();
int /*<<< orphan*/ timeShift();
int /*<<< orphan*/ waterRise();
void Specification2(void) {
  {
    {
      timeShift();
      printPump();
      timeShift();
      printPump();
      timeShift();
      printPump();
      waterRise();
      printPump();
      timeShift();
      printPump();
      changeMethaneLevel();
      printPump();
      timeShift();
      printPump();
      cleanup();
    }
    return;
  }
}


x86 assembly (clang, -O0):
<Specification2>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1070 <timeShift@plt>
mov    $0x0,%al
call   1040 <printPump@plt>
mov    $0x0,%al
call   1070 <timeShift@plt>
mov    $0x0,%al
call   1040 <printPump@plt>
mov    $0x0,%al
call   1070 <timeShift@plt>
mov    $0x0,%al
call   1040 <printPump@plt>
mov    $0x0,%al
call   1030 <waterRise@plt>
mov    $0x0,%al
call   1040 <printPump@plt>
mov    $0x0,%al
call   1070 <timeShift@plt>
mov    $0x0,%al
call   1040 <printPump@plt>
mov    $0x0,%al
call   1050 <changeMethaneLevel@plt>
mov    $0x0,%al
call   1040 <printPump@plt>
mov    $0x0,%al
call   1070 <timeShift@plt>
mov    $0x0,%al
call   1040 <printPump@plt>
mov    $0x0,%al
call   1060 <cleanup@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<Specification2>:
push   %rax
xor    %eax,%eax
call   1070 <timeShift@plt>
xor    %eax,%eax
call   1040 <printPump@plt>
xor    %eax,%eax
call   1070 <timeShift@plt>
xor    %eax,%eax
call   1040 <printPump@plt>
xor    %eax,%eax
call   1070 <timeShift@plt>
xor    %eax,%eax
call   1040 <printPump@plt>
xor    %eax,%eax
call   1030 <waterRise@plt>
xor    %eax,%eax
call   1040 <printPump@plt>
xor    %eax,%eax
call   1070 <timeShift@plt>
xor    %eax,%eax
call   1040 <printPump@plt>
xor    %eax,%eax
call   1050 <changeMethaneLevel@plt>
xor    %eax,%eax
call   1040 <printPump@plt>
xor    %eax,%eax
call   1070 <timeShift@plt>
xor    %eax,%eax
call   1040 <printPump@plt>
xor    %eax,%eax
pop    %rcx
jmp    1060 <cleanup@plt>

LLVM IR (-O0):
define void @Specification2() {
%1 = call i32 (...) @timeShift()
%2 = call i32 (...) @printPump()
%3 = call i32 (...) @timeShift()
%4 = call i32 (...) @printPump()
%5 = call i32 (...) @timeShift()
%6 = call i32 (...) @printPump()
%7 = call i32 (...) @waterRise()
%8 = call i32 (...) @printPump()
%9 = call i32 (...) @timeShift()
%10 = call i32 (...) @printPump()
%11 = call i32 (...) @changeMethaneLevel()
%12 = call i32 (...) @printPump()
%13 = call i32 (...) @timeShift()
%14 = call i32 (...) @printPump()
%15 = call i32 (...) @cleanup()
ret void
}

LLVM IR (-O2):
define void @Specification2() {
%1 = tail call i32 (...) @timeShift()
%2 = tail call i32 (...) @printPump()
%3 = tail call i32 (...) @timeShift()
%4 = tail call i32 (...) @printPump()
%5 = tail call i32 (...) @timeShift()
%6 = tail call i32 (...) @printPump()
%7 = tail call i32 (...) @waterRise()
%8 = tail call i32 (...) @printPump()
%9 = tail call i32 (...) @timeShift()
%10 = tail call i32 (...) @printPump()
%11 = tail call i32 (...) @changeMethaneLevel()
%12 = tail call i32 (...) @printPump()
%13 = tail call i32 (...) @timeShift()
%14 = tail call i32 (...) @printPump()
%15 = tail call i32 (...) @cleanup()
ret void
}