user: Please show me the C implementation that matches the assembly code listed below:

```asm
<selectTiles>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movl   $0x19,-0x80(%rbp)
  movabs $0x4847464544434241,%rax
  movabs $0x504f4e4d4c4b4a49,%rdx
  mov    %rax,-0x60(%rbp)
  mov    %rdx,-0x58(%rbp)
  movabs $0x5857565554535251,%rax
  mov    %rax,-0x50(%rbp)
  movb   $0x59,-0x48(%rbp)
  movl   $0x0,-0x88(%rbp)
  jmp    L72
L9:
  mov    %rsp,%rax
  mov    %rax,%rbx
  movl   $0x0,-0x84(%rbp)
  mov    -0x80(%rbp),%edx
  lea    -0x60(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <pickLetter@plt>
  mov    %al,-0x89(%rbp)
  mov    -0x88(%rbp),%eax
  cltq
  movzbl -0x89(%rbp),%edx
  mov    %dl,-0x65(%rbp,%rax,1)
  subl   $0x1,-0x80(%rbp)
  mov    -0x80(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x78(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  cltq
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L7:
  cmp    %rdx,%rsp
  je     L57
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L7
L57:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L46
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L46:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x70(%rbp)
  movl   $0x0,-0x7c(%rbp)
  jmp    L43
L26:
  mov    -0x7c(%rbp),%eax
  cltq
  movzbl -0x60(%rbp,%rax,1),%eax
  cmp    %al,-0x89(%rbp)
  je     L68
  mov    -0x7c(%rbp),%eax
  cltq
  movzbl -0x60(%rbp,%rax,1),%ecx
  mov    -0x70(%rbp),%rdx
  mov    -0x84(%rbp),%eax
  cltq
  mov    %cl,(%rdx,%rax,1)
  addl   $0x1,-0x84(%rbp)
L68:
  addl   $0x1,-0x7c(%rbp)
L43:
  mov    -0x7c(%rbp),%eax
  cmp    -0x80(%rbp),%eax
  jl     L26
  mov    -0x80(%rbp),%edx
  mov    -0x70(%rbp),%rcx
  lea    -0x60(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
  mov    %rbx,%rsp
  addl   $0x1,-0x88(%rbp)
L72:
  cmpl   $0x4,-0x88(%rbp)
  jle    L9
  lea    -0x65(%rbp),%rax
  mov    %rax,%rsi
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  nop
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L10
  call   <__stack_chk_fail@plt>
L10:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: label: D9
datatype: string

tool: D9: Block: %s


assistant: ```c
void selectTiles() {
  int i, c;
  int size = 25;
  char letters[25] = "ABCDEFGHIJKLMNOPQRSTUVWXY";
  char block[5];
  for (i = 0; i < 5; i++) {
    c = 0;
    char letter = pickLetter(letters, size);
    block[i] = letter;
    size--;
    char temp[size];
    int j;
    for (j = 0; j < size; j++) {
      if (letters[j] != letter) {
        temp[c] = letters[j];
        c++;
      }
    }
    strncpy(letters, temp, size);
  }
  printf("Block: %s\n", block);
}
```