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

```asm
<Base64Decode>:
  endbr64
  push   %r15
  mov    %ecx,%r15d
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  movdqa D32(%rip),%xmm0
  mov    %rsi,(%rsp)
  mov    %edx,0xc(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x20(%rsp)
  movdqa D13(%rip),%xmm0
  movl   $0x0,0x1b(%rsp)
  movaps %xmm0,0x30(%rsp)
  movdqa D28(%rip),%xmm0
  movb   $0x0,0x1f(%rsp)
  movaps %xmm0,0x40(%rsp)
  movdqa D3(%rip),%xmm0
  movaps %xmm0,0x50(%rsp)
  call   <strlen@plt>
  test   %eax,%eax
  jle    L54
  sub    $0x1,%eax
  mov    $0x3,%r12d
  lea    0x20(%rsp),%r13
  xor    %ebx,%ebx
  movl   $0x0,0x8(%rsp)
  lea    0x1(%r14,%rax,1),%rbp
  jmp    L77
  nopl   (%rax)
L22:
  add    $0x1,%r14
  cmp    %rbp,%r14
  je     L55
L77:
  movsbl (%r14),%esi
  cmp    $0x3d,%esi
  je     L26
  mov    %r13,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L22
  movslq %ebx,%rdx
  sub    %r13,%rax
  add    $0x1,%ebx
  mov    %al,0x1b(%rsp,%rdx,1)
  and    $0x3,%ebx
  jne    L22
  mov    0xc(%rsp),%edx
  mov    (%rsp),%rsi
  mov    %r12d,%r8d
  lea    0x1b(%rsp),%rdi
  mov    %r15d,%ecx
  add    $0x1,%r14
  add    $0x3,%r12d
  call   <decodeblock@plt>
  movl   $0x0,0x1b(%rsp)
  mov    %eax,0x8(%rsp)
  cmp    %rbp,%r14
  jne    L77
  nopw   0x0(%rax,%rax,1)
L55:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L76
  mov    0x8(%rsp),%eax
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L26:
  mov    0xc(%rsp),%edx
  mov    (%rsp),%rsi
  lea    0x1b(%rsp),%rdi
  mov    %r12d,%r8d
  mov    %r15d,%ecx
  call   <decodeblock@plt>
  mov    %eax,0x8(%rsp)
  jmp    L55
L54:
  movl   $0x0,0x8(%rsp)
  jmp    L55
L76:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D32
type_infered: byte[16]
name: parse_data
arguments: tag: D13
type_infered: byte[16]
name: parse_data
arguments: tag: D28
type_infered: byte[16]
name: parse_data
arguments: tag: D3
type_infered: byte[16]

tool: {"D32": [0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50]}

tool: {"D13": [0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66]}

tool: {"D28": [0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76]}

tool: {"D3": [0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x2d,0x5f]}

assistant: ```c
int Base64Decode(char *input, unsigned char *output, int oplen, int debug) {
  char *charval = 0;
  char decoderinput[4 + 1] = "";
  char encodingtable[63 + 1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                               "abcdefghijklmnopqrstuvwxyz"
                               "0123456789"
                               "-_";
  ;
  int index = 0, asciival = 0, computeval = 0, iplen = 0, rc = 0, oindex = 3;
  iplen = (int)strlen(input);
  while (index < iplen) {
    asciival = (int)input[index];
    if (asciival == '=') {
      rc = decodeblock(decoderinput, output, oplen, debug, oindex);
      break;
    } else {
      charval = strchr(encodingtable, asciival);
      if (charval) {
        decoderinput[computeval] = charval - encodingtable;
        computeval = (computeval + 1) % 4;
        if (computeval == 0) {
          rc = decodeblock(decoderinput, output, oplen, debug, oindex);
          oindex = oindex + 3;
          decoderinput[0] = decoderinput[1] = decoderinput[2] = decoderinput[3] = 0;
        }
      }
    }
    index++;
  }
  return rc;
}
```