user: What would the C source look like for the assembly code provided here:

```asm
<play_hangman>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %esi,0x8(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  test   %esi,%esi
  jle    L115
  movslq 0x8(%rsp),%r13
  lea    0x32(%rsp),%rdi
  mov    $0x2d,%esi
  mov    %rdi,(%rsp)
  mov    %r13,%rdx
  call   <memset@plt>
  lea    0x39(%rsp),%rax
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %rax,%rdi
  mov    %rax,0x28(%rsp)
  call   <memcpy@plt>
L23:
  mov    0x8(%rsp),%ebx
  xor    %eax,%eax
  mov    $0xffffffff,%ebp
  lea    0x31(%rsp),%r13
  lea    D11(%rip),%rdi
  mov    $0xffffffffffffffff,%r15
  lea    D19(%rip),%r14
  mov    %ebx,%esi
  call   <printf@plt>
  mov    (%rsp),%rdi
  mov    %ebx,%esi
  xor    %edx,%edx
  lea    D12(%rip),%rbx
  call   <draw_hangman@plt>
  lea    0x41(%rsp),%rax
  movl   $0xfffffffe,0xc(%rsp)
  mov    %rax,0x20(%rsp)
  lea    0x40(%rsp),%rax
  mov    %rax,0x18(%rsp)
L12:
  add    $0x1,%ebp
  nopl   0x0(%rax)
L43:
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r13,%rdi
  call   <gets@plt>
  test   %ebp,%ebp
  je     L145
  mov    $0x1,%edi
  xor    %edx,%edx
  jmp    L105
  nop
L83:
  lea    0x1(%rax),%edx
  cmp    %r15d,%eax
  jge    L85
L105:
  movslq %edx,%rcx
  movsbl 0x31(%rsp),%esi
  mov    %edx,%eax
  cmp    %sil,0x40(%rsp,%rcx,1)
  jne    L83
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebp,%eax
  xor    %edi,%edi
  lea    0x1(%rax),%edx
  cmp    %r15d,%eax
  jl     L105
L85:
  test   %edi,%edi
  je     L43
  nopl   0x0(%rax,%rax,1)
L145:
  mov    0x20(%rsp),%rax
  movzbl 0x31(%rsp),%edx
  xor    %r9d,%r9d
  xor    %ecx,%ecx
  mov    0xc(%rsp),%esi
  mov    0x8(%rsp),%edi
  mov    (%rsp),%r8
  mov    %dl,(%rax,%r15,1)
  xor    %eax,%eax
  nopl   0x0(%rax)
L122:
  cmp    (%r12,%rax,1),%dl
  jne    L103
  add    $0x1,%esi
  mov    $0x1,%ecx
  mov    %dl,(%r8,%rax,1)
  cmp    %esi,%edi
  movb   $0x3f,(%r12,%rax,1)
  cmovle %ecx,%r9d
L103:
  add    $0x1,%rax
  cmp    $0x7,%rax
  jne    L122
  mov    %esi,0xc(%rsp)
  mov    (%rsp),%rdi
  xor    %edx,%edx
  mov    0x8(%rsp),%esi
  mov    %ecx,0x14(%rsp)
  mov    %r9d,0x10(%rsp)
  call   <draw_hangman@plt>
  mov    0x18(%rsp),%rdi
  mov    $0x1,%edx
  mov    %ebp,%esi
  call   <draw_hangman@plt>
  mov    0x14(%rsp),%ecx
  mov    0x10(%rsp),%r9d
  test   %ecx,%ecx
  je     L14
L72:
  add    $0x1,%r15
  cmp    $0x9,%ebp
  jg     L59
  test   $0x1,%r9b
  je     L12
L59:
  mov    0x28(%rsp),%rdx
  mov    %ebp,%esi
  mov    %r9d,%edi
  call   <printextralines@plt>
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L28
  add    $0x98,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L14:
  mov    0x18(%rsp),%rdi
  mov    $0x2,%edx
  mov    %ebp,%esi
  call   <draw_hangman@plt>
  mov    0x10(%rsp),%r9d
  jmp    L72
L115:
  lea    0x32(%rsp),%rax
  mov    %rax,(%rsp)
  lea    0x39(%rsp),%rax
  mov    %rax,0x28(%rsp)
  jmp    L23
L28:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D11
datatype: string
name: parse_data
arguments: data_tag: D19
datatype: string
name: parse_data
arguments: data_tag: D12
datatype: string

tool: D11: You must attempt to guess a word of lenth: %d


tool: D19: Guess a character? 

tool: D12: The character %c is already in the list, please enter a new one.


assistant: ```c
int play_hangman(char hiddenword[7], int wordsize) {
  int index;
  int runloop1;
  int foundcharinword;
  char storechar;
  char guessedword[7];
  char originalword[7];
  char lettersguessed[64];
  int playthegame = 0;
  int countguesses = -1;
  int foundchar = -2;
  int playerwins = 0;
  for (index = 0; index < wordsize; index++) {
    guessedword[index] = '-';
  }
  for (index = 0; index < wordsize; index++) {
    originalword[index] = hiddenword[index];
  }
  printf("You must attempt to guess a word of lenth: %d\n", wordsize);
  draw_hangman(guessedword, wordsize, 0);
  while (playthegame == 0) {
    countguesses++;
    runloop1 = 0;
    while (runloop1 == 0) {
      printf("Guess a character? ");
      gets(&storechar);
      runloop1 = 1;
      for (index = 0; index < countguesses; index++) {
        if (storechar == lettersguessed[index]) {
          printf("The character %c is already in the list, please enter a new one.\n", storechar);
          runloop1 = 0;
          index = countguesses;
        }
      }
    }
    lettersguessed[countguesses] = storechar;
    foundcharinword = 0;
    for (index = 0; index < 7; index++) {
      if (storechar == hiddenword[index]) {
        guessedword[index] = storechar;
        hiddenword[index] = '?';
        foundcharinword = 1;
        foundchar++;
        if (foundchar >= wordsize)
          playerwins = 1;
      }
    }
    draw_hangman(guessedword, wordsize, 0);
    draw_hangman(lettersguessed, countguesses, 1);
    if (foundcharinword == 0) {
      draw_hangman(lettersguessed, countguesses, 2);
    }
    if (countguesses >= 10 || playerwins == 1) {
      playthegame = 1;
    }
  }
  printextralines(playerwins, countguesses, originalword);
  return 0;
}
```