#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*/ SHA256_NSS_KAT_0();
int /*<<< orphan*/ SHA256_NSS_KAT_1();
int /*<<< orphan*/ SHA256_NSS_KAT_2();
int /*<<< orphan*/ SHA256_NSS_KAT_3();
int /*<<< orphan*/ SHA256_NSS_KAT_4();
int /*<<< orphan*/ SHA256_NSS_KAT_5();
int /*<<< orphan*/ SHA256_NSS_KAT_6();
int /*<<< orphan*/ SHA256_NSS_KAT_7();
int /*<<< orphan*/ SHA256_VST_KAT_0();
int /*<<< orphan*/ SHA256_VST_KAT_1();
int /*<<< orphan*/ SHA256_VST_KAT_2();
int /*<<< orphan*/ SHA256_VST_KAT_3();
int /*<<< orphan*/ SHA256_VST_KAT_4();
int /*<<< orphan*/ SHA256_VST_KAT_5();
int /*<<< orphan*/ SHA256_VST_KAT_6();
int /*<<< orphan*/ SHA256_VST_KAT_7();
int /*<<< orphan*/ SHA256_longMsg();
int /*<<< orphan*/ SHA256_shortMsg();
int /*<<< orphan*/ SHA256_sodium_KAT_0();
int /*<<< orphan*/ SHA256_sodium_KAT_1();
int /*<<< orphan*/ SHA256_sodium_KAT_2();
int /*<<< orphan*/ SHA256_sodium_KAT_3();
int /*<<< orphan*/ SHA256_sodium_KAT_4();
int /*<<< orphan*/ SHA256_sodium_KAT_5();
int /*<<< orphan*/ SHA256_sodium_KAT_6();
int /*<<< orphan*/ SHA256_sodium_KAT_7();
int main() {
  SHA256_VST_KAT_0();
  SHA256_VST_KAT_1();
  SHA256_VST_KAT_2();
  SHA256_VST_KAT_3();
  SHA256_VST_KAT_4();
  SHA256_VST_KAT_5();
  SHA256_VST_KAT_6();
  SHA256_VST_KAT_7();
  SHA256_NSS_KAT_0();
  SHA256_NSS_KAT_1();
  SHA256_NSS_KAT_2();
  SHA256_NSS_KAT_3();
  SHA256_NSS_KAT_4();
  SHA256_NSS_KAT_5();
  SHA256_NSS_KAT_6();
  SHA256_NSS_KAT_7();
  SHA256_sodium_KAT_0();
  SHA256_sodium_KAT_1();
  SHA256_sodium_KAT_2();
  SHA256_sodium_KAT_3();
  SHA256_sodium_KAT_4();
  SHA256_sodium_KAT_5();
  SHA256_sodium_KAT_6();
  SHA256_sodium_KAT_7();
  SHA256_shortMsg();
  SHA256_longMsg();
  return 1;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1160 <SHA256_VST_KAT_0@plt>
mov    $0x0,%al
call   1090 <SHA256_VST_KAT_1@plt>
mov    $0x0,%al
call   1180 <SHA256_VST_KAT_2@plt>
mov    $0x0,%al
call   1080 <SHA256_VST_KAT_3@plt>
mov    $0x0,%al
call   1170 <SHA256_VST_KAT_4@plt>
mov    $0x0,%al
call   10a0 <SHA256_VST_KAT_5@plt>
mov    $0x0,%al
call   11a0 <SHA256_VST_KAT_6@plt>
mov    $0x0,%al
call   10c0 <SHA256_VST_KAT_7@plt>
mov    $0x0,%al
call   1150 <SHA256_NSS_KAT_0@plt>
mov    $0x0,%al
call   1070 <SHA256_NSS_KAT_1@plt>
mov    $0x0,%al
call   1140 <SHA256_NSS_KAT_2@plt>
mov    $0x0,%al
call   1050 <SHA256_NSS_KAT_3@plt>
mov    $0x0,%al
call   1130 <SHA256_NSS_KAT_4@plt>
mov    $0x0,%al
call   1060 <SHA256_NSS_KAT_5@plt>
mov    $0x0,%al
call   1120 <SHA256_NSS_KAT_6@plt>
mov    $0x0,%al
call   1040 <SHA256_NSS_KAT_7@plt>
mov    $0x0,%al
call   10d0 <SHA256_sodium_KAT_0@plt>
mov    $0x0,%al
call   11c0 <SHA256_sodium_KAT_1@plt>
mov    $0x0,%al
call   10e0 <SHA256_sodium_KAT_2@plt>
mov    $0x0,%al
call   11b0 <SHA256_sodium_KAT_3@plt>
mov    $0x0,%al
call   10b0 <SHA256_sodium_KAT_4@plt>
mov    $0x0,%al
call   1190 <SHA256_sodium_KAT_5@plt>
mov    $0x0,%al
call   1100 <SHA256_sodium_KAT_6@plt>
mov    $0x0,%al
call   1030 <SHA256_sodium_KAT_7@plt>
mov    $0x0,%al
call   1110 <SHA256_shortMsg@plt>
mov    $0x0,%al
call   10f0 <SHA256_longMsg@plt>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1160 <SHA256_VST_KAT_0@plt>
xor    %eax,%eax
call   1090 <SHA256_VST_KAT_1@plt>
xor    %eax,%eax
call   1180 <SHA256_VST_KAT_2@plt>
xor    %eax,%eax
call   1080 <SHA256_VST_KAT_3@plt>
xor    %eax,%eax
call   1170 <SHA256_VST_KAT_4@plt>
xor    %eax,%eax
call   10a0 <SHA256_VST_KAT_5@plt>
xor    %eax,%eax
call   11a0 <SHA256_VST_KAT_6@plt>
xor    %eax,%eax
call   10c0 <SHA256_VST_KAT_7@plt>
xor    %eax,%eax
call   1150 <SHA256_NSS_KAT_0@plt>
xor    %eax,%eax
call   1070 <SHA256_NSS_KAT_1@plt>
xor    %eax,%eax
call   1140 <SHA256_NSS_KAT_2@plt>
xor    %eax,%eax
call   1050 <SHA256_NSS_KAT_3@plt>
xor    %eax,%eax
call   1130 <SHA256_NSS_KAT_4@plt>
xor    %eax,%eax
call   1060 <SHA256_NSS_KAT_5@plt>
xor    %eax,%eax
call   1120 <SHA256_NSS_KAT_6@plt>
xor    %eax,%eax
call   1040 <SHA256_NSS_KAT_7@plt>
xor    %eax,%eax
call   10d0 <SHA256_sodium_KAT_0@plt>
xor    %eax,%eax
call   11c0 <SHA256_sodium_KAT_1@plt>
xor    %eax,%eax
call   10e0 <SHA256_sodium_KAT_2@plt>
xor    %eax,%eax
call   11b0 <SHA256_sodium_KAT_3@plt>
xor    %eax,%eax
call   10b0 <SHA256_sodium_KAT_4@plt>
xor    %eax,%eax
call   1190 <SHA256_sodium_KAT_5@plt>
xor    %eax,%eax
call   1100 <SHA256_sodium_KAT_6@plt>
xor    %eax,%eax
call   1030 <SHA256_sodium_KAT_7@plt>
xor    %eax,%eax
call   1110 <SHA256_shortMsg@plt>
xor    %eax,%eax
call   10f0 <SHA256_longMsg@plt>
mov    $0x1,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @SHA256_VST_KAT_0()
%3 = call i32 (...) @SHA256_VST_KAT_1()
%4 = call i32 (...) @SHA256_VST_KAT_2()
%5 = call i32 (...) @SHA256_VST_KAT_3()
%6 = call i32 (...) @SHA256_VST_KAT_4()
%7 = call i32 (...) @SHA256_VST_KAT_5()
%8 = call i32 (...) @SHA256_VST_KAT_6()
%9 = call i32 (...) @SHA256_VST_KAT_7()
%10 = call i32 (...) @SHA256_NSS_KAT_0()
%11 = call i32 (...) @SHA256_NSS_KAT_1()
%12 = call i32 (...) @SHA256_NSS_KAT_2()
%13 = call i32 (...) @SHA256_NSS_KAT_3()
%14 = call i32 (...) @SHA256_NSS_KAT_4()
%15 = call i32 (...) @SHA256_NSS_KAT_5()
%16 = call i32 (...) @SHA256_NSS_KAT_6()
%17 = call i32 (...) @SHA256_NSS_KAT_7()
%18 = call i32 (...) @SHA256_sodium_KAT_0()
%19 = call i32 (...) @SHA256_sodium_KAT_1()
%20 = call i32 (...) @SHA256_sodium_KAT_2()
%21 = call i32 (...) @SHA256_sodium_KAT_3()
%22 = call i32 (...) @SHA256_sodium_KAT_4()
%23 = call i32 (...) @SHA256_sodium_KAT_5()
%24 = call i32 (...) @SHA256_sodium_KAT_6()
%25 = call i32 (...) @SHA256_sodium_KAT_7()
%26 = call i32 (...) @SHA256_shortMsg()
%27 = call i32 (...) @SHA256_longMsg()
ret i32 1
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @SHA256_VST_KAT_0()
%2 = tail call i32 (...) @SHA256_VST_KAT_1()
%3 = tail call i32 (...) @SHA256_VST_KAT_2()
%4 = tail call i32 (...) @SHA256_VST_KAT_3()
%5 = tail call i32 (...) @SHA256_VST_KAT_4()
%6 = tail call i32 (...) @SHA256_VST_KAT_5()
%7 = tail call i32 (...) @SHA256_VST_KAT_6()
%8 = tail call i32 (...) @SHA256_VST_KAT_7()
%9 = tail call i32 (...) @SHA256_NSS_KAT_0()
%10 = tail call i32 (...) @SHA256_NSS_KAT_1()
%11 = tail call i32 (...) @SHA256_NSS_KAT_2()
%12 = tail call i32 (...) @SHA256_NSS_KAT_3()
%13 = tail call i32 (...) @SHA256_NSS_KAT_4()
%14 = tail call i32 (...) @SHA256_NSS_KAT_5()
%15 = tail call i32 (...) @SHA256_NSS_KAT_6()
%16 = tail call i32 (...) @SHA256_NSS_KAT_7()
%17 = tail call i32 (...) @SHA256_sodium_KAT_0()
%18 = tail call i32 (...) @SHA256_sodium_KAT_1()
%19 = tail call i32 (...) @SHA256_sodium_KAT_2()
%20 = tail call i32 (...) @SHA256_sodium_KAT_3()
%21 = tail call i32 (...) @SHA256_sodium_KAT_4()
%22 = tail call i32 (...) @SHA256_sodium_KAT_5()
%23 = tail call i32 (...) @SHA256_sodium_KAT_6()
%24 = tail call i32 (...) @SHA256_sodium_KAT_7()
%25 = tail call i32 (...) @SHA256_shortMsg()
%26 = tail call i32 (...) @SHA256_longMsg()
ret i32 1
}