#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*/ _memory_assert_empty();
int /*<<< orphan*/ test_buffer_hex();
int /*<<< orphan*/ test_buffer_push();
int /*<<< orphan*/ test_buffer_push_aligned();
int /*<<< orphan*/ test_buffer_realloc();
int /*<<< orphan*/ test_buffer_slice();
int /*<<< orphan*/ test_hmac();
int /*<<< orphan*/ test_pbkdf();
int /*<<< orphan*/ test_sha();
int main() {
  test_buffer_hex();
  _memory_assert_empty();
  test_buffer_push_aligned();
  _memory_assert_empty();
  test_buffer_push();
  _memory_assert_empty();
  test_buffer_realloc();
  _memory_assert_empty();
  test_buffer_slice();
  _memory_assert_empty();
  test_sha();
  _memory_assert_empty();
  test_hmac();
  _memory_assert_empty();
  test_pbkdf();
  _memory_assert_empty();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1060 <test_buffer_hex@plt>
mov    $0x0,%al
call   1070 <_memory_assert_empty@plt>
mov    $0x0,%al
call   1040 <test_buffer_push_aligned@plt>
mov    $0x0,%al
call   1070 <_memory_assert_empty@plt>
mov    $0x0,%al
call   1080 <test_buffer_push@plt>
mov    $0x0,%al
call   1070 <_memory_assert_empty@plt>
mov    $0x0,%al
call   1090 <test_buffer_realloc@plt>
mov    $0x0,%al
call   1070 <_memory_assert_empty@plt>
mov    $0x0,%al
call   1050 <test_buffer_slice@plt>
mov    $0x0,%al
call   1070 <_memory_assert_empty@plt>
mov    $0x0,%al
call   1030 <test_sha@plt>
mov    $0x0,%al
call   1070 <_memory_assert_empty@plt>
mov    $0x0,%al
call   10a0 <test_hmac@plt>
mov    $0x0,%al
call   1070 <_memory_assert_empty@plt>
mov    $0x0,%al
call   10b0 <test_pbkdf@plt>
mov    $0x0,%al
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1060 <test_buffer_hex@plt>
xor    %eax,%eax
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
call   1040 <test_buffer_push_aligned@plt>
xor    %eax,%eax
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
call   1080 <test_buffer_push@plt>
xor    %eax,%eax
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
call   1090 <test_buffer_realloc@plt>
xor    %eax,%eax
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
call   1050 <test_buffer_slice@plt>
xor    %eax,%eax
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
call   1030 <test_sha@plt>
xor    %eax,%eax
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
call   10a0 <test_hmac@plt>
xor    %eax,%eax
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
call   10b0 <test_pbkdf@plt>
xor    %eax,%eax
call   1070 <_memory_assert_empty@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @test_buffer_hex()
%3 = call i32 (...) @_memory_assert_empty()
%4 = call i32 (...) @test_buffer_push_aligned()
%5 = call i32 (...) @_memory_assert_empty()
%6 = call i32 (...) @test_buffer_push()
%7 = call i32 (...) @_memory_assert_empty()
%8 = call i32 (...) @test_buffer_realloc()
%9 = call i32 (...) @_memory_assert_empty()
%10 = call i32 (...) @test_buffer_slice()
%11 = call i32 (...) @_memory_assert_empty()
%12 = call i32 (...) @test_sha()
%13 = call i32 (...) @_memory_assert_empty()
%14 = call i32 (...) @test_hmac()
%15 = call i32 (...) @_memory_assert_empty()
%16 = call i32 (...) @test_pbkdf()
%17 = call i32 (...) @_memory_assert_empty()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @test_buffer_hex()
%2 = tail call i32 (...) @_memory_assert_empty()
%3 = tail call i32 (...) @test_buffer_push_aligned()
%4 = tail call i32 (...) @_memory_assert_empty()
%5 = tail call i32 (...) @test_buffer_push()
%6 = tail call i32 (...) @_memory_assert_empty()
%7 = tail call i32 (...) @test_buffer_realloc()
%8 = tail call i32 (...) @_memory_assert_empty()
%9 = tail call i32 (...) @test_buffer_slice()
%10 = tail call i32 (...) @_memory_assert_empty()
%11 = tail call i32 (...) @test_sha()
%12 = tail call i32 (...) @_memory_assert_empty()
%13 = tail call i32 (...) @test_hmac()
%14 = tail call i32 (...) @_memory_assert_empty()
%15 = tail call i32 (...) @test_pbkdf()
%16 = tail call i32 (...) @_memory_assert_empty()
ret i32 0
}