#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*/ fputs(char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ strcpy(char *, char *);
int main() {
  char physical[20][20];
  char logical[20][20];
  char spare[20][20];
  strcpy(physical[0], "00-14-22-01-23-45");
  strcpy(physical[1], "00-04-DC-01-23-45");
  strcpy(physical[2], "00-40-96-01-23-45");
  strcpy(physical[3], "00-30-BD-01-23-45");
  strcpy(physical[4], "00-14-22-05-64-45");
  strcpy(logical[0], "130.57.64.11");
  strcpy(logical[1], "130.57.64.12");
  strcpy(logical[2], "130.57.64.13");
  strcpy(logical[3], "130.57.65.15");
  strcpy(logical[4], "130.57.65.16");
  strcpy(spare[0], "130.57.66.12");
  strcpy(spare[1], "130.57.67.14");
  strcpy(spare[2], "130.57.68.15");
  strcpy(spare[3], "130.57.66.13");
  for (int i = 0; i < 5; i++) {
    fputs(physical[i], stdout);
    printf(" -> ");
    fputs(logical[i], stdout);
    printf("\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x4d0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x1a0(%rbp),%rdi
lea    0xeb0(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1a0(%rbp),%rdi
add    $0x14,%rdi
lea    0xeab(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1a0(%rbp),%rdi
add    $0x28,%rdi
lea    0xea6(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1a0(%rbp),%rdi
add    $0x3c,%rdi
lea    0xea1(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x1a0(%rbp),%rdi
add    $0x50,%rdi
lea    0xe9c(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x330(%rbp),%rdi
lea    0xe9b(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x330(%rbp),%rdi
add    $0x14,%rdi
lea    0xe91(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x330(%rbp),%rdi
add    $0x28,%rdi
lea    0xe87(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x330(%rbp),%rdi
add    $0x3c,%rdi
lea    0xe7d(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x330(%rbp),%rdi
add    $0x50,%rdi
lea    0xe73(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x4c0(%rbp),%rdi
lea    0xe6d(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x4c0(%rbp),%rdi
add    $0x14,%rdi
lea    0xe63(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x4c0(%rbp),%rdi
add    $0x28,%rdi
lea    0xe59(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x4c0(%rbp),%rdi
add    $0x3c,%rdi
lea    0xe4f(%rip),%rsi
call   1030 <strcpy@plt>
movl   $0x0,-0x4c4(%rbp)
cmpl   $0x5,-0x4c4(%rbp)
jge    1301 <main+0x1d1>
movslq -0x4c4(%rbp),%rax
lea    -0x1a0(%rbp),%rdi
imul   $0x14,%rax,%rax
add    %rax,%rdi
mov    0x2d35(%rip),%rax
mov    (%rax),%esi
call   1050 <fputs@plt>
lea    0xe16(%rip),%rdi
call   1040 <printf@plt>
movslq -0x4c4(%rbp),%rax
lea    -0x330(%rbp),%rdi
imul   $0x14,%rax,%rax
add    %rax,%rdi
mov    0x2d06(%rip),%rax
mov    (%rax),%esi
call   1050 <fputs@plt>
lea    0xdec(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4c4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c4(%rbp)
jmp    1282 <main+0x152>
xor    %eax,%eax
add    $0x4d0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x4b8,%rsp
lea    0xea8(%rip),%rsi
mov    %rsp,%r15
mov    %r15,%rdi
call   1040 <strcpy@plt>
lea    0x14(%rsp),%rdi
lea    0xea3(%rip),%rsi
call   1040 <strcpy@plt>
lea    0x28(%rsp),%rdi
lea    0xea4(%rip),%rsi
call   1040 <strcpy@plt>
lea    0x3c(%rsp),%rdi
lea    0xea5(%rip),%rsi
call   1040 <strcpy@plt>
lea    0x50(%rsp),%rdi
lea    0xea6(%rip),%rsi
call   1040 <strcpy@plt>
lea    0xeac(%rip),%rsi
lea    0x190(%rsp),%r13
mov    %r13,%rdi
call   1040 <strcpy@plt>
lea    0x1a4(%rsp),%r12
lea    0xe9a(%rip),%rsi
mov    %r12,%rdi
call   1040 <strcpy@plt>
lea    0x1b8(%rsp),%r14
lea    0xe90(%rip),%rsi
mov    %r14,%rdi
call   1040 <strcpy@plt>
lea    0x1cc(%rsp),%rdi
lea    0xe86(%rip),%rsi
call   1040 <strcpy@plt>
lea    0x1e0(%rsp),%rdi
lea    0xe7f(%rip),%rsi
call   1040 <strcpy@plt>
lea    0xe80(%rip),%rsi
lea    0x320(%rsp),%rdi
call   1040 <strcpy@plt>
lea    0x334(%rsp),%rdi
lea    0xe71(%rip),%rsi
call   1040 <strcpy@plt>
lea    0x348(%rsp),%rdi
lea    0xe6a(%rip),%rsi
call   1040 <strcpy@plt>
lea    0x35c(%rsp),%rdi
lea    0xe63(%rip),%rsi
call   1040 <strcpy@plt>
mov    0x2d75(%rip),%rbp
mov    0x0(%rbp),%esi
mov    %r15,%rdi
call   1060 <fputs@plt>
lea    0xe52(%rip),%rbx
mov    %rbx,%rdi
call   1050 <printf@plt>
mov    0x0(%rbp),%esi
mov    %r13,%rdi
call   1060 <fputs@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x0(%rbp),%esi
lea    0x14(%rsp),%rdi
call   1060 <fputs@plt>
mov    %rbx,%rdi
call   1050 <printf@plt>
mov    0x0(%rbp),%esi
mov    %r12,%rdi
call   1060 <fputs@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x0(%rbp),%esi
lea    0x28(%rsp),%rdi
call   1060 <fputs@plt>
mov    %rbx,%rdi
call   1050 <printf@plt>
mov    0x0(%rbp),%esi
mov    %r14,%rdi
call   1060 <fputs@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x0(%rbp),%esi
lea    0x3c(%rsp),%rdi
call   1060 <fputs@plt>
mov    %rbx,%rdi
call   1050 <printf@plt>
mov    0x0(%rbp),%esi
lea    0x1cc(%rsp),%rdi
call   1060 <fputs@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x0(%rbp),%esi
lea    0x50(%rsp),%rdi
call   1060 <fputs@plt>
mov    %rbx,%rdi
call   1050 <printf@plt>
mov    0x0(%rbp),%esi
lea    0x1e0(%rsp),%rdi
call   1060 <fputs@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x4b8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [18 x i8] c"00-14-22-01-23-45\00"
@.str.1 = [18 x i8] c"00-04-DC-01-23-45\00"
@.str.2 = [18 x i8] c"00-40-96-01-23-45\00"
@.str.3 = [18 x i8] c"00-30-BD-01-23-45\00"
@.str.4 = [18 x i8] c"00-14-22-05-64-45\00"
@.str.5 = [13 x i8] c"130.57.64.11\00"
@.str.6 = [13 x i8] c"130.57.64.12\00"
@.str.7 = [13 x i8] c"130.57.64.13\00"
@.str.8 = [13 x i8] c"130.57.65.15\00"
@.str.9 = [13 x i8] c"130.57.65.16\00"
@.str.10 = [13 x i8] c"130.57.66.12\00"
@.str.11 = [13 x i8] c"130.57.67.14\00"
@.str.12 = [13 x i8] c"130.57.68.15\00"
@.str.13 = [13 x i8] c"130.57.66.13\00"
@stdout = global i32 0
@.str.14 = [5 x i8] c" -> \00"
@.str.15 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [20 x [20 x i8]]
%3 = alloca [20 x [20 x i8]]
%4 = alloca [20 x [20 x i8]]
%5 = alloca i32
store i32 0, i32* %1
%6 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 0
%7 = getelementptr inbounds [20 x i8], [20 x i8]* %6, i64 0, i64 0
%8 = call i32 @strcpy(i8* %7, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%9 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 1
%10 = getelementptr inbounds [20 x i8], [20 x i8]* %9, i64 0, i64 0
%11 = call i32 @strcpy(i8* %10, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%12 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 2
%13 = getelementptr inbounds [20 x i8], [20 x i8]* %12, i64 0, i64 0
%14 = call i32 @strcpy(i8* %13, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%15 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 3
%16 = getelementptr inbounds [20 x i8], [20 x i8]* %15, i64 0, i64 0
%17 = call i32 @strcpy(i8* %16, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%18 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 4
%19 = getelementptr inbounds [20 x i8], [20 x i8]* %18, i64 0, i64 0
%20 = call i32 @strcpy(i8* %19, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
%21 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 0
%22 = getelementptr inbounds [20 x i8], [20 x i8]* %21, i64 0, i64 0
%23 = call i32 @strcpy(i8* %22, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%24 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 1
%25 = getelementptr inbounds [20 x i8], [20 x i8]* %24, i64 0, i64 0
%26 = call i32 @strcpy(i8* %25, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%27 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 2
%28 = getelementptr inbounds [20 x i8], [20 x i8]* %27, i64 0, i64 0
%29 = call i32 @strcpy(i8* %28, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%30 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 3
%31 = getelementptr inbounds [20 x i8], [20 x i8]* %30, i64 0, i64 0
%32 = call i32 @strcpy(i8* %31, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%33 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 4
%34 = getelementptr inbounds [20 x i8], [20 x i8]* %33, i64 0, i64 0
%35 = call i32 @strcpy(i8* %34, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%36 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %4, i64 0, i64 0
%37 = getelementptr inbounds [20 x i8], [20 x i8]* %36, i64 0, i64 0
%38 = call i32 @strcpy(i8* %37, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0))
%39 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %4, i64 0, i64 1
%40 = getelementptr inbounds [20 x i8], [20 x i8]* %39, i64 0, i64 0
%41 = call i32 @strcpy(i8* %40, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
%42 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %4, i64 0, i64 2
%43 = getelementptr inbounds [20 x i8], [20 x i8]* %42, i64 0, i64 0
%44 = call i32 @strcpy(i8* %43, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%45 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %4, i64 0, i64 3
%46 = getelementptr inbounds [20 x i8], [20 x i8]* %45, i64 0, i64 0
%47 = call i32 @strcpy(i8* %46, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0))
store i32 0, i32* %5
br label %48
48: ; preds = %66, %0
%49 = load i32, i32* %5
%50 = icmp slt i32 %49, 5
br i1 %50, label %51, label %69
51: ; preds = %48
%52 = load i32, i32* %5
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 %53
%55 = getelementptr inbounds [20 x i8], [20 x i8]* %54, i64 0, i64 0
%56 = load i32, i32* @stdout
%57 = call i32 @fputs(i8* %55, i32 %56)
%58 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%59 = load i32, i32* %5
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 %60
%62 = getelementptr inbounds [20 x i8], [20 x i8]* %61, i64 0, i64 0
%63 = load i32, i32* @stdout
%64 = call i32 @fputs(i8* %62, i32 %63)
%65 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
br label %66
66: ; preds = %51
%67 = load i32, i32* %5
%68 = add nsw i32 %67, 1
store i32 %68, i32* %5
br label %48
69: ; preds = %48
ret i32 0
}

LLVM IR (-O2):
@.str = [18 x i8] c"00-14-22-01-23-45\00"
@.str.1 = [18 x i8] c"00-04-DC-01-23-45\00"
@.str.2 = [18 x i8] c"00-40-96-01-23-45\00"
@.str.3 = [18 x i8] c"00-30-BD-01-23-45\00"
@.str.4 = [18 x i8] c"00-14-22-05-64-45\00"
@.str.5 = [13 x i8] c"130.57.64.11\00"
@.str.6 = [13 x i8] c"130.57.64.12\00"
@.str.7 = [13 x i8] c"130.57.64.13\00"
@.str.8 = [13 x i8] c"130.57.65.15\00"
@.str.9 = [13 x i8] c"130.57.65.16\00"
@.str.10 = [13 x i8] c"130.57.66.12\00"
@.str.11 = [13 x i8] c"130.57.67.14\00"
@.str.12 = [13 x i8] c"130.57.68.15\00"
@.str.13 = [13 x i8] c"130.57.66.13\00"
@stdout = global i32 0
@.str.14 = [5 x i8] c" -> \00"
define i32 @main() {
%1 = alloca [20 x [20 x i8]]
%2 = alloca [20 x [20 x i8]]
%3 = alloca [20 x [20 x i8]]
%4 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %1, i64 0, i64 0, i64 0
%5 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 0, i64 0
%6 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 0, i64 0
%7 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%8 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %1, i64 0, i64 1, i64 0
%9 = call i32 @strcpy(i8* %8, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%10 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %1, i64 0, i64 2, i64 0
%11 = call i32 @strcpy(i8* %10, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%12 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %1, i64 0, i64 3, i64 0
%13 = call i32 @strcpy(i8* %12, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%14 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %1, i64 0, i64 4, i64 0
%15 = call i32 @strcpy(i8* %14, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
%16 = call i32 @strcpy(i8* %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%17 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 1, i64 0
%18 = call i32 @strcpy(i8* %17, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%19 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 2, i64 0
%20 = call i32 @strcpy(i8* %19, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%21 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 3, i64 0
%22 = call i32 @strcpy(i8* %21, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0))
%23 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %2, i64 0, i64 4, i64 0
%24 = call i32 @strcpy(i8* %23, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
%25 = call i32 @strcpy(i8* %6, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0))
%26 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 1, i64 0
%27 = call i32 @strcpy(i8* %26, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
%28 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 2, i64 0
%29 = call i32 @strcpy(i8* %28, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%30 = getelementptr inbounds [20 x [20 x i8]], [20 x [20 x i8]]* %3, i64 0, i64 3, i64 0
%31 = call i32 @strcpy(i8* %30, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.13, i64 0, i64 0))
%32 = load i32, i32* @stdout
%33 = call i32 @fputs(i8* %4, i32 %32)
%34 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%35 = load i32, i32* @stdout
%36 = call i32 @fputs(i8* %5, i32 %35)
%37 = call i32 @putchar(i32 10)
%38 = load i32, i32* @stdout
%39 = call i32 @fputs(i8* %8, i32 %38)
%40 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%41 = load i32, i32* @stdout
%42 = call i32 @fputs(i8* %17, i32 %41)
%43 = call i32 @putchar(i32 10)
%44 = load i32, i32* @stdout
%45 = call i32 @fputs(i8* %10, i32 %44)
%46 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%47 = load i32, i32* @stdout
%48 = call i32 @fputs(i8* %19, i32 %47)
%49 = call i32 @putchar(i32 10)
%50 = load i32, i32* @stdout
%51 = call i32 @fputs(i8* %12, i32 %50)
%52 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%53 = load i32, i32* @stdout
%54 = call i32 @fputs(i8* %21, i32 %53)
%55 = call i32 @putchar(i32 10)
%56 = load i32, i32* @stdout
%57 = call i32 @fputs(i8* %14, i32 %56)
%58 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%59 = load i32, i32* @stdout
%60 = call i32 @fputs(i8* %23, i32 %59)
%61 = call i32 @putchar(i32 10)
ret i32 0
}