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

```asm
<simplify>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  call   <strlen@plt>
  test   %eax,%eax
  je     L93
  movq   D7(%rip),%xmm5
  mov    %eax,%ecx
  xor    %r8d,%r8d
  xor    %ebp,%ebp
  movdqa D18(%rip),%xmm6
  movdqa D36(%rip),%xmm4
  xor    %edi,%edi
  pxor   %xmm2,%xmm2
  movdqa D28(%rip),%xmm3
  nopl   0x0(%rax)
L314:
  mov    %ebp,%edx
  lea    0x1(%rbp),%eax
  cmpb   $0x2f,(%rbx,%rdx,1)
  je     L39
L151:
  mov    %eax,%ebp
L241:
  cmp    %ecx,%ebp
  jne    L314
  mov    %ebp,%edi
  sub    %r8d,%edi
  call   <malloc@plt>
  lea    -0x1(%rbp),%ecx
  mov    %rbx,%rdx
  xor    %esi,%esi
  lea    0x1(%rbx,%rcx,1),%rdi
  nopl   0x0(%rax,%rax,1)
L18:
  movzbl (%rdx),%ecx
  test   %cl,%cl
  je     L147
  mov    %esi,%r8d
  add    $0x1,%esi
  mov    %cl,(%rax,%r8,1)
L147:
  add    $0x1,%rdx
  cmp    %rdi,%rdx
  jne    L18
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L39:
  mov    %eax,%edx
  add    %rbx,%rdx
  cmpb   $0x2e,(%rdx)
  je     L118
  mov    %ebp,%edi
  jmp    L151
  cs nopw 0x0(%rax,%rax,1)
L118:
  lea    0x2(%rbp),%esi
  mov    %rsi,%r9
  add    %rbx,%rsi
  cmpb   $0x2e,(%rsi)
  je     L33
  movb   $0x0,(%rdx)
  cmpb   $0x2f,(%rsi)
  je     L94
  add    $0x1,%r8d
  mov    %ebp,%edi
  jmp    L151
  nopl   0x0(%rax)
L33:
  test   %ebp,%ebp
  jne    L322
  mov    $0x1,%ebp
  jmp    L241
  cs nopw 0x0(%rax,%rax,1)
L94:
  movb   $0x0,(%rsi)
  add    $0x2,%r8d
  mov    %ebp,%edi
  jmp    L151
  xchg   %ax,%ax
L322:
  lea    0x1(%rdi),%r10d
  cmp    %r10d,%r9d
  jb     L262
  mov    %ebp,%r11d
  sub    %edi,%r11d
  lea    0x1(%r11),%edx
  cmp    $0xfffffffd,%ebp
  je     L273
  cmp    $0x6,%edx
  jbe    L273
  lea    0x2(%r11),%r12d
  cmp    $0xe,%edx
  jbe    L11
  movd   %r8d,%xmm7
  mov    %r12d,%r14d
  movslq %r10d,%r13
  xor    %edx,%edx
  pshufd $0x0,%xmm7,%xmm1
  shr    $0x4,%r14d
  lea    (%rbx,%r13,1),%rdi
  paddd  %xmm6,%xmm1
  nopl   0x0(%rax)
L242:
  mov    %rdx,%rsi
  movdqa %xmm1,%xmm0
  paddd  %xmm4,%xmm1
  add    $0x1,%rdx
  shl    $0x4,%rsi
  paddd  %xmm3,%xmm0
  movups %xmm2,(%rdi,%rsi,1)
  cmp    %edx,%r14d
  ja     L242
  mov    %r12d,%r14d
  pshufd $0xff,%xmm0,%xmm0
  and    $0xfffffff0,%r14d
  movd   %xmm0,%edx
  lea    (%r8,%r14,1),%esi
  lea    (%r14,%r10,1),%edi
  cmp    %r14d,%r12d
  je     L216
  sub    %r14d,%r11d
  lea    0x2(%r11),%r12d
  add    $0x1,%r11d
  cmp    $0x6,%r11d
  jbe    L112
L101:
  lea    0x1(%rsi),%edx
  movd   %esi,%xmm0
  add    %rbx,%r13
  movq   $0x0,0x0(%r13,%r14,1)
  movd   %edx,%xmm7
  mov    %r12d,%edx
  punpckldq %xmm7,%xmm0
  and    $0xfffffff8,%edx
  paddd  %xmm5,%xmm0
  add    %edx,%esi
  add    %edx,%edi
  pshufd $0xe5,%xmm0,%xmm7
  movd   %xmm7,%r8d
  cmp    %edx,%r12d
  je     L262
L112:
  movslq %edi,%rdx
  lea    0x1(%rsi),%r8d
  movb   $0x0,(%rbx,%rdx,1)
  lea    0x1(%rdi),%edx
  cmp    %edx,%r9d
  jb     L262
  movslq %edx,%rdx
  lea    0x2(%rsi),%r8d
  movb   $0x0,(%rbx,%rdx,1)
  lea    0x2(%rdi),%edx
  cmp    %edx,%r9d
  jb     L262
  movslq %edx,%rdx
  lea    0x3(%rsi),%r8d
  movb   $0x0,(%rbx,%rdx,1)
  lea    0x3(%rdi),%edx
  cmp    %edx,%r9d
  jb     L262
  movslq %edx,%rdx
  lea    0x4(%rsi),%r8d
  movb   $0x0,(%rbx,%rdx,1)
  lea    0x4(%rdi),%edx
  cmp    %edx,%r9d
  jb     L262
  movslq %edx,%rdx
  lea    0x5(%rsi),%r8d
  movb   $0x0,(%rbx,%rdx,1)
  lea    0x5(%rdi),%edx
  cmp    %edx,%r9d
  jb     L262
  movslq %edx,%rdx
  add    $0x6,%edi
  lea    0x6(%rsi),%r8d
  movb   $0x0,(%rbx,%rdx,1)
  cmp    %edi,%r9d
  jb     L262
  movslq %edi,%rdi
  lea    0x7(%rsi),%r8d
  movb   $0x0,(%rbx,%rdi,1)
L262:
  lea    0x3(%rbp),%edx
  mov    %ebp,%edi
  add    %rbx,%rdx
  cmpb   $0x2f,(%rdx)
  jne    L151
  movb   $0x0,(%rdx)
  add    $0x1,%r8d
  jmp    L151
  nopl   0x0(%rax)
L93:
  pop    %rbx
  xor    %edi,%edi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1070 <malloc@plt>
L273:
  mov    %r8d,%esi
  movslq %r10d,%rdx
  sub    %edi,%esi
  nopw   0x0(%rax,%rax,1)
L144:
  movb   $0x0,(%rbx,%rdx,1)
  lea    (%rsi,%rdx,1),%r8d
  add    $0x1,%rdx
  cmp    %edx,%r9d
  jae    L144
  jmp    L262
L11:
  movslq %r10d,%r13
  mov    %r8d,%esi
  xor    %r14d,%r14d
  mov    %r13,%rdi
  jmp    L101
L216:
  mov    %edx,%r8d
  jmp    L262
```

