#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,
                          int);
int main() {
  int i = 0;
  while (i <= 255) {
    printf("\n%d - %c   %3d - %c   %3d - %c   %3d - %c   %3d - %c   ", i, i,
           1 + i, 1 + i, 2 + i, 2 + i, 3 + i, 3 + i, 4 + i, 4 + i);
    i += 5;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x30,%rsp
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
cmpl   $0xff,-0x18(%rbp)
jg     11a6 <main+0x96>
mov    -0x18(%rbp),%esi
mov    -0x18(%rbp),%edx
mov    -0x18(%rbp),%ecx
add    $0x1,%ecx
mov    -0x18(%rbp),%r8d
add    $0x1,%r8d
mov    -0x18(%rbp),%r9d
add    $0x2,%r9d
mov    -0x18(%rbp),%r14d
add    $0x2,%r14d
mov    -0x18(%rbp),%ebx
add    $0x3,%ebx
mov    -0x18(%rbp),%r11d
add    $0x3,%r11d
mov    -0x18(%rbp),%r10d
add    $0x4,%r10d
mov    -0x18(%rbp),%eax
add    $0x4,%eax
lea    0xe83(%rip),%rdi
mov    %r14d,(%rsp)
mov    %ebx,0x8(%rsp)
mov    %r11d,0x10(%rsp)
mov    %r10d,0x18(%rsp)
mov    %eax,0x20(%rsp)
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x5,%eax
mov    %eax,-0x18(%rbp)
jmp    1129 <main+0x19>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
xor    %ebx,%ebx
lea    0xee3(%rip),%r14
nopl   (%rax)
lea    0x1(%rbx),%ecx
lea    0x2(%rbx),%r9d
lea    0x3(%rbx),%r10d
lea    0x4(%rbx),%eax
sub    $0x8,%rsp
mov    %r14,%rdi
mov    %ebx,%esi
mov    %ebx,%edx
mov    %ecx,%r8d
push   %rax
push   %rax
push   %r10
push   %r10
push   %r9
call   1030 <printf@plt>
add    $0x30,%rsp
lea    0x5(%rbx),%eax
cmp    $0xfb,%ebx
mov    %eax,%ebx
jb     1120 <main+0x10>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [56 x i8] c"\0A%d - %c %3d - %c %3d - %c %3d - %c %3d - %c \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 = %6, %0
%4 = load i32, i32* %2
%5 = icmp sle i32 %4, 255
br i1 %5, label %6, label %28
6: ; preds = %3
%7 = load i32, i32* %2
%8 = load i32, i32* %2
%9 = load i32, i32* %2
%10 = add nsw i32 1, %9
%11 = load i32, i32* %2
%12 = add nsw i32 1, %11
%13 = load i32, i32* %2
%14 = add nsw i32 2, %13
%15 = load i32, i32* %2
%16 = add nsw i32 2, %15
%17 = load i32, i32* %2
%18 = add nsw i32 3, %17
%19 = load i32, i32* %2
%20 = add nsw i32 3, %19
%21 = load i32, i32* %2
%22 = add nsw i32 4, %21
%23 = load i32, i32* %2
%24 = add nsw i32 4, %23
%25 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 %7, i32 %8, i32 %10, i32 %12, i32 %14, i32 %16, i32 %18, i32 %20, i32 %22, i32 %24)
%26 = load i32, i32* %2
%27 = add nsw i32 %26, 5
store i32 %27, i32* %2
br label %3
28: ; preds = %3
ret i32 0
}

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