#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*/ runBenchmark();
int /*<<< orphan*/ testAddMultipleTimes();
int /*<<< orphan*/ testEmptyRingItemSearchReturnsNull();
int /*<<< orphan*/ testEmptyRingSearchReturnsNull();
int /*<<< orphan*/ testKnownMultipleSlotsOnRing();
int /*<<< orphan*/ testKnownNextHighestItemOnRing();
int /*<<< orphan*/ testKnownSlotsOnRing();
int /*<<< orphan*/ testLibmemcachedCompat();
int /*<<< orphan*/ testRemoveNode();
int /*<<< orphan*/ testRingSorted();
int main(int argc, char **argv) {
  testLibmemcachedCompat();
  testAddMultipleTimes();
  testRemoveNode();
  testRingSorted();
  testKnownNextHighestItemOnRing();
  testEmptyRingItemSearchReturnsNull();
  testEmptyRingSearchReturnsNull();
  testKnownSlotsOnRing();
  testKnownMultipleSlotsOnRing();
  runBenchmark();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   10a0 <testLibmemcachedCompat@plt>
mov    $0x0,%al
call   1060 <testAddMultipleTimes@plt>
mov    $0x0,%al
call   10c0 <testRemoveNode@plt>
mov    $0x0,%al
call   1070 <testRingSorted@plt>
mov    $0x0,%al
call   1080 <testKnownNextHighestItemOnRing@plt>
mov    $0x0,%al
call   10b0 <testEmptyRingItemSearchReturnsNull@plt>
mov    $0x0,%al
call   1030 <testEmptyRingSearchReturnsNull@plt>
mov    $0x0,%al
call   1040 <testKnownSlotsOnRing@plt>
mov    $0x0,%al
call   1090 <testKnownMultipleSlotsOnRing@plt>
mov    $0x0,%al
call   1050 <runBenchmark@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   10a0 <testLibmemcachedCompat@plt>
xor    %eax,%eax
call   1060 <testAddMultipleTimes@plt>
xor    %eax,%eax
call   10c0 <testRemoveNode@plt>
xor    %eax,%eax
call   1070 <testRingSorted@plt>
xor    %eax,%eax
call   1080 <testKnownNextHighestItemOnRing@plt>
xor    %eax,%eax
call   10b0 <testEmptyRingItemSearchReturnsNull@plt>
xor    %eax,%eax
call   1030 <testEmptyRingSearchReturnsNull@plt>
xor    %eax,%eax
call   1040 <testKnownSlotsOnRing@plt>
xor    %eax,%eax
call   1090 <testKnownMultipleSlotsOnRing@plt>
xor    %eax,%eax
call   1050 <runBenchmark@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (...) @testLibmemcachedCompat()
%7 = call i32 (...) @testAddMultipleTimes()
%8 = call i32 (...) @testRemoveNode()
%9 = call i32 (...) @testRingSorted()
%10 = call i32 (...) @testKnownNextHighestItemOnRing()
%11 = call i32 (...) @testEmptyRingItemSearchReturnsNull()
%12 = call i32 (...) @testEmptyRingSearchReturnsNull()
%13 = call i32 (...) @testKnownSlotsOnRing()
%14 = call i32 (...) @testKnownMultipleSlotsOnRing()
%15 = call i32 (...) @runBenchmark()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @testLibmemcachedCompat()
%4 = tail call i32 (...) @testAddMultipleTimes()
%5 = tail call i32 (...) @testRemoveNode()
%6 = tail call i32 (...) @testRingSorted()
%7 = tail call i32 (...) @testKnownNextHighestItemOnRing()
%8 = tail call i32 (...) @testEmptyRingItemSearchReturnsNull()
%9 = tail call i32 (...) @testEmptyRingSearchReturnsNull()
%10 = tail call i32 (...) @testKnownSlotsOnRing()
%11 = tail call i32 (...) @testKnownMultipleSlotsOnRing()
%12 = tail call i32 (...) @runBenchmark()
ret i32 0
}