#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 */
char *Biddy_GetManagerName();
int Biddy_NodeTableNum();
int /*<<< orphan*/ Biddy_NodeTableNumLive();
int /*<<< orphan*/ Biddy_OPCacheSearch();
int /*<<< orphan*/ printf(char *, ...);
void reportSystem() {
  printf("%s\n", Biddy_GetManagerName());
  printf("Number of OPCacheSearch: %llu\n", Biddy_OPCacheSearch());
  printf("Node table has %u nodes / %lu live nodes.\n", Biddy_NodeTableNum(),
         Biddy_NodeTableNumLive());
}


x86 assembly (clang, -O0):
<reportSystem>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x0,%al
call   1050 <Biddy_GetManagerName@plt>
mov    %rax,%rsi
lea    0xe97(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <Biddy_OPCacheSearch@plt>
mov    %eax,%esi
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1060 <Biddy_NodeTableNum@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1070 <Biddy_NodeTableNumLive@plt>
mov    -0x4(%rbp),%esi
mov    %eax,%edx
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<reportSystem>:
push   %rbx
xor    %eax,%eax
call   1060 <Biddy_GetManagerName@plt>
mov    %rax,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1050 <Biddy_OPCacheSearch@plt>
lea    0xe82(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1070 <Biddy_NodeTableNum@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1080 <Biddy_NodeTableNumLive@plt>
lea    0xe81(%rip),%rdi
mov    %ebx,%esi
mov    %eax,%edx
xor    %eax,%eax
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"%s\0A\00"
@.str.1 = [31 x i8] c"Number of OPCacheSearch: %llu\0A\00"
@.str.2 = [43 x i8] c"Node table has %u nodes / %lu live nodes.\0A\00"
define void @reportSystem() {
%1 = call i8* (...) @Biddy_GetManagerName()
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %1)
%3 = call i32 (...) @Biddy_OPCacheSearch()
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = call i32 (...) @Biddy_NodeTableNum()
%6 = call i32 (...) @Biddy_NodeTableNumLive()
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i32 %5, i32 %6)
ret void
}

LLVM IR (-O2):
@.str.1 = [31 x i8] c"Number of OPCacheSearch: %llu\0A\00"
@.str.2 = [43 x i8] c"Node table has %u nodes / %lu live nodes.\0A\00"
define void @reportSystem() {
%1 = tail call i8* (...) @Biddy_GetManagerName()
%2 = tail call i32 @puts(i8* dereferenceable(1) %1)
%3 = tail call i32 (...) @Biddy_OPCacheSearch()
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%5 = tail call i32 (...) @Biddy_NodeTableNum()
%6 = tail call i32 (...) @Biddy_NodeTableNumLive()
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i32 %5, i32 %6)
ret void
}