#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*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ put_number(int);
int /*<<< orphan*/ stdout;
void endItFunVerbose(int memory_before, int memory_after) {
  fputs("       Free Memory Before: ", stdout);
  put_number(memory_before);
  fputs("\n", stdout);
  fputs("       Free Memory After: ", stdout);
  put_number(memory_after);
  fputs("\n\n", stdout);
  fflush(stdout);
}


x86 assembly (clang, -O0):
<endItFunVerbose>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    0x2e9b(%rip),%rax
mov    (%rax),%esi
lea    0xeb2(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x4(%rbp),%edi
call   1040 <put_number@plt>
mov    0x2e7e(%rip),%rax
mov    (%rax),%esi
lea    0xecd(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e69(%rip),%rax
mov    (%rax),%esi
lea    0xe9c(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%edi
call   1040 <put_number@plt>
mov    0x2e4c(%rip),%rax
mov    (%rax),%esi
lea    0xe9a(%rip),%rdi
call   1030 <fputs@plt>
mov    0x2e37(%rip),%rax
mov    (%rax),%edi
call   1050 <fflush@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<endItFunVerbose>:
push   %rbp
push   %r14
push   %rbx
mov    %esi,%r14d
mov    %edi,%ebp
mov    0x2ea0(%rip),%rbx
mov    (%rbx),%esi
lea    0xeb7(%rip),%rdi
call   1030 <fputs@plt>
mov    %ebp,%edi
call   1040 <put_number@plt>
mov    (%rbx),%esi
lea    0xeda(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%esi
lea    0xeb0(%rip),%rdi
call   1030 <fputs@plt>
mov    %r14d,%edi
call   1040 <put_number@plt>
mov    (%rbx),%esi
lea    0xeb5(%rip),%rdi
call   1030 <fputs@plt>
mov    (%rbx),%edi
pop    %rbx
pop    %r14
pop    %rbp
jmp    1050 <fflush@plt>

LLVM IR (-O0):
@.str = [28 x i8] c" Free Memory Before: \00"
@stdout = global i32 0
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [27 x i8] c" Free Memory After: \00"
@.str.3 = [3 x i8] c"\0A\0A\00"
define void @endItFunVerbose(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%5 = load i32, i32* @stdout
%6 = call i32 @fputs(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i32 %5)
%7 = load i32, i32* %3
%8 = call i32 @put_number(i32 %7)
%9 = load i32, i32* @stdout
%10 = call i32 @fputs(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 %9)
%11 = load i32, i32* @stdout
%12 = call i32 @fputs(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0), i32 %11)
%13 = load i32, i32* %4
%14 = call i32 @put_number(i32 %13)
%15 = load i32, i32* @stdout
%16 = call i32 @fputs(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %15)
%17 = load i32, i32* @stdout
%18 = call i32 @fflush(i32 %17)
ret void
}

LLVM IR (-O2):
@.str = [28 x i8] c" Free Memory Before: \00"
@stdout = global i32 0
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [27 x i8] c" Free Memory After: \00"
@.str.3 = [3 x i8] c"\0A\0A\00"
define void @endItFunVerbose(i32 %0, i32 %1) {
%3 = load i32, i32* @stdout
%4 = tail call i32 @fputs(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i32 %3)
%5 = tail call i32 @put_number(i32 %0)
%6 = load i32, i32* @stdout
%7 = tail call i32 @fputs(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 %6)
%8 = load i32, i32* @stdout
%9 = tail call i32 @fputs(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0), i32 %8)
%10 = tail call i32 @put_number(i32 %1)
%11 = load i32, i32* @stdout
%12 = tail call i32 @fputs(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %11)
%13 = load i32, i32* @stdout
%14 = tail call i32 @fflush(i32 %13)
ret void
}