#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*/ avr_end();
int /*<<< orphan*/ test_bigint_mul136();
int /*<<< orphan*/ test_bigint_mul256();
int /*<<< orphan*/ test_curve25519();
int /*<<< orphan*/ test_ed25519();
int /*<<< orphan*/ test_fe25519_add();
int /*<<< orphan*/ test_fe25519_freeze();
int /*<<< orphan*/ test_fe25519_invert();
int /*<<< orphan*/ test_fe25519_mul();
int /*<<< orphan*/ test_fe25519_neg();
int /*<<< orphan*/ test_fe25519_sub();
int /*<<< orphan*/ test_poly1305();
int /*<<< orphan*/ test_salsa20();
int /*<<< orphan*/ test_sc25519_add();
int /*<<< orphan*/ test_sc25519_mul();
int /*<<< orphan*/ test_sha512();
int main() {
  test_bigint_mul136();
  test_bigint_mul256();
  test_fe25519_mul();
  test_fe25519_freeze();
  test_fe25519_add();
  test_fe25519_sub();
  test_fe25519_neg();
  test_fe25519_invert();
  test_sc25519_add();
  test_sc25519_mul();
  test_curve25519();
  test_ed25519();
  test_poly1305();
  test_salsa20();
  test_sha512();
  avr_end();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1110 <test_bigint_mul136@plt>
mov    $0x0,%al
call   10f0 <test_bigint_mul256@plt>
mov    $0x0,%al
call   1070 <test_fe25519_mul@plt>
mov    $0x0,%al
call   1090 <test_fe25519_freeze@plt>
mov    $0x0,%al
call   10b0 <test_fe25519_add@plt>
mov    $0x0,%al
call   10d0 <test_fe25519_sub@plt>
mov    $0x0,%al
call   1040 <test_fe25519_neg@plt>
mov    $0x0,%al
call   1120 <test_fe25519_invert@plt>
mov    $0x0,%al
call   1030 <test_sc25519_add@plt>
mov    $0x0,%al
call   10e0 <test_sc25519_mul@plt>
mov    $0x0,%al
call   10a0 <test_curve25519@plt>
mov    $0x0,%al
call   1060 <test_ed25519@plt>
mov    $0x0,%al
call   1050 <test_poly1305@plt>
mov    $0x0,%al
call   1080 <test_salsa20@plt>
mov    $0x0,%al
call   10c0 <test_sha512@plt>
mov    $0x0,%al
call   1100 <avr_end@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1110 <test_bigint_mul136@plt>
xor    %eax,%eax
call   10f0 <test_bigint_mul256@plt>
xor    %eax,%eax
call   1070 <test_fe25519_mul@plt>
xor    %eax,%eax
call   1090 <test_fe25519_freeze@plt>
xor    %eax,%eax
call   10b0 <test_fe25519_add@plt>
xor    %eax,%eax
call   10d0 <test_fe25519_sub@plt>
xor    %eax,%eax
call   1040 <test_fe25519_neg@plt>
xor    %eax,%eax
call   1120 <test_fe25519_invert@plt>
xor    %eax,%eax
call   1030 <test_sc25519_add@plt>
xor    %eax,%eax
call   10e0 <test_sc25519_mul@plt>
xor    %eax,%eax
call   10a0 <test_curve25519@plt>
xor    %eax,%eax
call   1060 <test_ed25519@plt>
xor    %eax,%eax
call   1050 <test_poly1305@plt>
xor    %eax,%eax
call   1080 <test_salsa20@plt>
xor    %eax,%eax
call   10c0 <test_sha512@plt>
xor    %eax,%eax
call   1100 <avr_end@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_bigint_mul136()
%3 = call i32 (...) @test_bigint_mul256()
%4 = call i32 (...) @test_fe25519_mul()
%5 = call i32 (...) @test_fe25519_freeze()
%6 = call i32 (...) @test_fe25519_add()
%7 = call i32 (...) @test_fe25519_sub()
%8 = call i32 (...) @test_fe25519_neg()
%9 = call i32 (...) @test_fe25519_invert()
%10 = call i32 (...) @test_sc25519_add()
%11 = call i32 (...) @test_sc25519_mul()
%12 = call i32 (...) @test_curve25519()
%13 = call i32 (...) @test_ed25519()
%14 = call i32 (...) @test_poly1305()
%15 = call i32 (...) @test_salsa20()
%16 = call i32 (...) @test_sha512()
%17 = call i32 (...) @avr_end()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @test_bigint_mul136()
%2 = tail call i32 (...) @test_bigint_mul256()
%3 = tail call i32 (...) @test_fe25519_mul()
%4 = tail call i32 (...) @test_fe25519_freeze()
%5 = tail call i32 (...) @test_fe25519_add()
%6 = tail call i32 (...) @test_fe25519_sub()
%7 = tail call i32 (...) @test_fe25519_neg()
%8 = tail call i32 (...) @test_fe25519_invert()
%9 = tail call i32 (...) @test_sc25519_add()
%10 = tail call i32 (...) @test_sc25519_mul()
%11 = tail call i32 (...) @test_curve25519()
%12 = tail call i32 (...) @test_ed25519()
%13 = tail call i32 (...) @test_poly1305()
%14 = tail call i32 (...) @test_salsa20()
%15 = tail call i32 (...) @test_sha512()
%16 = tail call i32 (...) @avr_end()
ret i32 0
}