user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D103(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x14(%rbp),%rax
  mov    %rax,%rsi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D62(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x10(%rbp),%rax
  mov    %rax,%rsi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D36(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x14(%rbp),%eax
  mov    %eax,%edi
  call   <DecToBin@plt>
  mov    %eax,-0xc(%rbp)
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D61(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x14(%rbp),%edx
  mov    -0x10(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0x14(%rbp)
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  lea    D73(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D47(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x14(%rbp),%eax
  mov    %eax,%edi
  call   <DecToBin@plt>
  mov    %eax,-0xc(%rbp)
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x14(%rbp),%edx
  mov    -0x10(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x14(%rbp),%edx
  mov    -0x10(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  lea    D73(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D36(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x14(%rbp),%eax
  mov    %eax,%edi
  call   <DecToBin@plt>
  mov    %eax,-0xc(%rbp)
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L0
  call   <__stack_chk_fail@plt>
L0:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D103
datatype: string
name: unpack_data
arguments: label: D1
datatype: string
name: unpack_data
arguments: label: D62
datatype: string
name: unpack_data
arguments: label: D36
datatype: string
name: unpack_data
arguments: label: D61
datatype: string
name: unpack_data
arguments: label: D73
datatype: string
name: unpack_data
arguments: label: D47
datatype: string
name: unpack_data
arguments: label: D15
datatype: string

tool: D103: Enter an integer: 

tool: D1: %d

tool: D62: Inserire numbers of bits that you want to shift 

tool: D36: In binary 

tool: D61: Left shifting; 

tool: D73: %d 


tool: D47: Trasformazione binaria 

tool: D15: Right shifting: : 

assistant: ```c
int main() {
  int number, bit;
  int bin;
  printf("Enter an integer: ");
  scanf("%d", &number);
  printf("Inserire numbers of bits that you want to shift \n");
  scanf("%d", &bit);
  printf("In binary \n");
  bin = DecToBin(number);
  printf("\n");
  printf("Left shifting; ");
  number = number << bit;
  printf("\n");
  printf("%d \n", number);
  printf("Trasformazione binaria \n");
  bin = DecToBin(number);
  printf("\n");
  printf("Right shifting: : ");
  number = number >> bit;
  number = number >> bit;
  printf("%d \n", number);
  printf("In binary \n");
  bin = DecToBin(number);
  return 0;
}
```