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

```asm
<check_center>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  movl   $0x0,-0x18(%rbp)
  jmp    L209
L157:
  addq   $0x1,-0x28(%rbp)
L209:
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iskuuhaku@plt>
  test   %rax,%rax
  jne    L157
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L144
  mov    $0x1,%eax
  jmp    L141
L144:
  mov    -0x28(%rbp),%rax
  mov    $0x4,%edx
  lea    D23(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <str2ncmp@plt>
  test   %rax,%rax
  jne    L91
  mov    -0x28(%rbp),%rax
  add    $0x4,%rax
  mov    %rax,-0x10(%rbp)
  jmp    L76
L46:
  addq   $0x1,-0x10(%rbp)
L76:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iskuuhaku@plt>
  test   %rax,%rax
  jne    L46
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L91
  mov    $0x1,%eax
  jmp    L141
L91:
  mov    -0x28(%rbp),%rax
  lea    D30(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strst2@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L45
  mov    -0x8(%rbp),%rax
  sub    $0x1,%rax
  mov    %rax,-0x10(%rbp)
  jmp    L54
L1:
  subq   $0x1,-0x10(%rbp)
L54:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iskuuhaku@plt>
  test   %rax,%rax
  jne    L1
  mov    -0x10(%rbp),%rax
  movzbl 0x1(%rax),%eax
  mov    %al,-0x19(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  movb   $0x0,(%rax)
  mov    -0x28(%rbp),%rax
  lea    D21(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strst2@plt>
  test   %rax,%rax
  jne    L200
  mov    -0x28(%rbp),%rax
  lea    D18(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strst2@plt>
  test   %rax,%rax
  jne    L200
  movl   $0x1,-0x18(%rbp)
L200:
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  movzbl -0x19(%rbp),%eax
  mov    %al,(%rdx)
  jmp    L110
L45:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x14(%rbp),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  jmp    L83
L17:
  subq   $0x1,-0x10(%rbp)
L83:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <iskuuhaku@plt>
  test   %rax,%rax
  jne    L17
  mov    -0x10(%rbp),%rax
  movzbl 0x1(%rax),%eax
  mov    %al,-0x19(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  movb   $0x0,(%rax)
  mov    -0x28(%rbp),%rax
  lea    D21(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strst2@plt>
  test   %rax,%rax
  jne    L182
  mov    -0x28(%rbp),%rax
  lea    D18(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strst2@plt>
  test   %rax,%rax
  jne    L182
  movl   $0x1,-0x18(%rbp)
L182:
  mov    -0x10(%rbp),%rax
  lea    0x1(%rax),%rdx
  movzbl -0x19(%rbp),%eax
  mov    %al,(%rdx)
L110:
  cmpl   $0x0,-0x18(%rbp)
  je     L156
  mov    $0xffffffff,%eax
  jmp    L141
L156:
  mov    $0x0,%eax
L141:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D23
type_infered: string
name: disassemble_data
arguments: label: D30
type_infered: string
name: disassemble_data
arguments: label: D21
type_infered: string
name: disassemble_data
arguments: label: D18
type_infered: string

tool: D23: void

tool: D30: ,

tool: D21:  

tool: D18: 	

assistant: ```c
int check_center(char *s) {
  char *b, *t;
  char bak;
  int naf;
  int len;
  naf = 0;
  while (iskuuhaku(*s)) {
    ++s;
  }
  if (*s == 0) {
    return 1;
  }
  if (str2ncmp(s, "void", 4) == 0) {
    t = s + 4;
    while (iskuuhaku(*t)) {
      ++t;
    }
    if (*t == 0) {
      return 1;
    }
  }
  if ((b = strst2(s, ",")) != 0) {
    t = b - 1;
    while (iskuuhaku(*t)) {
      --t;
    }
    bak = *(t + 1);
    *(t + 1) = (char)0;
    if (strst2(s, " ") || strst2(s, "\t")) {
    } else {
      naf = 1;
    }
    *(t + 1) = bak;
  } else {
    len = strlen(s);
    t = s + len - 1;
    while (iskuuhaku(*t)) {
      --t;
    }
    bak = *(t + 1);
    *(t + 1) = (char)0;
    if (strst2(s, " ") || strst2(s, "\t")) {
    } else {
      naf = 1;
    }
    *(t + 1) = bak;
  }
  if (naf) {
    return -1;
  }
  return 0;
}
```