user: Please show me the C implementation that matches the assembly code listed below:

```asm
<get_str>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  jmp    L231
L253:
  addq   $0x1,-0x8(%rbp)
L231:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L253
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  je     L253
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  je     L253
  jmp    L259
L217:
  mov    -0x8(%rbp),%rdx
  lea    0x1(%rdx),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    %rcx,-0x10(%rbp)
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
L259:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3d,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x29,%al
  jne    L217
  jmp    L129
L151:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2b,%al
  jne    L206
  mov    -0x8(%rbp),%rdx
  lea    0x1(%rdx),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    %rcx,-0x10(%rbp)
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  jmp    L5
L6:
  addq   $0x1,-0x8(%rbp)
L5:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L6
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  je     L6
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  je     L6
  jmp    L163
L95:
  mov    -0x8(%rbp),%rdx
  lea    0x1(%rdx),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    %rcx,-0x10(%rbp)
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
L163:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3d,%al
  je     L129
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x29,%al
  jne    L95
  jmp    L129
L206:
  addq   $0x1,-0x8(%rbp)
L129:
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L127
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  je     L127
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3d,%al
  je     L127
  mov    -0x8(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x29,%al
  jne    L151
L127:
  mov    -0x10(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x8(%rbp),%rax
  pop    %rbp
  ret
```

assistant: ```c
char *get_str(char *s, char *d) {
  while ((*s == ' ') || (*s == '\t') || (*s == ','))
    s++;
  while (*s && (*s != ' ') && (*s != '\t') && (*s != ',') && (*s != '=') && (*s != ')')) {
    *d++ = *s++;
  }
  while (*s && (*s != ',') && (*s != '=') && (*s != ')')) {
    if (*s == '+') {
      *d++ = *s++;
      while ((*s == ' ') || (*s == '\t') || (*s == ','))
        s++;
      while (*s && (*s != ' ') && (*s != '\t') && (*s != ',') && (*s != '=') && (*s != ')')) {
        *d++ = *s++;
      }
    } else
      s++;
  }
  *d = 0;
  return s;
}
```