user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  movl   $0x1,-0x48(%rbp)
  movl   $0x1,-0x44(%rbp)
  movl   $0x1,-0x40(%rbp)
  movl   $0x1,-0x3c(%rbp)
  movl   $0x5,-0x38(%rbp)
  movl   $0xa,-0x34(%rbp)
  movl   $0x5,-0x30(%rbp)
  movl   $0xa,-0x2c(%rbp)
  movl   $0x0,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x28(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r8
  mov    $0x0,%r9d
  movslq %eax,%rdx
  mov    %rdx,%rsi
  mov    $0x0,%edi
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%ecx
  mov    $0x0,%edx
  div    %rcx
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L53:
  cmp    %rdx,%rsp
  je     L44
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L53
L44:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L91
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L91:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x20(%rbp)
  jmp    L78
L23:
  cmpl   $0x0,-0x4c(%rbp)
  jne    L52
  lea    D132(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rsi
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
L52:
  cmpl   $0x1,-0x4c(%rbp)
  jne    L40
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rsi
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
L40:
  cmpl   $0x2,-0x4c(%rbp)
  jne    L71
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rsi
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
L71:
  cmpl   $0x3,-0x4c(%rbp)
  jne    L54
  lea    D160(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rsi
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
L54:
  addl   $0x1,-0x4c(%rbp)
L78:
  cmpl   $0x3,-0x4c(%rbp)
  jle    L23
  lea    D29(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x3c(%rbp),%esi
  mov    -0x40(%rbp),%ecx
  mov    -0x44(%rbp),%edx
  mov    -0x48(%rbp),%eax
  mov    %esi,%r8d
  mov    %eax,%esi
  lea    D157(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%rax
  mov    (%rax),%eax
  mov    -0x38(%rbp),%edx
  mov    %eax,%esi
  lea    D96(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%rax
  mov    0x4(%rax),%eax
  mov    -0x34(%rbp),%edx
  mov    %eax,%esi
  lea    D113(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%rax
  mov    0x8(%rax),%eax
  mov    -0x30(%rbp),%edx
  mov    %eax,%esi
  lea    D113(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%rax
  mov    0xc(%rax),%eax
  mov    -0x30(%rbp),%edx
  mov    %eax,%esi
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1e,%edx
  mov    $0x1d,%esi
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    D0(%rip),%rax
  movq   %rax,%xmm0
  lea    D112(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x41,%esi
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    %rbx,%rsp
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L61
  call   <__stack_chk_fail@plt>
L61:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D132
data_type: string
name: extract_symbolic_data
arguments: data_label: D30
data_type: string
name: extract_symbolic_data
arguments: data_label: D42
data_type: string
name: extract_symbolic_data
arguments: data_label: D54
data_type: string
name: extract_symbolic_data
arguments: data_label: D160
data_type: string
name: extract_symbolic_data
arguments: data_label: D29
data_type: string
name: extract_symbolic_data
arguments: data_label: D157
data_type: string
name: extract_symbolic_data
arguments: data_label: D96
data_type: string
name: extract_symbolic_data
arguments: data_label: D113
data_type: string
name: extract_symbolic_data
arguments: data_label: D48
data_type: string
name: extract_symbolic_data
arguments: data_label: D12
data_type: string
name: extract_symbolic_data
arguments: data_label: D0
data_type: f64
name: extract_symbolic_data
arguments: data_label: D112
data_type: string
name: extract_symbolic_data
arguments: data_label: D10
data_type: string

tool: D132: Assignment Grade

tool: D30: %d

tool: D42: Test Grade

tool: D54: Quiz Grade

tool: D160: worksheet Grade

tool: D29: Grade Report for: Donald A. Huskey


tool: D157: Assignment %d	Test %d	Quiz %d	Worksheet %d


tool: D96: %4d/%d		

tool: D113: %2d/%d	

tool: D48: %5d/%d


tool: D12: 
Total Points:	%d/%d


tool: D0: 96.67

tool: D112: Average:	%f


tool: D10: Letter Grade:	%c


assistant: ```c
int main() {
  int assingment = 01, test = 01, quiz = 01, worksheet = 01;
  int assingmentOut = 5, testOut = 10, quizout = 5, worksheetout = 10;
  int n = 0;
  int grade[n];
  for (; n < 4; n++) {
    if (n == 0) {
      printf("Assignment Grade\n");
      scanf("%d", &grade[n]);
    }
    if (n == 1) {
      printf("Test Grade\n");
      scanf("%d", &grade[n]);
    }
    if (n == 2) {
      printf("Quiz Grade\n");
      scanf("%d", &grade[n]);
    }
    if (n == 3) {
      printf("worksheet Grade\n");
      scanf("%d", &grade[n]);
    }
  }
  printf("Grade Report for: Donald A. Huskey\n\n");
  printf("Assignment %d\tTest %d\tQuiz %d\tWorksheet %d\n", assingment, test, quiz, worksheet);
  printf("%4d/%d\t\t", grade[0], assingmentOut);
  printf("%2d/%d\t", grade[1], testOut);
  printf("%2d/%d\t", grade[2], quizout);
  printf("%5d/%d\n", grade[3], quizout);
  printf("\nTotal Points:\t%d/%d\n", 29, 30);
  printf("Average:\t%f\n", 96.67);
  printf("Letter Grade:\t%c\n", 'A');
  return 0;
}
```