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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x98(%rbp)
  jmp    L165
L99:
  mov    -0x98(%rbp),%eax
  cltq
  movb   $0x0,-0x70(%rbp,%rax,1)
  addl   $0x1,-0x98(%rbp)
L165:
  cmpl   $0x5b,-0x98(%rbp)
  jle    L99
  movb   $0x41,-0x2f(%rbp)
  movb   $0x33,-0x2b(%rbp)
  movb   $0x48,-0x28(%rbp)
  movb   $0x49,-0x27(%rbp)
  movb   $0x4c,-0x26(%rbp)
  movb   $0x4a,-0x24(%rbp)
  movb   $0x4d,-0x23(%rbp)
  movb   $0x4f,-0x21(%rbp)
  movb   $0x32,-0x1d(%rbp)
  movb   $0x54,-0x1c(%rbp)
  movb   $0x55,-0x1b(%rbp)
  movb   $0x56,-0x1a(%rbp)
  movb   $0x57,-0x19(%rbp)
  movb   $0x58,-0x18(%rbp)
  movb   $0x59,-0x17(%rbp)
  movb   $0x35,-0x16(%rbp)
  movb   $0x31,-0x3f(%rbp)
  movb   $0x53,-0x3e(%rbp)
  movb   $0x45,-0x3d(%rbp)
  movb   $0x5a,-0x3b(%rbp)
  movb   $0x38,-0x38(%rbp)
  jmp    L108
L106:
  lea    -0x90(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x94(%rbp)
  movl   $0x1,-0x9c(%rbp)
  mov    -0x9c(%rbp),%eax
  mov    %eax,-0xa0(%rbp)
  movl   $0x0,-0x98(%rbp)
  jmp    L104
L97:
  mov    -0x98(%rbp),%eax
  cltq
  movzbl -0x90(%rbp,%rax,1),%edx
  mov    -0x94(%rbp),%eax
  sub    -0x98(%rbp),%eax
  sub    $0x1,%eax
  cltq
  movzbl -0x90(%rbp,%rax,1),%eax
  cmp    %al,%dl
  je     L80
  movl   $0x0,-0xa0(%rbp)
L80:
  mov    -0x98(%rbp),%eax
  cltq
  movzbl -0x90(%rbp,%rax,1),%edx
  mov    -0x94(%rbp),%eax
  sub    -0x98(%rbp),%eax
  sub    $0x1,%eax
  cltq
  movzbl -0x90(%rbp,%rax,1),%eax
  movsbl %al,%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  cmp    %al,%dl
  je     L84
  movl   $0x0,-0x9c(%rbp)
L84:
  addl   $0x1,-0x98(%rbp)
L104:
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x98(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x94(%rbp),%xmm0
  movss  D9(%rip),%xmm2
  divss  %xmm2,%xmm0
  comiss %xmm1,%xmm0
  ja     L97
  cmpl   $0x0,-0xa0(%rbp)
  jne    L140
  cmpl   $0x0,-0x9c(%rbp)
  jne    L140
  lea    -0x90(%rbp),%rax
  mov    %rax,%rsi
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L140:
  cmpl   $0x0,-0xa0(%rbp)
  je     L141
  cmpl   $0x0,-0x9c(%rbp)
  jne    L141
  lea    -0x90(%rbp),%rax
  mov    %rax,%rsi
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L141:
  cmpl   $0x0,-0xa0(%rbp)
  jne    L150
  cmpl   $0x0,-0x9c(%rbp)
  je     L150
  lea    -0x90(%rbp),%rax
  mov    %rax,%rsi
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L150:
  cmpl   $0x0,-0xa0(%rbp)
  je     L30
  cmpl   $0x0,-0x9c(%rbp)
  je     L30
  lea    -0x90(%rbp),%rax
  mov    %rax,%rsi
  lea    D59(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L30:
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L108:
  lea    -0x90(%rbp),%rax
  mov    %rax,%rdi
  call   <gets@plt>
  test   %rax,%rax
  jne    L106
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L79
  call   <__stack_chk_fail@plt>
L79:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D9
type_guessed: byte[4]
name: disassemble_data
arguments: data_tag: D54
type_guessed: string
name: disassemble_data
arguments: data_tag: D4
type_guessed: string
name: disassemble_data
arguments: data_tag: D30
type_guessed: string
name: disassemble_data
arguments: data_tag: D59
type_guessed: string
name: disassemble_data
arguments: data_tag: D7
type_guessed: string

tool: {"D9": [0x00,0x00,0x00,0x40]}

tool: D54: %s -- is not a palindrome.

tool: D4: %s -- is a regular palindrome.

tool: D30: %s -- is a mirrored string.

tool: D59: %s -- is a mirrored palindrome.

tool: D7: 


assistant: ```c
int main() {
  char line[25];
  char r[92];
  int pal, rev, i, len;
  for (i = 0; i < 92; i++)
    r[i] = 0;
  r['A'] = 'A';
  r['E'] = '3';
  r['H'] = 'H';
  r['I'] = 'I';
  r['J'] = 'L';
  r['L'] = 'J';
  r['M'] = 'M';
  r['O'] = 'O';
  r['S'] = '2';
  r['T'] = 'T';
  r['U'] = 'U';
  r['V'] = 'V';
  r['W'] = 'W';
  r['X'] = 'X';
  r['Y'] = 'Y';
  r['Z'] = '5';
  r['1'] = '1';
  r['2'] = 'S';
  r['3'] = 'E';
  r['5'] = 'Z';
  r['8'] = '8';
  while (gets(line)) {
    len = strlen(line);
    pal = rev = 1;
    for (i = 0; i < (float)len / 2; i++) {
      if (line[i] != line[len - i - 1])
        pal = 0;
      if (line[i] != r[line[len - i - 1]])
        rev = 0;
    }
    if (!pal && !rev)
      printf("%s -- is not a palindrome.", line);
    if (pal && !rev)
      printf("%s -- is a regular palindrome.", line);
    if (!pal && rev)
      printf("%s -- is a mirrored string.", line);
    if (pal && rev)
      printf("%s -- is a mirrored palindrome.", line);
    printf("\n\n");
  }
  return 0;
}
```