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

```asm
<main>:
  endbr64
  push   %r15
  lea    D37(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    0xc(%rsp),%rsi
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L16
  lea    0x34(%rsp),%r15
  lea    0xb(%rsp),%rbp
  lea    0x10(%rsp),%r14
  lea    D13(%rip),%rbx
  lea    0x14(%rsp),%r13
  lea    0x30(%rsp),%r12
  jmp    L35
  nopl   0x0(%rax)
L121:
  addl   $0x3,0x1c(%rsp)
L128:
  mov    %r13,%rcx
  mov    %rbp,%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x30(%rsp),%ecx
  mov    0x14(%rsp),%edx
  mov    0x24(%rsp),%edi
  mov    0x10(%rsp),%eax
  mov    %ecx,%esi
  sub    0x34(%rsp),%eax
  sub    %edx,%esi
  add    %edx,%edi
  cmp    %edx,%ecx
  mov    %eax,0x20(%rsp)
  mov    %esi,0x40(%rsp)
  mov    0x1c(%rsp),%edx
  mov    %edi,0x24(%rsp)
  jge    L67
  add    $0x3,%edx
  mov    0x3c(%rsp),%ecx
  mov    %edx,0x1c(%rsp)
L93:
  cmp    %edx,%ecx
  jl     L54
  jg     L165
  cmp    %esi,%eax
  jg     L54
  jl     L165
  cmp    0x44(%rsp),%edi
  jg     L54
  jl     L165
  lea    D46(%rip),%rdi
  call   <printf@plt>
  nopl   (%rax)
L84:
  mov    0xc(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0xc(%rsp)
  test   %eax,%eax
  jle    L16
L35:
  mov    %r15,%rcx
  mov    %rbp,%rdx
  mov    %r14,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  movl   $0x0,0x1c(%rsp)
  movl   $0x0,0x3c(%rsp)
  movl   $0x0,0x24(%rsp)
  movl   $0x0,0x44(%rsp)
  call   <scanf@plt>
  mov    0x10(%rsp),%edx
  mov    0x34(%rsp),%eax
  add    %eax,0x44(%rsp)
  mov    %edx,%ecx
  sub    %eax,%ecx
  mov    %ecx,0x20(%rsp)
  mov    %eax,%ecx
  sub    %edx,%ecx
  mov    %ecx,0x40(%rsp)
  cmp    %eax,%edx
  jg     L121
  mov    0x3c(%rsp),%eax
  jge    L79
  add    $0x3,%eax
  mov    %eax,0x3c(%rsp)
  jmp    L128
  nopl   0x0(%rax,%rax,1)
L54:
  lea    D32(%rip),%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0xc(%rsp)
  test   %eax,%eax
  jg     L35
L16:
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L172
  add    $0x58,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L67:
  mov    0x3c(%rsp),%ecx
  jle    L115
  add    $0x3,%ecx
  mov    %ecx,0x3c(%rsp)
  jmp    L93
  nopw   0x0(%rax,%rax,1)
L165:
  lea    D49(%rip),%rdi
  call   <printf@plt>
  jmp    L84
  nopl   0x0(%rax)
L79:
  add    $0x1,%eax
  addl   $0x1,0x1c(%rsp)
  mov    %eax,0x3c(%rsp)
  jmp    L128
  nopl   0x0(%rax)
L115:
  add    $0x1,%edx
  add    $0x1,%ecx
  mov    %edx,0x1c(%rsp)
  mov    %ecx,0x3c(%rsp)
  jmp    L93
L172:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D37
type_infered: string
name: extract_symbolic_data
arguments: data_label: D13
type_infered: string
name: extract_symbolic_data
arguments: data_label: D46
type_infered: string
name: extract_symbolic_data
arguments: data_label: D32
type_infered: string
name: extract_symbolic_data
arguments: data_label: D49
type_infered: string

tool: D37:  %d

tool: D13:  %d %c %d

tool: D46: Penaltis


tool: D32: Time 1


tool: D49: Time 2


assistant: ```c
int main() {
  int N, t1[6], t2[6];
  char x;
  scanf(" %d", &N);
  while (N > 0) {
    t1[3] = 0;
    t2[3] = 0;
    t1[5] = 0;
    t2[5] = 0;
    scanf(" %d %c %d", &t1[0], &x, &t2[1]);
    t1[4] = t1[0] - t2[1];
    t2[4] = t2[1] - t1[0];
    t2[5] += t2[1];
    if (t1[0] > t2[1]) {
      t1[3] += 3;
    } else if (t2[1] > t1[0]) {
      t2[3] += 3;
    } else {
      t1[3] += 1;
      t2[3] += 1;
    }
    scanf(" %d %c %d", &t2[0], &x, &t1[1]);
    t1[4] = t1[0] - t2[1];
    t2[4] = t2[0] - t1[1];
    t1[5] += t1[1];
    if (t1[1] > t2[0]) {
      t1[3] += 3;
    } else if (t2[0] > t1[1]) {
      t2[3] += 3;
    } else {
      t1[3] += 1;
      t2[3] += 1;
    }
    if (t1[3] > t2[3])
      printf("Time 1\n");
    else if (t2[3] > t1[3])
      printf("Time 2\n");
    else {
      if (t1[4] > t2[4])
        printf("Time 1\n");
      else if (t2[4] > t1[4])
        printf("Time 2\n");
      else if (t1[5] > t2[5])
        printf("Time 1\n");
      else if (t2[5] > t1[5])
        printf("Time 2\n");
      else
        printf("Penaltis\n");
    }
    N--;
  }
  return 0;
}
```