#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_buffer_resize();
int /*<<< orphan*/ test_buffer_va_list();
int /*<<< orphan*/ test_buffer_write_1();
int /*<<< orphan*/ test_buffer_write_2();
int /*<<< orphan*/ test_cmp_dnames();
int /*<<< orphan*/ test_cmp_ints();
int /*<<< orphan*/ test_cmp_strs();
int /*<<< orphan*/ test_ip_pton_ntop();
int /*<<< orphan*/ test_ip_tree_read_write();
int main(int argc, char **argv) {
  test_cmp_ints();
  test_cmp_strs();
  test_cmp_dnames();
  test_ip_pton_ntop();
  test_buffer_write_1();
  test_buffer_write_2();
  test_buffer_resize();
  test_buffer_va_list();
  test_ip_tree_read_write();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1050 <test_cmp_ints@plt>
mov    $0x0,%al
call   1090 <test_cmp_strs@plt>
mov    $0x0,%al
call   1060 <test_cmp_dnames@plt>
mov    $0x0,%al
call   1040 <test_ip_pton_ntop@plt>
mov    $0x0,%al
call   1070 <test_buffer_write_1@plt>
mov    $0x0,%al
call   1080 <test_buffer_write_2@plt>
mov    $0x0,%al
call   10a0 <test_buffer_resize@plt>
mov    $0x0,%al
call   10b0 <test_buffer_va_list@plt>
mov    $0x0,%al
call   1030 <test_ip_tree_read_write@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1050 <test_cmp_ints@plt>
xor    %eax,%eax
call   1090 <test_cmp_strs@plt>
xor    %eax,%eax
call   1060 <test_cmp_dnames@plt>
xor    %eax,%eax
call   1040 <test_ip_pton_ntop@plt>
xor    %eax,%eax
call   1070 <test_buffer_write_1@plt>
xor    %eax,%eax
call   1080 <test_buffer_write_2@plt>
xor    %eax,%eax
call   10a0 <test_buffer_resize@plt>
xor    %eax,%eax
call   10b0 <test_buffer_va_list@plt>
xor    %eax,%eax
call   1030 <test_ip_tree_read_write@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (...) @test_cmp_ints()
%7 = call i32 (...) @test_cmp_strs()
%8 = call i32 (...) @test_cmp_dnames()
%9 = call i32 (...) @test_ip_pton_ntop()
%10 = call i32 (...) @test_buffer_write_1()
%11 = call i32 (...) @test_buffer_write_2()
%12 = call i32 (...) @test_buffer_resize()
%13 = call i32 (...) @test_buffer_va_list()
%14 = call i32 (...) @test_ip_tree_read_write()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @test_cmp_ints()
%4 = tail call i32 (...) @test_cmp_strs()
%5 = tail call i32 (...) @test_cmp_dnames()
%6 = tail call i32 (...) @test_ip_pton_ntop()
%7 = tail call i32 (...) @test_buffer_write_1()
%8 = tail call i32 (...) @test_buffer_write_2()
%9 = tail call i32 (...) @test_buffer_resize()
%10 = tail call i32 (...) @test_buffer_va_list()
%11 = tail call i32 (...) @test_ip_tree_read_write()
ret i32 0
}