user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<getConstraint>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,(%rsp)
  test   %rsi,%rsi
  je     L71
  mov    %edx,%eax
  mov    (%rsi),%rdi
  mov    %edx,%r12d
  mov    %rsi,%rbx
  or     $0x11d,%eax
  test   $0x80,%dl
  cmovne %eax,%r12d
  test   %rdi,%rdi
  je     L71
  mov    %r12d,%eax
  movl   $0x0,0x8(%rsp)
  lea    D46(%rip),%r15
  shr    $0x5,%eax
  lea    D16(%rip),%r13
  xor    $0x1,%eax
  and    $0x1,%eax
  mov    %al,0xf(%rsp)
L107:
  call   <strlen@plt>
  lea    0x1(%rax),%edi
  mov    %rax,%rbp
  call   <space@plt>
  mov    (%rbx),%rdi
  mov    %r15,%rsi
  mov    %rax,%r14
  mov    %rax,%rdx
  call   <sscanf@plt>
  mov    %r14,%rdi
  call   <strlen@plt>
  mov    %rax,%rdx
  movzbl (%r14),%eax
  lea    -0x23(%rax),%esi
  and    $0xfd,%esi
  je     L190
  cmp    $0x3b,%al
  ja     L201
  movabs $0x800840000000001,%rsi
  bt     %rax,%rsi
  jb     L190
  mov    %r14,%rsi
  test   %al,%al
  je     L134
  nop
L196:
  cmp    $0x3e,%al
  jg     L214
  cmp    $0x25,%al
  jle    L23
  sub    $0x26,%eax
  cmp    $0x18,%al
  ja     L23
  movzbl %al,%eax
  movslq 0x0(%r13,%rax,4),%rax
  add    %r13,%rax
  notrack jmp *%rax
  nopl   0x0(%rax)
L190:
  mov    0x8(%rsp),%eax
  test   %eax,%eax
  je     L248
L71:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L23:
  lea    D42(%rip),%rdi
  mov    %rdx,0x18(%rsp)
  mov    %rsi,0x10(%rsp)
  call   <warn_user@plt>
  mov    0x18(%rsp),%rdx
  mov    0x10(%rsp),%rsi
  nopl   0x0(%rax,%rax,1)
L187:
  movzbl 0x1(%rsi),%eax
  add    $0x1,%rsi
  test   %al,%al
  jne    L196
L134:
  mov    0x8(%rsp),%eax
  mov    %rdx,0x10(%rsp)
  lea    0x1(%rax,%rdx,1),%eax
  mov    %eax,%esi
  mov    %eax,0x8(%rsp)
  mov    (%rsp),%rax
  mov    (%rax),%rdi
  call   <xrealloc@plt>
  mov    %r14,%rsi
  mov    %rax,%rdi
  mov    (%rsp),%rax
  mov    %rdi,(%rax)
  call   <strcat@plt>
  mov    %r14,%rdi
  call   <free@plt>
  cmpb   $0x0,0xf(%rsp)
  jne    L71
  mov    0x10(%rsp),%rdx
  cmp    %edx,%ebp
  jne    L71
L248:
  mov    0x8(%rbx),%rdi
  add    $0x8,%rbx
  test   %rdi,%rdi
  jne    L107
  jmp    L71
  nopl   0x0(%rax,%rax,1)
L214:
  cmp    $0x78,%al
  je     L111
  cmp    $0x7c,%al
  jne    L23
  test   $0x1,%r12b
  jne    L187
  lea    D73(%rip),%rdi
  mov    %rdx,0x18(%rsp)
  mov    %rsi,0x10(%rsp)
  call   <warn_user@plt>
  mov    0x10(%rsp),%rsi
  mov    0x18(%rsp),%rdx
  movb   $0x2e,(%rsi)
  jmp    L187
  nopw   0x0(%rax,%rax,1)
