user: What is the c source code of the assembly code below:

```asm
<ut_toCodeStr>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %esi,-0x3c(%rbp)
  mov    -0x3c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x24(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  jmp    L130
L66:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x1f,%al
  jbe    L95
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x7e,%al
  jbe    L19
L95:
  addl   $0x4,-0x24(%rbp)
  jmp    L150
L19:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  je     L101
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5c,%al
  jne    L143
L101:
  addl   $0x3,-0x24(%rbp)
  jmp    L150
L143:
  addl   $0x1,-0x24(%rbp)
L150:
  addq   $0x1,-0x20(%rbp)
L130:
  mov    -0x20(%rbp),%rax
  cmp    -0x10(%rbp),%rax
  jb     L66
  mov    -0x24(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  jne    L38
  mov    $0x0,%eax
  jmp    L175
L38:
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  jmp    L0
L61:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x1f,%al
  jbe    L166
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x7e,%al
  jbe    L53
L166:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movb   $0x5c,(%rax)
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  shr    $0x6,%al
  lea    0x30(%rax),%ecx
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  shr    $0x3,%al
  and    $0x7,%eax
  lea    0x30(%rax),%ecx
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  and    $0x7,%eax
  lea    0x30(%rax),%ecx
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L39
L53:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  je     L99
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5c,%al
  jne    L70
L99:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movb   $0x5c,(%rax)
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movb   $0x5c,(%rax)
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%ecx
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  jmp    L39
L70:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%ecx
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
L39:
  addq   $0x1,-0x20(%rbp)
L0:
  mov    -0x20(%rbp),%rax
  cmp    -0x10(%rbp),%rax
  jb     L61
  mov    -0x18(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x8(%rbp),%rax
L175:
  leave
  ret
```

assistant: ```c
char *ut_toCodeStr(const unsigned char *data, int len) {
  const unsigned char *d;
  const unsigned char *end = data + len;
  int clen = 0;
  char *str;
  char *s;
  for (d = data; d < end; d++) {
    if (*d < ' ' || 127 <= *d) {
      clen += 4;
    } else if ('"' == *d || '\\' == *d) {
      clen += 3;
    } else {
      clen++;
    }
  }
  if (0 == (str = (char *)malloc(clen + 1))) {
    return 0;
  }
  for (s = str, d = data; d < end; d++) {
    if (*d < ' ' || 127 <= *d) {
      *s++ = '\\';
      *s++ = '0' + (*d >> 6);
      *s++ = '0' + ((*d >> 3) & 0x07);
      *s++ = '0' + (*d & 0x07);
    } else if ('"' == *d || '\\' == *d) {
      *s++ = '\\';
      *s++ = '\\';
      *s++ = *d;
    } else {
      *s++ = *d;
    }
  }
  *s = '\0';
  return str;
}
```