user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    D306(%rip),%rax
  mov    %rax,%rsi
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <CreateDir@plt>
  lea    D65(%rip),%rax
  mov    %rax,%rsi
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <CreateDir@plt>
  lea    D2(%rip),%rax
  mov    %rax,%rsi
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <CreateDir@plt>
  lea    D415(%rip),%rax
  mov    %rax,%rsi
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <CreateDir@plt>
  lea    D213(%rip),%rax
  mov    %rax,%rsi
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <CreateDir@plt>
  lea    D410(%rip),%rax
  mov    %rax,%rsi
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <CreateFile@plt>
  lea    D312(%rip),%rax
  mov    %rax,%rsi
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <CreateFile@plt>
  lea    D45(%rip),%rax
  mov    %rax,%rsi
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <CreateFile@plt>
  lea    D236(%rip),%rax
  mov    %rax,%rsi
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <CreateFile@plt>
  lea    D89(%rip),%rax
  mov    %rax,%rsi
  lea    D65(%rip),%rax
  mov    %rax,%rdi
  call   <CreateFile@plt>
  lea    D44(%rip),%rax
  mov    %rax,%rsi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <CreateFile@plt>
  lea    D2(%rip),%rax
  mov    %rax,%rsi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <CreateFile@plt>
  lea    D410(%rip),%rax
  mov    %rax,%rsi
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <MoveDir@plt>
  cmp    $0xffffffff,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D410(%rip),%rax
  mov    %rax,%rsi
  lea    D65(%rip),%rax
  mov    %rax,%rdi
  call   <MoveDir@plt>
  cmp    $0xffffffff,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  cmp    $0x3,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  cmp    $0x7,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rsi
  lea    D65(%rip),%rax
  mov    %rax,%rdi
  call   <MoveDir@plt>
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D410(%rip),%rax
  mov    %rax,%rsi
  lea    D65(%rip),%rax
  mov    %rax,%rdi
  call   <MoveDir@plt>
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rsi
  lea    D65(%rip),%rax
  mov    %rax,%rdi
  call   <MoveDir@plt>
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  cmp    $0x4,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rsi
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <MoveDir@plt>
  cmp    $0xffffffff,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D65(%rip),%rax
  mov    %rax,%rsi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <MoveDir@plt>
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  cmp    $0x6,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <DeleteDir@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  cmp    $0x4,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  call   <DeleteFile@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  cmp    $0x3,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D322(%rip),%rax
  mov    %rax,%rdi
  call   <DeleteFile@plt>
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <DeleteFile@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  cmp    $0x3,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <DeleteDir@plt>
  lea    D410(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  mov    $0x0,%eax
  call   <Clear@plt>
  lea    D306(%rip),%rax
  mov    %rax,%rdi
  call   <GetFileNum@plt>
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  mov    $0x0,%eax
  call   <Clear@plt>
  mov    $0x0,%eax
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D306
type: string
name: extract_symbolic_data
arguments: tag: D410
type: string
name: extract_symbolic_data
arguments: tag: D65
type: string
name: extract_symbolic_data
arguments: tag: D2
type: string
name: extract_symbolic_data
arguments: tag: D415
type: string
name: extract_symbolic_data
arguments: tag: D213
type: string
name: extract_symbolic_data
arguments: tag: D312
type: string
name: extract_symbolic_data
arguments: tag: D45
type: string
name: extract_symbolic_data
arguments: tag: D236
type: string
name: extract_symbolic_data
arguments: tag: D89
type: string
name: extract_symbolic_data
arguments: tag: D44
type: string
name: extract_symbolic_data
arguments: tag: D322
type: string

tool: D306: DirA

tool: D410: root

tool: D65: DirB

tool: D2: DirC

tool: D415: DirD

tool: D213: DirE

tool: D312: File1

tool: D45: File2

tool: D236: File3

tool: D89: File4

tool: D44: File5

tool: D322: File0

assistant: ```c
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;
}
```