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

```asm
<i_nstrdup_conv>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  mov    %rdx,%rdi
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <jelio_buffer_getc@plt>
  mov    %rbp,%rdi
  movsbl %al,%ebx
  mov    %bl,(%rsp)
  call   <jelio_buffer_getc@plt>
  mov    %rbp,%rdi
  mov    %al,0x1(%rsp)
  mov    %eax,%r13d
  call   <jelio_buffer_getc@plt>
  mov    %rbp,%rdi
  mov    %al,0x2(%rsp)
  call   <jelio_buffer_getc@plt>
  mov    %al,0x3(%rsp)
  cmp    $0x3a,%al
  jne    L3
  movb   $0x0,0x3(%rsp)
  test   %bl,%bl
  je     L93
L88:
  xor    %r14d,%r14d
  mov    %rsp,%rax
  jmp    L59
  nopl   0x0(%rax,%rax,1)
L119:
  movsbl %r13b,%ebx
  movzbl 0x1(%rax),%r13d
L59:
  sub    $0x30,%ebx
  lea    (%r14,%r14,4),%rdx
  add    $0x1,%rax
  movslq %ebx,%rbx
  lea    (%rbx,%rdx,2),%r14
  test   %r13b,%r13b
  jne    L119
  lea    0x2(%r14),%rdi
  call   <malloc@plt>
  mov    %rax,(%r12)
  test   %rax,%rax
  je     L27
  xor    %r13d,%r13d
  jmp    L26
  nopl   0x0(%rax,%rax,1)
L72:
  mov    (%r12),%rax
L26:
  mov    %rbp,%rdi
  lea    (%rax,%r13,1),%rbx
  add    $0x1,%r13
  call   <jelio_buffer_getc@plt>
  mov    %al,(%rbx)
  cmp    %r13,%r14
  jae    L72
L117:
  mov    (%r12),%rdi
  lea    (%rdi,%r14,1),%rax
  cmpb   $0x2c,(%rax)
  jne    L110
  movb   $0x0,(%rax)
  mov    %r14d,%eax
L69:
  mov    0x8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L68
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L3:
  mov    %rbp,%rdi
  call   <jelio_buffer_getc@plt>
  mov    %rbp,%rdi
  mov    %al,0x4(%rsp)
  call   <jelio_buffer_getc@plt>
  mov    %rbp,%rdi
  mov    %al,0x5(%rsp)
  call   <jelio_buffer_getc@plt>
  mov    %rbp,%rdi
  mov    %al,0x6(%rsp)
  call   <jelio_buffer_getc@plt>
  cmp    $0x3a,%al
  jne    L27
  movb   $0x0,0x7(%rsp)
  test   %bl,%bl
  jne    L88
L93:
  mov    $0x2,%edi
  call   <malloc@plt>
  mov    %rax,(%r12)
  mov    %rax,%rbx
  test   %rax,%rax
  je     L27
  mov    %rbp,%rdi
  xor    %r14d,%r14d
  call   <jelio_buffer_getc@plt>
  mov    %al,(%rbx)
  jmp    L117
L110:
  call   <free@plt>
  movq   $0x0,(%r12)
L27:
  mov    $0xffffffff,%eax
  jmp    L69
L68:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int i_nstrdup_conv(void *value, int n, void *inbuf) {
  struct jelio_buf *jb = inbuf;
  char **sval = value;
  int i;
  char *p, buf[8];
  size_t len = 0;
  buf[0] = jelio_buffer_getc(jb);
  buf[1] = jelio_buffer_getc(jb);
  buf[2] = jelio_buffer_getc(jb);
  buf[3] = jelio_buffer_getc(jb);
  if (buf[3] != ':') {
    buf[4] = jelio_buffer_getc(jb);
    buf[5] = jelio_buffer_getc(jb);
    buf[6] = jelio_buffer_getc(jb);
    buf[7] = jelio_buffer_getc(jb);
    if (buf[7] != ':')
      return -1;
    buf[7] = 0;
  } else
    buf[3] = 0;
  for (p = buf; *p; p++) {
    len *= 10;
    len += *p - '0';
  }
  *sval = malloc(len + 2);
  if (!*sval)
    return -1;
  for (i = 0; i <= len; i++)
    *(*sval + i) = jelio_buffer_getc(jb);
  if (*(*sval + len) != ',') {
    free(*sval);
    *sval = NULL;
    return -1;
  }
  *(*sval + len) = 0;
  return len;
}
```