#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 *, ...);
void print_header(void) {
  printf("               Rx                              Tx\n");
  printf("%-8s %-5s %-10s %-8s %-5s %-5s %-10s %-8s %-5s %-5s\n", "name", "MTU",
         "bytes", "packets", "errs", "drpd", "bytes", "packets", "errs",
         "drpd");
}


x86 assembly (clang, -O0):
<print_header>:
push   %rbp
mov    %rsp,%rbp
push   %rbx
sub    $0x28,%rsp
lea    0xee0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
lea    0xf33(%rip),%rsi
lea    0xf31(%rip),%rdx
lea    0xf2e(%rip),%rbx
lea    0xf2d(%rip),%r11
lea    0xf2e(%rip),%r10
lea    0xf2c(%rip),%rax
mov    %rbx,%rcx
mov    %r11,%r8
mov    %r10,%r9
mov    %rax,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
mov    %r10,0x18(%rsp)
mov    %rax,0x20(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x28,%rsp
pop    %rbx
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_header>:
push   %rax
lea    0xf2e(%rip),%rdi
call   1030 <puts@plt>
sub    $0x8,%rsp
lea    0xf19(%rip),%r10
lea    0xf0d(%rip),%r9
lea    0xefe(%rip),%r8
lea    0xef1(%rip),%rcx
lea    0xeac(%rip),%rdi
lea    0xeda(%rip),%rsi
lea    0xed8(%rip),%rdx
xor    %eax,%eax
push   %r10
push   %r9
push   %r8
push   %rcx
push   %r10
call   1040 <printf@plt>
add    $0x30,%rsp
pop    %rax
ret

LLVM IR (-O0):
@.str = [51 x i8] c" Rx Tx\0A\00"
@.str.1 = [53 x i8] c"%-8s %-5s %-10s %-8s %-5s %-5s %-10s %-8s %-5s %-5s\0A\00"
@.str.2 = [5 x i8] c"name\00"
@.str.3 = [4 x i8] c"MTU\00"
@.str.4 = [6 x i8] c"bytes\00"
@.str.5 = [8 x i8] c"packets\00"
@.str.6 = [5 x i8] c"errs\00"
@.str.7 = [5 x i8] c"drpd\00"
define void @print_header() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [53 x i8] c"%-8s %-5s %-10s %-8s %-5s %-5s %-10s %-8s %-5s %-5s\0A\00"
@.str.2 = [5 x i8] c"name\00"
@.str.3 = [4 x i8] c"MTU\00"
@.str.4 = [6 x i8] c"bytes\00"
@.str.5 = [8 x i8] c"packets\00"
@.str.6 = [5 x i8] c"errs\00"
@.str.7 = [5 x i8] c"drpd\00"
@str = [50 x i8] c" Rx Tx\00"
define void @print_header() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
ret void
}