user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r14
  lea    D45(%rip),%rdi
  mov    $0x1,%r14d
  push   %r13
  lea    D2(%rip),%r13
  push   %r12
  mov    $0xcccccccd,%r12d
  push   %rbp
  lea    D29(%rip),%rbp
  push   %rbx
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbx
  call   <printf@plt>
  xor    %esi,%esi
  mov    %rbx,%rdi
  call   <to_edge@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L55
  nopl   0x0(%rax)
L16:
  add    $0x1,%r14d
  cmp    $0x19a1,%r14d
  je     L13
L55:
  mov    %r14d,%esi
  mov    %rbx,%rdi
  call   <to_edge@plt>
  mov    %rbp,%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r14d,%eax
  mov    %r14d,%edx
  imul   %r12,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,%edx
  cmp    $0x9,%edx
  jne    L16
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%r14d
  call   <printf@plt>
  cmp    $0x19a1,%r14d
  jne    L55
L13:
  lea    D14(%rip),%rdi
  xor    %ebx,%ebx
  mov    $0xcccccccd,%r12d
  call   <puts@plt>
  lea    D27(%rip),%rdi
  xor    %eax,%eax
  lea    D2(%rip),%r13
  call   <printf@plt>
  xor    %esi,%esi
  jmp    L89
  nopw   0x0(%rax,%rax,1)
L7:
  add    $0x1,%ebx
  cmp    $0x100,%ebx
  je     L58
L30:
  mov    %ebx,%esi
  and    $0x1,%esi
  test   $0x2,%bl
  lea    0x4(%rsi),%eax
  cmovne %eax,%esi
L89:
  lea    0x10(%rsi),%eax
  test   $0x4,%bl
  mov    %ebx,%ecx
  cmovne %eax,%esi
  test   $0x8,%bl
  mov    %rbp,%rdi
  lea    0x40(%rsi),%eax
  cmovne %eax,%esi
  test   $0x10,%bl
  lea    0x100(%rsi),%eax
  cmovne %eax,%esi
  test   $0x20,%bl
  lea    0x400(%rsi),%eax
  cmovne %eax,%esi
  test   $0x40,%bl
  lea    0x1000(%rsi),%eax
  cmovne %eax,%esi
  shr    $0x7,%ecx
  lea    0x4000(%rsi),%eax
  cmovne %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%eax
  mov    %ebx,%edx
  imul   %r12,%rax
  shr    $0x23,%rax
  lea    (%rax,%rax,4),%eax
  add    %eax,%eax
  sub    %eax,%edx
  cmp    $0x9,%edx
  jne    L7
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <printf@plt>
  cmp    $0x100,%ebx
  jne    L30
L58:
  lea    D58(%rip),%rdi
  call   <puts@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L49
  add    $0x30,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L49:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D45
type_infered: string
name: unpack_data
arguments: label: D2
type_infered: string
name: unpack_data
arguments: label: D29
type_infered: string
name: unpack_data
arguments: label: D14
type_infered: string
name: unpack_data
arguments: label: D27
type_infered: string
name: unpack_data
arguments: label: D58
type_infered: string

tool: D45: unsigned short Edge_To_Quat[6561] = 
{
    

tool: D2: 
    

tool: D29:  %5u,

tool: D14: 
};


tool: D27: unsigned short String_To_Quat[256] = 
{
    

tool: D58: 
};

assistant: ```c
main() {
  int edge[8], i;
  printf("unsigned short Edge_To_Quat[6561] = \n{\n    ");
  for (i = 0; i < 6561; i++) {
    printf(" %5u,", to_edge(edge, i));
    if (i % 10 == 9)
      printf("\n    ");
  }
  printf("\n};\n\n");
  printf("unsigned short String_To_Quat[256] = \n{\n    ");
  for (i = 0; i < 256; i++) {
    register j, total;
    total = 0;
    for (j = 0; j < 8; j++)
      if (((i >> j) & 1) == 1)
        total += 1 << (2 * j);
    printf(" %5u,", total);
    if (i % 10 == 9)
      printf("\n    ");
  }
  printf("\n};\n");
  return 0;
}
```