L201:
  mov    %r14,%rsi
  jmp    L196
  nopl   0x0(%rax,%rax,1)
  test   $0x10,%r12b
  jne    L187
  lea    D36(%rip),%rdi
  mov    %rdx,0x18(%rsp)
  mov    %rsi,0x10(%rsp)
  call   <warn_user@plt>
  mov    0x10(%rsp),%rsi
  mov    0x18(%rsp),%rdx
  movb   $0x2e,(%rsi)
  jmp    L187
  nopw   0x0(%rax,%rax,1)
  test   $0x8,%r12b
  jne    L187
  lea    D12(%rip),%rdi
  mov    %rdx,0x18(%rsp)
  mov    %rsi,0x10(%rsp)
  call   <warn_user@plt>
  mov    0x10(%rsp),%rsi
  mov    0x18(%rsp),%rdx
  movb   $0x2e,(%rsi)
  jmp    L187
  nopw   0x0(%rax,%rax,1)
  test   $0x100,%r12d
  jne    L187
  lea    D77(%rip),%rdi
  mov    %rdx,0x18(%rsp)
  mov    %rsi,0x10(%rsp)
  call   <warn_user@plt>
  mov    0x10(%rsp),%rsi
  mov    0x18(%rsp),%rdx
  movb   $0x2e,(%rsi)
  jmp    L187
  nopl   (%rax)
L111:
  test   $0x4,%r12b
  jne    L187
  lea    D56(%rip),%rdi
  mov    %rdx,0x18(%rsp)
  mov    %rsi,0x10(%rsp)
  call   <warn_user@plt>
  mov    0x10(%rsp),%rsi
  mov    0x18(%rsp),%rdx
  movb   $0x2e,(%rsi)
  jmp    L187
```

tool_calls: name: parse_data
arguments: data_tag: D46
data_type: string
name: parse_data
arguments: data_tag: D16
data_type: string
name: parse_data
arguments: data_tag: D42
data_type: string
name: parse_data
arguments: data_tag: D73
data_type: string
name: parse_data
arguments: data_tag: D36
data_type: string
name: parse_data
arguments: data_tag: D12
data_type: string
name: parse_data
arguments: data_tag: D77
data_type: string
name: parse_data
arguments: data_tag: D56
data_type: string

tool: D46: %s

tool: 

tool: D42: unrecognized character in constraint structure

tool: D73: constraints of type '|' not allowed

tool: D36: constraints of type '(' or ')' not allowed

tool: D12: constraints of type '<' or '>' not allowed

tool: D77: character '+' ignored in structure

tool: D56: constraints of type 'x' not allowed

assistant: ```c
void getConstraint(char **cstruc, const char **lines, unsigned int option) {
  int r, i, l, cl, stop;
  char *c, *ptr;
  if (lines) {
    if (option & 128U)
      option |= 1U | 8U | 16U | 4U | 256U;
    for (r = i = stop = 0; lines[i]; i++) {
      l = (int)strlen(lines[i]);
      c = (char *)space(sizeof(char) * (l + 1));
      (void)sscanf(lines[i], "%s", c);
      cl = (int)strlen(c);
      if ((*c == '#') || (*c == '%') || (*c == ';') || (*c == '/') || (*c == '*' || (*c == '\0'))) {
        if (!r)
          continue;
        else
          break;
      }
      for (ptr = c; *c; c++) {
        switch (*c) {
        case '|':
          if (!(option & 1U)) {
            warn_user("constraints of type '|' not allowed");
            *c = '.';
          }
          break;
        case '<':
        case '>':
          if (!(option & 8U)) {
            warn_user("constraints of type '<' or '>' not allowed");
            *c = '.';
          }
          break;
        case '(':
        case ')':
          if (!(option & 16U)) {
            warn_user("constraints of type '(' or ')' not allowed");
            *c = '.';
          }
          break;
        case 'x':
          if (!(option & 4U)) {
            warn_user("constraints of type 'x' not allowed");
            *c = '.';
          }
          break;
        case '+':
          if (!(option & 256U)) {
            warn_user("character '+' ignored in structure");
            *c = '.';
          }
        case '.':
          break;
        case '&':
          break;
        default:
          warn_user("unrecognized character in constraint structure");
          break;
        }
      }
      r += cl + 1;
      *cstruc = (char *)xrealloc(*cstruc, r * sizeof(char));
      strcat(*cstruc, ptr);
      free(ptr);
      if (!(option & 32U) || (cl != l))
        break;
    }
  }
}
```