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

```asm
<main>:
  endbr64
  push   %r15
  xor    %edi,%edi
  lea    D32(%rip),%r15
  push   %r14
  lea    D16(%rip),%r14
  push   %r13
  push   %r12
  lea    D4(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%r13
  call   <time@plt>
  mov    %eax,%edi
  call   <srand@plt>
  xor    %eax,%eax
  call   <divider@plt>
  lea    0x14(%rsp),%rax
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax,%rax,1)
L20:
  xor    %eax,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  mov    %rdx,%rbp
  imul   $0x38e38e39,%rdx,%rdx
  mov    %ebp,%eax
  sar    $0x1f,%eax
  sar    $0x21,%rdx
  sub    %eax,%edx
  lea    (%rdx,%rdx,8),%eax
  sub    %eax,%ebp
  xor    %eax,%eax
  call   <rand@plt>
  add    $0x1,%ebp
  mov    %r14,%rdi
  movslq %eax,%rdx
  mov    %ebp,%esi
  mov    %rdx,%rbx
  imul   $0x38e38e39,%rdx,%rdx
  mov    %ebx,%eax
  sar    $0x1f,%eax
  sar    $0x21,%rdx
  sub    %eax,%edx
  lea    (%rdx,%rdx,8),%eax
  sub    %eax,%ebx
  xor    %eax,%eax
  add    $0x1,%ebx
  mov    %ebx,%edx
  call   <printf@plt>
  mov    %ebp,%eax
  imul   %ebx,%eax
  mov    %eax,0x4(%rsp)
  jmp    L53
  nopw   0x0(%rax,%rax,1)
L16:
  lea    D3(%rip),%rdi
  call   <puts@plt>
  mov    %ebx,%edx
  mov    %ebp,%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
L53:
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    0x4(%rsp),%eax
  cmp    0x10(%rsp),%eax
  jne    L16
  lea    D34(%rip),%rdi
  call   <puts@plt>
  xor    %eax,%eax
  call   <divider@plt>
  movl   $0xffffffff,0x14(%rsp)
  nopw   0x0(%rax,%rax,1)
L23:
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  cmp    $0x1,%eax
  ja     L23
  test   %eax,%eax
  je     L17
  xor    %eax,%eax
  call   <divider@plt>
  jmp    L20
L17:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L21
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L21:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D32
data_type: string
name: extract_symbolic_data
arguments: data_tag: D16
data_type: string
name: extract_symbolic_data
arguments: data_tag: D4
data_type: string
name: extract_symbolic_data
arguments: data_tag: D3
data_type: string
name: extract_symbolic_data
arguments: data_tag: D34
data_type: string

tool: D32: Would you like to answer another question? (0 = No, 1 = Yes) 

tool: D16: How much is %d times %d? 

tool: D4: %d

tool: D3: Please try again.


tool: D34: That is correct!

assistant: ```c
void main() {
  int num1, num2;
  int guess;
  int i, i2, i3;
  int cont;
  srand(time(NULL));
  divider();
  i = 1;
  while (i == 1) {
    i2 = 1;
    while (i2 == 1) {
      num1 = rand() % 9 + 1;
      num2 = rand() % 9 + 1;
      printf("How much is %d times %d? ", num1, num2);
      i3 = 1;
      while (i3 == 1) {
        scanf("%d", &guess);
        if (guess == (num1 * num2)) {
          printf("That is correct!\n");
          divider();
          i3 = 0;
          i2 = 0;
        } else {
          printf("Please try again.\n\n");
          printf("How much is %d times %d? ", num1, num2);
        }
      }
    }
    for (cont = -1; (cont < 0) || cont > 1;) {
      printf("Would you like to answer another question? (0 = No, 1 = Yes) ");
      scanf("%d", &cont);
    }
    if (cont == 0)
      i = 0;
    else
      divider();
  }
}
```