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

```asm
<parseElement>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x828,%rsp
  mov    %rdi,%rbp
  mov    %rsi,%r14
  mov    %rdx,%r15
  mov    %rcx,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x818(%rsp)
  xor    %eax,%eax
  movzbl (%rdi),%edi
  test   %dil,%dil
  je     L180
L193:
  movsbl %dil,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L364
  add    $0x1,%rbp
  movzbl 0x0(%rbp),%edi
  test   %dil,%dil
  jne    L193
L180:
  mov    $0x0,%r12d
  movl   $0x1,0xc(%rsp)
L14:
  movzbl 0x0(%rbp),%edi
  cmp    $0x3f,%dil
  ja     L342
  movabs $0x8000000200000001,%rax
  mov    %rbp,%rbx
  bt     %rdi,%rax
  jae    L394
L112:
  mov    0x818(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L43
  add    $0x828,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L364:
  cmpb   $0x2f,0x0(%rbp)
  jne    L357
  add    $0x1,%rbp
  mov    $0x1,%r12d
  movl   $0x0,0xc(%rsp)
  jmp    L14
L357:
  mov    $0x0,%r12d
  movl   $0x1,0xc(%rsp)
  jmp    L14
L342:
  mov    %rbp,%rbx
L394:
  movsbl %dil,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L343
  add    $0x1,%rbx
  movzbl (%rbx),%edi
  test   %dil,%dil
  jne    L394
  jmp    L132
L343:
  cmpb   $0x0,(%rbx)
  je     L245
  movb   $0x0,(%rbx)
  lea    0x1(%rbx),%rbx
L132:
  test   %r12d,%r12d
  jne    L264
  movzbl (%rbx),%edi
  test   %dil,%dil
  jne    L33
  jmp    L257
L69:
  movzbl (%rbx),%edi
  test   %dil,%dil
  je     L257
  cmp    $0x2f,%dil
  je     L443
  lea    0x1(%r12),%r13d
  movslq %r12d,%rax
  mov    %rbx,0x10(%rsp,%rax,8)
L188:
  movsbl %dil,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L464
  cmpb   $0x3d,(%rbx)
  je     L211
  add    $0x1,%rbx
  movzbl (%rbx),%edi
  test   %dil,%dil
  jne    L188
L438:
  movzbl (%rbx),%eax
  mov    %rbx,%rdx
  jmp    L130
L464:
  cmpb   $0x0,(%rbx)
  je     L438
L211:
  lea    0x1(%rbx),%rdx
  movb   $0x0,(%rbx)
  movzbl 0x1(%rbx),%eax
  test   %al,%al
  je     L130
  cmp    $0x22,%al
  je     L130
L175:
  add    $0x1,%rdx
  movzbl (%rdx),%eax
  test   %al,%al
  je     L130
  cmp    $0x22,%al
  jne    L175
L130:
  test   %al,%al
  je     L125
  lea    0x1(%rdx),%rax
  add    $0x2,%r12d
  movslq %r13d,%r13
  mov    %rax,0x10(%rsp,%r13,8)
  movzbl 0x1(%rdx),%edx
  test   %dl,%dl
  je     L356
  cmp    $0x22,%dl
  je     L356
L360:
  add    $0x1,%rax
  movzbl (%rax),%edx
  test   %dl,%dl
  je     L356
  cmp    $0x22,%dl
  jne    L360
L356:
  test   %dl,%dl
  je     L10
  movb   $0x0,(%rax)
  lea    0x1(%rax),%rax
L10:
  movzbl (%rax),%edi
  cmp    $0xfe,%r12d
  jg     L257
  test   %dil,%dil
  je     L257
L244:
  mov    %rax,%rbx
L33:
  movsbl %dil,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L69
  lea    0x1(%rbx),%rax
  movzbl 0x1(%rbx),%edi
  test   %dil,%dil
  jne    L244
L257:
  movslq %r12d,%rax
  movq   $0x0,0x10(%rsp,%rax,8)
  lea    0x1(%r12),%eax
  cltq
  movq   $0x0,0x10(%rsp,%rax,8)
  test   %r14,%r14
  je     L112
  mov    $0x0,%ebx
  cmpl   $0x0,0xc(%rsp)
  je     L112
L88:
  lea    0x10(%rsp),%rdx
  mov    %rbp,%rsi
  mov    (%rsp),%rdi
  call   *%r14
L28:
  test   %ebx,%ebx
  je     L112
  test   %r15,%r15
  je     L112
  mov    %rbp,%rsi
  mov    (%rsp),%rdi
  call   *%r15
  jmp    L112
L264:
  mov    $0x0,%r12d
  jmp    L443
L243:
  mov    $0x1,%ebx
  jmp    L28
L125:
  mov    %r13d,%r12d
  jmp    L257
L245:
  test   %r12d,%r12d
  je     L257
  mov    $0x0,%r12d
L443:
  movslq %r12d,%rax
  movq   $0x0,0x10(%rsp,%rax,8)
  lea    0x1(%r12),%eax
  cltq
  movq   $0x0,0x10(%rsp,%rax,8)
  cmpl   $0x0,0xc(%rsp)
  je     L243
  test   %r14,%r14
  je     L243
  mov    $0x1,%ebx
  jmp    L88
L43:
  call   <__stack_chk_fail@plt>
```

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);
}
```