user: 这段汇编代码用C语言表示是什么样的:

```asm
<main>:
  endbr64
  push   %r15
  lea    D36(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x2c8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x2b8(%rsp)
  xor    %eax,%eax
  lea    0x4c(%rsp),%rsi
  call   <scanf@plt>
  mov    0x4c(%rsp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,0x4c(%rsp)
  test   %eax,%eax
  je     L21
  lea    0x50(%rsp),%rax
  lea    D69(%rip),%r13
  mov    %rax,0x18(%rsp)
  lea    0x68(%rsp),%rax
  lea    D1(%rip),%r12
  mov    %rax,0x38(%rsp)
  lea    0x1b2(%rsp),%rax
  mov    %rax,0x28(%rsp)
  lea    0x90(%rsp),%rax
  mov    %rax,0x30(%rsp)
  lea    0x180(%rsp),%rax
  mov    %rax,0x10(%rsp)
  lea    0x70(%rsp),%rax
  mov    %rax,0x20(%rsp)
  nop
L45:
  movq   $0x0,(%rsp)
  mov    0x18(%rsp),%rbx
  mov    0x38(%rsp),%rbp
  nopw   0x0(%rax,%rax,1)
L66:
  mov    %rbx,%rsi
  lea    D36(%rip),%rdi
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x4(%rbx),%xmm0
  addsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  cmp    %rbp,%rbx
  jne    L66
  mov    0x30(%rsp),%r14
  mov    0x28(%rsp),%rbp
  mov    %r14,0x8(%rsp)
  nopl   0x0(%rax)
L24:
  lea    -0x32(%rbp),%r15
  mov    %r14,%rbx
L34:
  mov    %r15,%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    %r12,%rsi
  mov    %r15,%rdi
  call   <strcmp@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L119
L17:
  add    $0xa,%r15
  movsd  %xmm0,(%rbx)
  add    $0x8,%rbx
  cmp    %rbp,%r15
  jne    L34
  lea    0x32(%r15),%rbp
  add    $0x28,%r14
  cmp    0x10(%rsp),%r14
  jne    L24
  mov    0x8(%rsp),%rbx
  mov    0x20(%rsp),%r14
  mov    0x10(%rsp),%r15
  nopl   0x0(%rax,%rax,1)
L1:
  movsd  (%rbx),%xmm2
  movsd  0x8(%rbx),%xmm3
  add    $0x28,%rbx
  add    $0x4,%r14
  movsd  -0x18(%rbx),%xmm1
  movapd %xmm2,%xmm0
  movsd  %xmm2,0x8(%rsp)
  addsd  %xmm3,%xmm0
  addsd  %xmm1,%xmm0
  movq   %xmm0,%rbp
  movapd %xmm3,%xmm0
  call   <min@plt>
  movsd  0x8(%rsp),%xmm2
  movapd %xmm0,%xmm1
  movapd %xmm2,%xmm0
  call   <min@plt>
  movapd %xmm0,%xmm1
  movq   %rbp,%xmm0
  subsd  %xmm1,%xmm0
  movsd  D43(%rip),%xmm1
  mulsd  -0x10(%rbx),%xmm1
  mulsd  D8(%rip),%xmm0
  divsd  D74(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rsp)
  movsd  -0x8(%rbx),%xmm0
  call   <att@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  addsd  0x8(%rsp),%xmm0
  cvttsd2si %xmm0,%rdi
  call   <points@plt>
  mov    %eax,-0x4(%r14)
  cmp    %r15,%rbx
  jne    L1
  mov    0x18(%rsp),%rdi
  mov    0x20(%rsp),%r8
  xor    %eax,%eax
  pxor   %xmm0,%xmm0
  xor    %ecx,%ecx
  mov    $0x1,%esi
  nopl   0x0(%rax)
L109:
  mov    (%r8,%rax,1),%edx
  pxor   %xmm1,%xmm1
  test   %edx,%edx
  cmove  %esi,%ecx
  imul   (%rdi,%rax,1),%edx
  add    $0x4,%rax
  cvtsi2sd %edx,%xmm1
  addsd  %xmm1,%xmm0
  cmp    $0x18,%rax
  jne    L109
  divsd  (%rsp),%xmm0
  cmp    $0x1,%ecx
  je     L89
  lea    D16(%rip),%rdi
  call   <printf@plt>
L99:
  mov    0x4c(%rsp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,0x4c(%rsp)
  test   %eax,%eax
  jne    L45
L21:
  mov    0x2b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L92
  add    $0x2c8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L119:
  mov    %r15,%rdi
  call   <atof@plt>
  jmp    L17
L89:
  lea    D15(%rip),%rdi
  call   <printf@plt>
  jmp    L99
L92:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D36
type: string
name: extract_symbolic_data
arguments: data_label: D69
type: string
name: extract_symbolic_data
arguments: data_label: D1
type: string
name: extract_symbolic_data
arguments: data_label: D43
type: f64
name: extract_symbolic_data
arguments: data_label: D8
type: f32[2]
name: extract_symbolic_data
arguments: data_label: D74
type: f32[2]
name: extract_symbolic_data
arguments: data_label: D16
type: string
name: extract_symbolic_data
arguments: data_label: D15
type: string

tool: D36: %d

tool: D69: %s

tool: D1: ab

tool: D43: 0.5

tool: {"D8": [0.0,3.1015625]}

tool: {"D74": [0.0,3.0625]}

tool: D16: PASSED, %.2lf


tool: D15: FAILED, %.2lf


assistant: ```c
int main() {
  int n;
  int fail = 0;
  int grades[6];
  double sub[6][5];
  int i, j;
  char marks[6][5][10];
  int tot_points[6];
  double gpa;
  scanf("%d", &n);
  while (n--) {
    double total = 0;
    for (i = 0; i < 6; i++) {
      scanf("%d", &grades[i]);
      total += grades[i];
    }
    for (i = 0; i < 6; i++) {
      for (j = 0; j < 5; j++) {
        scanf("%s", marks[i][j]);
        if (strcmp(marks[i][j], "ab") == 0)
          sub[i][j] = 0;
        else
          sub[i][j] = atof(marks[i][j]);
      }
    }
    double sum = 0;
    for (i = 0; i < 6; i++) {
      tot_points[i] = points(((sub[i][0] + sub[i][1] + sub[i][2]) - min(sub[i][0], min(sub[i][1], sub[i][2]))) * 45 / 40 + sub[i][3] * 0.5 + att(sub[i][4]));
    }
    fail = 0;
    for (i = 0; i < 6; i++) {
      if (tot_points[i] == 0)
        fail = 1;
      sum += tot_points[i] * grades[i];
    }
    gpa = (sum * 1.0) / (total * 1.0);
    if (fail == 1)
      printf("FAILED, %.2lf\n", gpa);
    else
      printf("PASSED, %.2lf\n", gpa);
  }
  return 0;
}
```