user: Demonstrate the C code that generates the assembly output below:

```asm
<strqetok>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rsi,%r13
  mov    %rdx,%rbp
  mov    %rcx,%r12
  test   %rdi,%rdi
  je     L182
  mov    %rdi,D253(%rip)
  mov    %rdi,D132(%rip)
  movb   $0x0,D159(%rip)
  movb   $0x0,D260(%rip)
L198:
  movzbl (%rdi),%edi
  test   %dil,%dil
  je     L160
  mov    $0x0,%ebx
  jmp    L66
L182:
  mov    D132(%rip),%rdi
  mov    %rdi,%rbx
  test   %rdi,%rdi
  jne    L198
  jmp    L241
L68:
  movzbl D260(%rip),%eax
  test   %al,%al
  je     L173
  cmp    %dil,%al
  jne    L59
  movb   $0x0,D260(%rip)
L139:
  mov    D132(%rip),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,D94(%rip)
  movzbl 0x1(%rax),%edi
  test   %dil,%dil
  je     L95
L66:
  cmpb   $0x0,D159(%rip)
  je     L68
  test   %rbx,%rbx
  cmove  D253(%rip),%rbx
  mov    D253(%rip),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,D94(%rip)
  mov    %dil,(%rax)
  movb   $0x0,D159(%rip)
  jmp    L139
L59:
  movsbl %dil,%edi
  mov    %rbp,%rsi
  call   <_isinstr@plt>
  test   %rax,%rax
  je     L41
  mov    D94(%rip),%rax
  movzbl 0x1(%rax),%edi
  test   %dil,%dil
  je     L41
  cmp    D260(%rip),%dil
  jne    L242
L27:
  movb   $0x1,D159(%rip)
  jmp    L139
L242:
  movsbl %dil,%edi
  mov    %rbp,%rsi
  call   <_isinstr@plt>
  test   %rax,%rax
  jne    L27
L41:
  test   %rbx,%rbx
  cmove  D94(%rip),%rbx
  mov    D94(%rip),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,D94(%rip)
  mov    D94(%rip),%rdx
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  jmp    L139
L173:
  movsbl %dil,%edi
  mov    %r12,%rsi
  call   <_isinstr@plt>
  test   %rax,%rax
  je     L141
  test   %rbx,%rbx
  je     L139
  mov    D94(%rip),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,D94(%rip)
  movb   $0x0,(%rax)
  jmp    L241
L141:
  mov    D94(%rip),%rax
  movsbl (%rax),%edi
  mov    %rbp,%rsi
  call   <_isinstr@plt>
  test   %rax,%rax
  je     L39
  movb   $0x1,D159(%rip)
  jmp    L139
L39:
  mov    D94(%rip),%rax
  movsbl (%rax),%edi
  mov    %r13,%rsi
  call   <_isinstr@plt>
  test   %rax,%rax
  je     L31
  test   %rbx,%rbx
  cmove  D94(%rip),%rbx
  mov    D94(%rip),%rax
  movzbl (%rax),%eax
  mov    %al,D94(%rip)
  jmp    L139
L31:
  test   %rbx,%rbx
  cmove  D94(%rip),%rbx
  mov    D94(%rip),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,D94(%rip)
  mov    D94(%rip),%rdx
  movzbl (%rdx),%edx
  mov    %dl,(%rax)
  jmp    L139
L95:
  test   %rbx,%rbx
  je     L241
  mov    D94(%rip),%rax
  movb   $0x0,(%rax)
L241:
  mov    %rbx,%rax
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L160:
  mov    $0x0,%ebx
  jmp    L241
```

assistant: ```c
char *strqetok(char *str, const char *quot, const char *esc, const char *delim) {
  static char *r, *w;
  static unsigned char e;
  static char q;
  char *t = 0;
  if (str) {
    r = w = str;
    e = 0;
    q = '\0';
  }
  if (!r)
    return 0;
  while (*r) {
    if (e) {
      if (!t)
        t = w;
      *w++ = *r;
      e = 0;
    } else if (q) {
      if (*r == q) {
        q = '\0';
      } else if (_isinstr(*r, esc) && r[1] && (r[1] == q || _isinstr(r[1], esc))) {
        e = 1;
      } else {
        if (!t)
          t = w;
        *w++ = *r;
      }
    } else {
      if (_isinstr(*r, delim)) {
        if (t) {
          *w++ = '\0';
          return t;
        }
      } else if (_isinstr(*r, esc)) {
        e = 1;
      } else if (_isinstr(*r, quot)) {
        if (!t)
          t = w;
        q = *r;
      } else {
        if (!t)
          t = w;
        *w++ = *r;
      }
    }
    ++r;
  }
  if (t)
    *w = '\0';
  return t;
}
```