#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 int /*<<< orphan*/ uint64_t;

/* Variables and functions */
int /*<<< orphan*/ makeHumanReadableSize(char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char *, char *, char *, char *);
void showStartingInfo(char *sourceFilename, char *destFilename,
                      uint64_t sourceSize, uint64_t blockSize) {
  char _blockSizeHR[100];
  char _sourceSizeHR[100];
  makeHumanReadableSize(_blockSizeHR, blockSize);
  makeHumanReadableSize(_sourceSizeHR, sourceSize);
  printf("%s -> %s, %s, block size = %s\n", sourceFilename, destFilename,
         _sourceSizeHR, _blockSizeHR);
}


x86 assembly (clang, -O0):
<showStartingInfo>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
lea    -0x80(%rbp),%rdi
mov    -0x18(%rbp),%esi
call   1040 <makeHumanReadableSize@plt>
lea    -0xf0(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1040 <makeHumanReadableSize@plt>
mov    -0x8(%rbp),%rsi
mov    -0x10(%rbp),%rdx
lea    -0xf0(%rbp),%rcx
lea    -0x80(%rbp),%r8
lea    0xe92(%rip),%rdi
call   1030 <printf@plt>
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<showStartingInfo>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xe0,%rsp
mov    %edx,%ebx
mov    %rsi,%r14
mov    %rdi,%r15
lea    0x70(%rsp),%r12
mov    %r12,%rdi
mov    %ecx,%esi
call   1040 <makeHumanReadableSize@plt>
mov    %rsp,%r13
mov    %r13,%rdi
mov    %ebx,%esi
call   1040 <makeHumanReadableSize@plt>
lea    0xea5(%rip),%rdi
mov    %r15,%rsi
mov    %r14,%rdx
mov    %r13,%rcx
mov    %r12,%r8
call   1030 <printf@plt>
add    $0xe0,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [31 x i8] c"%s -> %s, %s, block size = %s\0A\00"
define void @showStartingInfo(i8* %0, i8* %1, i32 %2, i32 %3) {
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i32
%9 = alloca [100 x i8]
%10 = alloca [100 x i8]
store i8* %0, i8** %5
store i8* %1, i8** %6
store i32 %2, i32* %7
store i32 %3, i32* %8
%11 = getelementptr inbounds [100 x i8], [100 x i8]* %9, i64 0, i64 0
%12 = load i32, i32* %8
%13 = call i32 @makeHumanReadableSize(i8* %11, i32 %12)
%14 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%15 = load i32, i32* %7
%16 = call i32 @makeHumanReadableSize(i8* %14, i32 %15)
%17 = load i8*, i8** %5
%18 = load i8*, i8** %6
%19 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%20 = getelementptr inbounds [100 x i8], [100 x i8]* %9, i64 0, i64 0
%21 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0), i8* %17, i8* %18, i8* %19, i8* %20)
ret void
}

LLVM IR (-O2):
@.str = [31 x i8] c"%s -> %s, %s, block size = %s\0A\00"
define void @showStartingInfo(i8* %0, i8* %1, i32 %2, i32 %3) {
%5 = alloca [100 x i8]
%6 = alloca [100 x i8]
%7 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%8 = getelementptr inbounds [100 x i8], [100 x i8]* %6, i64 0, i64 0
%9 = call i32 @makeHumanReadableSize(i8* %7, i32 %3)
%10 = call i32 @makeHumanReadableSize(i8* %8, i32 %2)
%11 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0), i8* %0, i8* %1, i8* %8, i8* %7)
ret void
}