user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0x0,%eax
  call   <init@plt>
  lea    D104(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <initDeck@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <writeDeck@plt>
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    $0xa,%edx
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <riffleShuffle@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <writeDeck@plt>
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D104(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <initDeck@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <writeDeck@plt>
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x1,%edx
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <riffleShuffle@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <writeDeck@plt>
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D91(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <initDeck@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <writeDeck@plt>
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    $0xa,%edx
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <overhandShuffle@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <writeDeck@plt>
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D91(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <initDeck@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <writeDeck@plt>
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x1,%edx
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <overhandShuffle@plt>
  lea    -0x60(%rbp),%rax
  mov    $0x14,%esi
  mov    %rax,%rdi
  call   <writeDeck@plt>
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L1
  call   <__stack_chk_fail@plt>
L1:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D104
type_guessed: string
name: parse_data
arguments: data_tag: D11
type_guessed: string
name: parse_data
arguments: data_tag: D53
type_guessed: string
name: parse_data
arguments: data_tag: D91
type_guessed: string

tool: D104: Riffle shuffle


tool: D11: 


tool: D53: 



tool: D91: Overhand shuffle


assistant: ```c
int main() {
  int deck[20];
  init();
  printf("Riffle shuffle\n");
  initDeck(deck, 20);
  writeDeck(deck, 20);
  printf("\n");
  riffleShuffle(deck, 20, 10);
  writeDeck(deck, 20);
  printf("\n\n");
  printf("Riffle shuffle\n");
  initDeck(deck, 20);
  writeDeck(deck, 20);
  printf("\n");
  riffleShuffle(deck, 20, 1);
  writeDeck(deck, 20);
  printf("\n\n");
  printf("Overhand shuffle\n");
  initDeck(deck, 20);
  writeDeck(deck, 20);
  printf("\n");
  overhandShuffle(deck, 20, 10);
  writeDeck(deck, 20);
  printf("\n\n");
  printf("Overhand shuffle\n");
  initDeck(deck, 20);
  writeDeck(deck, 20);
  printf("\n");
  overhandShuffle(deck, 20, 1);
  writeDeck(deck, 20);
  printf("\n\n");
  return 0;
}
```