user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  sub    $0x18,%rsp
  lea    D43(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  movb   $0x61,0x3(%rsp)
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  lea    D87(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D95(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x3(%rsp),%rsi
  lea    D111(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  movsbl 0x3(%rsp),%edi
  call   <tolower@plt>
  lea    D82(%rip),%rdi
  mov    %al,0x3(%rsp)
  call   <puts@plt>
  movzbl 0x3(%rsp),%eax
  cmp    $0x73,%al
  je     L80
  cmp    $0x63,%al
  je     L68
  lea    D97(%rip),%rdi
  call   <puts@plt>
L0:
  lea    D108(%rip),%rdi
  call   <puts@plt>
  movzbl 0x3(%rsp),%eax
  cmp    $0x63,%al
  je     L28
  cmp    $0x73,%al
  jne    L49
  movss  0x4(%rsp),%xmm0
  call   <sin@plt>
  lea    D77(%rip),%rdi
  mov    $0x2,%eax
  movapd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  call   <printf@plt>
L58:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L72
  xor    %eax,%eax
  add    $0x18,%rsp
  ret
L28:
  movss  0x4(%rsp),%xmm0
  call   <cos@plt>
  lea    D104(%rip),%rdi
  mov    $0x2,%eax
  movapd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  call   <printf@plt>
  jmp    L58
L49:
  lea    D97(%rip),%rdi
  call   <puts@plt>
  jmp    L58
L68:
  movss  0x4(%rsp),%xmm0
  call   <cos@plt>
  lea    D104(%rip),%rdi
  mov    $0x2,%eax
  movapd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  call   <printf@plt>
  jmp    L0
L80:
  movss  0x4(%rsp),%xmm0
  call   <sin@plt>
  lea    D77(%rip),%rdi
  mov    $0x2,%eax
  movapd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  call   <printf@plt>
  jmp    L0
L72:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D43
datatype: string
name: extract_symbolic_data
arguments: data_tag: D87
datatype: string
name: extract_symbolic_data
arguments: data_tag: D95
datatype: string
name: extract_symbolic_data
arguments: data_tag: D111
datatype: string
name: extract_symbolic_data
arguments: data_tag: D82
datatype: string
name: extract_symbolic_data
arguments: data_tag: D97
datatype: string
name: extract_symbolic_data
arguments: data_tag: D108
datatype: string
name: extract_symbolic_data
arguments: data_tag: D77
datatype: string
name: extract_symbolic_data
arguments: data_tag: D104
datatype: string

tool: D43: Enter the Vaule of Radian: 

tool: D87: %f

tool: D95: Enter the Trignometric Function to be performed: 

tool: D111: %s

tool: D82: Part 1: 

tool: D97: Wrong Input 

tool: D108: Part 2: 

tool: D77: sin(%.2f) = %.2f 


tool: D104: cos(%.2f) = %.2f 


assistant: ```c
int main() {
  float t;
  char a = 'a';
  printf("Enter the Vaule of Radian: ");
  scanf("%f", &t);
  printf("Enter the Trignometric Function to be performed: ");
  scanf("%s", &a);
  a = tolower(a);
  printf("Part 1: \n");
  if (a == 's')
    printf("sin(%.2f) = %.2f \n", t, sin(t));
  else if (a == 'c')
    printf("cos(%.2f) = %.2f \n", t, cos(t));
  else
    printf("Wrong Input \n");
  printf("Part 2: \n");
  switch (a) {
  case 's':
    printf("sin(%.2f) = %.2f \n", t, sin(t));
    break;
  case 'c':
    printf("cos(%.2f) = %.2f \n", t, cos(t));
    break;
  default:
    printf("Wrong Input \n");
    break;
  }
  return 0;
}
```