#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 */
typedef int /*<<< orphan*/ regstr;

/* Variables and functions */
int atoi(char *);
int atol(char *);
char *level0_0(int, int, char *, size_t *);
char *level0_0_s(char *, int /*<<< orphan*/, int, char *, size_t *);
char *level1_0(int, int, char *, size_t *);
char *level1_0_s(char *, int /*<<< orphan*/, int, char *, size_t *);
char *level1_1(int, int, char *, size_t *);
char *level1_1_s(char *, int /*<<< orphan*/, int, char *, size_t *);
char *level2_0(int, int, char *, size_t *);
char *level2_0_s(char *, int /*<<< orphan*/, int, char *, size_t *);
char *level2_1(int, int, char *, size_t *);
char *level2_1_s(char *, int /*<<< orphan*/, int, char *, size_t *);
int /*<<< orphan*/ memset(char *, int /*<<< orphan*/, size_t);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ strlen(char *);
int main(int argc, char **argv) {
  int ge = 0;
  char *numstr = argv[1];
  int num = atol(numstr);
  if (argc > 2)
    ge = atoi(argv[2]);
  char regstr[1024];
  size_t reglen = sizeof(regstr);
  printf("%s\n", level0_0_s(numstr, strlen(numstr), ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level0_0(num, ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level1_0_s(numstr, strlen(numstr), ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level1_0(num, ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level1_1_s(numstr, strlen(numstr), ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level1_1(num, ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level2_0_s(numstr, strlen(numstr), ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level2_0(num, ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level2_1_s(numstr, strlen(numstr), ge, regstr, &reglen));
  reglen = sizeof(regstr);
  memset(regstr, 0, reglen);
  printf("%s\n", level2_1(num, ge, regstr, &reglen));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x460,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
call   10f0 <atol@plt>
mov    %eax,-0x24(%rbp)
cmpl   $0x2,-0x8(%rbp)
jle    1242 <main+0x52>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1100 <atoi@plt>
mov    %eax,-0x14(%rbp)
movq   $0x400,-0x438(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x460(%rbp)
mov    -0x20(%rbp),%rdi
call   1080 <strlen@plt>
mov    -0x460(%rbp),%rdi
mov    %eax,%esi
mov    -0x14(%rbp),%edx
lea    -0x430(%rbp),%rcx
lea    -0x438(%rbp),%r8
call   1030 <level0_0_s@plt>
mov    %rax,%rsi
lea    0xd76(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x24(%rbp),%edi
mov    -0x14(%rbp),%esi
lea    -0x430(%rbp),%rdx
lea    -0x438(%rbp),%rcx
call   1050 <level0_0@plt>
mov    %rax,%rsi
lea    0xd2e(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x458(%rbp)
mov    -0x20(%rbp),%rdi
call   1080 <strlen@plt>
mov    -0x458(%rbp),%rdi
mov    %eax,%esi
mov    -0x14(%rbp),%edx
lea    -0x430(%rbp),%rcx
lea    -0x438(%rbp),%r8
call   10e0 <level1_0_s@plt>
mov    %rax,%rsi
lea    0xccc(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x24(%rbp),%edi
mov    -0x14(%rbp),%esi
lea    -0x430(%rbp),%rdx
lea    -0x438(%rbp),%rcx
call   1110 <level1_0@plt>
mov    %rax,%rsi
lea    0xc84(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x450(%rbp)
mov    -0x20(%rbp),%rdi
call   1080 <strlen@plt>
mov    -0x450(%rbp),%rdi
mov    %eax,%esi
mov    -0x14(%rbp),%edx
lea    -0x430(%rbp),%rcx
lea    -0x438(%rbp),%r8
call   1040 <level1_1_s@plt>
mov    %rax,%rsi
lea    0xc22(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x24(%rbp),%edi
mov    -0x14(%rbp),%esi
lea    -0x430(%rbp),%rdx
lea    -0x438(%rbp),%rcx
call   10b0 <level1_1@plt>
mov    %rax,%rsi
lea    0xbda(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x448(%rbp)
mov    -0x20(%rbp),%rdi
call   1080 <strlen@plt>
mov    -0x448(%rbp),%rdi
mov    %eax,%esi
mov    -0x14(%rbp),%edx
lea    -0x430(%rbp),%rcx
lea    -0x438(%rbp),%r8
call   10c0 <level2_0_s@plt>
mov    %rax,%rsi
lea    0xb78(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x24(%rbp),%edi
mov    -0x14(%rbp),%esi
lea    -0x430(%rbp),%rdx
lea    -0x438(%rbp),%rcx
call   1060 <level2_0@plt>
mov    %rax,%rsi
lea    0xb30(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x20(%rbp),%rax
mov    %rax,-0x440(%rbp)
mov    -0x20(%rbp),%rdi
call   1080 <strlen@plt>
mov    -0x440(%rbp),%rdi
mov    %eax,%esi
mov    -0x14(%rbp),%edx
lea    -0x430(%rbp),%rcx
lea    -0x438(%rbp),%r8
call   1070 <level2_1_s@plt>
mov    %rax,%rsi
lea    0xace(%rip),%rdi
call   1090 <printf@plt>
movq   $0x400,-0x438(%rbp)
lea    -0x430(%rbp),%rdi
mov    -0x438(%rbp),%rdx
xor    %esi,%esi
call   10a0 <memset@plt>
mov    -0x24(%rbp),%edi
mov    -0x14(%rbp),%esi
lea    -0x430(%rbp),%rdx
lea    -0x438(%rbp),%rcx
call   10d0 <level2_1@plt>
mov    %rax,%rsi
lea    0xa86(%rip),%rdi
call   1090 <printf@plt>
xor    %eax,%eax
add    $0x460,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x418,%rsp
mov    %rsi,%rbp
mov    %edi,%ebx
mov    0x8(%rsi),%r12
mov    %r12,%rdi
call   10f0 <atol@plt>
mov    %eax,0xc(%rsp)
xor    %r14d,%r14d
cmp    $0x3,%ebx
jl     122a <main+0x3a>
mov    0x10(%rbp),%rdi
call   1100 <atoi@plt>
mov    %eax,%r14d
movq   $0x400,(%rsp)
mov    %r12,%rdi
call   1080 <strlen@plt>
lea    0x10(%rsp),%r15
mov    %rsp,%r13
mov    %r12,%rdi
mov    %eax,%esi
mov    %r14d,%edx
mov    %r15,%rcx
mov    %r13,%r8
call   1030 <level0_0_s@plt>
lea    0xda4(%rip),%rbx
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    0xc(%rsp),%ebp
mov    %ebp,%edi
mov    %r14d,%esi
mov    %r15,%rdx
mov    %r13,%rcx
call   1050 <level0_0@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    %r12,%rdi
call   1080 <strlen@plt>
mov    %r12,%rdi
mov    %eax,%esi
mov    %r14d,%edx
mov    %r15,%rcx
mov    %r13,%r8
call   10e0 <level1_0_s@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    %ebp,%edi
mov    %r14d,%esi
mov    %r15,%rdx
mov    %r13,%rcx
call   1110 <level1_0@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    %r12,%rdi
call   1080 <strlen@plt>
mov    %r12,%rdi
mov    %eax,%esi
mov    %r14d,%edx
mov    %r15,%rcx
mov    %r13,%r8
call   1040 <level1_1_s@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    %ebp,%edi
mov    %r14d,%esi
mov    %r15,%rdx
mov    %r13,%rcx
call   10b0 <level1_1@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    %r12,%rdi
call   1080 <strlen@plt>
mov    %r12,%rdi
mov    %eax,%esi
mov    %r14d,%edx
mov    %r15,%rcx
mov    %r13,%r8
call   10c0 <level2_0_s@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    %ebp,%edi
mov    %r14d,%esi
mov    %r15,%rdx
mov    %r13,%rcx
call   1060 <level2_0@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    %r12,%rdi
call   1080 <strlen@plt>
mov    %r12,%rdi
mov    %eax,%esi
mov    %r14d,%edx
mov    %r15,%rcx
mov    %r13,%r8
call   1070 <level2_1_s@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
movq   $0x400,(%rsp)
mov    $0x400,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10a0 <memset@plt>
mov    %ebp,%edi
mov    %r14d,%esi
mov    %r15,%rdx
mov    %r13,%rcx
call   10d0 <level2_1@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
call   1090 <printf@plt>
xor    %eax,%eax
add    $0x418,%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 i32
%7 = alloca i8*
%8 = alloca i32
%9 = alloca [1024 x i8]
%10 = alloca i64
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
%11 = load i8**, i8*** %5
%12 = getelementptr inbounds i8*, i8** %11, i64 1
%13 = load i8*, i8** %12
store i8* %13, i8** %7
%14 = load i8*, i8** %7
%15 = call i32 @atol(i8* %14)
store i32 %15, i32* %8
%16 = load i32, i32* %4
%17 = icmp sgt i32 %16, 2
br i1 %17, label %18, label %23
18: ; preds = %2
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 2
%21 = load i8*, i8** %20
%22 = call i32 @atoi(i8* %21)
store i32 %22, i32* %6
br label %23
23: ; preds = %18, %2
store i64 1024, i64* %10
%24 = load i8*, i8** %7
%25 = load i8*, i8** %7
%26 = call i32 @strlen(i8* %25)
%27 = load i32, i32* %6
%28 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%29 = call i8* @level0_0_s(i8* %24, i32 %26, i32 %27, i8* %28, i64* %10)
%30 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %29)
store i64 1024, i64* %10
%31 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%32 = load i64, i64* %10
%33 = call i32 @memset(i8* %31, i32 0, i64 %32)
%34 = load i32, i32* %8
%35 = load i32, i32* %6
%36 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%37 = call i8* @level0_0(i32 %34, i32 %35, i8* %36, i64* %10)
%38 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %37)
store i64 1024, i64* %10
%39 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%40 = load i64, i64* %10
%41 = call i32 @memset(i8* %39, i32 0, i64 %40)
%42 = load i8*, i8** %7
%43 = load i8*, i8** %7
%44 = call i32 @strlen(i8* %43)
%45 = load i32, i32* %6
%46 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%47 = call i8* @level1_0_s(i8* %42, i32 %44, i32 %45, i8* %46, i64* %10)
%48 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %47)
store i64 1024, i64* %10
%49 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%50 = load i64, i64* %10
%51 = call i32 @memset(i8* %49, i32 0, i64 %50)
%52 = load i32, i32* %8
%53 = load i32, i32* %6
%54 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%55 = call i8* @level1_0(i32 %52, i32 %53, i8* %54, i64* %10)
%56 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %55)
store i64 1024, i64* %10
%57 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%58 = load i64, i64* %10
%59 = call i32 @memset(i8* %57, i32 0, i64 %58)
%60 = load i8*, i8** %7
%61 = load i8*, i8** %7
%62 = call i32 @strlen(i8* %61)
%63 = load i32, i32* %6
%64 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%65 = call i8* @level1_1_s(i8* %60, i32 %62, i32 %63, i8* %64, i64* %10)
%66 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %65)
store i64 1024, i64* %10
%67 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%68 = load i64, i64* %10
%69 = call i32 @memset(i8* %67, i32 0, i64 %68)
%70 = load i32, i32* %8
%71 = load i32, i32* %6
%72 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%73 = call i8* @level1_1(i32 %70, i32 %71, i8* %72, i64* %10)
%74 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %73)
store i64 1024, i64* %10
%75 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%76 = load i64, i64* %10
%77 = call i32 @memset(i8* %75, i32 0, i64 %76)
%78 = load i8*, i8** %7
%79 = load i8*, i8** %7
%80 = call i32 @strlen(i8* %79)
%81 = load i32, i32* %6
%82 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%83 = call i8* @level2_0_s(i8* %78, i32 %80, i32 %81, i8* %82, i64* %10)
%84 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %83)
store i64 1024, i64* %10
%85 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%86 = load i64, i64* %10
%87 = call i32 @memset(i8* %85, i32 0, i64 %86)
%88 = load i32, i32* %8
%89 = load i32, i32* %6
%90 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%91 = call i8* @level2_0(i32 %88, i32 %89, i8* %90, i64* %10)
%92 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %91)
store i64 1024, i64* %10
%93 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%94 = load i64, i64* %10
%95 = call i32 @memset(i8* %93, i32 0, i64 %94)
%96 = load i8*, i8** %7
%97 = load i8*, i8** %7
%98 = call i32 @strlen(i8* %97)
%99 = load i32, i32* %6
%100 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%101 = call i8* @level2_1_s(i8* %96, i32 %98, i32 %99, i8* %100, i64* %10)
%102 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %101)
store i64 1024, i64* %10
%103 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%104 = load i64, i64* %10
%105 = call i32 @memset(i8* %103, i32 0, i64 %104)
%106 = load i32, i32* %8
%107 = load i32, i32* %6
%108 = getelementptr inbounds [1024 x i8], [1024 x i8]* %9, i64 0, i64 0
%109 = call i8* @level2_1(i32 %106, i32 %107, i8* %108, i64* %10)
%110 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %109)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [1024 x i8]
%4 = alloca i64
%5 = getelementptr inbounds i8*, i8** %1, i64 1
%6 = load i8*, i8** %5
%7 = tail call i32 @atol(i8* %6)
%8 = icmp sgt i32 %0, 2
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = getelementptr inbounds i8*, i8** %1, i64 2
%11 = load i8*, i8** %10
%12 = tail call i32 @atoi(i8* %11)
br label %13
13: ; preds = %9, %2
%14 = phi i32 [ %12, %9 ], [ 0, %2 ]
%15 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%16 = bitcast i64* %4 to i8*
store i64 1024, i64* %4
%17 = tail call i32 @strlen(i8* %6)
%18 = call i8* @level0_0_s(i8* %6, i32 %17, i32 %14, i8* %15, i64* %4)
%19 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %18)
store i64 1024, i64* %4
%20 = call i32 @memset(i8* %15, i32 0, i64 1024)
%21 = call i8* @level0_0(i32 %7, i32 %14, i8* %15, i64* %4)
%22 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %21)
store i64 1024, i64* %4
%23 = call i32 @memset(i8* %15, i32 0, i64 1024)
%24 = call i32 @strlen(i8* %6)
%25 = call i8* @level1_0_s(i8* %6, i32 %24, i32 %14, i8* %15, i64* %4)
%26 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %25)
store i64 1024, i64* %4
%27 = call i32 @memset(i8* %15, i32 0, i64 1024)
%28 = call i8* @level1_0(i32 %7, i32 %14, i8* %15, i64* %4)
%29 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %28)
store i64 1024, i64* %4
%30 = call i32 @memset(i8* %15, i32 0, i64 1024)
%31 = call i32 @strlen(i8* %6)
%32 = call i8* @level1_1_s(i8* %6, i32 %31, i32 %14, i8* %15, i64* %4)
%33 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %32)
store i64 1024, i64* %4
%34 = call i32 @memset(i8* %15, i32 0, i64 1024)
%35 = call i8* @level1_1(i32 %7, i32 %14, i8* %15, i64* %4)
%36 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %35)
store i64 1024, i64* %4
%37 = call i32 @memset(i8* %15, i32 0, i64 1024)
%38 = call i32 @strlen(i8* %6)
%39 = call i8* @level2_0_s(i8* %6, i32 %38, i32 %14, i8* %15, i64* %4)
%40 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %39)
store i64 1024, i64* %4
%41 = call i32 @memset(i8* %15, i32 0, i64 1024)
%42 = call i8* @level2_0(i32 %7, i32 %14, i8* %15, i64* %4)
%43 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %42)
store i64 1024, i64* %4
%44 = call i32 @memset(i8* %15, i32 0, i64 1024)
%45 = call i32 @strlen(i8* %6)
%46 = call i8* @level2_1_s(i8* %6, i32 %45, i32 %14, i8* %15, i64* %4)
%47 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %46)
store i64 1024, i64* %4
%48 = call i32 @memset(i8* %15, i32 0, i64 1024)
%49 = call i8* @level2_1(i32 %7, i32 %14, i8* %15, i64* %4)
%50 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* %49)
ret i32 0
}