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

```asm
<write_ft_info>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,%eax
  mov    %al,-0x2c(%rbp)
  cmpb   $0x53,-0x2c(%rbp)
  jne    L19
  movl   $0x40,-0x14(%rbp)
  movl   $0x40,-0x10(%rbp)
  movl   $0x40,-0xc(%rbp)
  movl   $0x6,-0x4(%rbp)
  jmp    L15
L19:
  cmpb   $0x57,-0x2c(%rbp)
  jne    L101
  movl   $0x80,-0x14(%rbp)
  movl   $0x80,-0x10(%rbp)
  movl   $0x20,-0xc(%rbp)
  movl   $0x6,-0x4(%rbp)
  jmp    L15
L101:
  cmpb   $0x41,-0x2c(%rbp)
  jne    L21
  movl   $0x100,-0x14(%rbp)
  movl   $0x100,-0x10(%rbp)
  movl   $0x80,-0xc(%rbp)
  movl   $0x6,-0x4(%rbp)
  jmp    L15
L21:
  cmpb   $0x42,-0x2c(%rbp)
  jne    L36
  movl   $0x200,-0x14(%rbp)
  movl   $0x100,-0x10(%rbp)
  movl   $0x100,-0xc(%rbp)
  movl   $0x14,-0x4(%rbp)
  jmp    L15
L36:
  cmpb   $0x43,-0x2c(%rbp)
  jne    L98
  movl   $0x200,-0x14(%rbp)
  movl   $0x200,-0x10(%rbp)
  movl   $0x200,-0xc(%rbp)
  movl   $0x14,-0x4(%rbp)
  jmp    L15
L98:
  movsbl -0x2c(%rbp),%eax
  mov    %eax,%esi
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L15:
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x10(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L16
  mov    -0x10(%rbp),%eax
  mov    %eax,-0x8(%rbp)
L16:
  mov    -0xc(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jle    L5
  mov    -0xc(%rbp),%eax
  mov    %eax,-0x8(%rbp)
L5:
  mov    -0x28(%rbp),%rax
  lea    D84(%rip),%rdx
  lea    D50(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    -0xc(%rbp),%edi
  mov    -0x10(%rbp),%esi
  mov    -0x14(%rbp),%edx
  mov    -0x28(%rbp),%rax
  sub    $0x8,%rsp
  mov    -0x8(%rbp),%ecx
  push   %rcx
  mov    %edi,%r9d
  mov    %esi,%r8d
  mov    %edx,%ecx
  lea    D84(%rip),%rdx
  lea    D61(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  add    $0x10,%rsp
  mov    -0x4(%rbp),%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,%ecx
  lea    D84(%rip),%rdx
  lea    D16(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    -0x28(%rbp),%rax
  lea    D84(%rip),%rdx
  lea    D85(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  nop
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D12
datatype: string
name: disassemble_data
arguments: data_tag: D84
datatype: string
name: disassemble_data
arguments: data_tag: D50
datatype: string
name: disassemble_data
arguments: data_tag: D61
datatype: string
name: disassemble_data
arguments: data_tag: D16
datatype: string
name: disassemble_data
arguments: data_tag: D85
datatype: string

tool: D12: setparams: Internal error: invalid class type %c


tool: D84:         

tool: D50: %sinteger nx, ny, nz, maxdim, niter_default, ntotal


tool: D61: %sparameter (nx=%d, ny=%d, nz=%d, maxdim=%d)


tool: D16: %sparameter (niter_default=%d)


tool: D85: %sparameter (ntotal=nx*ny*nz)


assistant: ```c
void write_ft_info(FILE *fp, char class) {
  int nx, ny, nz, maxdim, niter, np_min;
  if (class == 'S') {
    nx = 64;
    ny = 64;
    nz = 64;
    niter = 6;
  } else if (class == 'W') {
    nx = 128;
    ny = 128;
    nz = 32;
    niter = 6;
  } else if (class == 'A') {
    nx = 256;
    ny = 256;
    nz = 128;
    niter = 6;
  } else if (class == 'B') {
    nx = 512;
    ny = 256;
    nz = 256;
    niter = 20;
  } else if (class == 'C') {
    nx = 512;
    ny = 512;
    nz = 512;
    niter = 20;
  } else {
    printf("setparams: Internal error: invalid class type %c\n", class);
    exit(1);
  }
  maxdim = nx;
  if (ny > maxdim)
    maxdim = ny;
  if (nz > maxdim)
    maxdim = nz;
  fprintf(fp, "%sinteger nx, ny, nz, maxdim, niter_default, ntotal\n", "        ");
  fprintf(fp, "%sparameter (nx=%d, ny=%d, nz=%d, maxdim=%d)\n", "        ", nx, ny, nz, maxdim);
  fprintf(fp, "%sparameter (niter_default=%d)\n", "        ", niter);
  fprintf(fp, "%sparameter (ntotal=nx*ny*nz)\n", "        ");
}
```