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

```asm
<Translate>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x428,%rsp
  mov    %rdi,%r12
  mov    %rsi,0x8(%rsp)
  mov    %edx,%r14d
  mov    %ecx,%r15d
  mov    %r8,%rbp
  mov    %r9d,%ebx
  mov    %fs:0x28,%rax
  mov    %rax,0x418(%rsp)
  xor    %eax,%eax
  movw   $0x5858,0x415(%rsp)
  movb   $0x58,0x417(%rsp)
  movslq %edx,%rax
  imul   $0x55555556,%rax,%rax
  shr    $0x20,%rax
  sar    $0x1f,%edx
  sub    %edx,%eax
  lea    (%rax,%rax,2),%eax
  cmp    %eax,%r14d
  je     L107
  movslq %r14d,%rax
  imul   $0x55555556,%rax,%rax
  shr    $0x20,%rax
  sub    %edx,%eax
  lea    (%rax,%rax,2),%r14d
L107:
  cmp    $0x2,%r15d
  je     L72
  mov    %r14d,%edx
  mov    $0x20,%esi
  mov    0x8(%rsp),%rdi
  call   <memset@plt>
  mov    $0x0,%ecx
  test   %r14d,%r14d
  jle    L58
L253:
  movslq %ebx,%rbx
  lea    0x0(,%rbx,8),%rax
  sub    %rbx,%rax
  shl    $0x6,%rax
  add    %rax,%rbp
  mov    0x8(%rsp),%r13
  mov    $0x1,%ebx
  lea    0x10(%rsp),%rax
  mov    %rax,(%rsp)
  jmp    L120
L72:
  movslq %r14d,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  mov    %r14d,%eax
  sar    $0x1f,%eax
  sub    %eax,%edx
  mov    $0x20,%esi
  mov    0x8(%rsp),%rdi
  call   <memset@plt>
  test   %r14d,%r14d
  jg     L253
  mov    $0x0,%edx
L216:
  movslq %edx,%rdx
  mov    0x8(%rsp),%rax
  movb   $0x0,(%rax,%rdx,1)
  jmp    L243
L137:
  movslq 0x10(%rsp),%rdx
  lea    0x0(%rbp,%rdx,8),%rax
  sub    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,0x0(%r13)
L117:
  lea    (%rbx,%rbx,2),%eax
  mov    %eax,%ecx
  mov    %ebx,%edx
  add    $0x1,%rbx
  add    $0x3,%r12
  add    $0x3,%r13
  cmp    %edx,%eax
  cmovl  %edx,%eax
  cmp    %eax,%r14d
  jle    L204
L120:
  mov    $0x3,%edx
  mov    (%rsp),%rsi
  mov    %r12,%rdi
  call   <hash@plt>
  cmp    $0x1,%eax
  jne    L45
  cmp    $0x1,%r15d
  je     L137
  cmp    $0x2,%r15d
  jne    L181
  movslq 0x10(%rsp),%rdx
  lea    0x0(%rbp,%rdx,8),%rax
  sub    %rdx,%rax
  movzbl (%rax),%eax
  mov    0x8(%rsp),%rdi
  mov    %al,-0x1(%rdi,%rbx,1)
  jmp    L117
L181:
  movslq 0x10(%rsp),%rdx
  lea    0x0(,%rdx,8),%rax
  sub    %rdx,%rax
  lea    0x1(%rbp,%rax,1),%rsi
  mov    $0x3,%edx
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <memcpy@plt>
  jmp    L117
L45:
  mov    0x10(%rsp),%r8d
  movslq %r8d,%rcx
  lea    0x0(%rbp,%rcx,8),%rdx
  sub    %rcx,%rdx
  movzbl (%rdx),%esi
  test   %eax,%eax
  jle    L178
  lea    0x14(%rsp),%rdx
  lea    -0x1(%rax),%eax
  lea    (%rdx,%rax,4),%rdi
L57:
  cmp    %rdx,%rdi
  je     L178
  movslq (%rdx),%rcx
  lea    0x0(%rbp,%rcx,8),%rax
  sub    %rcx,%rax
  add    $0x4,%rdx
  cmp    %sil,(%rax)
  je     L57
  cmp    $0x1,%r15d
  je     L29
  cmp    $0x2,%r15d
  jne    L157
  mov    0x8(%rsp),%rax
  movb   $0x58,-0x1(%rax,%rbx,1)
  jmp    L117
L29:
  movb   $0x58,0x0(%r13)
  jmp    L117
L157:
  lea    0x415(%rsp),%rsi
  mov    $0x3,%edx
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <memcpy@plt>
  jmp    L117
L178:
  cmp    $0x1,%r15d
  je     L254
  cmp    $0x2,%r15d
  jne    L101
  mov    0x8(%rsp),%rax
  mov    %sil,-0x1(%rax,%rbx,1)
  jmp    L117
L254:
  mov    %sil,0x0(%r13)
  jmp    L117
L101:
  movslq %r8d,%r8
  lea    0x0(,%r8,8),%rax
  sub    %r8,%rax
  lea    0x1(%rbp,%rax,1),%rsi
  mov    $0x3,%edx
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <memcpy@plt>
  jmp    L117
L204:
  cmp    $0x2,%r15d
  je     L216
L58:
  movslq %ecx,%rcx
  mov    0x8(%rsp),%rax
  movb   $0x0,(%rax,%rcx,1)
L243:
  mov    0x418(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L127
  add    $0x428,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L127:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void Translate(char *DNA_in, char *Prot_out, int len, int n_letters, char Codons[8][64][7], int organism) {
  int sum[256], i, ii, match, j, degens, prot_len;
  char XXX[3] = {'X', 'X', 'X'};
  char TestAA;
  if (len % 3 != 0)
    len = ((int)len / 3) * 3;
  prot_len = len;
  if (n_letters == 2)
    prot_len = len / 3;
  memset(Prot_out, ' ', prot_len);
  for (i = 0, j = 0; i < len && j < len; i += 3, j++) {
    if ((degens = hash(DNA_in + i, sum, 3)) == 1) {
      if (n_letters == 1) {
        Prot_out[i] = Codons[organism][sum[0]][0];
      } else if (n_letters == 2) {
        Prot_out[j] = Codons[organism][sum[0]][0];
      } else {
        memcpy(&Prot_out[i], &Codons[organism][sum[0]][1], 3);
      }
    } else {
      match = 1;
      ii = 0;
      TestAA = Codons[organism][sum[ii]][0];
      while (match == 1 && ii < degens) {
        if (Codons[organism][sum[ii++]][0] != TestAA) {
          match = 0;
        }
      }
      if (match == 0) {
        if (n_letters == 1) {
          Prot_out[i] = 'X';
        } else if (n_letters == 2) {
          Prot_out[j] = 'X';
        } else {
          memcpy(&Prot_out[i], &XXX, 3);
        }
      } else {
        if (n_letters == 1) {
          Prot_out[i] = Codons[organism][sum[0]][0];
        } else if (n_letters == 2) {
          Prot_out[j] = Codons[organism][sum[0]][0];
        } else {
          memcpy(&Prot_out[i], &Codons[organism][sum[0]][1], 3);
        }
      }
    }
  }
  if (n_letters == 2)
    Prot_out[j] = '\0';
  else
    Prot_out[i] = '\0';
}
```