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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  movl   $0x0,-0x4(%rbp)
  mov    $0x0,%edi
  call   <time@plt>
  mov    %eax,%edi
  call   <srand@plt>
  mov    $0x0,%eax
  call   <rand@plt>
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  add    $0x1,%eax
  mov    %eax,-0x4(%rbp)
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  call   <system@plt>
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  cmpl   $0x4,-0x4(%rbp)
  je     L93
  cmpl   $0x4,-0x4(%rbp)
  jg     L5
  cmpl   $0x3,-0x4(%rbp)
  je     L72
  cmpl   $0x3,-0x4(%rbp)
  jg     L5
  cmpl   $0x1,-0x4(%rbp)
  je     L81
  cmpl   $0x2,-0x4(%rbp)
  je     L13
  jmp    L5
L81:
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L5
L13:
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L5
L72:
  lea    D27(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L5
L93:
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  nop
L5:
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x5397829d,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x4,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x31,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    0x1(%rdx),%eax
  mov    %eax,%esi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x5397829d,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x4,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x31,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    0x1(%rdx),%eax
  mov    %eax,%esi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x5397829d,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x4,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x31,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    0x1(%rdx),%eax
  mov    %eax,%esi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x5397829d,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x4,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x31,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    0x1(%rdx),%eax
  mov    %eax,%esi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x5397829d,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x4,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x31,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    0x1(%rdx),%eax
  mov    %eax,%esi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x5397829d,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x4,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x31,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    0x1(%rdx),%eax
  mov    %eax,%esi
  lea    D119(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D81
type_guessed: string
name: unpack_data
arguments: label: D3
type_guessed: string
name: unpack_data
arguments: label: D1
type_guessed: string
name: unpack_data
arguments: label: D44
type_guessed: string
name: unpack_data
arguments: label: D27
type_guessed: string
name: unpack_data
arguments: label: D20
type_guessed: string
name: unpack_data
arguments: label: D15
type_guessed: string
name: unpack_data
arguments: label: D110
type_guessed: string
name: unpack_data
arguments: label: D119
type_guessed: string

tool: D81: clear

tool: D3: 
(Mis)Fortune Cookie

tool: D1: 
You will be shot to death today.

tool: D44: 
You will drown in a nearby lake.

tool: D27: 
You will lose all of your money.

tool: D20: 
You have AIDS.

tool: D15: 
Your Unlucky Lotto Numbers: 

tool: D110: %d 

tool: D119: %d


assistant: ```c
int main() {
  int iRandomNum = 0;
  srand(time(NULL));
  iRandomNum = (rand() % 4) + 1;
  system("clear");
  printf("\n(Mis)Fortune Cookie\n");
  switch (iRandomNum) {
  case 1:
    printf("\nYou will be shot to death today.\n");
    break;
  case 2:
    printf("\nYou will drown in a nearby lake.\n");
    break;
  case 3:
    printf("\nYou will lose all of your money.\n");
    break;
  case 4:
    printf("\nYou have AIDS.\n");
    break;
  }
  printf("\nYour Unlucky Lotto Numbers: ");
  printf("%d ", (rand() % 49) + 1);
  printf("%d ", (rand() % 49) + 1);
  printf("%d ", (rand() % 49) + 1);
  printf("%d ", (rand() % 49) + 1);
  printf("%d ", (rand() % 49) + 1);
  printf("%d\n", (rand() % 49) + 1);
  return 0;
}
```