#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*/ gencmd(char *);
int /*<<< orphan*/ genconfig(char *);
int /*<<< orphan*/ gendir(char *);
int /*<<< orphan*/ gendumb(char *);
int /*<<< orphan*/ genend(char *);
int /*<<< orphan*/ genn0(char *);
int /*<<< orphan*/ genn1(char *);
int /*<<< orphan*/ genn2(char *);
int /*<<< orphan*/ genquit(char *);
int /*<<< orphan*/ genrb(char *);
int /*<<< orphan*/ genwb(char *);
int /*<<< orphan*/ printf(char *, char *);
int main(int argc, char *argv[]) {
  char rb[16];
  char wb[16];
  char dir[256];
  char script_file[256];
  char input[256];
  char output[256];
  char errput[256];
  char cmd[256];
  char end[64];
  char quit[64];
  char dumb[256];
  char script[4096];
  int fid0;
  int fid1;
  int fid2;
  genrb(rb);
  genwb(wb);
  gendir(dir);
  genconfig(script_file);
  genn0(input);
  genn1(output);
  genn2(errput);
  gencmd(cmd);
  genend(end);
  genquit(quit);
  gendumb(dumb);
  printf("%s\n", rb);
  printf("%s\n", wb);
  printf("%s\n", dir);
  printf("%s\n", script_file);
  printf("%s\n", input);
  printf("%s\n", output);
  printf("%s\n", errput);
  printf("%s\n", cmd);
  printf("%s\n", end);
  printf("%s\n", quit);
  printf("%s\n", dumb);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x17c0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    -0x20(%rbp),%rdi
call   1030 <genrb@plt>
lea    -0x30(%rbp),%rdi
call   1040 <genwb@plt>
lea    -0x130(%rbp),%rdi
call   10c0 <gendir@plt>
lea    -0x230(%rbp),%rdi
call   1090 <genconfig@plt>
lea    -0x330(%rbp),%rdi
call   10a0 <genn0@plt>
lea    -0x430(%rbp),%rdi
call   10e0 <genn1@plt>
lea    -0x530(%rbp),%rdi
call   10b0 <genn2@plt>
lea    -0x630(%rbp),%rdi
call   1070 <gencmd@plt>
lea    -0x670(%rbp),%rdi
call   1060 <genend@plt>
lea    -0x6b0(%rbp),%rdi
call   1080 <genquit@plt>
lea    -0x7b0(%rbp),%rdi
call   10d0 <gendumb@plt>
lea    -0x20(%rbp),%rsi
lea    0xd9e(%rip),%rdi
call   1050 <printf@plt>
lea    -0x30(%rbp),%rsi
lea    0xd8e(%rip),%rdi
call   1050 <printf@plt>
lea    -0x130(%rbp),%rsi
lea    0xd7b(%rip),%rdi
call   1050 <printf@plt>
lea    -0x230(%rbp),%rsi
lea    0xd68(%rip),%rdi
call   1050 <printf@plt>
lea    -0x330(%rbp),%rsi
lea    0xd55(%rip),%rdi
call   1050 <printf@plt>
lea    -0x430(%rbp),%rsi
lea    0xd42(%rip),%rdi
call   1050 <printf@plt>
lea    -0x530(%rbp),%rsi
lea    0xd2f(%rip),%rdi
call   1050 <printf@plt>
lea    -0x630(%rbp),%rsi
lea    0xd1c(%rip),%rdi
call   1050 <printf@plt>
lea    -0x670(%rbp),%rsi
lea    0xd09(%rip),%rdi
call   1050 <printf@plt>
lea    -0x6b0(%rbp),%rsi
lea    0xcf6(%rip),%rdi
call   1050 <printf@plt>
lea    -0x7b0(%rbp),%rsi
lea    0xce3(%rip),%rdi
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x17c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x7a8,%rsp
mov    %rsp,%rdi
call   1030 <genrb@plt>
lea    0x10(%rsp),%r14
mov    %r14,%rdi
call   1040 <genwb@plt>
lea    0x6a0(%rsp),%r15
mov    %r15,%rdi
call   10c0 <gendir@plt>
lea    0x5a0(%rsp),%r12
mov    %r12,%rdi
call   1090 <genconfig@plt>
lea    0x4a0(%rsp),%r13
mov    %r13,%rdi
call   10a0 <genn0@plt>
lea    0x3a0(%rsp),%rbp
mov    %rbp,%rdi
call   10e0 <genn1@plt>
lea    0x2a0(%rsp),%rdi
call   10b0 <genn2@plt>
lea    0x1a0(%rsp),%rdi
call   1070 <gencmd@plt>
lea    0x60(%rsp),%rdi
call   1060 <genend@plt>
lea    0x20(%rsp),%rdi
call   1080 <genquit@plt>
lea    0xa0(%rsp),%rdi
call   10d0 <gendumb@plt>
lea    0xd98(%rip),%rbx
mov    %rbx,%rdi
mov    %rsp,%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0x2a0(%rsp),%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0x1a0(%rsp),%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0x60(%rsp),%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0x20(%rsp),%rsi
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0xa0(%rsp),%rsi
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x7a8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [16 x i8]
%7 = alloca [16 x i8]
%8 = alloca [256 x i8]
%9 = alloca [256 x i8]
%10 = alloca [256 x i8]
%11 = alloca [256 x i8]
%12 = alloca [256 x i8]
%13 = alloca [256 x i8]
%14 = alloca [64 x i8]
%15 = alloca [64 x i8]
%16 = alloca [256 x i8]
%17 = alloca [4096 x i8]
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%21 = getelementptr inbounds [16 x i8], [16 x i8]* %6, i64 0, i64 0
%22 = call i32 @genrb(i8* %21)
%23 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 0
%24 = call i32 @genwb(i8* %23)
%25 = getelementptr inbounds [256 x i8], [256 x i8]* %8, i64 0, i64 0
%26 = call i32 @gendir(i8* %25)
%27 = getelementptr inbounds [256 x i8], [256 x i8]* %9, i64 0, i64 0
%28 = call i32 @genconfig(i8* %27)
%29 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i64 0, i64 0
%30 = call i32 @genn0(i8* %29)
%31 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%32 = call i32 @genn1(i8* %31)
%33 = getelementptr inbounds [256 x i8], [256 x i8]* %12, i64 0, i64 0
%34 = call i32 @genn2(i8* %33)
%35 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%36 = call i32 @gencmd(i8* %35)
%37 = getelementptr inbounds [64 x i8], [64 x i8]* %14, i64 0, i64 0
%38 = call i32 @genend(i8* %37)
%39 = getelementptr inbounds [64 x i8], [64 x i8]* %15, i64 0, i64 0
%40 = call i32 @genquit(i8* %39)
%41 = getelementptr inbounds [256 x i8], [256 x i8]* %16, i64 0, i64 0
%42 = call i32 @gendumb(i8* %41)
%43 = getelementptr inbounds [16 x i8], [16 x i8]* %6, i64 0, i64 0
%44 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %43)
%45 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 0
%46 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %45)
%47 = getelementptr inbounds [256 x i8], [256 x i8]* %8, i64 0, i64 0
%48 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %47)
%49 = getelementptr inbounds [256 x i8], [256 x i8]* %9, i64 0, i64 0
%50 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %49)
%51 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i64 0, i64 0
%52 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %51)
%53 = getelementptr inbounds [256 x i8], [256 x i8]* %11, i64 0, i64 0
%54 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %53)
%55 = getelementptr inbounds [256 x i8], [256 x i8]* %12, i64 0, i64 0
%56 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %55)
%57 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%58 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %57)
%59 = getelementptr inbounds [64 x i8], [64 x i8]* %14, i64 0, i64 0
%60 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %59)
%61 = getelementptr inbounds [64 x i8], [64 x i8]* %15, i64 0, i64 0
%62 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %61)
%63 = getelementptr inbounds [256 x i8], [256 x i8]* %16, i64 0, i64 0
%64 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %63)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [16 x i8]
%4 = alloca [16 x i8]
%5 = alloca [256 x i8]
%6 = alloca [256 x i8]
%7 = alloca [256 x i8]
%8 = alloca [256 x i8]
%9 = alloca [256 x i8]
%10 = alloca [256 x i8]
%11 = alloca [64 x i8]
%12 = alloca [64 x i8]
%13 = alloca [256 x i8]
%14 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 0
%15 = getelementptr inbounds [16 x i8], [16 x i8]* %4, i64 0, i64 0
%16 = getelementptr inbounds [256 x i8], [256 x i8]* %5, i64 0, i64 0
%17 = getelementptr inbounds [256 x i8], [256 x i8]* %6, i64 0, i64 0
%18 = getelementptr inbounds [256 x i8], [256 x i8]* %7, i64 0, i64 0
%19 = getelementptr inbounds [256 x i8], [256 x i8]* %8, i64 0, i64 0
%20 = getelementptr inbounds [256 x i8], [256 x i8]* %9, i64 0, i64 0
%21 = getelementptr inbounds [256 x i8], [256 x i8]* %10, i64 0, i64 0
%22 = getelementptr inbounds [64 x i8], [64 x i8]* %11, i64 0, i64 0
%23 = getelementptr inbounds [64 x i8], [64 x i8]* %12, i64 0, i64 0
%24 = getelementptr inbounds [256 x i8], [256 x i8]* %13, i64 0, i64 0
%25 = call i32 @genrb(i8* %14)
%26 = call i32 @genwb(i8* %15)
%27 = call i32 @gendir(i8* %16)
%28 = call i32 @genconfig(i8* %17)
%29 = call i32 @genn0(i8* %18)
%30 = call i32 @genn1(i8* %19)
%31 = call i32 @genn2(i8* %20)
%32 = call i32 @gencmd(i8* %21)
%33 = call i32 @genend(i8* %22)
%34 = call i32 @genquit(i8* %23)
%35 = call i32 @gendumb(i8* %24)
%36 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %14)
%37 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %15)
%38 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %16)
%39 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %17)
%40 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %18)
%41 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %19)
%42 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %20)
%43 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %21)
%44 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %22)
%45 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %23)
%46 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %24)
ret i32 0
}