user: 这段汇编代码用C语言表示是什么样的：

```asm
<profile_list_compress>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %rdi,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <profile_list_normalize@plt>
  movzbl (%rbx),%edx
  test   %dl,%dl
  je     L141
  mov    %rbx,%rax
  add    $0x1,%rax
  mov    %rax,%rsi
  mov    %edx,%ecx
  mov    $0x1,%edi
L193:
  cmp    $0x2c,%cl
  sete   %cl
  movzbl %cl,%ecx
  add    %rcx,%rdi
  add    $0x1,%rsi
  movzbl -0x1(%rsi),%ecx
  test   %cl,%cl
  jne    L193
  lea    0xf(,%rdi,8),%rcx
  mov    %rcx,%rdi
  and    $0xfffffffffffffff0,%rdi
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rsi
  sub    %rcx,%rsi
L271:
  cmp    %rsi,%rsp
  je     L337
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L271
L122:
  movb   $0x0,-0x1(%rax)
  mov    %rax,0x0(%r13,%r14,8)
  lea    0x1(%r14),%r14
L372:
  add    $0x1,%rax
  movzbl -0x1(%rax),%edx
  test   %dl,%dl
  je     L96
L416:
  cmp    $0x2c,%dl
  je     L122
  jmp    L372
L96:
  test   %r14,%r14
  je     L322
L274:
  mov    $0x0,%ebx
  jmp    L208
L161:
  lea    0x1(%r12),%r15
  movq   $0x0,0x0(%r13,%rbx,8)
  test   %rbx,%rbx
  je     L205
  mov    $0x0,%r12d
  jmp    L256
L371:
  add    $0x1,%r12
  cmp    %rbx,%r12
  je     L205
L256:
  mov    0x0(%r13,%r12,8),%rdi
  test   %rdi,%rdi
  je     L371
  mov    %r15,%rsi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L371
  movq   $0x0,0x0(%r13,%r12,8)
  jmp    L205
L110:
  add    $0x1,%r12
  mov    %r12,0x0(%r13,%rbx,8)
  jmp    L25
L101:
  mov    $0x0,%r15d
  test   %rbx,%rbx
  jne    L60
  jmp    L205
L254:
  add    $0x1,%r15
  cmp    %rbx,%r15
  je     L205
L60:
  mov    0x0(%r13,%r15,8),%rdi
  test   %rdi,%rdi
  je     L254
  mov    %r12,%rsi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L254
  movq   $0x0,0x0(%r13,%rbx,8)
  jmp    L205
L275:
  lea    0x1(%r12),%rax
  mov    %rax,0x0(%r13,%rbx,8)
  mov    $0x0,%eax
  cmpb   $0x0,0x1(%r12)
  je     L39
  mov    0x0(%r13,%rbx,8),%rax
L39:
  mov    %rax,0x0(%r13,%rbx,8)
  test   %rbx,%rbx
  je     L205
  mov    $0x0,%eax
L289:
  movq   $0x0,0x0(%r13,%rax,8)
  add    $0x1,%rax
  cmp    %rbx,%rax
  jne    L289
L205:
  add    $0x1,%rbx
  cmp    %r14,%rbx
  jae    L257
L208:
  mov    0x0(%r13,%rbx,8),%r12
  mov    %r12,%rdi
  call   <assert@plt>
  movzbl (%r12),%eax
  cmp    $0x2d,%al
  je     L161
  cmp    $0x3d,%al
  je     L275
  cmp    $0x2b,%al
  je     L110
L25:
  cmpb   $0x0,(%r12)
  jne    L101
  movq   $0x0,0x0(%r13,%rbx,8)
  jmp    L205
L257:
  mov    -0x48(%rbp),%rdx
  mov    $0x0,%esi
  jmp    L314
L167:
  movzbl (%rax),%ecx
  test   %cl,%cl
  je     L151
L80:
  add    $0x1,%rax
  add    $0x1,%rdx
  mov    %cl,-0x1(%rdx)
  movzbl (%rax),%ecx
  test   %cl,%cl
  jne    L80
L151:
  add    $0x1,%rsi
  cmp    %r14,%rsi
  jae    L250
L314:
  mov    0x0(%r13,%rsi,8),%rax
  test   %rax,%rax
  je     L151
  cmp    %rdx,-0x48(%rbp)
  jae    L167
  movb   $0x2c,(%rdx)
  lea    0x1(%rdx),%rdx
  jmp    L167
L322:
  mov    -0x48(%rbp),%rdx
L250:
  movb   $0x0,(%rdx)
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L398
  mov    -0x48(%rbp),%rax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L337:
  mov    %rdi,%rcx
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  je     L233
  orq    $0x0,-0x8(%rsp,%rcx,1)
L233:
  lea    0x7(%rsp),%r13
  mov    %r13,%rcx
  shr    $0x3,%rcx
  and    $0xfffffffffffffff8,%r13
  mov    -0x48(%rbp),%rsi
  mov    %rsi,0x0(,%rcx,8)
  mov    $0x1,%r14d
  jmp    L416
L141:
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  mov    $0x1,%r14d
  lea    -0x40(%rbp),%r13
  jmp    L274
L398:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
char *profile_list_compress(char *list) {
  size_t i;
  profile_list_normalize(list);
  size_t count = 1;
  for (i = 0; list[i]; ++i) {
    if (list[i] == ',')
      ++count;
  }
  char *in[count];
  count = 0;
  in[count++] = list;
  for (i = 0; list[i]; ++i) {
    if (list[i] != ',')
      continue;
    list[i] = 0;
    in[count++] = list + i + 1;
  }
  for (i = 0; i < count; ++i) {
    char *item = in[i];
    assert(item);
    size_t k;
    switch (*item) {
    case '-':
      ++item;
      in[i] = 0;
      for (k = 0; k < i; ++k) {
        if (in[k] && !strcmp(in[k], item)) {
          in[k] = 0;
          break;
        }
      }
      break;
    case '+':
      in[i] = ++item;
    default:
      if (!*item) {
        in[i] = 0;
        break;
      }
      for (k = 0; k < i; ++k) {
        if (in[k] && !strcmp(in[k], item)) {
          in[i] = 0;
          break;
        }
      }
      break;
    case '=':
      in[i] = ++item;
      if (!*item)
        in[i] = 0;
      for (k = 0; k < i; ++k)
        in[k] = 0;
      break;
    }
  }
  char *pos = list;
  for (i = 0; i < count; ++i) {
    char *item = in[i];
    if (!item)
      continue;
    if (pos > list)
      *pos++ = ',';
    while (*item)
      *pos++ = *item++;
  }
  *pos = 0;
  return list;
}
```