#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_parse_icmpv4_packet();
int /*<<< orphan*/ test_parse_icmpv6_packet();
int /*<<< orphan*/ test_parse_ipv4_gre_ipv4_tcp_packet();
int /*<<< orphan*/ test_parse_ipv4_gre_mpls_ipv4_tcp_packet();
int /*<<< orphan*/ test_parse_tcp_ipv4_packet();
int /*<<< orphan*/ test_parse_tcp_ipv6_packet();
int /*<<< orphan*/ test_parse_udp_ipv4_packet();
int /*<<< orphan*/ test_parse_udp_ipv6_packet();
int main(void) {
  test_parse_tcp_ipv4_packet();
  test_parse_tcp_ipv6_packet();
  test_parse_udp_ipv4_packet();
  test_parse_udp_ipv6_packet();
  test_parse_ipv4_gre_ipv4_tcp_packet();
  test_parse_ipv4_gre_mpls_ipv4_tcp_packet();
  test_parse_icmpv4_packet();
  test_parse_icmpv6_packet();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1060 <test_parse_tcp_ipv4_packet@plt>
mov    $0x0,%al
call   1030 <test_parse_tcp_ipv6_packet@plt>
mov    $0x0,%al
call   1070 <test_parse_udp_ipv4_packet@plt>
mov    $0x0,%al
call   1090 <test_parse_udp_ipv6_packet@plt>
mov    $0x0,%al
call   1050 <test_parse_ipv4_gre_ipv4_tcp_packet@plt>
mov    $0x0,%al
call   1080 <test_parse_ipv4_gre_mpls_ipv4_tcp_packet@plt>
mov    $0x0,%al
call   1040 <test_parse_icmpv4_packet@plt>
mov    $0x0,%al
call   10a0 <test_parse_icmpv6_packet@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1060 <test_parse_tcp_ipv4_packet@plt>
xor    %eax,%eax
call   1030 <test_parse_tcp_ipv6_packet@plt>
xor    %eax,%eax
call   1070 <test_parse_udp_ipv4_packet@plt>
xor    %eax,%eax
call   1090 <test_parse_udp_ipv6_packet@plt>
xor    %eax,%eax
call   1050 <test_parse_ipv4_gre_ipv4_tcp_packet@plt>
xor    %eax,%eax
call   1080 <test_parse_ipv4_gre_mpls_ipv4_tcp_packet@plt>
xor    %eax,%eax
call   1040 <test_parse_icmpv4_packet@plt>
xor    %eax,%eax
call   10a0 <test_parse_icmpv6_packet@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_parse_tcp_ipv4_packet()
%3 = call i32 (...) @test_parse_tcp_ipv6_packet()
%4 = call i32 (...) @test_parse_udp_ipv4_packet()
%5 = call i32 (...) @test_parse_udp_ipv6_packet()
%6 = call i32 (...) @test_parse_ipv4_gre_ipv4_tcp_packet()
%7 = call i32 (...) @test_parse_ipv4_gre_mpls_ipv4_tcp_packet()
%8 = call i32 (...) @test_parse_icmpv4_packet()
%9 = call i32 (...) @test_parse_icmpv6_packet()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @test_parse_tcp_ipv4_packet()
%2 = tail call i32 (...) @test_parse_tcp_ipv6_packet()
%3 = tail call i32 (...) @test_parse_udp_ipv4_packet()
%4 = tail call i32 (...) @test_parse_udp_ipv6_packet()
%5 = tail call i32 (...) @test_parse_ipv4_gre_ipv4_tcp_packet()
%6 = tail call i32 (...) @test_parse_ipv4_gre_mpls_ipv4_tcp_packet()
%7 = tail call i32 (...) @test_parse_icmpv4_packet()
%8 = tail call i32 (...) @test_parse_icmpv6_packet()
ret i32 0
}