#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 main() {
  int a1 = 20, a2 = 345, a3 = 700, a4 = 22;
  int b1 = 56720, b2 = 9999, b3 = 20098, b4 = 2;
  int c1 = 233, c2 = 205, c3 = 1, c4 = 6666;
  int d1 = 34, d2 = 0, d3 = 23, d4 = 23006783;
  printf("%-9d %-9d %-9d %-9d\n", a1, a2, a3, a4);
  printf("%-9d %-9d %-9d %-9d\n", b1, b2, b3, b4);
  printf("%-9d %-9d %-9d %-9d\n", c1, c2, c3, c4);
  printf("%-9d %-9d %-9d %-9d\n", d1, d2, d3, d4);
  printf("\n");
  printf("%9d %9d %9d %9d\n", a1, a2, a3, a4);
  printf("%9d %9d %9d %9d\n", b1, b2, b3, b4);
  printf("%9d %9d %9d %9d\n", c1, c2, c3, c4);
  printf("%9d %9d %9d %9d\n", d1, d2, d3, d4);
  printf("\n");
  printf("%+9d %+9d %+9d %+9d\n", a1, a2, a3, a4);
  printf("%9d %9d %9d %9d\n", b1, b2, b3, b4);
  printf("%9d %9d %9d %9d\n", c1, c2, c3, c4);
  printf("%9d %9d %9d %9d\n", d1, d2, d3, d4);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x14,-0x8(%rbp)
