#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 main(void) {
  char *s, *t, *u;
  s = "#include <stdio.h>%c#define pass int main(void){char*s,*t,*u%c#define "
      "None return 0;}%c#/*%cdef printf(s,*args):";
  t = "%c%cprint(s %c "
      "args,end='')%c#*/%cpass;%cs=%c%s%c;%ct=%c%s%c;%cu=%c%s%c;%c";
  u = "printf(s,10,10,10,10);printf(t,10,9,37,10,10,10,34,s,34,10,34,t,34,10,"
      "34,u,34,10);printf(u,10,10);None%c%c";
  printf(s, 10, 10, 10, 10);
  printf(t, 10, 9, 37, 10, 10, 10, 34, s, 34, 10, 34, t, 34, 10, 34, u, 34, 10);
  printf(u, 10, 10);
  return 0;
}


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

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xee5(%rip),%r14
mov    %r14,%rdi
mov    $0xa,%esi
mov    $0xa,%edx
mov    $0xa,%ecx
mov    $0xa,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
sub    $0x8,%rsp
lea    0xf77(%rip),%rbx
lea    0xf25(%rip),%rdi
mov    $0xa,%esi
mov    $0x9,%edx
mov    $0x25,%ecx
mov    $0xa,%r8d
mov    $0xa,%r9d
xor    %eax,%eax
push   $0xa
push   $0x22
push   %rbx
push   $0x22
push   $0xa
push   $0x22
push   %rdi
push   $0x22
push   $0xa
push   $0x22
push   %r14
push   $0x22
push   $0xa
call   1030 <printf@plt>
add    $0x70,%rsp
mov    %rbx,%rdi
mov    $0xa,%esi
mov    $0xa,%edx
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [113 x i8] c"#include <stdio.h>%c#define pass int main(void){char*s,*t,*u%c#define None return 0;}%c#/*%cdef printf(s,*args):\00"
@.str.1 = [75 x i8] c"%c%cprint(s %c args,end='')%c#*/%cpass;%cs=%c%s%c;%ct=%c%s%c;%cu=%c%s%c;%c\00"
@.str.2 = [107 x i8] c"printf(s,10,10,10,10);printf(t,10,9,37,10,10,10,34,s,34,10,34,t,34,10,34,u,34,10);printf(u,10,10);None%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 ([113 x i8], [113 x i8]* @.str, i64 0, i64 0), i8** %2
store i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.1, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.2, i64 0, i64 0), i8** %4
%5 = load i8*, i8** %2
%6 = call i32 (i8*, i32, i32, ...) @printf(i8* %5, i32 10, i32 10, i32 10, i32 10)
%7 = load i8*, i8** %3
%8 = load i8*, i8** %2
%9 = load i8*, i8** %3
%10 = load i8*, i8** %4
%11 = call i32 (i8*, i32, i32, ...) @printf(i8* %7, i32 10, i32 9, i32 37, i32 10, i32 10, i32 10, i32 34, i8* %8, i32 34, i32 10, i32 34, i8* %9, i32 34, i32 10, i32 34, i8* %10, i32 34, i32 10)
%12 = load i8*, i8** %4
%13 = call i32 (i8*, i32, i32, ...) @printf(i8* %12, i32 10, i32 10)
ret i32 0
}

LLVM IR (-O2):
@.str = [113 x i8] c"#include <stdio.h>%c#define pass int main(void){char*s,*t,*u%c#define None return 0;}%c#/*%cdef printf(s,*args):\00"
@.str.1 = [75 x i8] c"%c%cprint(s %c args,end='')%c#*/%cpass;%cs=%c%s%c;%ct=%c%s%c;%cu=%c%s%c;%c\00"
@.str.2 = [107 x i8] c"printf(s,10,10,10,10);printf(t,10,9,37,10,10,10,34,s,34,10,34,t,34,10,34,u,34,10);printf(u,10,10);None%c%c\00"
define i32 @main() {
%1 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([113 x i8], [113 x i8]* @.str, i64 0, i64 0), i32 10, i32 10, i32 10, i32 10)
%2 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.1, i64 0, i64 0), i32 10, i32 9, i32 37, i32 10, i32 10, i32 10, i32 34, i8* getelementptr inbounds ([113 x i8], [113 x i8]* @.str, i64 0, i64 0), i32 34, i32 10, i32 34, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.1, i64 0, i64 0), i32 34, i32 10, i32 34, i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.2, i64 0, i64 0), i32 34, i32 10)
%3 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.2, i64 0, i64 0), i32 10, i32 10)
ret i32 0
}