#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 *, char *, char *, char *, char *);
void io_print_subnet_header() {
  printf("%-10s%-16s%-35s%s\n", "Soobnet", "Soobnet", "Soobnet host",
         "Broadcast");
  printf("%-10s%-16s%-35s%s\n", "number", "address", "range", "address");
  printf("%-10s%-16s%-35s%s\n", "-------", "-------", "------------",
         "---------");
}


x86 assembly (clang, -O0):
<io_print_subnet_header>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xef1(%rip),%rdx
lea    0xef2(%rip),%rcx
lea    0xef8(%rip),%r8
mov    %rdx,%rsi
call   1030 <printf@plt>
lea    0xec1(%rip),%rdi
lea    0xeec(%rip),%rsi
lea    0xeec(%rip),%r8
lea    0xeed(%rip),%rcx
mov    %r8,%rdx
call   1030 <printf@plt>
lea    0xe9d(%rip),%rdi
lea    0xee2(%rip),%rdx
lea    0xed6(%rip),%rcx
lea    0xed2(%rip),%r8
mov    %rdx,%rsi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<io_print_subnet_header>:
push   %rbx
lea    0xee8(%rip),%rbx
lea    0xef4(%rip),%rdx
lea    0xef5(%rip),%rcx
lea    0xefb(%rip),%r8
mov    %rbx,%rdi
mov    %rdx,%rsi
call   1030 <printf@plt>
lea    0xef3(%rip),%rsi
lea    0xefb(%rip),%rcx
lea    0xeec(%rip),%rdx
mov    %rbx,%rdi
mov    %rdx,%r8
call   1030 <printf@plt>
lea    0xeed(%rip),%rdx
lea    0xee1(%rip),%rcx
lea    0xedd(%rip),%r8
mov    %rbx,%rdi
mov    %rdx,%rsi
pop    %rbx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [19 x i8] c"%-10s%-16s%-35s%s\0A\00"
@.str.1 = [8 x i8] c"Soobnet\00"
@.str.2 = [13 x i8] c"Soobnet host\00"
@.str.3 = [10 x i8] c"Broadcast\00"
@.str.4 = [7 x i8] c"number\00"
@.str.5 = [8 x i8] c"address\00"
@.str.6 = [6 x i8] c"range\00"
@.str.7 = [8 x i8] c"-------\00"
@.str.8 = [13 x i8] c"------------\00"
@.str.9 = [10 x i8] c"---------\00"
define void @io_print_subnet_header() {
%1 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 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 ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 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 ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c"%-10s%-16s%-35s%s\0A\00"
@.str.1 = [8 x i8] c"Soobnet\00"
@.str.2 = [13 x i8] c"Soobnet host\00"
@.str.3 = [10 x i8] c"Broadcast\00"
@.str.4 = [7 x i8] c"number\00"
@.str.5 = [8 x i8] c"address\00"
@.str.6 = [6 x i8] c"range\00"
@.str.7 = [8 x i8] c"-------\00"
@.str.8 = [13 x i8] c"------------\00"
@.str.9 = [10 x i8] c"---------\00"
define void @io_print_subnet_header() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 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 ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
%2 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 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 ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%3 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
ret void
}