user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  cmp    $0x3,%edi
  je     L30
  lea    D102(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L28:
  lea    D61(%rip),%rdi
  call   <puts@plt>
  mov    $0x78,%esi
  lea    D42(%rip),%r12
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  call   <int2bin@plt>
  lea    D1(%rip),%rsi
  lea    D48(%rip),%r13
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  not    %edi
  call   <int2bin@plt>
  lea    D56(%rip),%rdi
  call   <puts@plt>
  mov    $0x78,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  call   <int2bin@plt>
  mov    $0x79,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebx,%edi
  call   <int2bin@plt>
  lea    D93(%rip),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  and    %ebx,%edi
  call   <int2bin@plt>
  lea    D135(%rip),%rdi
  call   <puts@plt>
  mov    $0x78,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  call   <int2bin@plt>
  mov    $0x79,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebx,%edi
  call   <int2bin@plt>
  lea    D52(%rip),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  or     %ebx,%edi
  call   <int2bin@plt>
  lea    D20(%rip),%rdi
  call   <puts@plt>
  mov    $0x78,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  call   <int2bin@plt>
  mov    $0x79,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebx,%edi
  call   <int2bin@plt>
  lea    D125(%rip),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  xor    %ebp,%ebx
  mov    %ebx,%edi
  call   <int2bin@plt>
  lea    D128(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%ebx
  lea    D95(%rip),%r12
L21:
  mov    %ebx,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  mov    %ebx,%ecx
  shl    %cl,%edi
  call   <int2bin@plt>
  add    $0x1,%ebx
  cmp    $0x8,%ebx
  jne    L21
  lea    D74(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%ebx
  lea    D124(%rip),%r12
L5:
  mov    %ebx,%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%edi
  mov    %ebx,%ecx
  sar    %cl,%edi
  call   <int2bin@plt>
  add    $0x1,%ebx
  cmp    $0x8,%ebx
  jne    L5
  mov    $0x0,%edi
  call   <exit@plt>
  mov    $0x0,%eax
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L30:
  mov    %rsi,%r12
  mov    0x8(%rsi),%rdi
  call   <str2int@plt>
  mov    %eax,%ebp
  mov    0x10(%r12),%rdi
  call   <str2int@plt>
  mov    %eax,%ebx
  jmp    L28
```

tool_calls: name: disassemble_data
arguments: data_label: D102
data_type: string
name: disassemble_data
arguments: data_label: D61
data_type: string
name: disassemble_data
arguments: data_label: D42
data_type: string
name: disassemble_data
arguments: data_label: D1
data_type: string
name: disassemble_data
arguments: data_label: D48
data_type: string
name: disassemble_data
arguments: data_label: D56
data_type: string
name: disassemble_data
arguments: data_label: D93
data_type: string
name: disassemble_data
arguments: data_label: D135
data_type: string
name: disassemble_data
arguments: data_label: D52
data_type: string
name: disassemble_data
arguments: data_label: D20
data_type: string
name: disassemble_data
arguments: data_label: D125
data_type: string
name: disassemble_data
arguments: data_label: D128
data_type: string
name: disassemble_data
arguments: data_label: D95
data_type: string
name: disassemble_data
arguments: data_label: D74
data_type: string
name: disassemble_data
arguments: data_label: D124
data_type: string

tool: D102: To integer arguments x,y missing!

tool: D61: Complement (bit flip)

tool: D42: %c      = 

tool: D1: ~x     = 

tool: D48: %s

tool: D56: Binary AND

tool: D93: x & y  = 

tool: D135: Binary OR

tool: D52: x | y  = 

tool: D20: Binary XOR

tool: D125: x ^ y  = 

tool: D128: Shift left:

tool: D95: x << %i = 

tool: D74: Shift right:

tool: D124: x >> %i = 

assistant: ```c
int main(int argc, char *argv[]) {
  int x, y;
  if (argc == 3) {
    x = str2int(argv[1]);
    y = str2int(argv[2]);
  } else {
    printf("To integer arguments x,y missing!\n");
    exit(1);
  }
  printf("Complement (bit flip)\n");
  printf("%c      = ", 'x');
  int2bin(x);
  printf("%s", "~x     = ");
  int2bin(~x);
  printf("Binary AND\n");
  printf("%c      = ", 'x');
  int2bin(x);
  printf("%c      = ", 'y');
  int2bin(y);
  printf("%s", "x & y  = ");
  int2bin(x & y);
  printf("Binary OR\n");
  printf("%c      = ", 'x');
  int2bin(x);
  printf("%c      = ", 'y');
  int2bin(y);
  printf("%s", "x | y  = ");
  int2bin(x | y);
  printf("Binary XOR\n");
  printf("%c      = ", 'x');
  int2bin(x);
  printf("%c      = ", 'y');
  int2bin(y);
  printf("%s", "x ^ y  = ");
  int2bin(x ^ y);
  printf("Shift left:\n");
  int n = 0;
  for (n = 0; n < 8; n++) {
    printf("x << %i = ", n);
    int2bin(x << n);
  }
  printf("Shift right:\n");
  for (n = 0; n < 8; n++) {
    printf("x >> %i = ", n);
    int2bin(x >> n);
  }
  exit(0);
}
```