#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*/ k_parser_test();
int /*<<< orphan*/ k_run_test();
int /*<<< orphan*/ k_smf_test();
int /*<<< orphan*/ k_sutoton_test();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ s_hook_memory_test();
int /*<<< orphan*/ s_lib_test();
int /*<<< orphan*/ s_list_test();
int /*<<< orphan*/ s_str_test();
int /*<<< orphan*/ s_value_test();
void k_test_go() {
  printf("<k_test_go>\n");
  s_hook_memory_test();
  s_list_test();
  s_lib_test();
  s_str_test();
  s_value_test();
  k_sutoton_test();
  k_parser_test();
  k_smf_test();
  k_run_test();
  printf("</k_test_go>\n");
}


x86 assembly (clang, -O0):
<k_test_go>:
push   %rbp
mov    %rsp,%rbp
lea    0xe55(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1070 <s_hook_memory_test@plt>
mov    $0x0,%al
call   1080 <s_list_test@plt>
mov    $0x0,%al
call   1090 <s_lib_test@plt>
mov    $0x0,%al
call   1060 <s_str_test@plt>
mov    $0x0,%al
call   1050 <s_value_test@plt>
mov    $0x0,%al
call   10c0 <k_sutoton_test@plt>
mov    $0x0,%al
call   10b0 <k_parser_test@plt>
mov    $0x0,%al
call   1040 <k_smf_test@plt>
mov    $0x0,%al
call   10a0 <k_run_test@plt>
lea    0xe17(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<k_test_go>:
push   %rax
lea    0xe58(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1070 <s_hook_memory_test@plt>
xor    %eax,%eax
call   1080 <s_list_test@plt>
xor    %eax,%eax
call   1090 <s_lib_test@plt>
xor    %eax,%eax
call   1060 <s_str_test@plt>
xor    %eax,%eax
call   1050 <s_value_test@plt>
xor    %eax,%eax
call   10c0 <k_sutoton_test@plt>
xor    %eax,%eax
call   10b0 <k_parser_test@plt>
xor    %eax,%eax
call   1040 <k_smf_test@plt>
xor    %eax,%eax
call   10a0 <k_run_test@plt>
lea    0xe19(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [13 x i8] c"<k_test_go>\0A\00"
@.str.1 = [14 x i8] c"</k_test_go>\0A\00"
define void @k_test_go() {
%1 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (...) @s_hook_memory_test()
%3 = call i32 (...) @s_list_test()
%4 = call i32 (...) @s_lib_test()
%5 = call i32 (...) @s_str_test()
%6 = call i32 (...) @s_value_test()
%7 = call i32 (...) @k_sutoton_test()
%8 = call i32 (...) @k_parser_test()
%9 = call i32 (...) @k_smf_test()
%10 = call i32 (...) @k_run_test()
%11 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [12 x i8] c"<k_test_go>\00"
@str.2 = [13 x i8] c"</k_test_go>\00"
define void @k_test_go() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (...) @s_hook_memory_test()
%3 = tail call i32 (...) @s_list_test()
%4 = tail call i32 (...) @s_lib_test()
%5 = tail call i32 (...) @s_str_test()
%6 = tail call i32 (...) @s_value_test()
%7 = tail call i32 (...) @k_sutoton_test()
%8 = tail call i32 (...) @k_parser_test()
%9 = tail call i32 (...) @k_smf_test()
%10 = tail call i32 (...) @k_run_test()
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.2, i64 0, i64 0))
ret void
}