#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*/ test_conversion();
int /*<<< orphan*/ test_get();
int /*<<< orphan*/ test_int_lenstr();
int /*<<< orphan*/ test_make_choice_table_write_append_row();
int /*<<< orphan*/ test_make_choice_tables_read();
int /*<<< orphan*/ test_make_choice_tables_write();
int /*<<< orphan*/ test_new_infix_node();
int /*<<< orphan*/ test_new_passthrough_node();
int /*<<< orphan*/ test_new_suffix_node();
int /*<<< orphan*/ test_new_terminator_node();
int /*<<< orphan*/ test_open_close();
int /*<<< orphan*/ test_str_lenstr();
int /*<<< orphan*/ test_write_read();
int main() {
  test_open_close();
  test_str_lenstr();
  test_int_lenstr();
  test_make_choice_tables_read();
  test_make_choice_tables_write();
  test_make_choice_table_write_append_row();
  test_new_terminator_node();
  test_new_passthrough_node();
  test_new_suffix_node();
  test_new_infix_node();
  test_conversion();
  test_get();
  test_write_read();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1090 <test_open_close@plt>
mov    $0x0,%al
call   10f0 <test_str_lenstr@plt>
mov    $0x0,%al
call   1050 <test_int_lenstr@plt>
mov    $0x0,%al
call   10a0 <test_make_choice_tables_read@plt>
mov    $0x0,%al
call   1070 <test_make_choice_tables_write@plt>
mov    $0x0,%al
call   1080 <test_make_choice_table_write_append_row@plt>
mov    $0x0,%al
call   1060 <test_new_terminator_node@plt>
mov    $0x0,%al
call   10d0 <test_new_passthrough_node@plt>
mov    $0x0,%al
call   1040 <test_new_suffix_node@plt>
mov    $0x0,%al
call   10e0 <test_new_infix_node@plt>
mov    $0x0,%al
call   10c0 <test_conversion@plt>
mov    $0x0,%al
call   1030 <test_get@plt>
mov    $0x0,%al
call   10b0 <test_write_read@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1090 <test_open_close@plt>
xor    %eax,%eax
call   10f0 <test_str_lenstr@plt>
xor    %eax,%eax
call   1050 <test_int_lenstr@plt>
xor    %eax,%eax
call   10a0 <test_make_choice_tables_read@plt>
xor    %eax,%eax
call   1070 <test_make_choice_tables_write@plt>
xor    %eax,%eax
call   1080 <test_make_choice_table_write_append_row@plt>
xor    %eax,%eax
call   1060 <test_new_terminator_node@plt>
xor    %eax,%eax
call   10d0 <test_new_passthrough_node@plt>
xor    %eax,%eax
call   1040 <test_new_suffix_node@plt>
xor    %eax,%eax
call   10e0 <test_new_infix_node@plt>
xor    %eax,%eax
call   10c0 <test_conversion@plt>
xor    %eax,%eax
call   1030 <test_get@plt>
xor    %eax,%eax
call   10b0 <test_write_read@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_open_close()
%3 = call i32 (...) @test_str_lenstr()
%4 = call i32 (...) @test_int_lenstr()
%5 = call i32 (...) @test_make_choice_tables_read()
%6 = call i32 (...) @test_make_choice_tables_write()
%7 = call i32 (...) @test_make_choice_table_write_append_row()
%8 = call i32 (...) @test_new_terminator_node()
%9 = call i32 (...) @test_new_passthrough_node()
%10 = call i32 (...) @test_new_suffix_node()
%11 = call i32 (...) @test_new_infix_node()
%12 = call i32 (...) @test_conversion()
%13 = call i32 (...) @test_get()
%14 = call i32 (...) @test_write_read()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @test_open_close()
%2 = tail call i32 (...) @test_str_lenstr()
%3 = tail call i32 (...) @test_int_lenstr()
%4 = tail call i32 (...) @test_make_choice_tables_read()
%5 = tail call i32 (...) @test_make_choice_tables_write()
%6 = tail call i32 (...) @test_make_choice_table_write_append_row()
%7 = tail call i32 (...) @test_new_terminator_node()
%8 = tail call i32 (...) @test_new_passthrough_node()
%9 = tail call i32 (...) @test_new_suffix_node()
%10 = tail call i32 (...) @test_new_infix_node()
%11 = tail call i32 (...) @test_conversion()
%12 = tail call i32 (...) @test_get()
%13 = tail call i32 (...) @test_write_read()
ret i32 0
}