user: What would the C source look like for the assembly code provided here:

```asm
<get_until>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  movl   $0x0,-0x20(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x1c(%rbp)
  movq   $0x0,-0x10(%rbp)
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L162
L42:
  cmpl   $0x0,-0x20(%rbp)
  je     L28
  cmpl   $0x1,-0x20(%rbp)
  je     L146
  jmp    L134
L28:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0x5c,%eax
  jne    L196
  movq   $0x0,-0x10(%rbp)
  movl   $0x1,-0x20(%rbp)
  nop
  jmp    L134
L196:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  mov    -0x38(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %eax,%eax
  jne    L120
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %eax,%eax
  je     L15
  cmpq   $0x0,-0x10(%rbp)
  jne    L66
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  jmp    L66
L15:
  movq   $0x0,-0x10(%rbp)
L66:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    -0x28(%rbp),%rdx
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  jmp    L134
L146:
  movq   $0x0,-0x10(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0x6e,%eax
  je     L65
  cmp    $0x74,%eax
  je     L32
  jmp    L209
L65:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movb   $0xa,(%rax)
  movl   $0x0,-0x20(%rbp)
  jmp    L88
L32:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movb   $0x9,(%rax)
  movl   $0x0,-0x20(%rbp)
  jmp    L88
L209:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    -0x28(%rbp),%rdx
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  movl   $0x0,-0x20(%rbp)
  jmp    L88
L88:
  nop
L134:
  addq   $0x1,-0x28(%rbp)
L162:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L42
  jmp    L121
L120:
  nop
L121:
  cmpq   $0x0,-0x30(%rbp)
  je     L203
  mov    -0x30(%rbp),%rax
  mov    -0x28(%rbp),%rdx
  mov    %rdx,(%rax)
L203:
  cmpq   $0x0,-0x10(%rbp)
  je     L150
  mov    -0x10(%rbp),%rax
  movb   $0x0,(%rax)
L150:
  mov    -0x18(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x8(%rbp),%rax
  leave
  ret
```

assistant: ```c
char *get_until(const char *source, const char **next_source, const char *delims) {
  char *value;
  char *orig;
  int state = 0;
  int len = strlen(source);
  char *spacestart = NULL;
  value = (char *)malloc(len + 1);
  orig = value;
  while (*source) {
    switch (state) {
    case 0:
      switch (*source) {
      case '\\':
        spacestart = NULL;
        state = 1;
        break;
      default:
        if (strchr(delims, *source))
          goto done;
        if (isspace(*source)) {
          if (spacestart == NULL)
            spacestart = value;
        } else
          spacestart = NULL;
        *value++ = *source;
      }
      break;
    case 1:
      spacestart = NULL;
      switch (*source) {
      case 'n':
        *value++ = '\n';
        state = 0;
        break;
      case 't':
        *value++ = '\t';
        state = 0;
        break;
      default:
        *value++ = *source;
        state = 0;
      }
      break;
    }
    source++;
  }
done:
  if (next_source != NULL)
    *next_source = source;
  if (spacestart != NULL)
    *spacestart = 0;
  *value = 0;
  return orig;
}
```