user: Translate the below assembly code into C programming language:

```asm
<toUppercase>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  call   <strlen@plt>
  lea    0x1(%rax),%r12
  mov    %rax,%rbp
  mov    %r12,%rdi
  call   <malloc@plt>
  mov    %rax,%r8
  cmp    $0xe,%rbp
  jbe    L171
  mov    %r12,%rdx
  xor    %eax,%eax
  pxor   %xmm3,%xmm3
  movdqa D24(%rip),%xmm6
  movdqa D26(%rip),%xmm5
  movdqa D27(%rip),%xmm4
  and    $0xfffffffffffffff0,%rdx
  nopl   0x0(%rax)
L177:
  movdqu (%rbx,%rax,1),%xmm2
  movdqa %xmm2,%xmm0
  movdqa %xmm2,%xmm1
  paddb  %xmm6,%xmm0
  paddb  %xmm4,%xmm1
  psubusb %xmm5,%xmm0
  pcmpeqb %xmm3,%xmm0
  pand   %xmm0,%xmm1
  pandn  %xmm2,%xmm0
  por    %xmm1,%xmm0
  movups %xmm0,(%r8,%rax,1)
  add    $0x10,%rax
  cmp    %rdx,%rax
  jne    L177
  mov    %r12,%rax
  and    $0xfffffffffffffff0,%rax
  and    $0xf,%r12d
  je     L145
L148:
  movzbl (%rbx,%rax,1),%edx
  lea    -0x61(%rdx),%esi
  lea    -0x20(%rdx),%ecx
  cmp    $0x1a,%sil
  cmovb  %ecx,%edx
  lea    0x1(%rax),%rcx
  mov    %dl,(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x1(%rbx,%rax,1),%edx
  lea    0x2(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x1(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x2(%rbx,%rax,1),%edx
  lea    0x3(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x2(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x3(%rbx,%rax,1),%edx
  lea    0x4(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x3(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x4(%rbx,%rax,1),%edx
  lea    0x5(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x4(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x5(%rbx,%rax,1),%edx
  lea    0x6(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x5(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x6(%rbx,%rax,1),%edx
  lea    0x7(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x6(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x7(%rbx,%rax,1),%edx
  lea    0x8(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x7(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x8(%rbx,%rax,1),%edx
  lea    0x9(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x8(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0x9(%rbx,%rax,1),%edx
  lea    0xa(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x9(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0xa(%rbx,%rax,1),%edx
  lea    0xb(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0xa(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0xb(%rbx,%rax,1),%edx
  lea    0xc(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0xb(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0xc(%rbx,%rax,1),%edx
  lea    0xd(%rax),%rcx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0xc(%r8,%rax,1)
  cmp    %rcx,%rbp
  jb     L145
  movzbl 0xd(%rbx,%rax,1),%edx
  lea    -0x61(%rdx),%edi
  lea    -0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0xd(%r8,%rax,1)
  lea    0xe(%rax),%rdx
  cmp    %rdx,%rbp
  jb     L145
  movzbl 0xe(%rbx,%rax,1),%eax
  lea    -0x61(%rax),%esi
  lea    -0x20(%rax),%ecx
  cmp    $0x1a,%sil
  cmovb  %ecx,%eax
  mov    %al,(%r8,%rdx,1)
L145:
  pop    %rbx
  mov    %r8,%rax
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax)
L171:
  xor    %eax,%eax
  jmp    L148
```

tool_calls: name: parse_data
arguments: tag: D24
type_infered: byte[16]
name: parse_data
arguments: tag: D26
type_infered: byte[16]
name: parse_data
arguments: tag: D27
type_infered: byte[16]

tool: {"D24": [0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f,0x9f]}

tool: {"D26": [0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19,0x19]}

tool: {"D27": [0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0]}

assistant: ```c
char *toUppercase(char *raw) {
  size_t len = strlen(raw);
  char *ret = malloc(len + 1);
  for (size_t i = 0; i <= len; ++i) {
    ret[i] = raw[i] >= 97 && raw[i] <= 122 ? raw[i] - 32 : raw[i];
  }
  return ret;
}
```