user: What would the C source look like for the assembly code provided here:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D69(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x10(%rbp),%rsi
  lea    -0x14(%rbp),%rcx
  lea    -0x18(%rbp),%rdx
  lea    -0x1c(%rbp),%rax
  mov    %rsi,%r8
  mov    %rax,%rsi
  lea    D64(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0xc(%rbp),%rax
  mov    %rax,%rsi
  lea    D29(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movss  -0xc(%rbp),%xmm0
  movss  -0x1c(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jbe    L101
  lea    D61(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L11
L101:
  movss  -0xc(%rbp),%xmm1
  movss  -0x1c(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jb     L32
  movss  -0xc(%rbp),%xmm0
  movss  -0x18(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jb     L32
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L11
L32:
  movss  -0xc(%rbp),%xmm1
  movss  -0x18(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jb     L61
  movss  -0xc(%rbp),%xmm0
  movss  -0x14(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jb     L61
  lea    D57(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L11
L61:
  movss  -0xc(%rbp),%xmm1
  movss  -0x14(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jb     L76
  movss  -0xc(%rbp),%xmm0
  movss  -0x10(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jb     L76
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L11
L76:
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L11:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L12
  call   <__stack_chk_fail@plt>
L12:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D69
type: string
name: retrieve_data
arguments: data_tag: D64
type: string
name: retrieve_data
arguments: data_tag: D54
type: string
name: retrieve_data
arguments: data_tag: D29
type: string
name: retrieve_data
arguments: data_tag: D61
type: string
name: retrieve_data
arguments: data_tag: D63
type: string
name: retrieve_data
arguments: data_tag: D57
type: string
name: retrieve_data
arguments: data_tag: D48
type: string
name: retrieve_data
arguments: data_tag: D23
type: string

tool: D69: Enter thresholds for A, B, C, D
in that order, decreasing percentages > 

tool: D64: %f%f%f%f

tool: D54: Thank you. Now enter student score (percent) >

tool: D29: %f

tool: D61: Student has an A grade


tool: D63: Student has an B grade


tool: D57: Student has an C grade


tool: D48: Student has an D grade


tool: D23: Student has failed that course


assistant: ```c
int main(void) {
  float a, b, c, d;
  float score;
  printf("Enter thresholds for A, B, C, D\nin that order, decreasing percentages > ");
  scanf("%f%f%f%f", &a, &b, &c, &d);
  printf("Thank you. Now enter student score (percent) >");
  scanf("%f", &score);
  if (score > a)
    printf("Student has an A grade\n");
  else if (score <= a && score >= b)
    printf("Student has an B grade\n");
  else if (score <= b && score >= c)
    printf("Student has an C grade\n");
  else if (score <= c && score >= d)
    printf("Student has an D grade\n");
  else
    printf("Student has failed that course\n");
  return 0;
}
```