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

```asm
<unixify>:
  endbr64
  push   %r13
  mov    $0x2f,%esi
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  call   <strchr@plt>
  test   %rax,%rax
  je     L104
  add    $0x8,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  xchg   %ax,%ax
L104:
  mov    $0x3a,%esi
  mov    %r12,%rdi
  movb   $0x0,D58(%rip)
  lea    D58(%rip),%rbx
  call   <strchr@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L158
  movb   $0x0,(%rax)
  lea    0x2(%rbx),%r13
  mov    $0x2f2f,%eax
  mov    %r12,%rsi
  mov    %r13,%rdi
  mov    %ax,D11(%rip)
  call   <strcpy@plt>
  mov    %r13,%rdi
  call   <strlen@plt>
  movb   $0x3a,0x0(%rbp)
  movslq %eax,%rbx
  add    %r13,%rbx
L158:
  movb   $0x2f,(%rbx)
  mov    %r12,%rdi
  mov    $0x5b,%esi
  call   <strchr@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L55
  lea    0x1(%rax),%rdx
  movzbl 0x1(%rax),%eax
  add    $0x1,%rbx
  cmp    $0x2e,%al
  je     L201
  cmp    $0x5d,%al
  je     L201
  cmp    $0x2d,%al
  jne    L2
  lea    D11(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcat@plt>
  lea    0x2(%r12),%rdx
  jmp    L2
  nopl   (%rax)
L202:
  mov    %al,-0x1(%rcx)
  cmpb   $0x5d,0x1(%rdx)
  lea    0x1(%rdx),%rsi
  je     L137
L75:
  mov    %rcx,%rbx
  mov    %rsi,%rdx
L2:
  movzbl (%rdx),%eax
  test   %al,%al
  je     L102
  lea    0x1(%rbx),%rcx
  cmp    $0x2e,%al
  jne    L202
  movb   $0x2f,-0x1(%rcx)
  cmpb   $0x5d,0x1(%rdx)
  lea    0x1(%rdx),%rsi
  jne    L75
  cmpb   $0x0,0x2(%rdx)
  lea    0x2(%rdx),%rsi
  je     L154
L139:
  mov    %rcx,%rbx
  jmp    L181
  nopl   0x0(%rax,%rax,1)
L137:
  cmpb   $0x0,0x2(%rdx)
  lea    0x2(%rdx),%rsi
  je     L180
  cmp    $0x2f,%al
  je     L139
  movb   $0x2f,(%rcx)
  add    $0x2,%rbx
L181:
  mov    %rbx,%rdi
  call   <strcpy@plt>
L102:
  movzbl -0x1(%rbx),%eax
L37:
  cmp    $0x2f,%al
  jne    L204
L90:
  movb   $0x0,(%rbx)
  lea    D11(%rip),%r12
L76:
  add    $0x8,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L204:
  mov    %rbx,%rax
L116:
  lea    0x1(%rax),%rbx
  movb   $0x2f,(%rax)
  lea    D11(%rip),%r12
  movb   $0x0,(%rbx)
  jmp    L76
  xchg   %ax,%ax
L201:
  lea    D37(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcat@plt>
  lea    0x2(%r12),%rdx
  jmp    L2
  nopl   0x0(%rax)
L55:
  movb   $0x0,0x1(%rbx)
  lea    0x2(%rbx),%rax
  jmp    L116
L180:
  mov    %rcx,%rbx
  jmp    L37
L154:
  mov    %rcx,%rbx
  jmp    L90
```

tool_calls: name: unpack_data
arguments: data_label: D11
type_guessed: string
name: unpack_data
arguments: data_label: D37
type_guessed: string

tool: D11: ../

tool: D37: ./

assistant: ```c
char *unixify(char *name) {
  static char piece[512];
  char *s, *p;
  if (strchr(name, '/') != 0)
    return name;
  p = piece;
  *p = 0;
  s = strchr(name, ':');
  if (s != 0) {
    *s = 0;
    *p++ = '/';
    *p++ = '/';
    strcpy(p, name);
    p += strlen(p);
    *s = ':';
  }
  *p++ = '/';
  s = strchr(name, '[');
  if (s != 0) {
    s++;
    switch (*s) {
    case ']':
      strcat(p, "./");
      break;
    case '-':
      strcat(p, "../");
      break;
    case '.':
      strcat(p, "./");
      break;
    default:
      s--;
      break;
    }
    s++;
    while (*s) {
      if (*s == '.')
        *p++ = '/';
      else
        *p++ = *s;
      s++;
      if (*s == ']') {
        s++;
        break;
      }
    }
    if (*s != 0) {
      if (*(p - 1) != '/')
        *p++ = '/';
      strcpy(p, s);
    }
  } else {
    *p++ = 0;
  }
  if (*(p - 1) != '/')
    *p++ = '/';
  *p = 0;
  return piece;
}
```