user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %rsi,-0x30(%rbp)
  movl   $0x0,-0x1c(%rbp)
  lea    D62(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  cmpl   $0x4,-0x24(%rbp)
  jne    L8
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  lea    D76(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L50
  mov    -0x30(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,%edx
  mov    -0x30(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <hashum@plt>
  mov    %rax,%rcx
  mov    -0x30(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rdx
  mov    -0x30(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  mov    %rax,%rsi
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L35
L50:
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  lea    D31(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L55
  movl   $0x1,-0x1c(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x30(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rdx
  mov    -0x10(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  jmp    L54
L55:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <usage@plt>
  jmp    L54
L8:
  cmpl   $0x3,-0x24(%rbp)
  je     L117
  mov    -0x30(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <usage@plt>
  jmp    L54
L117:
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rdx
  mov    -0x18(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x30(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rdx
  mov    -0x10(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
L54:
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D88(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,-0x1c(%rbp)
  je     L38
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <unVernash@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <vernash@plt>
  mov    %rax,%rdx
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  mov    %rdx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L71
  mov    -0x8(%rbp),%rax
  mov    %rax,%rsi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L76
L71:
  lea    D34(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L76
L38:
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <vernash@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    -0x8(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <unVernash@plt>
  mov    %rax,%rdx
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  mov    %rdx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L51
  mov    -0x8(%rbp),%rax
  mov    %rax,%rsi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L76
L51:
  lea    D34(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L76:
  mov    $0x1,%eax
L35:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D62
type: string
name: parse_data
arguments: tag: D76
type: string
name: parse_data
arguments: tag: D33
type: string
name: parse_data
arguments: tag: D31
type: string
name: parse_data
arguments: tag: D88
type: string
name: parse_data
arguments: tag: D21
type: string
name: parse_data
arguments: tag: D34
type: string
name: parse_data
arguments: tag: D26
type: string

tool: D62: 


tool: D76: -g

tool: D33: Hash(%s) for ---%s---:
---%s---



tool: D31: -d

tool: D88: Text:           ---%s---
Password:       ---%s---


tool: D21: 
Decrypted-Text: ---%s---



tool: D34: 
 (ERROR) :@# 


tool: D26: 
Encrypted-Text: ---%s---



assistant: ```c
int main(int argc, char *argv[]) {
  char *encryptedText;
  int decrypt = 0;
  char *text, *key;
  printf("\n\n");
  if (argc == 4) {
    if (strcmp(argv[1], "-g") == 0) {
      printf("Hash(%s) for ---%s---:\n---%s---\n\n", argv[3], argv[2], hashum(argv[2], atoi(argv[3])));
      return 1;
    } else if (strcmp(argv[1], "-d") == 0) {
      decrypt = 1;
      text = (char *)malloc(strlen(argv[2]));
      key = (char *)malloc(strlen(argv[3]));
      strcpy(text, argv[2]);
      strcpy(key, argv[3]);
    } else
      usage(argv[0]);
  } else if (argc != 3)
    usage(argv[0]);
  else {
    text = (char *)malloc(strlen(argv[1]));
    key = (char *)malloc(strlen(argv[2]));
    strcpy(text, argv[1]);
    strcpy(key, argv[2]);
  }
  printf("Text:           ---%s---\nPassword:       ---%s---\n", text, key);
  if (decrypt) {
    encryptedText = unVernash(text, key);
    if (strcmp(vernash(encryptedText, key), text) == 0)
      printf("\nDecrypted-Text: ---%s---\n\n", encryptedText);
    else
      printf("\n (ERROR) :@# \n\n");
  } else {
    encryptedText = vernash(text, key);
    if (strcmp(unVernash(encryptedText, key), text) == 0)
      printf("\nEncrypted-Text: ---%s---\n\n", encryptedText);
    else
      printf("\n (ERROR) :@# \n\n");
  }
  return 1;
}
```