user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0xc(%rsp)
  lea    D35(%rip),%r13
  lea    D59(%rip),%r12
  lea    D152(%rip),%rbp
  lea    D100(%rip),%rbx
  jmp    L53
L0:
  mov    $0x0,%edi
  call   <exit@plt>
L26:
  lea    D134(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  lea    D139(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  pxor   %xmm1,%xmm1
  cvtss2sd 0x10(%rsp),%xmm1
  movapd %xmm1,%xmm0
  mulsd  D45(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D7(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L66:
  mov    $0x0,%eax
  call   <_getch@plt>
  cmpl   $0x0,0xc(%rsp)
  je     L72
L53:
  mov    %r13,%rdi
  call   <system@plt>
  mov    %r12,%rdi
  call   <puts@plt>
  mov    %rbp,%rdi
  call   <puts@plt>
  mov    %rbx,%rdi
  call   <puts@plt>
  lea    D155(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    D89(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  cmp    $0x1,%eax
  je     L26
  cmp    $0x2,%eax
  je     L49
  test   %eax,%eax
  je     L0
  lea    D163(%rip),%rdi
  call   <puts@plt>
  jmp    L66
L49:
  lea    D133(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  lea    D139(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movss  0x14(%rsp),%xmm0
  subss  D76(%rip),%xmm0
  mulss  D36(%rip),%xmm0
  divss  D48(%rip),%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D129(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L66
L72:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L77
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L77:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D35
type_infered: string
name: disassemble_data
arguments: tag: D59
type_infered: string
name: disassemble_data
arguments: tag: D152
type_infered: string
name: disassemble_data
arguments: tag: D100
type_infered: string
name: disassemble_data
arguments: tag: D134
type_infered: string
name: disassemble_data
arguments: tag: D139
type_infered: string
name: disassemble_data
arguments: tag: D45
type_infered: f64
name: disassemble_data
arguments: tag: D7
type_infered: string
name: disassemble_data
arguments: tag: D155
type_infered: string
name: disassemble_data
arguments: tag: D89
type_infered: string
name: disassemble_data
arguments: tag: D163
type_infered: string
name: disassemble_data
arguments: tag: D133
type_infered: string
name: disassemble_data
arguments: tag: D76
type_infered: byte[4]
name: disassemble_data
arguments: tag: D36
type_infered: byte[4]
name: disassemble_data
arguments: tag: D48
type_infered: byte[4]
name: disassemble_data
arguments: tag: D129
type_infered: string

tool: D35: cls

tool: D59: 0-Exit

tool: D152: 1-Area

tool: D100: 2-Temp

tool: D134: enter r 

tool: D139: %f

tool: D45: 3.14

tool: D7: 
Area is %f 

tool: D155: please choose : 

tool: D89: %d

tool: D163: error

tool: D133: enter tf 

tool: {"D76": [0x00,0x00,0x00,0x42]}

tool: {"D36": [0x00,0x00,0xa0,0x40]}

tool: {"D48": [0x00,0x00,0x10,0x41]}

tool: D129: 
tc is %f 

assistant: ```c
int main() {
  int iAns = 0;
  float a, r;
  float tf, tc;
  do {
    system("cls");
    printf("0-Exit\n");
    printf("1-Area\n");
    printf("2-Temp\n");
    printf("please choose : ");
    scanf("%d", &iAns);
    switch (iAns) {
    case 0:
      exit(0);
    case 1:
      printf("enter r ");
      scanf("%f", &r);
      a = 3.14 * r * r;
      printf("\nArea is %f ", a);
      break;
    case 2:
      printf("enter tf ");
      scanf("%f", &tf);
      tc = (5 * (tf - 32)) / 9;
      printf("\ntc is %f ", tc);
      break;
    default:
      printf("error\n");
      break;
    }
    _getch();
  } while (iAns != 0);
  return 0;
}
```