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

```asm
<main>:
  endbr64
  mov    %edi,%eax
  push   %rbx
  mov    %rsi,%rbx
  and    $0xfffffffd,%eax
  cmp    $0x1,%eax
  jne    L16
  cmp    $0x3,%edi
  je     L1
L0:
  xor    %eax,%eax
  call   <nactiZpravu@plt>
  mov    %rax,%r8
  mov    $0x3,%eax
  test   %r8,%r8
  jne    L33
  lea    D19(%rip),%rdi
  call   <puts@plt>
  lea    D34(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <vypisZpravu@plt>
  lea    D21(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <vypisKlic@plt>
  xor    %eax,%eax
  call   <zasifruj@plt>
  lea    D50(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <vypisZpravu@plt>
  xor    %eax,%eax
L33:
  pop    %rbx
  ret
L1:
  mov    0x8(%rsi),%rsi
  mov    $0x3,%edx
  lea    D66(%rip),%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L21
  mov    0x10(%rbx),%rdi
  call   <nactiKlic@plt>
  test   %rax,%rax
  je     L0
  mov    $0x2,%eax
  pop    %rbx
  ret
L16:
  mov    (%rsi),%rsi
  lea    D12(%rip),%rdi
  xor    %eax,%eax
  mov    %rsi,%rcx
  mov    %rsi,%rdx
  call   <printf@plt>
  mov    $0x1,%eax
  pop    %rbx
  ret
L21:
  lea    D17(%rip),%rdi
  call   <puts@plt>
  mov    $0x2,%eax
  pop    %rbx
  ret
```

tool_calls: name: read_data
arguments: data_tag: D19
datatype: string
name: read_data
arguments: data_tag: D34
datatype: string
name: read_data
arguments: data_tag: D21
datatype: string
name: read_data
arguments: data_tag: D50
datatype: string
name: read_data
arguments: data_tag: D66
datatype: string
name: read_data
arguments: data_tag: D12
datatype: string
name: read_data
arguments: data_tag: D17
datatype: string

tool: D19: hello PRESENT!

tool: D34: Zprava k sifrovani: 

tool: D21: Sifruji klicem:     

tool: D50: Ciphertext:         

tool: D66: -k

tool: D12: USAGE: 
   %s [ -k KEY ]

      KEY   80-bit klic v hexa zapisu
            vychozi hodnota je 00 00 00 00 00 00 00 00 00 00
    
      Program cte zpravu ze stdin o velikost 64 bitu (1 blok)    n      v hexa zapisu

EXAMPLE
   echo "FF FF FF FF FF FF FF FF" | %s 
   echo "FF FF FF FF FF FF FF FF" | %s -k "FF FF FF FF FF F    F FF FF FF FF"


tool: D17: Chybny prepinac

assistant: ```c
int main(int argc, char **argv) {
  if (argc != 1 && argc != 3) {
    printf("USAGE: \n"
           "   %s [ -k KEY ]\n"
           "\n"
           "      KEY   80-bit klic v hexa zapisu\n"
           "            vychozi hodnota je 00 00 00 00 00 00 00 00 00 00\n    "
           "\n"
           "      Program cte zpravu ze stdin o velikost 64 bitu (1 blok)    n"
           "      v hexa zapisu\n"
           "\n"
           "EXAMPLE\n"
           "   echo \"FF FF FF FF FF FF FF FF\" | %s \n"
           "   echo \"FF FF FF FF FF FF FF FF\" | %s -k \"FF FF FF FF FF F    F FF FF FF FF\""
           "\n",
           argv[0], argv[0], argv[0]);
    return 1;
  }
  if (argc == 3) {
    if (strncmp("-k", argv[1], sizeof("-k")) == 0) {
      if (nactiKlic(argv[2]) != 0) {
        return 2;
      }
    } else {
      printf("Chybny prepinac\n");
      return 2;
    }
  }
  if (nactiZpravu() != 0) {
    return 3;
  }
  printf("hello PRESENT!\n");
  printf("Zprava k sifrovani: ");
  vypisZpravu();
  printf("Sifruji klicem:     ");
  vypisKlic();
  zasifruj();
  printf("Ciphertext:         ");
  vypisZpravu();
  return 0;
}
```