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

```asm
<main>:
  endbr64
  push   %r15
  lea    D23(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x2a8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x298(%rsp)
  xor    %eax,%eax
  lea    0x1c(%rsp),%rsi
  call   <scanf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    0x160(%rsp),%rax
  mov    %rax,0x8(%rsp)
  mov    0x1c(%rsp),%eax
  test   %eax,%eax
  jle    L35
  xor    %ebx,%ebx
  lea    0x20(%rsp),%r14
  lea    0xc0(%rsp),%r13
  lea    D8(%rip),%r15
  jmp    L43
  nopl   0x0(%rax)
L81:
  mov    %ebx,%esi
  mov    %r15,%rdi
  call   <printf@plt>
L41:
  cmp    %ebx,0x1c(%rsp)
  jle    L35
L43:
  mov    %r14,%rdi
  add    $0x1,%ebx
  call   <gets@plt>
  mov    %r13,%rdi
  call   <gets@plt>
  mov    %r14,%rdi
  call   <strlen@plt>
  mov    %r13,%rdi
  mov    %eax,%r12d
  call   <strlen@plt>
  mov    %r13,%rsi
  mov    %r14,%rdi
  mov    %eax,%ebp
  call   <strcmp@plt>
  test   %rax,%rax
  je     L81
  xor    %ecx,%ecx
  test   %r12d,%r12d
  jle    L44
  lea    -0x1(%r12),%edx
  mov    %r14,%rax
  xor    %ecx,%ecx
  lea    0x21(%rsp,%rdx,1),%rdi
  nopw   0x0(%rax,%rax,1)
L120:
  movzbl (%rax),%edx
  cmp    $0x20,%dl
  je     L33
  movslq %ecx,%rsi
  add    $0x1,%ecx
  mov    %dl,0x160(%rsp,%rsi,1)
L33:
  add    $0x1,%rax
  cmp    %rdi,%rax
  jne    L120
L44:
  movslq %ecx,%rcx
  movb   $0x0,0x160(%rsp,%rcx,1)
  test   %ebp,%ebp
  jle    L29
  lea    -0x1(%rbp),%edx
  mov    %r13,%rax
  xor    %ecx,%ecx
  lea    0xc1(%rsp,%rdx,1),%rdi
  nopl   0x0(%rax)
L42:
  movzbl (%rax),%edx
  cmp    $0x20,%dl
  je     L1
  movslq %ecx,%rsi
  add    $0x1,%ecx
  mov    %dl,0x200(%rsp,%rsi,1)
L1:
  add    $0x1,%rax
  cmp    %rdi,%rax
  jne    L42
L74:
  mov    0x8(%rsp),%rsi
  movslq %ecx,%rcx
  lea    0x200(%rsp),%rdi
  movb   $0x0,0x200(%rsp,%rcx,1)
  call   <strcmp@plt>
  mov    %ebx,%esi
  test   %rax,%rax
  jne    L40
  lea    D9(%rip),%rdi
  call   <printf@plt>
  cmp    %ebx,0x1c(%rsp)
  jg     L43
L35:
  mov    0x298(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L145
  add    $0x2a8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L40:
  lea    D2(%rip),%rdi
  call   <printf@plt>
  jmp    L41
L29:
  xor    %ecx,%ecx
  jmp    L74
L145:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D23
type: string
name: retrieve_data
arguments: tag: D8
type: string
name: retrieve_data
arguments: tag: D9
type: string
name: retrieve_data
arguments: tag: D2
type: string

tool: D23: %d

tool: D8: Case %d: Yes


tool: D9: Case %d: Output Format Error


tool: D2: Case %d: Wrong Answer


assistant: ```c
int main() {
  int n, i, j, k, len1, len2;
  char to[150], jo[150], ao[150], aoj[150];
  scanf("%d", &n);
  getchar();
  for (i = 0; i < n; i++) {
    gets(to);
    gets(jo);
    len1 = strlen(to);
    len2 = strlen(jo);
    if (strcmp(to, jo) == 0) {
      printf("Case %d: Yes\n", i + 1);
    } else {
      k = 0;
      for (j = 0; j < len1; j++) {
        if (to[j] != ' ') {
          ao[k] = to[j];
          k++;
        }
      }
      ao[k] = '\0';
      k = 0;
      for (j = 0; j < len2; j++) {
        if (jo[j] != ' ') {
          aoj[k] = jo[j];
          k++;
        }
      }
      aoj[k] = '\0';
      if (strcmp(aoj, ao) == 0)
        printf("Case %d: Output Format Error\n", i + 1);
      else
        printf("Case %d: Wrong Answer\n", i + 1);
    }
  }
  return 0;
}
```