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

```asm
<parseElement>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x828,%rsp
  movsbl (%rdi),%edi
  mov    %rdx,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x818(%rsp)
  xor    %eax,%eax
  test   %dil,%dil
  jne    L165
  jmp    L462
  nopw   0x0(%rax,%rax,1)
L409:
  movsbl 0x1(%rbx),%edi
  add    $0x1,%rbx
  test   %dil,%dil
  je     L462
L165:
  call   <isspace@plt>
  test   %rax,%rax
  jne    L409
  movsbl (%rbx),%edi
  cmp    $0x2f,%dil
  jne    L437
  movb   $0x0,0xf(%rsp)
  movsbl 0x1(%rbx),%edi
  lea    0x1(%rbx),%r15
  mov    $0x1,%ebp
L344:
  cmp    $0x3f,%dil
  jbe    L469
L188:
  mov    %r15,%rbx
  jmp    L152
  nopl   0x0(%rax)
L121:
  movsbl 0x1(%rbx),%edi
  add    $0x1,%rbx
  test   %dil,%dil
  je     L168
L152:
  call   <isspace@plt>
  test   %rax,%rax
  je     L121
  cmpb   $0x0,(%rbx)
  je     L168
  movb   $0x0,(%rbx)
  lea    0x1(%rbx),%r14
  test   %ebp,%ebp
  jne    L78
  movsbl 0x1(%rbx),%edi
  test   %dil,%dil
  jne    L494
  jmp    L386
  nopl   0x0(%rax)
L52:
  movsbl 0x1(%r14),%edi
  lea    0x1(%r14),%rax
  test   %dil,%dil
  je     L181
L139:
  mov    %rax,%r14
L494:
  call   <isspace@plt>
  test   %rax,%rax
  jne    L52
  movsbl (%r14),%edi
  lea    0x1(%rbp),%ebx
  test   %dil,%dil
  je     L119
  cmp    $0x2f,%dil
  je     L492
  movslq %ebp,%rax
  mov    %r14,0x10(%rsp,%rax,8)
  jmp    L401
  nopl   0x0(%rax,%rax,1)
L398:
  cmpb   $0x3d,(%r14)
  movsbl 0x1(%r14),%edi
  lea    0x1(%r14),%rax
  je     L518
  test   %dil,%dil
  je     L285
  mov    %rax,%r14
L401:
  call   <isspace@plt>
  test   %rax,%rax
  je     L398
  cmpb   $0x0,(%r14)
  jne    L289
L285:
  lea    0x2(%rbp),%eax
  mov    %ebx,%esi
L5:
  movslq %esi,%rsi
  cltq
  movq   $0x0,0x10(%rsp,%rsi,8)
  movq   $0x0,0x10(%rsp,%rax,8)
  test   %r12,%r12
  je     L462
  cmpb   $0x0,0xf(%rsp)
  je     L462
  lea    0x10(%rsp),%rdx
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   *%r12
  nopl   0x0(%rax)
L462:
  mov    0x818(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L474
  add    $0x828,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L289:
  lea    0x1(%r14),%rax
L518:
  movzbl 0x1(%r14),%edx
  movb   $0x0,(%r14)
  cmp    $0x22,%dl
  je     L213
  test   %dl,%dl
  je     L285
  nopw   0x0(%rax,%rax,1)
L405:
  movzbl 0x1(%rax),%edx
  add    $0x1,%rax
  test   %dl,%dl
  je     L285
  cmp    $0x22,%dl
  jne    L405
L213:
  test   %dl,%dl
  je     L285
  lea    0x1(%rax),%rdx
  movzbl 0x1(%rax),%eax
  movslq %ebx,%rbx
  lea    0x2(%rbp),%esi
  mov    %rdx,0x10(%rsp,%rbx,8)
  test   %al,%al
  setne  %cl
  cmp    $0x22,%al
  jne    L477
  jmp    L273
  nopl   0x0(%rax,%rax,1)
L515:
  movzbl 0x1(%rdx),%eax
  add    $0x1,%rdx
  test   %al,%al
  setne  %cl
  cmp    $0x22,%al
  je     L273
L477:
  test   %cl,%cl
  jne    L515
L273:
  test   %al,%al
  je     L317
  movb   $0x0,(%rdx)
  movsbl 0x1(%rdx),%edi
  lea    0x1(%rdx),%rax
  cmp    $0xfe,%esi
  jg     L88
  test   %dil,%dil
  je     L88
  movslq %esi,%rbp
  jmp    L139
  nopl   0x0(%rax)
L317:
  cmp    $0xfe,%esi
  jg     L88
  test   %cl,%cl
  jne    L227
L88:
  lea    0x3(%rbp),%eax
  jmp    L5
L168:
  test   %ebp,%ebp
  je     L386
L78:
  mov    $0x1,%ebx
  xor    %ebp,%ebp
L492:
  movq   $0x0,0x10(%rsp,%rbp,8)
  movslq %ebx,%rbx
  movq   $0x0,0x10(%rsp,%rbx,8)
  test   %r12,%r12
  je     L377
  cmpb   $0x0,0xf(%rsp)
  je     L377
  lea    0x10(%rsp),%rdx
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   *%r12
L377:
  mov    (%rsp),%rax
  test   %rax,%rax
  je     L462
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   *%rax
  jmp    L462
L227:
  mov    %esi,%ebp
  xchg   %ax,%ax
L181:
  lea    0x1(%rbp),%eax
  mov    %ebp,%esi
  jmp    L5
L437:
  movb   $0x1,0xf(%rsp)
  mov    %rbx,%r15
  xor    %ebp,%ebp
  jmp    L344
L469:
  movabs $0x8000000200000001,%rax
  bt     %rdi,%rax
  jae    L188
  jmp    L462
  nopw   0x0(%rax,%rax,1)
L386:
  mov    $0x1,%eax
  xor    %esi,%esi
  jmp    L5
L474:
  call   <__stack_chk_fail@plt>
L119:
  mov    %ebx,%eax
  mov    %ebp,%esi
  jmp    L5
```

assistant: ```c
void parseElement(char *s, void (*startelCb)(void *ud, const char *el, const char **attr), void (*endelCb)(void *ud, const char *el), void *ud) {
  const char *attr[256];
  int nattr = 0;
  char *name;
  int start = 0;
  int end = 0;
  while (*s && isspace(*s))
    s++;
  if (*s == '/') {
    s++;
    end = 1;
  } else {
    start = 1;
  }
  if (!*s || *s == '?' || *s == '!')
    return;
  name = s;
  while (*s && !isspace(*s))
    s++;
  if (*s) {
    *s++ = '\0';
  }
  while (!end && *s && nattr < 256 - 1) {
    while (*s && isspace(*s))
      s++;
    if (!*s)
      break;
    if (*s == '/') {
      end = 1;
      break;
    }
    attr[nattr++] = s;
    while (*s && !isspace(*s) && *s != '=')
      s++;
    if (*s) {
      *s++ = '\0';
    }
    while (*s && *s != '\"')
      s++;
    if (!*s)
      break;
    s++;
    attr[nattr++] = s;
    while (*s && *s != '\"')
      s++;
    if (*s) {
      *s++ = '\0';
    }
  }
  attr[nattr++] = 0;
  attr[nattr++] = 0;
  if (start && startelCb)
    (*startelCb)(ud, name, attr);
  if (end && endelCb)
    (*endelCb)(ud, name);
}
```