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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x88(%rbp)
  lea    -0x8c(%rbp),%rax
  mov    %rax,%rsi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  movl   $0x1,-0x80(%rbp)
  jmp    L59
L19:
  lea    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <gets@plt>
  lea    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x7c(%rbp)
  movl   $0x0,-0x84(%rbp)
  jmp    L219
L72:
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  cmp    $0x20,%al
  jne    L122
  addl   $0x1,-0x88(%rbp)
  jmp    L16
L122:
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  cmp    $0x6f,%al
  jle    L84
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  cmp    $0x73,%al
  jg     L84
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%edx
  mov    $0x25,%ecx
  mov    %ecx,%eax
  imul   %dl
  shr    $0x8,%ax
  sar    $0x4,%al
  mov    %edx,%ecx
  sar    $0x7,%cl
  sub    %ecx,%eax
  mov    $0x6f,%ecx
  imul   %ecx,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  movsbl %al,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0x78(%rbp),%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x74(%rbp)
  cmpl   $0x0,-0x74(%rbp)
  jne    L124
  addl   $0x4,-0x88(%rbp)
  jmp    L16
L124:
  mov    -0x74(%rbp),%eax
  add    %eax,-0x88(%rbp)
  jmp    L16
L84:
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  cmp    $0x76,%al
  jle    L195
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  cmp    $0x7a,%al
  jg     L195
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%edx
  mov    $0xffffff8b,%ecx
  mov    %ecx,%eax
  imul   %dl
  shr    $0x8,%ax
  add    %edx,%eax
  sar    $0x6,%al
  mov    %edx,%ecx
  sar    $0x7,%cl
  sub    %ecx,%eax
  mov    $0x76,%ecx
  imul   %ecx,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  movsbl %al,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0x78(%rbp),%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  mov    %eax,-0x74(%rbp)
  cmpl   $0x0,-0x74(%rbp)
  jne    L130
  addl   $0x4,-0x88(%rbp)
  jmp    L16
L130:
  mov    -0x74(%rbp),%eax
  add    %eax,-0x88(%rbp)
  jmp    L16
L195:
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  cmp    $0x73,%al
  jle    L108
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%eax
  cmp    $0x76,%al
  jg     L108
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%edx
  mov    $0xffffff8f,%ecx
  mov    %ecx,%eax
  imul   %dl
  shr    $0x8,%ax
  add    %edx,%eax
  sar    $0x6,%al
  mov    %edx,%ecx
  sar    $0x7,%cl
  sub    %ecx,%eax
  mov    $0x73,%ecx
  imul   %ecx,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  movsbl %al,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0x78(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  mov    %eax,%esi
  sar    $0x1f,%esi
  mov    %edx,%ecx
  sub    %esi,%ecx
  mov    %ecx,%edx
  add    %edx,%edx
  add    %ecx,%edx
  sub    %edx,%eax
  mov    %eax,-0x74(%rbp)
  cmpl   $0x0,-0x74(%rbp)
  jne    L35
  addl   $0x3,-0x88(%rbp)
  jmp    L16
L35:
  mov    -0x74(%rbp),%eax
  add    %eax,-0x88(%rbp)
  jmp    L16
L108:
  mov    -0x84(%rbp),%eax
  cltq
  movzbl -0x70(%rbp,%rax,1),%edx
  mov    $0x2b,%ecx
  mov    %ecx,%eax
  imul   %dl
  shr    $0x8,%ax
  sar    $0x4,%al
  mov    %edx,%esi
  sar    $0x7,%sil
  sub    %esi,%eax
  mov    %eax,%ecx
  mov    %ecx,%eax
  add    %eax,%eax
  add    %ecx,%eax
  shl    $0x5,%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  movsbl %cl,%eax
  mov    %eax,-0x78(%rbp)
  mov    -0x78(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  mov    %eax,%esi
  sar    $0x1f,%esi
  mov    %edx,%ecx
  sub    %esi,%ecx
  mov    %ecx,%edx
  add    %edx,%edx
  add    %ecx,%edx
  sub    %edx,%eax
  mov    %eax,-0x74(%rbp)
  cmpl   $0x0,-0x74(%rbp)
  jne    L95
  addl   $0x3,-0x88(%rbp)
  jmp    L16
L95:
  mov    -0x74(%rbp),%eax
  add    %eax,-0x88(%rbp)
L16:
  mov    -0x84(%rbp),%eax
  cltq
  movb   $0x0,-0x70(%rbp,%rax,1)
  addl   $0x1,-0x84(%rbp)
L219:
  mov    -0x84(%rbp),%eax
  cmp    -0x7c(%rbp),%eax
  jl     L72
  mov    -0x88(%rbp),%edx
  mov    -0x80(%rbp),%eax
  mov    %eax,%esi
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  movl   $0x0,-0x88(%rbp)
  addl   $0x1,-0x80(%rbp)
L59:
  mov    -0x8c(%rbp),%eax
  cmp    %eax,-0x80(%rbp)
  jle    L19
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L50
  call   <__stack_chk_fail@plt>
L50:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D1
data_type: string
name: extract_symbolic_data
arguments: label: D9
data_type: string

tool: D1: %d

tool: D9: Case #%d: %d


assistant: ```c
int main() {
  char a[101];
  int n, total = 0, i, j, t, len, num, mod;
  scanf("%d", &t);
  getchar();
  for (j = 1; j <= t; j++) {
    gets(a);
    len = strlen(a);
    for (i = 0; i < len; i++) {
      if (a[i] == ' ') {
        total++;
        ;
      } else if (a[i] >= 'p' && a[i] <= 's') {
        num = a[i] % 111;
        mod = num % 4;
        if (mod == 0) {
          total += 4;
        } else {
          total += mod;
        }
      } else if (a[i] >= 'w' && a[i] <= 'z') {
        num = a[i] % 118;
        mod = num % 4;
        if (mod == 0) {
          total += 4;
        } else {
          total += mod;
        }
      } else if (a[i] >= 't' && a[i] <= 'v') {
        num = a[i] % 115;
        mod = num % 3;
        if (mod == 0) {
          total += 3;
        } else {
          total += mod;
        }
      } else {
        num = a[i] % 96;
        mod = num % 3;
        if (mod == 0) {
          total += 3;
        } else {
          total += mod;
        }
      }
      a[i] = '\0';
    }
    printf("Case #%d: %d\n", j, total);
    total = 0;
  }
  return 0;
}
```