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

```asm
<main>:
  endbr64
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D81(%rip),%rdi
  call   <puts@plt>
  lea    D127(%rip),%rdi
  call   <puts@plt>
  lea    D98(%rip),%rdi
  call   <puts@plt>
  lea    0x14(%rsp),%rsi
  lea    D26(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  cmp    $0x3,%eax
  je     L3
  jg     L61
  cmp    $0x1,%eax
  je     L28
  cmp    $0x2,%eax
  jne    L9
  lea    D103(%rip),%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rdx
  lea    0xc(%rsp),%rsi
  lea    D20(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0xc(%rsp),%esi
  sub    0x10(%rsp),%esi
  lea    D21(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L71
L61:
  cmp    $0x4,%eax
  jne    L9
  lea    D103(%rip),%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rdx
  lea    0xc(%rsp),%rsi
  lea    D20(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0xc(%rsp),%esi
  imul   0x10(%rsp),%esi
  lea    D102(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L71
L28:
  lea    D103(%rip),%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rdx
  lea    0xc(%rsp),%rsi
  lea    D20(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x10(%rsp),%esi
  add    0xc(%rsp),%esi
  lea    D134(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L71:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L78
  add    $0x28,%rsp
  ret
L3:
  lea    D103(%rip),%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rdx
  lea    0xc(%rsp),%rsi
  lea    D20(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  cltd
  idivl  0x10(%rsp)
  mov    %eax,%esi
  lea    D1(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L71
L9:
  lea    D158(%rip),%rdi
  call   <puts@plt>
  jmp    L71
L78:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D81
type_guessed: string
name: unpack_data
arguments: label: D127
type_guessed: string
name: unpack_data
arguments: label: D98
type_guessed: string
name: unpack_data
arguments: label: D26
type_guessed: string
name: unpack_data
arguments: label: D103
type_guessed: string
name: unpack_data
arguments: label: D20
type_guessed: string
name: unpack_data
arguments: label: D21
type_guessed: string
name: unpack_data
arguments: label: D102
type_guessed: string
name: unpack_data
arguments: label: D134
type_guessed: string
name: unpack_data
arguments: label: D1
type_guessed: string
name: unpack_data
arguments: label: D158
type_guessed: string

tool: D81: 

 MENU 


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

tool: D98: 

 ENTER YOUR CHOICE 


tool: D26: %d

tool: D103: 

 ENTER TWO NUMBERS 


tool: D20: %d %d

tool: D21: 

 Difference = %d

tool: D102: 

 Value after Multiplication = %d

tool: D134: 

 Sum = %d

tool: D1: 

 Quotient = %d

tool: D158: 

 ---- WRONG CHOICE ---- 


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");
  }
}
```