movl   $0x159,-0xc(%rbp)
movl   $0x2bc,-0x10(%rbp)
movl   $0x16,-0x14(%rbp)
movl   $0xdd90,-0x18(%rbp)
movl   $0x270f,-0x1c(%rbp)
movl   $0x4e82,-0x20(%rbp)
movl   $0x2,-0x24(%rbp)
movl   $0xe9,-0x28(%rbp)
movl   $0xcd,-0x2c(%rbp)
movl   $0x1,-0x30(%rbp)
movl   $0x1a0a,-0x34(%rbp)
movl   $0x22,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
movl   $0x17,-0x40(%rbp)
movl   $0x15f0e3f,-0x44(%rbp)
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x10(%rbp),%ecx
mov    -0x14(%rbp),%r8d
lea    0xe5d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x24(%rbp),%r8d
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%esi
mov    -0x2c(%rbp),%edx
mov    -0x30(%rbp),%ecx
mov    -0x34(%rbp),%r8d
lea    0xe27(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%esi
mov    -0x3c(%rbp),%edx
mov    -0x40(%rbp),%ecx
mov    -0x44(%rbp),%r8d
lea    0xe0c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe22(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x10(%rbp),%ecx
mov    -0x14(%rbp),%r8d
lea    0xdf8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x24(%rbp),%r8d
lea    0xddd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%esi
mov    -0x2c(%rbp),%edx
mov    -0x30(%rbp),%ecx
mov    -0x34(%rbp),%r8d
lea    0xdc2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%esi
mov    -0x3c(%rbp),%edx
mov    -0x40(%rbp),%ecx
mov    -0x44(%rbp),%r8d
lea    0xda7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xda8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x10(%rbp),%ecx
mov    -0x14(%rbp),%r8d
lea    0xd8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    -0x20(%rbp),%ecx
mov    -0x24(%rbp),%r8d
lea    0xd63(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%esi
mov    -0x2c(%rbp),%edx
mov    -0x30(%rbp),%ecx
mov    -0x34(%rbp),%r8d
lea    0xd48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x38(%rbp),%esi
mov    -0x3c(%rbp),%edx
mov    -0x40(%rbp),%ecx
mov    -0x44(%rbp),%r8d
lea    0xd2d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xed8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x14,%esi
mov    $0x159,%edx
mov    $0x2bc,%ecx
mov    $0x16,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xdd90,%esi
mov    $0x270f,%edx
mov    $0x4e82,%ecx
mov    $0x2,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xe9,%esi
mov    $0xcd,%edx
mov    $0x1,%ecx
mov    $0x1a0a,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x22,%esi
xor    %edx,%edx
mov    $0x17,%ecx
mov    $0x15f0e3f,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe63(%rip),%rbx
mov    %rbx,%rdi
mov    $0x14,%esi
mov    $0x159,%edx
mov    $0x2bc,%ecx
mov    $0x16,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xdd90,%esi
mov    $0x270f,%edx
mov    $0x4e82,%ecx
mov    $0x2,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xe9,%esi
mov    $0xcd,%edx
mov    $0x1,%ecx
mov    $0x1a0a,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x22,%esi
xor    %edx,%edx
mov    $0x17,%ecx
mov    $0x15f0e3f,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xdea(%rip),%rdi
mov    $0x14,%esi
mov    $0x159,%edx
mov    $0x2bc,%ecx
mov    $0x16,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xdd90,%esi
mov    $0x270f,%edx
mov    $0x4e82,%ecx
mov    $0x2,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xe9,%esi
mov    $0xcd,%edx
mov    $0x1,%ecx
mov    $0x1a0a,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x22,%esi
xor    %edx,%edx
mov    $0x17,%ecx
mov    $0x15f0e3f,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [21 x i8] c"%-9d %-9d %-9d %-9d\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [17 x i8] c"%9d %9d %9d %9d\0A\00"
@.str.3 = [21 x i8] c"%+9d %+9d %+9d %+9d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 0, i32* %1
store i32 20, i32* %2
store i32 345, i32* %3
store i32 700, i32* %4
store i32 22, i32* %5
store i32 56720, i32* %6
store i32 9999, i32* %7
store i32 20098, i32* %8
store i32 2, i32* %9
store i32 233, i32* %10
store i32 205, i32* %11
store i32 1, i32* %12
store i32 6666, i32* %13
store i32 34, i32* %14
store i32 0, i32* %15
store i32 23, i32* %16
store i32 23006783, i32* %17
%18 = load i32, i32* %2
%19 = load i32, i32* %3
%20 = load i32, i32* %4
%21 = load i32, i32* %5
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 %18, i32 %19, i32 %20, i32 %21)
%23 = load i32, i32* %6
%24 = load i32, i32* %7
%25 = load i32, i32* %8
%26 = load i32, i32* %9
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 %23, i32 %24, i32 %25, i32 %26)
%28 = load i32, i32* %10
%29 = load i32, i32* %11
%30 = load i32, i32* %12
%31 = load i32, i32* %13
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 %28, i32 %29, i32 %30, i32 %31)
%33 = load i32, i32* %14
%34 = load i32, i32* %15
%35 = load i32, i32* %16
%36 = load i32, i32* %17
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 %33, i32 %34, i32 %35, i32 %36)
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%39 = load i32, i32* %2
%40 = load i32, i32* %3
%41 = load i32, i32* %4
%42 = load i32, i32* %5
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %39, i32 %40, i32 %41, i32 %42)
%44 = load i32, i32* %6
%45 = load i32, i32* %7
%46 = load i32, i32* %8
%47 = load i32, i32* %9
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %44, i32 %45, i32 %46, i32 %47)
%49 = load i32, i32* %10
%50 = load i32, i32* %11
%51 = load i32, i32* %12
%52 = load i32, i32* %13
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %49, i32 %50, i32 %51, i32 %52)
%54 = load i32, i32* %14
%55 = load i32, i32* %15
%56 = load i32, i32* %16
%57 = load i32, i32* %17
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %54, i32 %55, i32 %56, i32 %57)
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%60 = load i32, i32* %2
%61 = load i32, i32* %3
%62 = load i32, i32* %4
%63 = load i32, i32* %5
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %60, i32 %61, i32 %62, i32 %63)
%65 = load i32, i32* %6
%66 = load i32, i32* %7
%67 = load i32, i32* %8
%68 = load i32, i32* %9
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %65, i32 %66, i32 %67, i32 %68)
%70 = load i32, i32* %10
%71 = load i32, i32* %11
%72 = load i32, i32* %12
%73 = load i32, i32* %13
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %70, i32 %71, i32 %72, i32 %73)
%75 = load i32, i32* %14
%76 = load i32, i32* %15
%77 = load i32, i32* %16
%78 = load i32, i32* %17
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %75, i32 %76, i32 %77, i32 %78)
ret i32 0
}

LLVM IR (-O2):
@.str = [21 x i8] c"%-9d %-9d %-9d %-9d\0A\00"
@.str.2 = [17 x i8] c"%9d %9d %9d %9d\0A\00"
@.str.3 = [21 x i8] c"%+9d %+9d %+9d %+9d\0A\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 20, i32 345, i32 700, i32 22)
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 56720, i32 9999, i32 20098, i32 2)
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 233, i32 205, i32 1, i32 6666)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i32 34, i32 0, i32 23, i32 23006783)
%5 = tail call i32 @putchar(i32 10)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 20, i32 345, i32 700, i32 22)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 56720, i32 9999, i32 20098, i32 2)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 233, i32 205, i32 1, i32 6666)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 34, i32 0, i32 23, i32 23006783)
%10 = tail call i32 @putchar(i32 10)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 20, i32 345, i32 700, i32 22)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 56720, i32 9999, i32 20098, i32 2)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 233, i32 205, i32 1, i32 6666)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 34, i32 0, i32 23, i32 23006783)
ret i32 0
}