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

```asm
<menuCalcul>:
  endbr64
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x4(%rsp)
  lea    D17(%rip),%rdi
  call   <printf@plt>
  lea    D72(%rip),%rdi
  call   <printf@plt>
  lea    D18(%rip),%rdi
  call   <printf@plt>
  lea    D91(%rip),%rbx
  mov    %rbx,%rdi
  call   <printf@plt>
  lea    D4(%rip),%rdi
  call   <printf@plt>
  lea    D0(%rip),%rdi
  call   <printf@plt>
  lea    D62(%rip),%rdi
  call   <printf@plt>
  lea    D22(%rip),%rdi
  call   <printf@plt>
  lea    D109(%rip),%rdi
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <printf@plt>
  lea    D65(%rip),%rdi
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  lea    D74(%rip),%rdi
  call   <scanf@plt>
  mov    0x4(%rsp),%eax
  mov    0x8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L3
  add    $0x10,%rsp
  pop    %rbx
  ret
L3:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D17
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D72
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D18
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D91
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D4
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D0
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D62
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D22
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D109
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D65
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D74
type_infered: string

tool: D17: *************************************************

tool: D72: 
***************CALCULATEUR D'IMPOT***************

tool: D18: 
******************SUR LE REVENU******************

tool: D91: 
*************************************************

tool: D4: 
       Mode de calcul ? :                        

tool: D0: 
            1 - Chainage avant ?                 

tool: D62: 
            2 - Chainage arriere ?               

tool: D22: 
            3 - Chainage Av et Ar avec details ? 

tool: D109: 
            0 - Quitter ?                        

tool: D65: 
      Votre choix ? : 

tool: D74: %d

assistant: ```c
int menuCalcul() {
  int choix = 0;
  printf("*************************************************");
  printf("\n***************CALCULATEUR D'IMPOT***************");
  printf("\n******************SUR LE REVENU******************");
  printf("\n*************************************************");
  printf("\n       Mode de calcul ? :                        ");
  printf("\n            1 - Chainage avant ?                 ");
  printf("\n            2 - Chainage arriere ?               ");
  printf("\n            3 - Chainage Av et Ar avec details ? ");
  printf("\n            0 - Quitter ?                        ");
  printf("\n*************************************************");
  printf("\n*************************************************");
  printf("\n      Votre choix ? : ");
  scanf("%d", &choix);
  return choix;
}
```