#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*/ printf(char *, ...);
int print_header() {
  printf("%-17s%-17s%-10s%-17s%-17s\n", "IP address", "NetBIOS Name", "Server",
         "User", "MAC address");
  printf("---------------------------------------------------------------------"
         "---------\n");
  return 0;
}


x86 assembly (clang, -O0):
<print_header>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xef9(%rip),%rsi
lea    0xefd(%rip),%rdx
lea    0xf03(%rip),%rcx
lea    0xf03(%rip),%r8
lea    0xf01(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeff(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_header>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0xeec(%rip),%rsi
lea    0xef0(%rip),%rdx
lea    0xef6(%rip),%rcx
lea    0xef6(%rip),%r8
lea    0xef4(%rip),%r9
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef2(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [27 x i8] c"%-17s%-17s%-10s%-17s%-17s\0A\00"
@.str.1 = [11 x i8] c"IP address\00"
@.str.2 = [13 x i8] c"NetBIOS Name\00"
@.str.3 = [7 x i8] c"Server\00"
@.str.4 = [5 x i8] c"User\00"
@.str.5 = [12 x i8] c"MAC address\00"
@.str.6 = [80 x i8] c"------------------------------------------------------------------------------\0A\00"
define i32 @print_header() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.6, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [27 x i8] c"%-17s%-17s%-10s%-17s%-17s\0A\00"
@.str.1 = [11 x i8] c"IP address\00"
@.str.2 = [13 x i8] c"NetBIOS Name\00"
@.str.3 = [7 x i8] c"Server\00"
@.str.4 = [5 x i8] c"User\00"
@.str.5 = [12 x i8] c"MAC address\00"
@str = [79 x i8] c"------------------------------------------------------------------------------\00"
define i32 @print_header() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str, i64 0, i64 0))
ret i32 0
}