#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 */
typedef scalar_t__ time_t;

/* Variables and functions */
char *fdevent_show_event_handlers();
char *network_write_show_handlers();
int /*<<< orphan*/ printf(char *, char *, char *, char const *, char *);
int /*<<< orphan*/ show_version();
__attribute__((__cold__)) void show_features(void) {
  static const char features[] = "\nFeatures:\n\n"
                                 "\t- IPv6 support\n"
                                 "\t- zlib support\n"
                                 "\t- zstd support\n"
                                 "\t- bzip2 support\n"
                                 "\t- brotli support\n"
                                 "\t- crypt support\n"
                                 "\t- OpenSSL support\n"
                                 "\t- mbedTLS support\n"
                                 "\t- NSS crypto support\n"
                                 "\t- GnuTLS support\n"
                                 "\t- WolfSSL support\n"
                                 "\t- Nettle support\n"
                                 "\t- PCRE support\n"
                                 "\t- MySQL support\n"
                                 "\t- PgSQL support\n"
                                 "\t- DBI support\n"
                                 "\t- Kerberos support\n"
                                 "\t- LDAP support\n"
                                 "\t- PAM support\n"
                                 "\t- memcached support\n"
                                 "\t- FAM support\n"
                                 "\t- LUA support\n"
                                 "\t- xml support\n"
                                 "\t- SQLite support\n"
                                 "\t- GDBM support\n";
  show_version();
  printf("%s%s%s%s\n", fdevent_show_event_handlers(),
         network_write_show_handlers(), features,
         sizeof(time_t) > 4 || (sizeof(time_t) == 4 && (time_t)-1 > (time_t)1)
             ? "\t+ Y2038 support\n"
             : "\t- Y2038 support (unsafe 32-bit signed time_t)\n");
}


x86 assembly (clang, -O0):
<show_features>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x0,%al
call   1030 <show_version@plt>
mov    $0x0,%al
call   1040 <fdevent_show_event_handlers@plt>
mov    %rax,-0x8(%rbp)
mov    $0x0,%al
call   1060 <network_write_show_handlers@plt>
mov    -0x8(%rbp),%rsi
mov    %rax,%rdx
lea    0x104d(%rip),%rdi
lea    0xe8a(%rip),%rcx
lea    0x1049(%rip),%r8
call   1050 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_features>:
push   %rbx
xor    %eax,%eax
call   1030 <show_version@plt>
xor    %eax,%eax
call   1040 <fdevent_show_event_handlers@plt>
mov    %rax,%rbx
xor    %eax,%eax
call   1060 <network_write_show_handlers@plt>
lea    0x111c(%rip),%rdi
lea    0xf59(%rip),%rcx
lea    0x1118(%rip),%r8
mov    %rbx,%rsi
mov    %rax,%rdx
pop    %rbx
jmp    1050 <printf@plt>
nopw   0x0(%rax,%rax,1)

LLVM IR (-O0):
@show_features.features = internal constant [444 x i8] c"\0AFeatures:\0A\0A\09- IPv6 support\0A\09- zlib support\0A\09- zstd support\0A\09- bzip2 support\0A\09- brotli support\0A\09- crypt support\0A\09- OpenSSL support\0A\09- mbedTLS support\0A\09- NSS crypto support\0A\09- GnuTLS support\0A\09- WolfSSL support\0A\09- Nettle support\0A\09- PCRE support\0A\09- MySQL support\0A\09- PgSQL support\0A\09- DBI support\0A\09- Kerberos support\0A\09- LDAP support\0A\09- PAM support\0A\09- memcached support\0A\09- FAM support\0A\09- LUA support\0A\09- xml support\0A\09- SQLite support\0A\09- GDBM support\0A\00"
@.str = [10 x i8] c"%s%s%s%s\0A\00"
@.str.1 = [18 x i8] c"\09+ Y2038 support\0A\00"
define void @show_features() {
%1 = call i32 (...) @show_version()
%2 = call i8* (...) @fdevent_show_event_handlers()
%3 = call i8* (...) @network_write_show_handlers()
%4 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %2, i8* %3, i8* getelementptr inbounds ([444 x i8], [444 x i8]* @show_features.features, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@show_features.features = internal constant [444 x i8] c"\0AFeatures:\0A\0A\09- IPv6 support\0A\09- zlib support\0A\09- zstd support\0A\09- bzip2 support\0A\09- brotli support\0A\09- crypt support\0A\09- OpenSSL support\0A\09- mbedTLS support\0A\09- NSS crypto support\0A\09- GnuTLS support\0A\09- WolfSSL support\0A\09- Nettle support\0A\09- PCRE support\0A\09- MySQL support\0A\09- PgSQL support\0A\09- DBI support\0A\09- Kerberos support\0A\09- LDAP support\0A\09- PAM support\0A\09- memcached support\0A\09- FAM support\0A\09- LUA support\0A\09- xml support\0A\09- SQLite support\0A\09- GDBM support\0A\00"
@.str = [10 x i8] c"%s%s%s%s\0A\00"
@.str.1 = [18 x i8] c"\09+ Y2038 support\0A\00"
define void @show_features() {
%1 = tail call i32 (...) @show_version()
%2 = tail call i8* (...) @fdevent_show_event_handlers()
%3 = tail call i8* (...) @network_write_show_handlers()
%4 = tail call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* %2, i8* %3, i8* getelementptr inbounds ([444 x i8], [444 x i8]* @show_features.features, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
ret void
}