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

```asm
<main>:
  endbr64
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D134(%rip),%rdi
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  lea    D54(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D132(%rip),%rdi
  call   <puts@plt>
  lea    D116(%rip),%rdi
  call   <puts@plt>
  lea    D106(%rip),%rdi
  call   <puts@plt>
  lea    D90(%rip),%rdi
  call   <puts@plt>
  lea    D107(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xf(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movzbl 0xf(%rsp),%eax
  cmp    $0x32,%al
  je     L18
  cmp    $0x33,%al
  je     L19
  cmp    $0x31,%al
  je     L34
  lea    D11(%rip),%rdi
  call   <puts@plt>
  jmp    L22
L34:
  movss  D87(%rip),%xmm0
  mulss  0x10(%rsp),%xmm0
  movss  %xmm0,0x14(%rsp)
  lea    0x14(%rsp),%rsi
  lea    D51(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L22:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L62
  mov    $0x0,%eax
  add    $0x20,%rsp
  pop    %rbx
  ret
L18:
  movss  D108(%rip),%xmm0
  mulss  0x10(%rsp),%xmm0
  movss  %xmm0,0x14(%rsp)
  lea    0x14(%rsp),%rsi
  lea    D37(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L22
L19:
  movss  D41(%rip),%xmm0
  mulss  0x10(%rsp),%xmm0
  movss  %xmm0,0x14(%rsp)
  lea    0x14(%rsp),%rsi
  lea    D5(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L22
L62:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D134
type_guessed: string
name: read_data
arguments: label: D54
type_guessed: string
name: read_data
arguments: label: D132
type_guessed: string
name: read_data
arguments: label: D116
type_guessed: string
name: read_data
arguments: label: D106
type_guessed: string
name: read_data
arguments: label: D90
type_guessed: string
name: read_data
arguments: label: D107
type_guessed: string
name: read_data
arguments: label: D11
type_guessed: string
name: read_data
arguments: label: D87
type_guessed: byte[4]
name: read_data
arguments: label: D51
type_guessed: string
name: read_data
arguments: label: D108
type_guessed: byte[4]
name: read_data
arguments: label: D37
type_guessed: string
name: read_data
arguments: label: D41
type_guessed: byte[4]
name: read_data
arguments: label: D5
type_guessed: string

tool: D134: Enter size in bytes: 

tool: D54: %d

tool: D132: Conversion Options: 

tool: D116: 1. byte to KB

tool: D106: 2. byte to MB

tool: D90: 3. byte to GB

tool: D107: Enter choice: 

tool: D11: Enter a valid choice.

tool: {"D87": [0x00,0x00,0x80,0x3a]}

tool: D51: Size in KB: %d

tool: {"D108": [0x00,0x00,0x80,0x35]}

tool: D37: Size in MB: %d

tool: {"D41": [0x00,0x00,0x80,0x30]}

tool: D5: Size in GB: %d

assistant: ```c
int main(void) {
  char choice;
  float byte, kb, mb, gb;
  printf("Enter size in bytes: ");
  scanf("%d", &byte);
  printf("Conversion Options: \n");
  printf("1. byte to KB\n");
  printf("2. byte to MB\n");
  printf("3. byte to GB\n");
  printf("Enter choice: ");
  scanf("%d", &choice);
  switch (choice) {
  case '1':
    kb = byte / 1024;
    printf("Size in KB: %d", &kb);
    break;
  case '2':
    mb = byte / (1024 * 1024);
    printf("Size in MB: %d", &mb);
    break;
  case '3':
    gb = byte / (1024 * 1024 * 1024);
    printf("Size in GB: %d", &gb);
    break;
  default:
    printf("Enter a valid choice.\n");
  }
  return 0;
}
```