#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 *, char, int, long);
int main() {
  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     1169 <main+0x59>
mov    -0xc(%rbp),%eax
mov    %al,-0x5(%rbp)
movsbq -0x5(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x5(%rbp),%al
mov    -0xc(%rbp),%edx
mov    -0x18(%rbp),%rcx
lea    0xead(%rip),%rdi
movsbl %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    %rbx,%rdi
mov    $0xffffff80,%esi
mov    $0x80,%edx
mov    $0xffffffffffffff80,%rcx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffff81,%esi
mov    $0x81,%edx
mov    $0xffffffffffffff81,%rcx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffff82,%esi
mov    $0x82,%edx
mov    $0xffffffffffffff82,%rcx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffff83,%esi
mov    $0x83,%edx
mov    $0xffffffffffffff83,%rcx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffff84,%esi
mov    $0x84,%edx
mov    $0xffffffffffffff84,%rcx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffff85,%esi
mov    $0x85,%edx
mov    $0xffffffffffffff85,%rcx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffff86,%esi
mov    $0x86,%edx
mov    $0xffffffffffffff86,%rcx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffff87,%esi
mov    $0x87,%edx
mov    $0xffffffffffffff87,%rcx
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 = sext 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 signext %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 signext 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 signext 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 signext 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 signext 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 signext 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 signext 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 signext 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 signext 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 signext -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 signext -127, i32 129, i64 -127)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext -126, i32 130, i64 -126)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext -125, i32 131, i64 -125)
%13 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext -124, i32 132, i64 -124)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext -123, i32 133, i64 -123)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext -122, i32 134, i64 -122)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext -121, i32 135, i64 -121)
ret i32 0
}