#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, int, int, int, int, int, int, int);
int main() {
  int i;
  for (i = 0; i < 64; i++) {
    printf("%d  %c\t%d   %c\t%d   %c\t%d   %c\n", i, i, i + 64, i + 64, i + 128,
           i + 128, i + 192, i + 192);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x40,-0x8(%rbp)
jge    1194 <main+0x84>
mov    -0x8(%rbp),%esi
mov    -0x8(%rbp),%edx
mov    -0x8(%rbp),%ecx
add    $0x40,%ecx
mov    -0x8(%rbp),%r8d
add    $0x40,%r8d
mov    -0x8(%rbp),%r9d
add    $0x80,%r9d
mov    -0x8(%rbp),%r11d
add    $0x80,%r11d
mov    -0x8(%rbp),%r10d
add    $0xc0,%r10d
mov    -0x8(%rbp),%eax
add    $0xc0,%eax
lea    0xe8c(%rip),%rdi
mov    %r11d,(%rsp)
mov    %r10d,0x8(%rsp)
mov    %eax,0x10(%rsp)
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1126 <main+0x16>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
xor    %ebx,%ebx
lea    0xee3(%rip),%r14
nopl   (%rax)
lea    0x40(%rbx),%ecx
lea    0x80(%rbx),%r9d
lea    0xc0(%rbx),%eax
sub    $0x8,%rsp
mov    %r14,%rdi
mov    %ebx,%esi
mov    %ebx,%edx
mov    %ecx,%r8d
push   %rax
push   %rax
push   %r9
call   1030 <printf@plt>
add    $0x20,%rsp
add    $0x1,%ebx
cmp    $0x40,%ebx
jne    1120 <main+0x10>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [32 x i8] c"%d %c\09%d %c\09%d %c\09%d %c\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
br label %3
3: ; preds = %22, %0
%4 = load i32, i32* %2
%5 = icmp slt i32 %4, 64
br i1 %5, label %6, label %25
6: ; preds = %3
%7 = load i32, i32* %2
%8 = load i32, i32* %2
%9 = load i32, i32* %2
%10 = add nsw i32 %9, 64
%11 = load i32, i32* %2
%12 = add nsw i32 %11, 64
%13 = load i32, i32* %2
%14 = add nsw i32 %13, 128
%15 = load i32, i32* %2
%16 = add nsw i32 %15, 128
%17 = load i32, i32* %2
%18 = add nsw i32 %17, 192
%19 = load i32, i32* %2
%20 = add nsw i32 %19, 192
%21 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i32 %7, i32 %8, i32 %10, i32 %12, i32 %14, i32 %16, i32 %18, i32 %20)
br label %22
22: ; preds = %6
%23 = load i32, i32* %2
%24 = add nsw i32 %23, 1
store i32 %24, i32* %2
br label %3
25: ; preds = %3
ret i32 0
}

LLVM IR (-O2):
@.str = [32 x i8] c"%d %c\09%d %c\09%d %c\09%d %c\0A\00"
define i32 @main() {
br label %1
1: ; preds = %0, %1
%2 = phi i32 [ 0, %0 ], [ %7, %1 ]
%3 = add nuw nsw i32 %2, 64
%4 = add nuw nsw i32 %2, 128
%5 = add nuw nsw i32 %2, 192
%6 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i32 %2, i32 %2, i32 %3, i32 %3, i32 %4, i32 %4, i32 %5, i32 %5)
%7 = add nuw nsw i32 %2, 1
%8 = icmp eq i32 %7, 64
br i1 %8, label %9, label %1
9: ; preds = %1
ret i32 0
}