user: 下面的汇编指令对应的C源代码是什么:

```asm
<cgi_check_strlen_x2>:
  endbr64
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  call   <strlen@plt>
  cmp    $0x41,%eax
  jle    L197
  mov    %rbp,%rsi
  lea    D14(%rip),%rdi
  call   <cgi_error@plt>
  mov    $0x1,%eax
L46:
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  xchg   %ax,%ax
L197:
  movzbl 0x0(%rbp),%eax
  test   %al,%al
  je     L173
  xor    %ebx,%ebx
  xor    %edx,%edx
  xor    %r12d,%r12d
  jmp    L12
  nopl   (%rax)
L163:
  test   %edx,%edx
  jne    L91
  add    $0x1,%r12d
  cmp    $0x21,%r12d
  je     L34
L192:
  add    $0x1,%rbx
  movzbl 0x0(%rbp,%rbx,1),%eax
  test   %al,%al
  je     L173
L12:
  cmp    $0x2f,%al
  jne    L163
  test   %edx,%edx
  jne    L59
  test   %r12d,%r12d
  je     L159
  mov    %rbp,%rdi
  call   <strlen@plt>
  sub    $0x1,%eax
  cmp    %ebx,%eax
  je     L199
  cmp    $0x21,%r12d
  je     L34
  mov    $0x2,%edx
  jmp    L192
  nopl   0x0(%rax)
L91:
  add    $0x1,%edx
  cmp    $0x21,%r12d
  je     L34
  cmp    $0x23,%edx
  jne    L192
  mov    %rbp,%rsi
  lea    D54(%rip),%rdi
  call   <cgi_error@plt>
  mov    $0x1,%eax
  jmp    L46
  nop
L173:
  xor    %eax,%eax
  jmp    L46
  nopw   0x0(%rax,%rax,1)
L34:
  mov    %rbp,%rsi
  lea    D53(%rip),%rdi
  call   <cgi_error@plt>
  mov    $0x1,%eax
  jmp    L46
L59:
  mov    %rbp,%rsi
  lea    D52(%rip),%rdi
  call   <cgi_error@plt>
  mov    $0x1,%eax
  jmp    L46
L159:
  mov    %rbp,%rsi
  lea    D6(%rip),%rdi
  call   <cgi_error@plt>
  mov    $0x1,%eax
  jmp    L46
L199:
  mov    %rbp,%rsi
  lea    D47(%rip),%rdi
  call   <cgi_error@plt>
  mov    $0x1,%eax
  jmp    L46
```

tool_calls: name: parse_data
arguments: tag: D14
type_guessed: string
name: parse_data
arguments: tag: D54
type_guessed: string
name: parse_data
arguments: tag: D53
type_guessed: string
name: parse_data
arguments: tag: D52
type_guessed: string
name: parse_data
arguments: tag: D6
type_guessed: string
name: parse_data
arguments: tag: D47
type_guessed: string

tool: D14: Name exceeds 65 characters limit: %s

tool: D54: Zone or Family part of the name exceed 32 chars limit: %s

tool: D53: Base part of the name exceed 32 chars limit: %s

tool: D52: Zone or Family with base scope should have only one / : %s

tool: D6: Base part of the name is empty in %s

tool: D47: Zone or Family part of the name is empty in %s

assistant: ```c
int cgi_check_strlen_x2(char const *string) {
  int n1, n2, p;
  if (strlen(string) > 65) {
    cgi_error("Name exceeds 65 characters limit: %s", string);
    return 1;
  }
  p = 0;
  n1 = 0;
  n2 = 0;
  while (string[p]) {
    if (string[p] == '/') {
      if (n2 != 0) {
        cgi_error("Zone or Family with base scope should have only one / : %s", string);
        return 1;
      }
      if (n1 == 0) {
        cgi_error("Base part of the name is empty in %s", string);
        return 1;
      }
      if (p == strlen(string) - 1) {
        cgi_error("Zone or Family part of the name is empty in %s", string);
        return 1;
      }
      n2++;
    }
    if (!n2)
      n1++;
    else
      n2++;
    if (n1 > 32) {
      cgi_error("Base part of the name exceed 32 chars limit: %s", string);
      return 1;
    }
    if (n2 > 34) {
      cgi_error("Zone or Family part of the name exceed 32 chars limit: %s", string);
      return 1;
    }
    p++;
  }
  return 0;
}
```