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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x12000(%rsp),%r11
L238:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L238
  sub    $0xec8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x12eb8(%rsp)
  xor    %eax,%eax
  lea    0x18(%rsp),%rsi
  lea    D43(%rip),%rdi
  call   <scanf@plt>
  cmpq   $0x0,0x18(%rsp)
  jle    L42
  movq   $0x0,0x8(%rsp)
  lea    D36(%rip),%r15
  lea    D43(%rip),%r13
  jmp    L263
L221:
  add    $0x8,%rax
  cmp    %rdi,%rax
  je     L220
L192:
  mov    -0x8(%rax),%rdx
  mov    (%rax),%rcx
  cmp    %rcx,%rdx
  jle    L221
  mov    %rcx,-0x8(%rax)
  mov    %rdx,(%rax)
  jmp    L221
L225:
  add    $0x1,%rax
  cmp    %rax,%rsi
  je     L71
L102:
  cmp    (%rcx,%rax,8),%rdx
  jne    L225
  mov    %rax,(%rdi)
  jmp    L225
L71:
  add    $0x8,%r8
  add    $0x8,%rdi
  cmp    %r9,%r8
  je     L270
L184:
  mov    (%r8),%rdx
  mov    $0x0,%eax
  jmp    L102
L42:
  mov    0x12eb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L80
  mov    $0x0,%eax
  add    $0x12ec8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L219:
  cmpq   $0x0,0x20(%rsp)
  jg     L129
  jmp    L168
L270:
  cmpq   $0x0,0x20(%rsp)
  jle    L135
L129:
  mov    $0x0,%ebp
L256:
  lea    0x30(%rsp),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x28(%rsp),%rdx
  test   %rdx,%rdx
  jle    L189
  mov    0x30(%rsp),%rsi
  mov    $0x0,%eax
  lea    0x1fb0(%rsp),%rcx
L231:
  cmp    %rsi,(%rcx,%rax,8)
  cmove  %rax,%rbx
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L231
L189:
  lea    0x38(%rsp),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x38(%rsp),%rax
  mov    0x3f20(%rsp,%rbx,8),%rdx
  cmp    %rdx,%rax
  cmovl  %rdx,%rax
  mov    %rax,0x3f20(%rsp,%rbx,8)
  add    $0x1,%rbp
  cmp    %rbp,0x20(%rsp)
  jg     L256
L168:
  cmpq   $0x0,0x28(%rsp)
  jle    L177
L135:
  mov    $0x0,%ebp
  lea    0x7e00(%rsp),%r12
L97:
  mov    0x5e90(%rsp,%rbp,8),%rax
  lea    (%rax,%rax,2),%rax
  mov    %rax,%rsi
  shl    $0x4,%rsi
  sub    %rax,%rsi
  add    %r12,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x3f20(%rsp,%rbp,8),%rsi
  lea    D42(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbp
  cmp    %rbp,0x28(%rsp)
  jg     L97
L177:
  addq   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%rax
  cmp    %rax,0x18(%rsp)
  jle    L42
L263:
  lea    0x20(%rsp),%rdx
  lea    0x28(%rsp),%rsi
  lea    D39(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpq   $0x0,0x28(%rsp)
  jle    L219
  lea    0x7e00(%rsp),%r12
  mov    $0x0,%ebp
L187:
  lea    0x40(%rsp),%r14
  lea    (%r14,%rbp,8),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    (%r14,%rbp,8),%rax
  mov    %rax,0x1fb0(%rsp,%rbp,8)
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    %r12,%rdi
  call   <gets@plt>
  movq   $0x0,0x3f20(%rsp,%rbp,8)
  add    $0x1,%rbp
  mov    0x28(%rsp),%rsi
  add    $0x2d,%r12
  cmp    %rbp,%rsi
  jg     L187
  test   %rsi,%rsi
  jle    L219
  lea    -0x1(%rsi),%r10
  lea    0x1fb0(%rsp),%r8
  lea    (%r8,%rsi,8),%r9
  mov    %r9,%rdi
  jmp    L144
L220:
  sub    $0x1,%r10
  sub    $0x8,%rdi
L144:
  lea    0x1fb8(%rsp),%rax
  test   %r10,%r10
  jg     L192
  sub    $0x1,%r10
  sub    $0x8,%rdi
  cmp    $0xffffffffffffffff,%r10
  jne    L144
  lea    0x5e90(%rsp),%rdi
  lea    0x40(%rsp),%rcx
  jmp    L184
L80:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D43
type_infered: string
name: parse_data
arguments: data_label: D36
type_infered: string
name: parse_data
arguments: data_label: D42
type_infered: string
name: parse_data
arguments: data_label: D39
type_infered: string

tool: D43: %lld

tool: D36: %s 

tool: D42: %lld


tool: D39: %lld %lld

assistant: ```c
int main() {
  long long int q, w, n, m, i, rn[1005], ron[1005], temp, mark[1005], roll, p, j, marks, name[1005];
  char nm[1005][45], x;
  scanf("%lld", &q);
  for (w = 0; w < q; w++) {
    scanf("%lld %lld", &m, &n);
    for (i = 0; i < m; i++) {
      scanf("%lld", &rn[i]);
      ron[i] = rn[i];
      x = getchar();
      gets(nm[i]);
      mark[i] = 0;
    }
    for (i = 0; i < m; i++) {
      for (j = 0; j < m - i - 1; j++) {
        if (ron[j] > ron[j + 1]) {
          temp = ron[j];
          ron[j] = ron[j + 1];
          ron[j + 1] = temp;
        }
      }
    }
    for (i = 0; i < m; i++) {
      for (j = 0; j < m; j++) {
        if (ron[i] == rn[j])
          name[i] = j;
      }
    }
    for (i = 0; i < n; i++) {
      scanf("%lld", &roll);
      for (j = 0; j < m; j++) {
        if (roll == ron[j])
          p = j;
      }
      scanf("%lld", &marks);
      if (marks > mark[p])
        mark[p] = marks;
    }
    for (i = 0; i < m; i++) {
      j = name[i];
      printf("%s ", nm[j]);
      printf("%lld\n", mark[i]);
    }
  }
  return 0;
}
```