#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);
void 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;
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x30,%rsp
movl   $0x0,-0x14(%rbp)
cmpl   $0xff,-0x14(%rbp)
jg     119f <main+0x8f>
mov    -0x14(%rbp),%esi
mov    -0x14(%rbp),%edx
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
mov    -0x14(%rbp),%r8d
add    $0x1,%r8d
mov    -0x14(%rbp),%r9d
add    $0x2,%r9d
mov    -0x14(%rbp),%r14d
add    $0x2,%r14d
mov    -0x14(%rbp),%ebx
add    $0x3,%ebx
mov    -0x14(%rbp),%r11d
add    $0x3,%r11d
mov    -0x14(%rbp),%r10d
add    $0x4,%r10d
mov    -0x14(%rbp),%eax
add    $0x4,%eax
lea    0xe8a(%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    -0x14(%rbp),%eax
add    $0x5,%eax
mov    %eax,-0x14(%rbp)
jmp    1122 <main+0x12>
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>
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 void @main() {
%1 = alloca i32
store i32 0, i32* %1
br label %2
2: ; preds = %5, %0
%3 = load i32, i32* %1
%4 = icmp sle i32 %3, 255
br i1 %4, label %5, label %27
5: ; preds = %2
%6 = load i32, i32* %1
%7 = load i32, i32* %1
%8 = load i32, i32* %1
%9 = add nsw i32 1, %8
%10 = load i32, i32* %1
%11 = add nsw i32 1, %10
%12 = load i32, i32* %1
%13 = add nsw i32 2, %12
%14 = load i32, i32* %1
%15 = add nsw i32 2, %14
%16 = load i32, i32* %1
%17 = add nsw i32 3, %16
%18 = load i32, i32* %1
%19 = add nsw i32 3, %18
%20 = load i32, i32* %1
%21 = add nsw i32 4, %20
%22 = load i32, i32* %1
%23 = add nsw i32 4, %22
%24 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 %6, i32 %7, i32 %9, i32 %11, i32 %13, i32 %15, i32 %17, i32 %19, i32 %21, i32 %23)
%25 = load i32, i32* %1
%26 = add nsw i32 %25, 5
store i32 %26, i32* %1
br label %2
27: ; preds = %2
ret void
}

LLVM IR (-O2):
@.str = [56 x i8] c"\0A%d - %c %3d - %c %3d - %c %3d - %c %3d - %c \00"
define void @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 void
}