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

```asm
<main>:
  endbr64
  push   %rbx
  mov    %rsi,%rbx
  mov    %edi,%eax
  and    $0xfffffffd,%eax
  cmp    $0x1,%eax
  jne    L79
  cmp    $0x3,%edi
  je     L11
L13:
  mov    $0x0,%eax
  call   <nactiZpravu@plt>
  mov    %rax,%rdx
  mov    $0x3,%eax
  test   %rdx,%rdx
  jne    L0
  lea    D54(%rip),%rdi
  call   <puts@plt>
  lea    D47(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <vypisZpravu@plt>
  lea    D15(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <vypisKlic@plt>
  mov    $0x0,%eax
  call   <zasifruj@plt>
  lea    D56(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <vypisZpravu@plt>
  mov    $0x0,%eax
L0:
  pop    %rbx
  ret
L79:
  mov    (%rsi),%rsi
  mov    %rsi,%rcx
  mov    %rsi,%rdx
  lea    D2(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L0
L11:
  mov    0x8(%rsi),%rsi
  mov    $0x3,%edx
  lea    D28(%rip),%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L16
  mov    0x10(%rbx),%rdi
  call   <nactiKlic@plt>
  test   %rax,%rax
  je     L13
  mov    $0x2,%eax
  jmp    L0
L16:
  lea    D33(%rip),%rdi
  call   <puts@plt>
  mov    $0x2,%eax
  jmp    L0
```

tool_calls: name: disassemble_data
arguments: data_label: D54
type_infered: string
name: disassemble_data
arguments: data_label: D47
type_infered: string
name: disassemble_data
arguments: data_label: D15
type_infered: string
name: disassemble_data
arguments: data_label: D56
type_infered: string
name: disassemble_data
arguments: data_label: D2
type_infered: string
name: disassemble_data
arguments: data_label: D28
type_infered: string
name: disassemble_data
arguments: data_label: D33
type_infered: string

tool: D54: hello PRESENT!

tool: D47: Zprava k sifrovani: 

tool: D15: Sifruji klicem:     

tool: D56: Ciphertext:         

tool: D2: 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: D28: -k

tool: D33: 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;
}
```