#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*/ Clear();
int /*<<< orphan*/ CreateDir(char *, char *);
int /*<<< orphan*/ CreateFile(char *, char *);
int /*<<< orphan*/ DeleteDir(char *);
int /*<<< orphan*/ DeleteFile(char *);
int GetFileNum(char *);
int MoveDir(char *, char *);
int /*<<< orphan*/ assert(int);
int main(void) {
  CreateDir("root", "DirA");
  CreateDir("root", "DirB");
  CreateDir("root", "DirC");
  CreateDir("root", "DirD");
  CreateDir("root", "DirE");
  CreateFile("root", "root");
  CreateFile("DirA", "File1");
  CreateFile("DirA", "File2");
  CreateFile("DirA", "File3");
  CreateFile("DirB", "File4");
  CreateFile("DirC", "File5");
  CreateFile("DirC", "DirC");
  assert(-1 == MoveDir("DirA", "root"));
  assert(-1 == MoveDir("DirB", "root"));
  assert(3 == GetFileNum("DirA"));
  assert(7 == GetFileNum("root"));
  assert(0 == MoveDir("DirB", "DirA"));
  assert(0 == MoveDir("DirB", "root"));
  assert(0 == MoveDir("DirB", "DirA"));
  assert(4 == GetFileNum("DirA"));
  assert(-1 == MoveDir("root", "DirA"));
  assert(0 == MoveDir("DirC", "DirB"));
  assert(6 == GetFileNum("DirA"));
  DeleteDir("DirC");
  assert(4 == GetFileNum("DirA"));
  DeleteFile("File2");
  assert(3 == GetFileNum("DirA"));
  DeleteFile("File0");
  DeleteFile("root");
  assert(3 == GetFileNum("DirA"));
  DeleteDir("DirA");
  assert(0 == GetFileNum("root"));
  Clear();
  assert(0 == GetFileNum("DirA"));
  Clear();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe6a(%rip),%rdi
lea    0xe68(%rip),%rsi
call   10a0 <CreateDir@plt>
lea    0xe57(%rip),%rdi
lea    0xe5a(%rip),%rsi
call   10a0 <CreateDir@plt>
lea    0xe44(%rip),%rdi
lea    0xe4c(%rip),%rsi
call   10a0 <CreateDir@plt>
lea    0xe31(%rip),%rdi
lea    0xe3e(%rip),%rsi
call   10a0 <CreateDir@plt>
lea    0xe1e(%rip),%rdi
lea    0xe30(%rip),%rsi
call   10a0 <CreateDir@plt>
lea    0xe0b(%rip),%rsi
mov    %rsi,%rdi
call   1050 <CreateFile@plt>
lea    0xe01(%rip),%rdi
lea    0xe13(%rip),%rsi
call   1050 <CreateFile@plt>
lea    0xdee(%rip),%rdi
lea    0xe06(%rip),%rsi
call   1050 <CreateFile@plt>
lea    0xddb(%rip),%rdi
lea    0xdf9(%rip),%rsi
call   1050 <CreateFile@plt>
lea    0xdcd(%rip),%rdi
lea    0xdec(%rip),%rsi
call   1050 <CreateFile@plt>
lea    0xdbf(%rip),%rdi
lea    0xddf(%rip),%rsi
call   1050 <CreateFile@plt>
lea    0xdac(%rip),%rsi
mov    %rsi,%rdi
call   1050 <CreateFile@plt>
lea    0xd93(%rip),%rdi
lea    0xd87(%rip),%rsi
call   1090 <MoveDir@plt>
mov    %eax,%ecx
mov    $0xffffffff,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd6f(%rip),%rdi
lea    0xd5e(%rip),%rsi
call   1090 <MoveDir@plt>
mov    %eax,%ecx
mov    $0xffffffff,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd41(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
mov    $0x3,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd1a(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
mov    $0x7,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xd02(%rip),%rdi
lea    0xcf6(%rip),%rsi
call   1090 <MoveDir@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xcdc(%rip),%rdi
lea    0xccb(%rip),%rsi
call   1090 <MoveDir@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xcb6(%rip),%rdi
lea    0xcaa(%rip),%rsi
call   1090 <MoveDir@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc8b(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
mov    $0x4,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc64(%rip),%rdi
lea    0xc62(%rip),%rsi
call   1090 <MoveDir@plt>
mov    %eax,%ecx
mov    $0xffffffff,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc4a(%rip),%rdi
lea    0xc3e(%rip),%rsi
call   1090 <MoveDir@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc1a(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
mov    $0x6,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xc02(%rip),%rdi
call   1060 <DeleteDir@plt>
lea    0xbec(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
mov    $0x4,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xbe9(%rip),%rdi
call   1080 <DeleteFile@plt>
lea    0xbbe(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
mov    $0x3,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xbd3(%rip),%rdi
call   1080 <DeleteFile@plt>
lea    0xb8b(%rip),%rdi
call   1080 <DeleteFile@plt>
lea    0xb84(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
mov    $0x3,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
lea    0xb62(%rip),%rdi
call   1060 <DeleteDir@plt>
lea    0xb51(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    $0x0,%al
call   1030 <Clear@plt>
lea    0xb30(%rip),%rdi
call   1070 <GetFileNum@plt>
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    $0x0,%al
call   1030 <Clear@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
lea    0xe70(%rip),%r14
lea    0xe6e(%rip),%rbx
mov    %r14,%rdi
mov    %rbx,%rsi
call   10a0 <CreateDir@plt>
lea    0xe61(%rip),%r13
mov    %r14,%rdi
mov    %r13,%rsi
call   10a0 <CreateDir@plt>
lea    0xe54(%rip),%r15
mov    %r14,%rdi
mov    %r15,%rsi
call   10a0 <CreateDir@plt>
lea    0xe47(%rip),%rsi
mov    %r14,%rdi
call   10a0 <CreateDir@plt>
lea    0xe3d(%rip),%rsi
mov    %r14,%rdi
call   10a0 <CreateDir@plt>
mov    %r14,%rdi
mov    %r14,%rsi
call   1050 <CreateFile@plt>
lea    0xe28(%rip),%rsi
mov    %rbx,%rdi
call   1050 <CreateFile@plt>
lea    0xe1f(%rip),%r12
mov    %rbx,%rdi
mov    %r12,%rsi
call   1050 <CreateFile@plt>
lea    0xe13(%rip),%rsi
mov    %rbx,%rdi
call   1050 <CreateFile@plt>
lea    0xe0a(%rip),%rsi
mov    %r13,%rdi
call   1050 <CreateFile@plt>
lea    0xe01(%rip),%rsi
mov    %r15,%rdi
call   1050 <CreateFile@plt>
mov    %r15,%rdi
mov    %r15,%rsi
call   1050 <CreateFile@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1090 <MoveDir@plt>
xor    %edi,%edi
cmp    $0xffffffff,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r13,%rdi
mov    %r14,%rsi
call   1090 <MoveDir@plt>
xor    %edi,%edi
cmp    $0xffffffff,%eax
sete   %dil
call   1040 <assert@plt>
mov    %rbx,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
cmp    $0x3,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r14,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
cmp    $0x7,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
call   1090 <MoveDir@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r13,%rdi
mov    %r14,%rsi
call   1090 <MoveDir@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
call   1090 <MoveDir@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
mov    %rbx,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1090 <MoveDir@plt>
xor    %edi,%edi
cmp    $0xffffffff,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r15,%rdi
mov    %r13,%rsi
call   1090 <MoveDir@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
mov    %rbx,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
cmp    $0x6,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r15,%rdi
call   1060 <DeleteDir@plt>
mov    %rbx,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
cmp    $0x4,%eax
sete   %dil
call   1040 <assert@plt>
mov    %r12,%rdi
call   1080 <DeleteFile@plt>
mov    %rbx,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
cmp    $0x3,%eax
sete   %dil
call   1040 <assert@plt>
lea    0xcae(%rip),%rdi
call   1080 <DeleteFile@plt>
mov    %r14,%rdi
call   1080 <DeleteFile@plt>
mov    %rbx,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
cmp    $0x3,%eax
sete   %dil
call   1040 <assert@plt>
mov    %rbx,%rdi
call   1060 <DeleteDir@plt>
mov    %r14,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
xor    %eax,%eax
call   1030 <Clear@plt>
mov    %rbx,%rdi
call   1070 <GetFileNum@plt>
xor    %edi,%edi
test   %eax,%eax
sete   %dil
call   1040 <assert@plt>
xor    %eax,%eax
call   1030 <Clear@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [5 x i8] c"root\00"
@.str.1 = [5 x i8] c"DirA\00"
@.str.2 = [5 x i8] c"DirB\00"
@.str.3 = [5 x i8] c"DirC\00"
@.str.4 = [5 x i8] c"DirD\00"
@.str.5 = [5 x i8] c"DirE\00"
@.str.6 = [6 x i8] c"File1\00"
@.str.7 = [6 x i8] c"File2\00"
@.str.8 = [6 x i8] c"File3\00"
@.str.9 = [6 x i8] c"File4\00"
@.str.10 = [6 x i8] c"File5\00"
@.str.11 = [6 x i8] c"File0\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%14 = call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%15 = icmp eq i32 -1, %14
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 %16)
%18 = call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%19 = icmp eq i32 -1, %18
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 %20)
%22 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%23 = icmp eq i32 3, %22
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 %24)
%26 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%27 = icmp eq i32 7, %26
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 %28)
%30 = call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%31 = icmp eq i32 0, %30
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 %32)
%34 = call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%35 = icmp eq i32 0, %34
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 %36)
%38 = call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%39 = icmp eq i32 0, %38
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%43 = icmp eq i32 4, %42
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 %44)
%46 = call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%47 = icmp eq i32 -1, %46
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 %48)
%50 = call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%51 = icmp eq i32 0, %50
%52 = zext i1 %51 to i32
%53 = call i32 @assert(i32 %52)
%54 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%55 = icmp eq i32 6, %54
%56 = zext i1 %55 to i32
%57 = call i32 @assert(i32 %56)
%58 = call i32 @DeleteDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%59 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%60 = icmp eq i32 4, %59
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 %61)
%63 = call i32 @DeleteFile(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%64 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%65 = icmp eq i32 3, %64
%66 = zext i1 %65 to i32
%67 = call i32 @assert(i32 %66)
%68 = call i32 @DeleteFile(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%69 = call i32 @DeleteFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%70 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%71 = icmp eq i32 3, %70
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 %72)
%74 = call i32 @DeleteDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%75 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%76 = icmp eq i32 0, %75
%77 = zext i1 %76 to i32
%78 = call i32 @assert(i32 %77)
%79 = call i32 (...) @Clear()
%80 = call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%81 = icmp eq i32 0, %80
%82 = zext i1 %81 to i32
%83 = call i32 @assert(i32 %82)
%84 = call i32 (...) @Clear()
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"root\00"
@.str.1 = [5 x i8] c"DirA\00"
@.str.2 = [5 x i8] c"DirB\00"
@.str.3 = [5 x i8] c"DirC\00"
@.str.4 = [5 x i8] c"DirD\00"
@.str.5 = [5 x i8] c"DirE\00"
@.str.6 = [6 x i8] c"File1\00"
@.str.7 = [6 x i8] c"File2\00"
@.str.8 = [6 x i8] c"File3\00"
@.str.9 = [6 x i8] c"File4\00"
@.str.10 = [6 x i8] c"File5\00"
@.str.11 = [6 x i8] c"File0\00"
define i32 @main() {
%1 = tail call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%5 = tail call i32 @CreateDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @CreateFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%13 = tail call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%14 = icmp eq i32 %13, -1
%15 = zext i1 %14 to i32
%16 = tail call i32 @assert(i32 %15)
%17 = tail call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%18 = icmp eq i32 %17, -1
%19 = zext i1 %18 to i32
%20 = tail call i32 @assert(i32 %19)
%21 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%22 = icmp eq i32 %21, 3
%23 = zext i1 %22 to i32
%24 = tail call i32 @assert(i32 %23)
%25 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%26 = icmp eq i32 %25, 7
%27 = zext i1 %26 to i32
%28 = tail call i32 @assert(i32 %27)
%29 = tail call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%30 = icmp eq i32 %29, 0
%31 = zext i1 %30 to i32
%32 = tail call i32 @assert(i32 %31)
%33 = tail call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%34 = icmp eq i32 %33, 0
%35 = zext i1 %34 to i32
%36 = tail call i32 @assert(i32 %35)
%37 = tail call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%38 = icmp eq i32 %37, 0
%39 = zext i1 %38 to i32
%40 = tail call i32 @assert(i32 %39)
%41 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%42 = icmp eq i32 %41, 4
%43 = zext i1 %42 to i32
%44 = tail call i32 @assert(i32 %43)
%45 = tail call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%46 = icmp eq i32 %45, -1
%47 = zext i1 %46 to i32
%48 = tail call i32 @assert(i32 %47)
%49 = tail call i32 @MoveDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%50 = icmp eq i32 %49, 0
%51 = zext i1 %50 to i32
%52 = tail call i32 @assert(i32 %51)
%53 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%54 = icmp eq i32 %53, 6
%55 = zext i1 %54 to i32
%56 = tail call i32 @assert(i32 %55)
%57 = tail call i32 @DeleteDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%58 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%59 = icmp eq i32 %58, 4
%60 = zext i1 %59 to i32
%61 = tail call i32 @assert(i32 %60)
%62 = tail call i32 @DeleteFile(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%63 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%64 = icmp eq i32 %63, 3
%65 = zext i1 %64 to i32
%66 = tail call i32 @assert(i32 %65)
%67 = tail call i32 @DeleteFile(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%68 = tail call i32 @DeleteFile(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%69 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%70 = icmp eq i32 %69, 3
%71 = zext i1 %70 to i32
%72 = tail call i32 @assert(i32 %71)
%73 = tail call i32 @DeleteDir(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%74 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%75 = icmp eq i32 %74, 0
%76 = zext i1 %75 to i32
%77 = tail call i32 @assert(i32 %76)
%78 = tail call i32 (...) @Clear()
%79 = tail call i32 @GetFileNum(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%80 = icmp eq i32 %79, 0
%81 = zext i1 %80 to i32
%82 = tail call i32 @assert(i32 %81)
%83 = tail call i32 (...) @Clear()
ret i32 0
}