#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, char, char, char, char, char);
int main(int argc, char **argv) {
  printf("%c%c%c%c%c%c\n", '*', '*', '*', '*', '*', '*');
  printf("%c%c%c%c%c%c\n", '*', '*', '*', '*', '*', '*');
  printf("%c%c%c%c%c%c\n", '*', '*', '*', '*', '*', '*');
  printf("%c%c%c%c%c%c\n", '*', '*', '*', '*', '*', '*');
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xed3(%rip),%rdi
mov    $0x2a,%r9d
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x2a,(%rsp)
call   1030 <printf@plt>
lea    0xeae(%rip),%rdi
mov    $0x2a,%r9d
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x2a,(%rsp)
call   1030 <printf@plt>
lea    0xe89(%rip),%rdi
mov    $0x2a,%r9d
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x2a,(%rsp)
call   1030 <printf@plt>
lea    0xe64(%rip),%rdi
mov    $0x2a,%r9d
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x2a,(%rsp)
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
movl   $0x2a,(%rsp)
lea    0xedd(%rip),%rbx
mov    %rbx,%rdi
mov    $0x2a,%esi
mov    $0x2a,%edx
mov    $0x2a,%ecx
mov    $0x2a,%r8d
mov    $0x2a,%r9d
call   1030 <printf@plt>
movl   $0x2a,(%rsp)
mov    %rbx,%rdi
mov    $0x2a,%esi
mov    $0x2a,%edx
mov    $0x2a,%ecx
mov    $0x2a,%r8d
mov    $0x2a,%r9d
call   1030 <printf@plt>
movl   $0x2a,(%rsp)
mov    %rbx,%rdi
mov    $0x2a,%esi
mov    $0x2a,%edx
mov    $0x2a,%ecx
mov    $0x2a,%r8d
mov    $0x2a,%r9d
call   1030 <printf@plt>
movl   $0x2a,(%rsp)
mov    %rbx,%rdi
mov    $0x2a,%esi
mov    $0x2a,%edx
mov    $0x2a,%ecx
mov    $0x2a,%r8d
mov    $0x2a,%r9d
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [14 x i8] c"%c%c%c%c%c%c\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42)
%7 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42)
%8 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42)
%9 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42)
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"%c%c%c%c%c%c\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42, i8 signext 42)
ret i32 0
}