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

```asm
<main>:
  endbr64
  push   %r13
  lea    D26(%rip),%r13
  push   %r12
  lea    D34(%rip),%r12
  push   %rbp
  lea    D61(%rip),%rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
L59:
  test   %ebx,%ebx
  je     L53
  cmp    $0x1,%ebx
  je     L16
  cmp    $0x2,%ebx
  je     L2
  cmp    $0x3,%ebx
  je     L37
L22:
  add    $0x1,%ebx
  cmp    $0x4,%ebx
  jne    L59
L51:
  lea    D81(%rip),%rdi
  lea    D2(%rip),%rbp
  call   <puts@plt>
  mov    $0x1,%r8d
  mov    $0x1,%ecx
  xor    %eax,%eax
  mov    $0x1,%edx
  mov    $0x1,%esi
  lea    D136(%rip),%rdi
  call   <printf@plt>
  mov    0x4(%rsp),%esi
  mov    $0x5,%edx
  xor    %eax,%eax
  lea    D116(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%esi
  mov    $0xa,%edx
  xor    %eax,%eax
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  mov    $0x5,%edx
  xor    %eax,%eax
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    0x10(%rsp),%esi
  mov    $0x5,%edx
  xor    %eax,%eax
  lea    D137(%rip),%rdi
  call   <printf@plt>
  mov    $0x1d,%esi
  mov    $0x1e,%edx
  xor    %eax,%eax
  lea    D109(%rip),%rdi
  call   <printf@plt>
  movsd  D117(%rip),%xmm0
  mov    $0x1,%eax
  lea    D11(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  mov    $0x41,%esi
  lea    D28(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L34
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nop
L53:
  mov    %r12,%rdi
  call   <puts@plt>
  lea    0x4(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  jmp    L22
L16:
  mov    %r13,%rdi
  call   <puts@plt>
  lea    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  jmp    L22
L2:
  lea    D57(%rip),%rdi
  call   <puts@plt>
  lea    0xc(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
L37:
  lea    D83(%rip),%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rsi
  lea    D61(%rip),%rdi
  call   <scanf@plt>
  jmp    L51
L34:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D26
data_type: string
name: read_data
arguments: data_label: D34
data_type: string
name: read_data
arguments: data_label: D61
data_type: string
name: read_data
arguments: data_label: D81
data_type: string
name: read_data
arguments: data_label: D2
data_type: string
name: read_data
arguments: data_label: D136
data_type: string
name: read_data
arguments: data_label: D116
data_type: string
name: read_data
arguments: data_label: D137
data_type: string
name: read_data
arguments: data_label: D109
data_type: string
name: read_data
arguments: data_label: D117
data_type: f64
name: read_data
arguments: data_label: D11
data_type: string
name: read_data
arguments: data_label: D28
data_type: string
name: read_data
arguments: data_label: D57
data_type: string
name: read_data
arguments: data_label: D83
data_type: string

tool: D26: Test Grade

tool: D34: Assignment Grade

tool: D61: %d

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


tool: D2: %2d/%d	

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


tool: D116: %4d/%d		

tool: D137: %5d/%d


tool: D109: 
Total Points:	%d/%d


tool: D117: 96.67

tool: D11: Average:	%f


tool: D28: Letter Grade:	%c


tool: D57: Quiz Grade

tool: D83: worksheet Grade

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;
}
```