#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*/ printBlank(int);
int /*<<< orphan*/ printLine();
int /*<<< orphan*/ putchar(char);
int main(void) {
  int i;
  printLine();
  for (i = 1; i < 5; ++i) {
    printBlank(20 + (5 - i));
    putchar('C');
    putchar('\n');
  }
  for (i = 0; i < 5; ++i) {
    printBlank(20);
    putchar('C');
    putchar('\n');
  }
  for (i = 1; i < 5; ++i) {
    printBlank(20 + i);
    putchar('C');
    putchar('\n');
  }
  printLine();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1050 <printLine@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x5,-0x8(%rbp)
jge    1189 <main+0x59>
mov    $0x5,%edi
sub    -0x8(%rbp),%edi
add    $0x14,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    114d <main+0x1d>
movl   $0x0,-0x8(%rbp)
cmpl   $0x5,-0x8(%rbp)
jge    11c6 <main+0x96>
mov    $0x14,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1190 <main+0x60>
movl   $0x1,-0x8(%rbp)
cmpl   $0x5,-0x8(%rbp)
jge    1204 <main+0xd4>
mov    -0x8(%rbp),%edi
add    $0x14,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11cd <main+0x9d>
mov    $0x0,%al
call   1050 <printLine@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1050 <printLine@plt>
mov    $0x18,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x17,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x16,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x15,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x14,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x14,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x14,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x14,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x14,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x15,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x16,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x17,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x18,%edi
call   1040 <printBlank@plt>
mov    $0x43,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
call   1050 <printLine@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
%3 = call i32 (...) @printLine()
store i32 1, i32* %2
br label %4
4: ; preds = %14, %0
%5 = load i32, i32* %2
%6 = icmp slt i32 %5, 5
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load i32, i32* %2
%9 = sub nsw i32 5, %8
%10 = add nsw i32 20, %9
%11 = call i32 @printBlank(i32 %10)
%12 = call i32 @putchar(i8 signext 67)
%13 = call i32 @putchar(i8 signext 10)
br label %14
14: ; preds = %7
%15 = load i32, i32* %2
%16 = add nsw i32 %15, 1
store i32 %16, i32* %2
br label %4
17: ; preds = %4
store i32 0, i32* %2
br label %18
18: ; preds = %25, %17
%19 = load i32, i32* %2
%20 = icmp slt i32 %19, 5
br i1 %20, label %21, label %28
21: ; preds = %18
%22 = call i32 @printBlank(i32 20)
%23 = call i32 @putchar(i8 signext 67)
%24 = call i32 @putchar(i8 signext 10)
br label %25
25: ; preds = %21
%26 = load i32, i32* %2
%27 = add nsw i32 %26, 1
store i32 %27, i32* %2
br label %18
28: ; preds = %18
store i32 1, i32* %2
br label %29
29: ; preds = %38, %28
%30 = load i32, i32* %2
%31 = icmp slt i32 %30, 5
br i1 %31, label %32, label %41
32: ; preds = %29
%33 = load i32, i32* %2
%34 = add nsw i32 20, %33
%35 = call i32 @printBlank(i32 %34)
%36 = call i32 @putchar(i8 signext 67)
%37 = call i32 @putchar(i8 signext 10)
br label %38
38: ; preds = %32
%39 = load i32, i32* %2
%40 = add nsw i32 %39, 1
store i32 %40, i32* %2
br label %29
41: ; preds = %29
%42 = call i32 (...) @printLine()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @printLine()
%2 = tail call i32 @printBlank(i32 24)
%3 = tail call i32 @putchar(i8 signext 67)
%4 = tail call i32 @putchar(i8 signext 10)
%5 = tail call i32 @printBlank(i32 23)
%6 = tail call i32 @putchar(i8 signext 67)
%7 = tail call i32 @putchar(i8 signext 10)
%8 = tail call i32 @printBlank(i32 22)
%9 = tail call i32 @putchar(i8 signext 67)
%10 = tail call i32 @putchar(i8 signext 10)
%11 = tail call i32 @printBlank(i32 21)
%12 = tail call i32 @putchar(i8 signext 67)
%13 = tail call i32 @putchar(i8 signext 10)
%14 = tail call i32 @printBlank(i32 20)
%15 = tail call i32 @putchar(i8 signext 67)
%16 = tail call i32 @putchar(i8 signext 10)
%17 = tail call i32 @printBlank(i32 20)
%18 = tail call i32 @putchar(i8 signext 67)
%19 = tail call i32 @putchar(i8 signext 10)
%20 = tail call i32 @printBlank(i32 20)
%21 = tail call i32 @putchar(i8 signext 67)
%22 = tail call i32 @putchar(i8 signext 10)
%23 = tail call i32 @printBlank(i32 20)
%24 = tail call i32 @putchar(i8 signext 67)
%25 = tail call i32 @putchar(i8 signext 10)
%26 = tail call i32 @printBlank(i32 20)
%27 = tail call i32 @putchar(i8 signext 67)
%28 = tail call i32 @putchar(i8 signext 10)
%29 = tail call i32 @printBlank(i32 21)
%30 = tail call i32 @putchar(i8 signext 67)
%31 = tail call i32 @putchar(i8 signext 10)
%32 = tail call i32 @printBlank(i32 22)
%33 = tail call i32 @putchar(i8 signext 67)
%34 = tail call i32 @putchar(i8 signext 10)
%35 = tail call i32 @printBlank(i32 23)
%36 = tail call i32 @putchar(i8 signext 67)
%37 = tail call i32 @putchar(i8 signext 10)
%38 = tail call i32 @printBlank(i32 24)
%39 = tail call i32 @putchar(i8 signext 67)
%40 = tail call i32 @putchar(i8 signext 10)
%41 = tail call i32 (...) @printLine()
ret i32 0
}