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

```asm
<_parse_prop_value>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,%r14
  mov    $0x4,%edi
  call   <malloc@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L202
  mov    $0x0,%ebp
  mov    $0x4,%r13d
  mov    $0x20,%r15d
  jmp    L238
L124:
  mov    %r12,%rdi
  call   <free@plt>
  mov    $0x0,%r12d
L202:
  mov    %r12,%rax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L66:
  mov    %r14,%rdi
  call   <fgetc@plt>
  mov    $0xa,%ebx
  cmp    $0xd,%eax
  jne    L174
  mov    %r14,%rsi
  mov    $0xd,%edi
  call   <ungetc@plt>
  jmp    L174
L1:
  mov    %r14,%rdi
  call   <fgetc@plt>
  mov    %eax,0xc(%rsp)
  cmp    $0xa,%eax
  jne    L174
  mov    %r14,%rsi
  mov    $0xa,%edi
  call   <ungetc@plt>
  mov    0xc(%rsp),%ebx
  jmp    L174
L110:
  cmp    $0x5c,%ebx
  je     L224
L174:
  cmp    %rbp,%r13
  je     L6
L46:
  mov    %bl,(%r12,%rbp,1)
  add    $0x1,%rbp
L238:
  mov    %r14,%rdi
  call   <fgetc@plt>
  mov    %eax,%ebx
  mov    D7(%rip),%rax
  cmp    %ebx,(%rax)
  je     L124
  cmp    $0x5d,%ebx
  je     L166
  mov    %ebx,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L110
  cmp    $0xd,%ebx
  je     L66
  cmp    $0xa,%ebx
  je     L1
  mov    %r15d,%ebx
  jmp    L174
L224:
  mov    %r14,%rdi
  call   <fgetc@plt>
  mov    %eax,%ebx
  mov    D7(%rip),%rax
  cmp    %ebx,(%rax)
  je     L203
  cmp    $0xd,%ebx
  je     L140
  cmp    $0xa,%ebx
  jne    L174
  mov    %r14,%rdi
  call   <fgetc@plt>
  cmp    $0xa,%eax
  jne    L238
  mov    %r14,%rsi
  mov    $0xa,%edi
  call   <ungetc@plt>
  jmp    L238
L203:
  mov    %r12,%rdi
  call   <free@plt>
  mov    $0x0,%r12d
  jmp    L202
L140:
  mov    %r14,%rdi
  call   <fgetc@plt>
  cmp    $0xd,%eax
  jne    L238
  mov    %r14,%rsi
  mov    $0xd,%edi
  call   <ungetc@plt>
  jmp    L238
L6:
  shl    $0x2,%r13
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <realloc@plt>
  mov    %rax,%r12
  test   %rax,%rax
  jne    L46
  jmp    L202
L166:
  cmp    %rbp,%r13
  je     L58
L109:
  movb   $0x0,(%r12,%rbp,1)
  jmp    L202
L58:
  lea    0x1(%r13),%rsi
  mov    %r12,%rdi
  call   <realloc@plt>
  mov    %rax,%r12
  test   %rax,%rax
  jne    L109
  jmp    L202
```

assistant: ```c
char *_parse_prop_value(FILE *stream) {
  int c;
  size_t cap_buffer = 4;
  size_t len_buffer = 0;
  char *buffer = malloc(cap_buffer);
  if (!buffer) {
    return NULL;
  }
  while (1) {
    c = fgetc(stream);
    if (c == EOF) {
      free(buffer);
      return NULL;
    }
    if (c == ']') {
      break;
    }
    if (isspace(c)) {
      if (c == '\r') {
        c = fgetc(stream);
        if (c == '\r') {
          ungetc(c, stream);
        }
        c = '\n';
      } else if (c == '\n') {
        c = fgetc(stream);
        if (c == '\n') {
          ungetc(c, stream);
        }
        c = '\n';
      } else {
        c = ' ';
      }
    }
    if (c == '\\') {
      c = fgetc(stream);
      if (c == EOF) {
        free(buffer);
        return NULL;
      }
      if (c == '\r') {
        c = fgetc(stream);
        if (c == '\r') {
          ungetc(c, stream);
        }
        continue;
      }
      if (c == '\n') {
        c = fgetc(stream);
        if (c == '\n') {
          ungetc(c, stream);
        }
        continue;
      }
    }
    if (len_buffer == cap_buffer) {
      cap_buffer *= 4;
      buffer = realloc(buffer, cap_buffer);
      if (!buffer) {
        return NULL;
      }
    }
    buffer[len_buffer] = c;
    len_buffer++;
  }
  if (len_buffer == cap_buffer) {
    cap_buffer += 1;
    buffer = realloc(buffer, cap_buffer);
    if (!buffer) {
      return NULL;
    }
  }
  buffer[len_buffer] = '\0';
  return buffer;
}
```