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

```asm
<llib_led_regex_brack>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    (%rdx),%r15d
  mov    %rdx,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  mov    (%rsi),%rax
  mov    %r15d,0x1c(%rsp)
  mov    %rax,0x20(%rsp)
  test   %r15d,%r15d
  je     L153
  movzbl (%rax),%edx
  mov    %edi,%ebp
  mov    %rsi,%r14
  mov    %ecx,%ebx
  cmp    $0x5e,%dl
  je     L4
  movl   $0x0,0xc(%rsp)
  cmp    $0x2a,%dl
  je     L4
L13:
  cmp    $0x5d,%dl
  je     L47
  mov    %r15d,%esi
  xor    %r15d,%r15d
L131:
  lea    0x1c(%rsp),%r12
L221:
  cmp    $0x5d,%dl
  je     L163
L41:
  lea    0x20(%rsp),%r13
  mov    %r12,%rdx
  mov    %ebp,%edi
  mov    %r13,%rsi
  call   <llib_utf8_escape@plt>
  mov    0x1c(%rsp),%esi
  mov    %eax,%ecx
  mov    0x20(%rsp),%rax
  cmp    $0x1,%esi
  jle    L98
  movzbl (%rax),%edx
  cmp    $0x2d,%dl
  je     L228
L242:
  cmp    %ecx,%ebx
  je     L124
L229:
  movzbl (%rax),%edx
  cmp    $0x5d,%dl
  jne    L41
L163:
  add    $0x1,%rax
  sub    $0x1,%esi
L210:
  mov    %rax,(%r14)
  mov    (%rsp),%rax
  mov    %esi,(%rax)
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jne    L170
L153:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L181
  add    $0x38,%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L4:
  lea    0x1(%rax),%rcx
  sub    $0x1,%r15d
  mov    %rcx,0x20(%rsp)
  mov    %r15d,0x1c(%rsp)
  jne    L231
  mov    (%rsp),%rax
  mov    %rcx,(%r14)
  movl   $0x0,(%rax)
L170:
  xor    $0x1,%r15d
  jmp    L153
  nopl   0x0(%rax,%rax,1)
L98:
  cmp    %ecx,%ebx
  mov    $0x1,%edx
  cmove  %edx,%r15d
L185:
  test   %esi,%esi
  jne    L229
  jmp    L210
  nopl   0x0(%rax,%rax,1)
L228:
  cmpb   $0x5d,0x1(%rax)
  je     L242
  sub    $0x1,%esi
  add    $0x1,%rax
  mov    %r12,%rdx
  mov    %ebp,%edi
  mov    %esi,0x1c(%rsp)
  mov    %r13,%rsi
  mov    %ecx,0x8(%rsp)
  mov    %rax,0x20(%rsp)
  call   <llib_utf8_escape@plt>
  mov    0x8(%rsp),%ecx
  mov    0x1c(%rsp),%esi
  cmp    %ecx,%ebx
  jl     L55
  cmp    %eax,%ebx
  jg     L55
  mov    0x20(%rsp),%rax
  mov    $0x1,%r15d
  jmp    L185
  nopl   0x0(%rax,%rax,1)
L124:
  mov    $0x1,%r15d
  jmp    L221
  nopl   0x0(%rax,%rax,1)
L47:
  lea    -0x1(%r15),%esi
  lea    0x1(%rax),%rcx
  xor    %r15d,%r15d
  cmp    $0x5d,%ebx
  mov    %rcx,0x20(%rsp)
  sete   %r15b
  mov    %esi,0x1c(%rsp)
  test   %esi,%esi
  je     L49
  movzbl 0x1(%rax),%edx
  mov    %rcx,%rax
  jmp    L131
  nopl   0x0(%rax,%rax,1)
L55:
  mov    0x20(%rsp),%rax
  jmp    L185
L181:
  call   <__stack_chk_fail@plt>
L231:
  movzbl 0x1(%rax),%edx
  movl   $0x1,0xc(%rsp)
  mov    %rcx,%rax
  jmp    L13
L49:
  mov    %rcx,%rax
  jmp    L210
```

assistant: ```c
int llib_led_regex_brack(int utf8, unsigned char **a, int *la, int c) {
  int inverse = 0;
  int flag = 0;
  unsigned char *s = *a;
  int l = *la;
  if (!l)
    return 0;
  if (*s == '^' || *s == '*') {
    inverse = 1;
    ++s;
    --l;
  }
  if (l && *s == ']') {
    ++s;
    --l;
    if (c == ']')
      flag = 1;
  }
  while (l) {
    if (*s == ']') {
      ++s;
      --l;
      break;
    } else {
      int cl, cr;
      cl = llib_utf8_escape(utf8, (char **)&s, &l);
      if (l >= 2 && s[0] == '-' && s[1] != ']') {
        --l;
        ++s;
        cr = llib_utf8_escape(utf8, (char **)&s, &l);
        if (c >= cl && c <= cr)
          flag = 1;
      } else if (c == cl)
        flag = 1;
    }
  }
  *a = s;
  *la = l;
  if (inverse)
    return !flag;
  else
    return flag;
}
```