#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 *, unsigned char, int, long);
int main() {
  unsigned char a;
  int b;
  long c;
  for (b = 120; b <= 135; b++) {
    a = b;
    c = a;
    printf("%4d %4d %4ld\n", a, b, c);
  }
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x78,-0xc(%rbp)
cmpl   $0x87,-0xc(%rbp)
jg     1168 <main+0x58>
mov    -0xc(%rbp),%eax
mov    %al,-0x5(%rbp)
movzbl -0x5(%rbp),%eax
mov    %rax,-0x18(%rbp)
mov    -0x5(%rbp),%al
mov    -0xc(%rbp),%edx
mov    -0x18(%rbp),%rcx
lea    0xeae(%rip),%rdi
movzbl %al,%esi
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1126 <main+0x16>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    $0x78,%ecx
mov    %rbx,%rdi
mov    $0x78,%esi
mov    $0x78,%edx
call   1030 <printf@plt>
mov    $0x79,%ecx
mov    %rbx,%rdi
mov    $0x79,%esi
mov    $0x79,%edx
call   1030 <printf@plt>
mov    $0x7a,%ecx
mov    %rbx,%rdi
mov    $0x7a,%esi
mov    $0x7a,%edx
call   1030 <printf@plt>
mov    $0x7b,%ecx
mov    %rbx,%rdi
mov    $0x7b,%esi
mov    $0x7b,%edx
call   1030 <printf@plt>
mov    $0x7c,%ecx
mov    %rbx,%rdi
mov    $0x7c,%esi
mov    $0x7c,%edx
call   1030 <printf@plt>
mov    $0x7d,%ecx
mov    %rbx,%rdi
mov    $0x7d,%esi
mov    $0x7d,%edx
call   1030 <printf@plt>
mov    $0x7e,%ecx
mov    %rbx,%rdi
mov    $0x7e,%esi
mov    $0x7e,%edx
call   1030 <printf@plt>
mov    $0x7f,%ecx
mov    %rbx,%rdi
mov    $0x7f,%esi
mov    $0x7f,%edx
call   1030 <printf@plt>
mov    $0x80,%ecx
mov    %rbx,%rdi
mov    $0x80,%esi
mov    $0x80,%edx
call   1030 <printf@plt>
mov    $0x81,%ecx
mov    %rbx,%rdi
mov    $0x81,%esi
mov    $0x81,%edx
call   1030 <printf@plt>
mov    $0x82,%ecx
mov    %rbx,%rdi
mov    $0x82,%esi
mov    $0x82,%edx
call   1030 <printf@plt>
mov    $0x83,%ecx
mov    %rbx,%rdi
mov    $0x83,%esi
mov    $0x83,%edx
call   1030 <printf@plt>
mov    $0x84,%ecx
mov    %rbx,%rdi
mov    $0x84,%esi
mov    $0x84,%edx
call   1030 <printf@plt>
mov    $0x85,%ecx
mov    %rbx,%rdi
mov    $0x85,%esi
mov    $0x85,%edx
call   1030 <printf@plt>
mov    $0x86,%ecx
mov    %rbx,%rdi
mov    $0x86,%esi
mov    $0x86,%edx
call   1030 <printf@plt>
mov    $0x87,%ecx
mov    %rbx,%rdi
mov    $0x87,%esi
mov    $0x87,%edx
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [14 x i8] c"%4d %4d %4ld\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca i32
%4 = alloca i64
store i32 0, i32* %1
store i32 120, i32* %3
br label %5
5: ; preds = %17, %0
%6 = load i32, i32* %3
%7 = icmp sle i32 %6, 135
br i1 %7, label %8, label %20
8: ; preds = %5
%9 = load i32, i32* %3
%10 = trunc i32 %9 to i8
store i8 %10, i8* %2
%11 = load i8, i8* %2
%12 = zext i8 %11 to i64
store i64 %12, i64* %4
%13 = load i8, i8* %2
%14 = load i32, i32* %3
%15 = load i64, i64* %4
%16 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext %13, i32 %14, i64 %15)
br label %17
17: ; preds = %8
%18 = load i32, i32* %3
%19 = add nsw i32 %18, 1
store i32 %19, i32* %3
br label %5
20: ; preds = %5
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"%4d %4d %4ld\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext 120, i32 120, i64 120)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext 121, i32 121, i64 121)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext 122, i32 122, i64 122)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext 123, i32 123, i64 123)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext 124, i32 124, i64 124)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext 125, i32 125, i64 125)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext 126, i32 126, i64 126)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext 127, i32 127, i64 127)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext -128, i32 128, i64 128)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext -127, i32 129, i64 129)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext -126, i32 130, i64 130)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext -125, i32 131, i64 131)
%13 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext -124, i32 132, i64 132)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext -123, i32 133, i64 133)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext -122, i32 134, i64 134)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 zeroext -121, i32 135, i64 135)
ret i32 0
}