user: Converte this assembly snippet into its equivalent C code:

```asm
<b64Decode>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  lea    D7(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x188,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x178(%rsp)
  xor    %eax,%eax
  lea    0x30(%rsp),%r12
  movaps %xmm0,0xd0(%rsp)
  movaps %xmm0,0xe0(%rsp)
  movaps %xmm0,0xf0(%rsp)
  movaps %xmm0,0x100(%rsp)
  movaps %xmm0,0x110(%rsp)
  movaps %xmm0,0x120(%rsp)
  movaps %xmm0,0x130(%rsp)
  movaps %xmm0,0x140(%rsp)
  movaps %xmm0,0x150(%rsp)
  movaps %xmm0,0x160(%rsp)
  movl   $0x0,0x2c(%rsp)
  movb   $0x0,0x170(%rsp)
  call   <puts@plt>
  mov    $0xa0,%esi
  mov    %r12,%rdi
  call   <getCode@plt>
  cmpb   $0x0,0x30(%rsp)
  je     L61
  lea    0xd0(%rsp),%rax
  mov    $0x1,%r15d
  lea    0x2f(%rsp),%r13
  mov    %rax,0x18(%rsp)
  mov    %rax,0x8(%rsp)
  lea    0x2c(%rsp),%rax
  mov    %rax,0x10(%rsp)
  jmp    L3
  xchg   %ax,%ax
L11:
  mov    %ebx,%eax
  and    $0x3,%ebx
  mov    %r15d,%ebp
  neg    %eax
  and    $0x3,%eax
  lea    (%rax,%rax,2),%ecx
  add    %ecx,%ecx
  shl    %cl,%edx
  or     %edx,0x2c(%rsp)
  cmpb   $0x0,(%r12,%r15,1)
  je     L124
  test   %ebx,%ebx
  je     L39
L0:
  add    $0x1,%r15
L3:
  movsbl 0x0(%r13,%r15,1),%r14d
  mov    %r15d,%ebx
  lea    -0x1(%r15),%ebp
  mov    %r14d,%edi
  call   <isupper@plt>
  lea    -0x41(%r14),%edx
  test   %rax,%rax
  jne    L11
  mov    %r14d,%edi
  call   <islower@plt>
  lea    -0x47(%r14),%edx
  test   %rax,%rax
  jne    L11
  mov    %r14d,%edi
  call   <isdigit@plt>
  lea    0x4(%r14),%edx
  test   %rax,%rax
  jne    L11
  cmp    $0x3d,%r14d
  je     L124
  lea    0x13(%r14),%edx
  mov    $0x3f,%eax
  cmp    %eax,%edx
  cmovg  %eax,%edx
  jmp    L11
  nopl   0x0(%rax)
L39:
  mov    0x8(%rsp),%rbx
  mov    0x10(%rsp),%rsi
  mov    $0x3,%edx
  mov    %rbx,%rdi
  call   <copy@plt>
  mov    %rbx,%rax
  movl   $0x0,0x2c(%rsp)
  add    $0x3,%rax
  mov    %rax,0x8(%rsp)
  jmp    L0
  nopl   0x0(%rax,%rax,1)
L124:
  and    $0x3,%ebp
  je     L63
  mov    $0x4,%ecx
  mov    0x8(%rsp),%rdi
  lea    -0x1(%rbp),%edx
  lea    0x2c(%rsp),%rsi
  sub    %ebp,%ecx
  shl    $0x3,%ecx
  sarl   %cl,0x2c(%rsp)
  call   <copy@plt>
L63:
  mov    0x18(%rsp),%rsi
  xor    %eax,%eax
  lea    D18(%rip),%rdi
  call   <printf@plt>
  mov    0x178(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L42
  add    $0x188,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L61:
  lea    0xd0(%rsp),%rax
  mov    %rax,0x18(%rsp)
  jmp    L63
L42:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D7
type_infered: string
name: extract_symbolic_data
arguments: data_label: D18
type_infered: string

tool: D7: So give me some data

tool: D18: %s

assistant: ```c
void b64Decode(void) {
  int ch;
  int i, tmp = 0, flag = 1;
  char BaseCode[0xa0];
  char SourceCode[0xa0 + 1] = {0};
  char *pToSource = SourceCode;
  printf("So give me some data\n");
  getCode(BaseCode, 0xa0);
  for (i = 0; BaseCode[i]; i++) {
    if ((!(i % 4)) && i) {
      copy(pToSource, (char *)&tmp, 3);
      pToSource += 3;
      tmp = 0;
    }
    ch = BaseCode[i];
    if (isupper(ch)) {
      ch -= 'A';
    } else if (islower(ch)) {
      ch -= 'a' - 26;
    } else if (isdigit(ch)) {
      ch -= '0' - 52;
    } else if (ch - 61) {
      ch -= '+' - 62;
      if (ch > 63) {
        ch = 63;
      }
    } else {
      break;
    }
    tmp = tmp | (ch << (6 * (3 - i % 4)));
  }
  if (i % 4) {
    tmp = tmp >> ((4 - i % 4) * 8);
    copy(pToSource, (char *)&tmp, (i % 4) - 1);
  }
  printf("%s", SourceCode);
}
```