user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<urlMayBeRecursive>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x230,%rsp
  mov    %rdi,-0x228(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x228(%rbp),%rax
  mov    %rax,-0x210(%rbp)
  mov    -0x210(%rbp),%rax
  lea    D1(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x210(%rbp)
  cmpq   $0x0,-0x210(%rbp)
  jne    L88
  mov    -0x228(%rbp),%rax
  mov    %rax,%rsi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L125
L88:
  addq   $0x1,-0x210(%rbp)
  addq   $0x1,-0x210(%rbp)
  mov    -0x210(%rbp),%rax
  mov    $0x2f,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x210(%rbp)
  cmpq   $0x0,-0x210(%rbp)
  jne    L25
  mov    -0x228(%rbp),%rax
  mov    %rax,%rsi
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L125
L25:
  addq   $0x1,-0x210(%rbp)
  movl   $0x0,-0x220(%rbp)
  mov    -0x210(%rbp),%rax
  mov    %rax,-0x208(%rbp)
  jmp    L13
L64:
  mov    -0x210(%rbp),%rax
  sub    -0x208(%rbp),%rax
  mov    %eax,-0x214(%rbp)
  cmpl   $0x32,-0x214(%rbp)
  jle    L86
  movl   $0x32,-0x214(%rbp)
L86:
  lea    -0x200(%rbp),%rcx
  mov    -0x220(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  add    %rax,%rax
  add    %rax,%rcx
  mov    -0x214(%rbp),%edx
  mov    -0x208(%rbp),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <strncpy@plt>
  mov    -0x214(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x220(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  add    %rax,%rax
  add    %rbp,%rax
  add    %rcx,%rax
  sub    $0x200,%rax
  movb   $0x0,(%rax)
  addq   $0x1,-0x210(%rbp)
  addl   $0x1,-0x220(%rbp)
  mov    -0x210(%rbp),%rax
  mov    %rax,-0x208(%rbp)
L13:
  mov    -0x210(%rbp),%rax
  mov    $0x2f,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x210(%rbp)
  cmpq   $0x0,-0x210(%rbp)
  je     L53
  cmpl   $0x9,-0x220(%rbp)
  jle    L64
L53:
  movl   $0x0,-0x21c(%rbp)
  jmp    L98
L92:
  movl   $0x0,-0x218(%rbp)
  jmp    L143
L70:
  mov    -0x21c(%rbp),%eax
  cmp    -0x218(%rbp),%eax
  je     L23
  lea    -0x200(%rbp),%rcx
  mov    -0x218(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  add    %rax,%rax
  lea    (%rcx,%rax,1),%rdx
  lea    -0x200(%rbp),%rsi
  mov    -0x21c(%rbp),%eax
  movslq %eax,%rcx
  mov    %rcx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  add    %rcx,%rax
  add    %rax,%rax
  add    %rsi,%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L23
  lea    -0x200(%rbp),%rcx
  mov    -0x218(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  add    %rax,%rax
  lea    (%rcx,%rax,1),%rdi
  lea    -0x200(%rbp),%rcx
  mov    -0x21c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  add    %rax,%rax
  lea    (%rcx,%rax,1),%rsi
  mov    -0x218(%rbp),%ecx
  mov    -0x21c(%rbp),%edx
  mov    -0x228(%rbp),%rax
  mov    %ecx,%r9d
  mov    %rdi,%r8
  mov    %edx,%ecx
  mov    %rsi,%rdx
  mov    %rax,%rsi
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L125
L23:
  addl   $0x1,-0x218(%rbp)
L143:
  mov    -0x218(%rbp),%eax
  cmp    -0x220(%rbp),%eax
  jl     L70
  addl   $0x1,-0x21c(%rbp)
L98:
  mov    -0x21c(%rbp),%eax
  cmp    -0x220(%rbp),%eax
  jl     L92
  mov    $0x0,%eax
L125:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L112
  call   <__stack_chk_fail@plt>
L112:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D1
type: string
name: extract_symbolic_data
arguments: label: D31
type: string
name: extract_symbolic_data
arguments: label: D15
type: string

tool: D1: //

tool: D31: urlMayBeRecursive: bad formated url "%s".


tool: D15: urlMayBeRecursive: url "%s" have recursive folder "%s", nr %i == "%s", nr %i


assistant: ```c
int urlMayBeRecursive(const char url[]) {
  const char *p, *last;
  char directories[10][50];
  int i, y, z, len;
  p = url;
  if ((p = strstr(p, "//")) == NULL) {
    printf("urlMayBeRecursive: bad formated url \"%s\".\n", url);
    return 1;
  }
  ++p;
  ++p;
  if ((p = strchr(p, '/')) == NULL) {
    printf("urlMayBeRecursive: bad formated url \"%s\".\n", url);
    return 1;
  }
  ++p;
  i = 0;
  last = p;
  while (((p = strchr(p, '/')) != NULL) && (i < 10)) {
    len = p - last;
    if (len > 50) {
      len = 50;
    }
    strncpy(directories[i], last, len);
    directories[i][len] = '\0';
    ++p;
    ++i;
    last = p;
  }
  for (y = 0; y < i; y++) {
    for (z = 0; z < i; z++) {
      if (y != z) {
        if (strcmp(directories[y], directories[z]) == 0) {
          printf("urlMayBeRecursive: url \"%s\" have recursive folder \"%s\", nr %i == \"%s\", nr %i\n", url, directories[y], y, directories[z], z);
          return 1;
        }
      }
    }
  }
  return 0;
}
```