user: 下面的汇编指令对应的C源代码是什么：

```asm
<main>:
  endbr64
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x20(%rsp),%rcx
  lea    0x18(%rsp),%rdx
  lea    0x10(%rsp),%rsi
  lea    0x28(%rsp),%r8
  lea    D172(%rip),%rdi
  call   <scanf@plt>
  movsd  0x10(%rsp),%xmm0
  addsd  %xmm0,%xmm0
  movsd  D98(%rip),%xmm1
  mulsd  0x18(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  D119(%rip),%xmm1
  mulsd  0x20(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  addsd  0x28(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  divsd  D21(%rip),%xmm0
  lea    D69(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  D35(%rip),%xmm0
  comisd 0x8(%rsp),%xmm0
  ja     L12
  movsd  0x8(%rsp),%xmm3
  comisd D99(%rip),%xmm3
  jae    L69
  lea    D55(%rip),%rdi
  call   <puts@plt>
  lea    0x30(%rsp),%rsi
  lea    D62(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movsd  0x30(%rsp),%xmm0
  lea    D171(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  D21(%rip),%xmm0
  mulsd  0x30(%rsp),%xmm0
  addsd  0x8(%rsp),%xmm0
  comisd D134(%rip),%xmm0
  jb     L34
  lea    D145(%rip),%rdi
  call   <puts@plt>
L32:
  movsd  D21(%rip),%xmm0
  mulsd  0x30(%rsp),%xmm0
  addsd  0x8(%rsp),%xmm0
  divsd  D134(%rip),%xmm0
  lea    D29(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L22:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L21
  mov    $0x0,%eax
  add    $0x48,%rsp
  ret
L12:
  lea    D128(%rip),%rdi
  call   <puts@plt>
  jmp    L22
L69:
  lea    D145(%rip),%rdi
  call   <puts@plt>
  jmp    L22
L34:
  lea    D128(%rip),%rdi
  call   <puts@plt>
  jmp    L32
L21:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D172
datatype: string
name: retrieve_data
arguments: data_tag: D98
datatype: byte[8]
name: retrieve_data
arguments: data_tag: D119
datatype: byte[8]
name: retrieve_data
arguments: data_tag: D21
datatype: byte[8]
name: retrieve_data
arguments: data_tag: D69
datatype: string
name: retrieve_data
arguments: data_tag: D35
datatype: byte[8]
name: retrieve_data
arguments: data_tag: D99
datatype: byte[16]
name: retrieve_data
arguments: data_tag: D55
datatype: string
name: retrieve_data
arguments: data_tag: D62
datatype: string
name: retrieve_data
arguments: data_tag: D171
datatype: string
name: retrieve_data
arguments: data_tag: D134
datatype: f64
name: retrieve_data
arguments: data_tag: D145
datatype: string
name: retrieve_data
arguments: data_tag: D29
datatype: string
name: retrieve_data
arguments: data_tag: D128
datatype: string

tool: D172: %lf %lf %lf %lf

tool: {"D98": [0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x40]}

tool: {"D119": [0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x40]}

tool: {"D21": [0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40]}

tool: D69: Media: %.1lf


tool: {"D35": [0x00,0x00,0x00,0x00,0x00,0x00,0x49,0x40]}

tool: {"D99": [0x00,0x00,0x00,0x00,0x00,0x80,0x51,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0x40]}

tool: D55: Aluno em exame.

tool: D62: %lf

tool: D171: Nota do exame: %.1lf


tool: D134: 20

tool: D145: Aluno aprovado.

tool: D29: Media final: %.1lf


tool: D128: Aluno reprovado.

assistant: ```c
int main() {
  double a, b, c, d, e, f;
  scanf("%lf %lf %lf %lf", &a, &b, &c, &d);
  f = 2 * a + 3 * b + 4 * c + d;
  printf("Media: %.1lf\n", f / 10);
  if (f < 50) {
    printf("Aluno reprovado.\n");
    return 0;
  }
  if (f >= 70) {
    printf("Aluno aprovado.\n");
    return 0;
  }
  printf("Aluno em exame.\n");
  scanf("%lf", &e);
  printf("Nota do exame: %.1lf\n", e);
  if (f + 10 * e >= 20.0)
    printf("Aluno aprovado.\n");
  else
    printf("Aluno reprovado.\n");
  printf("Media final: %.1lf\n", (f + 10 * e) / 20);
  return 0;
}
```