user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  movl   $0x0,(%rsp)
  movl   $0x0,0x4(%rsp)
  lea    D121(%rip),%rdi
  call   <puts@plt>
  lea    D107(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rsp,%rsi
  lea    D44(%rip),%rbx
  mov    %rbx,%rdi
  call   <scanf_s@plt>
  lea    D74(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf_s@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D75(%rip),%rdi
  call   <puts@plt>
  lea    D128(%rip),%rdi
  call   <puts@plt>
  lea    D102(%rip),%rdi
  call   <puts@plt>
  lea    D83(%rip),%rdi
  call   <puts@plt>
  lea    D114(%rip),%rdi
  call   <puts@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x0,%eax
  call   <getch@plt>
  cmp    $0x2d,%eax
  je     L23
  jg     L5
  cmp    $0x2a,%eax
  je     L66
  cmp    $0x2b,%eax
  jne    L38
  movss  (%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  movaps %xmm0,%xmm2
  addss  %xmm1,%xmm2
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm1
  lea    D68(%rip),%rdi
  mov    $0x3,%eax
  call   <printf@plt>
L38:
  lea    D70(%rip),%rdi
  call   <system@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L31
  mov    $0x0,%eax
  add    $0x10,%rsp
  pop    %rbx
  ret
L5:
  cmp    $0x2f,%eax
  jne    L38
  movss  (%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  movaps %xmm0,%xmm2
  divss  %xmm1,%xmm2
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm1
  lea    D101(%rip),%rdi
  mov    $0x3,%eax
  call   <printf@plt>
  jmp    L38
L23:
  movss  (%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  movaps %xmm0,%xmm2
  subss  %xmm1,%xmm2
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm1
  lea    D10(%rip),%rdi
  mov    $0x3,%eax
  call   <printf@plt>
  jmp    L38
L66:
  movss  (%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  movaps %xmm0,%xmm2
  mulss  %xmm1,%xmm2
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm1
  lea    D46(%rip),%rdi
  mov    $0x3,%eax
  call   <printf@plt>
  jmp    L38
L31:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D121
datatype: string
name: unpack_data
arguments: data_label: D107
datatype: string
name: unpack_data
arguments: data_label: D44
datatype: string
name: unpack_data
arguments: data_label: D74
datatype: string
name: unpack_data
arguments: data_label: D75
datatype: string
name: unpack_data
arguments: data_label: D128
datatype: string
name: unpack_data
arguments: data_label: D102
datatype: string
name: unpack_data
arguments: data_label: D83
datatype: string
name: unpack_data
arguments: data_label: D114
datatype: string
name: unpack_data
arguments: data_label: D68
datatype: string
name: unpack_data
arguments: data_label: D70
datatype: string
name: unpack_data
arguments: data_label: D101
datatype: string
name: unpack_data
arguments: data_label: D10
datatype: string
name: unpack_data
arguments: data_label: D46
datatype: string

tool: D121: Dame los valores a y b para hacer la operacion que elegiras despues

tool: D107: a: 

tool: D44: %f

tool: D74: b: 

tool: D75: Que deseas? (Pon el signo)

tool: D128: + Sumar

tool: D102: - Restar

tool: D83: * Multiplicar

tool: D114: / Dividir

tool: D68: %.2f+%.2f=%.2f


tool: D70: pause

tool: D101: %.2f/%.2f=%.2f


tool: D10: %.2f-%.2f=%.2f


tool: D46: %.2f*%.2f=%.2f


assistant: ```c
main() {
  int num = 0;
  float a = 0, b = 0;
  printf("Dame los valores a y b para hacer la operacion que elegiras despues\n");
  printf("a: ");
  scanf_s("%f", &a);
  printf("b: ");
  scanf_s("%f", &b);
  printf("\n");
  printf("Que deseas? (Pon el signo)\n");
  printf("+ Sumar\n");
  printf("- Restar\n");
  printf("* Multiplicar\n");
  printf("/ Dividir\n");
  printf("\n");
  switch (getch()) {
  case 43:
    printf("%.2f+%.2f=%.2f\n", a, b, a + b);
    break;
  case 45:
    printf("%.2f-%.2f=%.2f\n", a, b, a - b);
    break;
  case 42:
    printf("%.2f*%.2f=%.2f\n", a, b, a * b);
    break;
  case 47:
    printf("%.2f/%.2f=%.2f\n", a, b, a / b);
    break;
  default:
    break;
  }
  system("pause");
  return 0;
}
```