user: 请将以下的汇编代码转换成C语言代码：

```asm
<getConstraint>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,0x10(%rsp)
  test   %rsi,%rsi
  je     L182
  mov    %rsi,%r12
  mov    %edx,%ebx
  mov    %edx,%eax
  or     $0x11d,%eax
  test   $0x80,%dl
  cmovne %eax,%ebx
  mov    (%rsi),%rdi
  test   %rdi,%rdi
  je     L182
  mov    $0x0,%r14d
  lea    D39(%rip),%r15
  mov    %ebx,%eax
  shr    $0x5,%eax
  xor    $0x1,%eax
  and    $0x1,%eax
  mov    %al,0x1f(%rsp)
L253:
  call   <strlen@plt>
  mov    %rax,0x8(%rsp)
  lea    0x1(%rax),%edi
  call   <space@plt>
  mov    %rax,%rbp
  mov    %rax,%rdx
  mov    %r15,%rsi
  mov    (%r12),%rdi
  call   <sscanf@plt>
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    %rax,(%rsp)
  movzbl 0x0(%rbp),%eax
  mov    %eax,%ecx
  lea    -0x23(%rax),%edx
  test   $0xfd,%dl
  je     L55
  cmp    $0x3b,%al
  ja     L90
  movabs $0x800840000000001,%rdx
  bt     %rcx,%rdx
  jb     L55
L90:
  mov    %rbp,%r13
  test   %al,%al
  jne    L177
L58:
  mov    (%rsp),%rax
  lea    0x1(%r14,%rax,1),%r14d
  mov    %r14d,%esi
  mov    0x10(%rsp),%r13
  mov    0x0(%r13),%rdi
  call   <xrealloc@plt>
  mov    %rax,%rdi
  mov    %rax,0x0(%r13)
  mov    %rbp,%rsi
  call   <strcat@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  cmpb   $0x0,0x1f(%rsp)
  jne    L182
  mov    (%rsp),%eax
  cmp    %eax,0x8(%rsp)
  jne    L182
L40:
  add    $0x8,%r12
  mov    (%r12),%rdi
  test   %rdi,%rdi
  jne    L253
  jmp    L182
L55:
  test   %r14d,%r14d
  je     L40
L182:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L188:
  cmp    $0x78,%al
  je     L26
  cmp    $0x7c,%al
  jne    L162
  test   $0x1,%bl
  jne    L199
  lea    D50(%rip),%rdi
  call   <warn_user@plt>
  movb   $0x2e,0x0(%r13)
  jmp    L199
  test   $0x8,%bl
  jne    L199
  lea    D20(%rip),%rdi
  call   <warn_user@plt>
  movb   $0x2e,0x0(%r13)
  jmp    L199
  test   $0x10,%bl
  jne    L199
  lea    D71(%rip),%rdi
  call   <warn_user@plt>
  movb   $0x2e,0x0(%r13)
  jmp    L199
L26:
  test   $0x4,%bl
  jne    L199
  lea    D11(%rip),%rdi
  call   <warn_user@plt>
  movb   $0x2e,0x0(%r13)
  jmp    L199
  test   $0x1,%bh
  jne    L199
  lea    D32(%rip),%rdi
  call   <warn_user@plt>
  movb   $0x2e,0x0(%r13)
  jmp    L199
L162:
  lea    D23(%rip),%rdi
  call   <warn_user@plt>
L199:
  add    $0x1,%r13
  movzbl 0x0(%r13),%eax
  test   %al,%al
  je     L58
L177:
  cmp    $0x3e,%al
  jg     L188
  cmp    $0x25,%al
  jle    L162
  sub    $0x26,%eax
  cmp    $0x18,%al
  ja     L162
  movzbl %al,%eax
  lea    D18(%rip),%rcx
  movslq (%rcx,%rax,4),%rax
  add    %rcx,%rax
  notrack jmp *%rax
```

tool_calls: name: unpack_data
arguments: tag: D39
type_infered: string
name: unpack_data
arguments: tag: D50
type_infered: string
name: unpack_data
arguments: tag: D20
type_infered: string
name: unpack_data
arguments: tag: D71
type_infered: string
name: unpack_data
arguments: tag: D11
type_infered: string
name: unpack_data
arguments: tag: D32
type_infered: string
name: unpack_data
arguments: tag: D23
type_infered: string

tool: D39: %s

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

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

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

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

tool: D32: character '+' ignored in structure

tool: D23: unrecognized character in constraint structure

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