user: What is the c source code of the assembly code below?

```asm
<write_bt_info>:
  endbr64
  lea    -0x41(%rsi),%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  cmp    $0x16,%al
  ja     L44
  lea    D23(%rip),%rdx
  movzbl %al,%eax
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  nopw   0x0(%rax,%rax,1)
L44:
  lea    D72(%rip),%rdi
  movsbl %sil,%esi
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L1:
  lea    D57(%rip),%r12
  mov    %rbp,%rdi
  lea    D82(%rip),%rsi
  xor    %eax,%eax
  mov    %r12,%rdx
  call   <fprintf@plt>
  mov    %r14d,%ecx
  mov    %ebx,%r8d
  mov    %r12,%rdx
  mov    %rbp,%rdi
  lea    D90(%rip),%rsi
  xor    %eax,%eax
  call   <fprintf@plt>
  mov    %r12,%rdx
  mov    %rbp,%rdi
  xor    %eax,%eax
  lea    D42(%rip),%rsi
  call   <fprintf@plt>
  pop    %rbx
  mov    %r13,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rdi
  lea    D96(%rip),%rsi
  pop    %rbp
  xor    %eax,%eax
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1080 <fprintf@plt>
  nopw   0x0(%rax,%rax,1)
  lea    D84(%rip),%r13
  mov    $0xc8,%ebx
  mov    $0x40,%r14d
  jmp    L1
  nop
  lea    D86(%rip),%r13
  mov    $0xc8,%ebx
  mov    $0x66,%r14d
  jmp    L1
  nopw   0x0(%rax,%rax,1)
  lea    D20(%rip),%r13
  mov    $0xc8,%ebx
  mov    $0xa2,%r14d
  jmp    L1
  nopw   0x0(%rax,%rax,1)
  lea    D105(%rip),%r13
  mov    $0x3c,%ebx
  mov    $0xc,%r14d
  jmp    L1
  nopw   0x0(%rax,%rax,1)
  lea    D84(%rip),%r13
  mov    $0xc8,%ebx
  mov    $0x18,%r14d
  jmp    L1
```

tool_calls: name: unpack_data
arguments: data_tag: D72
data_type: string
name: unpack_data
arguments: data_tag: D57
data_type: string
name: unpack_data
arguments: data_tag: D82
data_type: string
name: unpack_data
arguments: data_tag: D90
data_type: string
name: unpack_data
arguments: data_tag: D42
data_type: string
name: unpack_data
arguments: data_tag: D96
data_type: string
name: unpack_data
arguments: data_tag: D84
data_type: string
name: unpack_data
arguments: data_tag: D86
data_type: string
name: unpack_data
arguments: data_tag: D20
data_type: string
name: unpack_data
arguments: data_tag: D105
data_type: string

tool: D72: setparams: Internal error: invalid class %c


tool: D57:         

tool: D82: %sinteger problem_size, niter_default


tool: D90: %sparameter (problem_size=%d, niter_default=%d)


tool: D42: %sdouble precision dt_default


tool: D96: %sparameter (dt_default = %s)


tool: D84: 0.0008d0

tool: D86: 0.0003d0

tool: D20: 0.0001d0

tool: D105: 0.010d0

assistant: ```c
void write_bt_info(FILE *fp, char class) {
  int problem_size, niter;
  char *dt;
  if (class == 'S') {
    problem_size = 12;
    dt = "0.010d0";
    niter = 60;
  } else if (class == 'W') {
    problem_size = 24;
    dt = "0.0008d0";
    niter = 200;
  } else if (class == 'A') {
    problem_size = 64;
    dt = "0.0008d0";
    niter = 200;
  } else if (class == 'B') {
    problem_size = 102;
    dt = "0.0003d0";
    niter = 200;
  } else if (class == 'C') {
    problem_size = 162;
    dt = "0.0001d0";
    niter = 200;
  } else {
    printf("setparams: Internal error: invalid class %c\n", class);
    exit(1);
  }
  fprintf(fp, "%sinteger problem_size, niter_default\n", "        ");
  fprintf(fp, "%sparameter (problem_size=%d, niter_default=%d)\n", "        ", problem_size, niter);
  fprintf(fp, "%sdouble precision dt_default\n", "        ");
  fprintf(fp, "%sparameter (dt_default = %s)\n", "        ", dt);
}
```