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

```asm
<main>:
  endbr64
  sub    $0x28,%rsp
  lea    D120(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <puts@plt>
  lea    D151(%rip),%rdi
  call   <puts@plt>
  lea    D165(%rip),%rdi
  call   <puts@plt>
  lea    0x14(%rsp),%rsi
  lea    D69(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  cmp    $0x3,%eax
  je     L46
  jg     L85
  cmp    $0x1,%eax
  je     L56
  cmp    $0x2,%eax
  jne    L73
  lea    D130(%rip),%rdi
  call   <puts@plt>
  lea    0xc(%rsp),%rsi
  lea    D41(%rip),%rdi
  xor    %eax,%eax
  lea    0x10(%rsp),%rdx
  call   <scanf@plt>
  mov    0xc(%rsp),%esi
  lea    D147(%rip),%rdi
  xor    %eax,%eax
  sub    0x10(%rsp),%esi
  call   <printf@plt>
L55:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L50
  add    $0x28,%rsp
  ret
  nopl   0x0(%rax,%rax,1)
L85:
  cmp    $0x4,%eax
  jne    L73
  lea    D130(%rip),%rdi
  call   <puts@plt>
  lea    0xc(%rsp),%rsi
  lea    0x10(%rsp),%rdx
  xor    %eax,%eax
  lea    D41(%rip),%rdi
  call   <scanf@plt>
  mov    0xc(%rsp),%esi
  imul   0x10(%rsp),%esi
  xor    %eax,%eax
  lea    D53(%rip),%rdi
  call   <printf@plt>
  jmp    L55
L46:
  lea    D130(%rip),%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rdx
  lea    0xc(%rsp),%rsi
  xor    %eax,%eax
  lea    D41(%rip),%rdi
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  lea    D88(%rip),%rdi
  cltd
  idivl  0x10(%rsp)
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L55
L73:
  lea    D14(%rip),%rdi
  call   <puts@plt>
  jmp    L55
L56:
  lea    D130(%rip),%rdi
  call   <puts@plt>
  lea    0xc(%rsp),%rsi
  lea    0x10(%rsp),%rdx
  xor    %eax,%eax
  lea    D41(%rip),%rdi
  call   <scanf@plt>
  mov    0x10(%rsp),%esi
  lea    D163(%rip),%rdi
  xor    %eax,%eax
  add    0xc(%rsp),%esi
  call   <printf@plt>
  jmp    L55
L50:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D120
type_infered: string
name: parse_data
arguments: data_label: D151
type_infered: string
name: parse_data
arguments: data_label: D165
type_infered: string
name: parse_data
arguments: data_label: D69
type_infered: string
name: parse_data
arguments: data_label: D130
type_infered: string
name: parse_data
arguments: data_label: D41
type_infered: string
name: parse_data
arguments: data_label: D147
type_infered: string
name: parse_data
arguments: data_label: D53
type_infered: string
name: parse_data
arguments: data_label: D88
type_infered: string
name: parse_data
arguments: data_label: D14
type_infered: string
name: parse_data
arguments: data_label: D163
type_infered: string

tool: D120: 

 MENU 


tool: D151:  1.ADDITION
 2.SUBTRACTION
 3.DIVISION
 4.MULTIPLICATION

tool: D165: 

 ENTER YOUR CHOICE 


tool: D69: %d

tool: D130: 

 ENTER TWO NUMBERS 


tool: D41: %d %d

tool: D147: 

 Difference = %d

tool: D53: 

 Value after Multiplication = %d

tool: D88: 

 Quotient = %d

tool: D14: 

 ---- WRONG CHOICE ---- 


tool: D163: 

 Sum = %d

assistant: ```c
void main() {
  int i, j, k, ch;
  printf("\n\n MENU \n\n");
  printf(" 1.ADDITION\n 2.SUBTRACTION\n 3.DIVISION\n 4.MULTIPLICATION\n");
  printf("\n\n ENTER YOUR CHOICE \n\n");
  scanf("%d", &ch);
  switch (ch) {
  case 1:
    printf("\n\n ENTER TWO NUMBERS \n\n");
    scanf("%d %d", &i, &j);
    k = i + j;
    printf("\n\n Sum = %d", k);
    break;
  case 2:
    printf("\n\n ENTER TWO NUMBERS \n\n");
    scanf("%d %d", &i, &j);
    k = i - j;
    printf("\n\n Difference = %d", k);
    break;
  case 3:
    printf("\n\n ENTER TWO NUMBERS \n\n");
    scanf("%d %d", &i, &j);
    k = i / j;
    printf("\n\n Quotient = %d", k);
    break;
  case 4:
    printf("\n\n ENTER TWO NUMBERS \n\n");
    scanf("%d %d", &i, &j);
    k = i * j;
    printf("\n\n Value after Multiplication = %d", k);
    break;
  default:
    printf("\n\n ---- WRONG CHOICE ---- \n\n");
  }
}
```