tool_calls: name: unpack_data
arguments: label: D7
type_guessed: byte[8]
name: unpack_data
arguments: label: D18
type_guessed: byte[16]
name: unpack_data
arguments: label: D36
type_guessed: byte[16]
name: unpack_data
arguments: label: D28
type_guessed: byte[16]

tool: {"D7": [0x07,0x00,0x00,0x00,0x07,0x00,0x00,0x00]}

tool: {"D18": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

tool: {"D36": [0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00]}

tool: {"D28": [0x0d,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x0d,0x00,0x00,0x00]}

assistant: ```c
char *simplify(char *path) {
  unsigned int len_path = strlen(path);
  unsigned int last_slash = 0;
  unsigned int pointer = 0;
  unsigned int removed = 0;
  while (pointer != len_path) {
    if (path[pointer] == '/') {
      if (path[pointer + 1] == '.' && path[pointer + 2] == '.') {
        if (pointer == 0) {
          pointer++;
          continue;
        }
        for (int i = last_slash + 1; i <= pointer + 2; i++) {
          path[i] = 0;
          removed++;
        }
        if (path[pointer + 3] == '/') {
          path[pointer + 3] = 0;
          removed++;
        }
      } else if (path[pointer + 1] == '.') {
        path[pointer + 1] = 0;
        removed++;
        if (path[pointer + 2] == '/') {
          path[pointer + 2] = 0;
          removed++;
        }
      }
      last_slash = pointer;
    }
    pointer++;
  }
  char *tmp = malloc(len_path - removed);
  unsigned int j = 0;
  for (int i = 0; i < len_path; i++) {
    if (path[i] != 0) {
      tmp[j++] = path[i];
    }
  }
  return tmp;
}
```