#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, int, int, int, ...);
int main(void) {
  char *a = "#include <stdio.h>%c%cint main(void) {%c%cchar "
            "*a=%c%s%c,%c%c*b=%c%s%c,%c%c*c=%c%s%c",
       *b = ";%c%cprintf(a, 10, 10, 10, 9, 34, a, 34, 10, 9, 34, b, 34, 10, 9, "
            "34, c, 34);%c%cprintf(b",
       *c = ", 10, 9, 10, 9);%c%cprintf(c, 10, 9, 10, 9, 10, 10, "
            "10);%c%creturn 0;%c}%c%c";
  printf(a, 10, 10, 10, 9, 34, a, 34, 10, 9, 34, b, 34, 10, 9, 34, c, 34);
  printf(b, 10, 9, 10, 9);
  printf(c, 10, 9, 10, 9, 10, 10, 10);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xed7(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    0xf21(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xf70(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x10(%rbp),%r11
mov    -0x18(%rbp),%r10
mov    -0x20(%rbp),%rax
mov    $0xa,%ecx
mov    $0x9,%r8d
mov    $0x22,%r9d
mov    %ecx,%esi
mov    %ecx,%edx
mov    %r11,(%rsp)
movl   $0x22,0x8(%rsp)
movl   $0xa,0x10(%rsp)
movl   $0x9,0x18(%rsp)
movl   $0x22,0x20(%rsp)
mov    %r10,0x28(%rsp)
movl   $0x22,0x30(%rsp)
movl   $0xa,0x38(%rsp)
movl   $0x9,0x40(%rsp)
movl   $0x22,0x48(%rsp)
mov    %rax,0x50(%rsp)
movl   $0x22,0x58(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rdi
mov    $0xa,%ecx
mov    $0x9,%r8d
mov    %ecx,%esi
mov    %r8d,%edx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rdi
mov    $0xa,%r9d
mov    $0x9,%r8d
mov    %r9d,%esi
mov    %r8d,%edx
mov    %r9d,%ecx
movl   $0xa,(%rsp)
movl   $0xa,0x8(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xf94(%rip),%r14
lea    0xf33(%rip),%rbx
lea    0xed7(%rip),%rdi
mov    $0xa,%esi
mov    $0xa,%edx
mov    $0xa,%ecx
mov    $0x9,%r8d
mov    $0x22,%r9d
xor    %eax,%eax
push   $0x22
push   %r14
push   $0x22
push   $0x9
push   $0xa
push   $0x22
push   %rbx
push   $0x22
push   $0x9
push   $0xa
push   $0x22
push   %rdi
call   1030 <printf@plt>
add    $0x60,%rsp
mov    %rbx,%rdi
mov    $0xa,%esi
mov    $0x9,%edx
mov    $0xa,%ecx
mov    $0x9,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r14,%rdi
mov    $0xa,%esi
mov    $0x9,%edx
mov    $0xa,%ecx
mov    $0x9,%r8d
mov    $0xa,%r9d
xor    %eax,%eax
push   $0xa
push   $0xa
call   1030 <printf@plt>
add    $0x10,%rsp
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [85 x i8] c"#include <stdio.h>%c%cint main(void) {%c%cchar *a=%c%s%c,%c%c*b=%c%s%c,%c%c*c=%c%s%c\00"
@.str.1 = [90 x i8] c";%c%cprintf(a, 10, 10, 10, 9, 34, a, 34, 10, 9, 34, b, 34, 10, 9, 34, c, 34);%c%cprintf(b\00"
@.str.2 = [77 x i8] c", 10, 9, 10, 9);%c%cprintf(c, 10, 9, 10, 9, 10, 10, 10);%c%creturn 0;%c}%c%c\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
store i32 0, i32* %1
store i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str, i64 0, i64 0), i8** %2
store i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.1, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0), i8** %4
%5 = load i8*, i8** %2
%6 = load i8*, i8** %2
%7 = load i8*, i8** %3
%8 = load i8*, i8** %4
%9 = call i32 (i8*, i32, i32, i32, i32, ...) @printf(i8* %5, i32 10, i32 10, i32 10, i32 9, i32 34, i8* %6, i32 34, i32 10, i32 9, i32 34, i8* %7, i32 34, i32 10, i32 9, i32 34, i8* %8, i32 34)
%10 = load i8*, i8** %3
%11 = call i32 (i8*, i32, i32, i32, i32, ...) @printf(i8* %10, i32 10, i32 9, i32 10, i32 9)
%12 = load i8*, i8** %4
%13 = call i32 (i8*, i32, i32, i32, i32, ...) @printf(i8* %12, i32 10, i32 9, i32 10, i32 9, i32 10, i32 10, i32 10)
ret i32 0
}

LLVM IR (-O2):
@.str = [85 x i8] c"#include <stdio.h>%c%cint main(void) {%c%cchar *a=%c%s%c,%c%c*b=%c%s%c,%c%c*c=%c%s%c\00"
@.str.1 = [90 x i8] c";%c%cprintf(a, 10, 10, 10, 9, 34, a, 34, 10, 9, 34, b, 34, 10, 9, 34, c, 34);%c%cprintf(b\00"
@.str.2 = [77 x i8] c", 10, 9, 10, 9);%c%cprintf(c, 10, 9, 10, 9, 10, 10, 10);%c%creturn 0;%c}%c%c\00"
define i32 @main() {
%1 = tail call i32 (i8*, i32, i32, i32, i32, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str, i64 0, i64 0), i32 10, i32 10, i32 10, i32 9, i32 34, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str, i64 0, i64 0), i32 34, i32 10, i32 9, i32 34, i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.1, i64 0, i64 0), i32 34, i32 10, i32 9, i32 34, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0), i32 34)
%2 = tail call i32 (i8*, i32, i32, i32, i32, ...) @printf(i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.1, i64 0, i64 0), i32 10, i32 9, i32 10, i32 9)
%3 = tail call i32 (i8*, i32, i32, i32, i32, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.2, i64 0, i64 0), i32 10, i32 9, i32 10, i32 9, i32 10, i32 10, i32 10)
ret i32 0
}