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

```asm
<strutil_lowercase>:
  endbr64
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  call   <strlen@plt>
  mov    $0x1,%esi
  lea    0x1(%rax),%rdi
  mov    %rax,%rbp
  call   <calloc@plt>
  mov    %rax,%r8
  test   %rbp,%rbp
  je     L27
  lea    0x1(%rbx),%rdx
  sub    %rdx,%rax
  cmp    $0xe,%rax
  jbe    L104
  lea    -0x1(%rbp),%rax
  cmp    $0xe,%rax
  jbe    L104
  mov    %rbp,%rdx
  xor    %eax,%eax
  pxor   %xmm3,%xmm3
  movdqa D16(%rip),%xmm6
  movdqa D5(%rip),%xmm5
  movdqa D26(%rip),%xmm4
  and    $0xfffffffffffffff0,%rdx
  nopl   0x0(%rax,%rax,1)
L20:
  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    L20
  mov    %rbp,%rax
  and    $0xfffffffffffffff0,%rax
  test   $0xf,%bpl
  je     L27
  movzbl (%rbx,%rax,1),%edx
  lea    -0x41(%rdx),%esi
  lea    0x20(%rdx),%ecx
  cmp    $0x1a,%sil
  cmovb  %ecx,%edx
  lea    0x1(%rax),%rcx
  mov    %dl,(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x1(%rbx,%rax,1),%edx
  lea    0x2(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x1(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x2(%rbx,%rax,1),%edx
  lea    0x3(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x2(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x3(%rbx,%rax,1),%edx
  lea    0x4(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x3(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x4(%rbx,%rax,1),%edx
  lea    0x5(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x4(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x5(%rbx,%rax,1),%edx
  lea    0x6(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x5(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x6(%rbx,%rax,1),%edx
  lea    0x7(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x6(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x7(%rbx,%rax,1),%edx
  lea    0x8(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x7(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x8(%rbx,%rax,1),%edx
  lea    0x9(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x8(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0x9(%rbx,%rax,1),%edx
  lea    0xa(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0x9(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0xa(%rbx,%rax,1),%edx
  lea    0xb(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0xa(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0xb(%rbx,%rax,1),%edx
  lea    0xc(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0xb(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0xc(%rbx,%rax,1),%edx
  lea    0xd(%rax),%rcx
  lea    -0x41(%rdx),%edi
  lea    0x20(%rdx),%esi
  cmp    $0x1a,%dil
  cmovb  %esi,%edx
  mov    %dl,0xc(%r8,%rax,1)
  cmp    %rcx,%rbp
  jbe    L27
  movzbl 0xd(%rbx,%rax,1),%edx
  lea    -0x41(%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
  jbe    L27
  movzbl 0xe(%rbx,%rax,1),%eax
  lea    -0x41(%rax),%esi
  lea    0x20(%rax),%ecx
  cmp    $0x1a,%sil
  cmovb  %ecx,%eax
  mov    %al,(%r8,%rdx,1)
L27:
  add    $0x8,%rsp
  mov    %r8,%rax
  pop    %rbx
  pop    %rbp
  ret
  cs nopw 0x0(%rax,%rax,1)
L104:
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L174:
  movzbl (%rbx,%rax,1),%edx
  lea    -0x41(%rdx),%ecx
  cmp    $0x19,%cl
  ja     L144
L118:
  add    $0x20,%edx
  mov    %dl,(%r8,%rax,1)
  add    $0x1,%rax
  cmp    %rax,%rbp
  je     L27
  movzbl (%rbx,%rax,1),%edx
  lea    -0x41(%rdx),%ecx
  cmp    $0x19,%cl
  jbe    L118
L144:
  mov    %dl,(%r8,%rax,1)
  add    $0x1,%rax
  cmp    %rax,%rbp
  jne    L174
  jmp    L27
```

tool_calls: name: disassemble_data
arguments: tag: D16
type_infered: byte[16]
name: disassemble_data
arguments: tag: D5
type_infered: byte[16]
name: disassemble_data
arguments: tag: D26
type_infered: byte[16]

tool: {"D16": [0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf,0xbf]}

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

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

assistant: ```c
char *strutil_lowercase(char *string) {
  size_t length = strlen(string);
  char *lower = calloc(length + 1, sizeof(char));
  for (size_t i = 0; i < length; i++) {
    if (string[i] >= 'A' && string[i] <= 'Z') {
      lower[i] = string[i] + 32;
    } else {
      lower[i] = string[i];
    }
  }
  return lower;
}
```