void print_list_entry(char *snd_addr, char *rcv_addr, int jitt, int loss,
                      long long srtt) {
  char snd_ipv4[20];
  char rcv_ipv4[20];
  printf("\n%18s%18s%11d%11d%11llu", mam_make_ipv4_readable(snd_ipv4, snd_addr),
         mam_make_ipv4_readable(rcv_ipv4, rcv_addr), jitt, loss, srtt);
}


x86 assembly (clang, -O0):
<print_list_entry>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
lea    -0x40(%rbp),%rdi
mov    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1040 <mam_make_ipv4_readable@plt>
mov    %eax,-0x64(%rbp)
lea    -0x60(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1040 <mam_make_ipv4_readable@plt>
mov    -0x64(%rbp),%esi
mov    %eax,%edx
mov    -0x14(%rbp),%ecx
mov    -0x18(%rbp),%r8d
mov    -0x20(%rbp),%r9
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_list_entry>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x40,%rsp
mov    %r8,%r14
mov    %ecx,%r15d
mov    %edx,%r12d
mov    %rsi,%rbp
mov    %rdi,%rsi
lea    0x20(%rsp),%rdi
xor    %eax,%eax
call   1040 <mam_make_ipv4_readable@plt>
mov    %eax,%ebx
mov    %rsp,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1040 <mam_make_ipv4_readable@plt>
lea    0xea3(%rip),%rdi
mov    %ebx,%esi
mov    %eax,%edx
mov    %r12d,%ecx
mov    %r15d,%r8d
mov    %r14,%r9
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x40,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [24 x i8] c"\0A%18s%18s%11d%11d%11llu\00"
define void @print_list_entry(i8* %0, i8* %1, i32 %2, i32 %3, i64 %4) {
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i64
%11 = alloca [20 x i8]
%12 = alloca [20 x i8]
store i8* %0, i8** %6
store i8* %1, i8** %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i64 %4, i64* %10
%13 = getelementptr inbounds [20 x i8], [20 x i8]* %11, i64 0, i64 0
%14 = load i8*, i8** %6
%15 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @mam_make_ipv4_readable to i32 (i8*, i8*, ...)*)(i8* %13, i8* %14)
%16 = getelementptr inbounds [20 x i8], [20 x i8]* %12, i64 0, i64 0
%17 = load i8*, i8** %7
%18 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @mam_make_ipv4_readable to i32 (i8*, i8*, ...)*)(i8* %16, i8* %17)
%19 = load i32, i32* %8
%20 = load i32, i32* %9
%21 = load i64, i64* %10
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %15, i32 %18, i32 %19, i32 %20, i64 %21)
ret void
}

LLVM IR (-O2):
@.str = [24 x i8] c"\0A%18s%18s%11d%11d%11llu\00"
define void @print_list_entry(i8* %0, i8* %1, i32 %2, i32 %3, i64 %4) {
%6 = alloca [20 x i8]
%7 = alloca [20 x i8]
%8 = getelementptr inbounds [20 x i8], [20 x i8]* %6, i64 0, i64 0
%9 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%10 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @mam_make_ipv4_readable to i32 (i8*, i8*, ...)*)(i8* %8, i8* %0)
%11 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @mam_make_ipv4_readable to i32 (i8*, i8*, ...)*)(i8* %9, i8* %1)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %10, i32 %11, i32 %2, i32 %3, i64 %4)
ret void
}