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

```asm
<main>:
  endbr64
  push   %rbp
  lea    D48(%rip),%rdi
  lea    D15(%rip),%rbp
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  movl   $0x0,(%rsp)
  movl   $0x0,0x4(%rsp)
  call   <puts@plt>
  lea    D124(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rsp,%rsi
  mov    %rbp,%rdi
  call   <scanf_s@plt>
  lea    D43(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf_s@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D42(%rip),%rdi
  call   <puts@plt>
  lea    D45(%rip),%rdi
  call   <puts@plt>
  lea    D93(%rip),%rdi
  call   <puts@plt>
  lea    D47(%rip),%rdi
  call   <puts@plt>
  lea    D104(%rip),%rdi
  call   <puts@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  xor    %eax,%eax
  call   <getch@plt>
  cmp    $0x2d,%eax
  je     L29
  jg     L4
  cmp    $0x2a,%eax
  je     L12
  cmp    $0x2b,%eax
  jne    L46
  movss  (%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  mov    $0x3,%eax
  lea    D6(%rip),%rdi
  movaps %xmm0,%xmm2
  cvtss2sd %xmm0,%xmm0
  addss  %xmm1,%xmm2
  cvtss2sd %xmm1,%xmm1
  cvtss2sd %xmm2,%xmm2
  call   <printf@plt>
  xchg   %ax,%ax
L46:
  lea    D131(%rip),%rdi
  call   <system@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L48
  add    $0x10,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L4:
  cmp    $0x2f,%eax
  jne    L46
  movss  (%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  mov    $0x3,%eax
  lea    D33(%rip),%rdi
  movaps %xmm0,%xmm2
  cvtss2sd %xmm0,%xmm0
  divss  %xmm1,%xmm2
  cvtss2sd %xmm1,%xmm1
  cvtss2sd %xmm2,%xmm2
  call   <printf@plt>
  jmp    L46
L29:
  movss  (%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  mov    $0x3,%eax
  lea    D36(%rip),%rdi
  movaps %xmm0,%xmm2
  cvtss2sd %xmm0,%xmm0
  subss  %xmm1,%xmm2
  cvtss2sd %xmm1,%xmm1
  cvtss2sd %xmm2,%xmm2
  call   <printf@plt>
  jmp    L46
L12:
  movss  (%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  mov    $0x3,%eax
  lea    D16(%rip),%rdi
  movaps %xmm0,%xmm2
  cvtss2sd %xmm0,%xmm0
  mulss  %xmm1,%xmm2
  cvtss2sd %xmm1,%xmm1
  cvtss2sd %xmm2,%xmm2
  call   <printf@plt>
  jmp    L46
L48:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D48
datatype: string
name: unpack_data
arguments: data_tag: D15
datatype: string
name: unpack_data
arguments: data_tag: D124
datatype: string
name: unpack_data
arguments: data_tag: D43
datatype: string
name: unpack_data
arguments: data_tag: D42
datatype: string
name: unpack_data
arguments: data_tag: D45
datatype: string
name: unpack_data
arguments: data_tag: D93
datatype: string
name: unpack_data
arguments: data_tag: D47
datatype: string
name: unpack_data
arguments: data_tag: D104
datatype: string
name: unpack_data
arguments: data_tag: D6
datatype: string
name: unpack_data
arguments: data_tag: D131
datatype: string
name: unpack_data
arguments: data_tag: D33
datatype: string
name: unpack_data
arguments: data_tag: D36
datatype: string
name: unpack_data
arguments: data_tag: D16
datatype: string

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

tool: D15: %f

tool: D124: a: 

tool: D43: b: 

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

tool: D45: + Sumar

tool: D93: - Restar

tool: D47: * Multiplicar

tool: D104: / Dividir

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


tool: D131: pause

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


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


tool: D16: %.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;
}
```