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

```asm
<MMX_MIX_8b_AUTOTEST>:
  endbr64
  push   %r14
  lea    D68(%rip),%rdi
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  push   %rbp
  push   %rbx
  call   <puts@plt>
  nopl   0x0(%rax,%rax,1)
L11:
  xor    %eax,%eax
  call   <rand@plt>
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <rand@plt>
  shl    $0x10,%r12d
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  shr    $0x10,%ecx
  lea    (%rax,%rcx,1),%edx
  xor    %eax,%eax
  movzwl %dx,%edx
  sub    %ecx,%edx
  and    %edx,%r12d
  call   <rand@plt>
  mov    %eax,%ebp
  xor    %eax,%eax
  call   <rand@plt>
  mov    %ebp,%edx
  sar    $0x1f,%edx
  shr    $0x1e,%edx
  add    %edx,%ebp
  and    $0x3,%ebp
  sub    %edx,%ebp
  cltd
  shr    $0x1e,%edx
  add    $0x1,%ebp
  add    %edx,%eax
  shl    $0x18,%ebp
  and    $0x3,%eax
  sub    %edx,%eax
  add    $0x1,%eax
  shl    $0x10,%eax
  and    %eax,%ebp
  xor    %eax,%eax
  call   <rand@plt>
  mov    %eax,%ebx
  xor    %eax,%eax
  call   <rand@plt>
  mov    %ebx,%edx
  mov    %r12d,%edi
  sar    $0x1f,%edx
  mov    %eax,%ecx
  shr    $0x1e,%edx
  sar    $0x1f,%ecx
  add    %edx,%ebx
  shr    $0x1e,%ecx
  and    $0x3,%ebx
  sub    %edx,%ebx
  lea    (%rax,%rcx,1),%edx
  and    $0x3,%edx
  add    $0x1,%ebx
  sub    %ecx,%edx
  shl    $0x8,%ebx
  add    $0x1,%edx
  and    %ebp,%edx
  and    %edx,%ebx
  mov    %ebx,%esi
  call   <instr_v8mix@plt>
  mov    %ebx,%esi
  mov    %r12d,%edi
  mov    %eax,%ebp
  call   <prog_v8mix@plt>
  mov    %eax,%r14d
  cmp    %eax,%ebp
  jne    L3
  add    $0x1,%r13d
  cmp    $0xa,%r13d
  jne    L11
  lea    D35(%rip),%rdi
  call   <puts@plt>
  pop    %rbx
  mov    $0x1,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L3:
  lea    D18(%rip),%rdi
  call   <puts@plt>
  mov    %r13d,%esi
  lea    D13(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12d,%edx
  mov    %r12d,%esi
  xor    %r8d,%r8d
  sar    $0x10,%edx
  shr    $0x18,%esi
  xor    %ecx,%ecx
  lea    D66(%rip),%rdi
  movzbl %dl,%edx
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  xor    %r8d,%r8d
  xor    %ecx,%ecx
  shr    $0x18,%esi
  xor    %edx,%edx
  lea    D61(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebp,%edx
  mov    %ebp,%eax
  mov    %ebp,%esi
  sar    $0x10,%edx
  movzbl %ah,%ecx
  movzbl %bpl,%r8d
  shr    $0x18,%esi
  movzbl %dl,%edx
  lea    D31(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r14d,%edx
  mov    %r14d,%eax
  mov    %r14d,%esi
  sar    $0x10,%edx
  movzbl %ah,%ecx
  movzbl %r14b,%r8d
  shr    $0x18,%esi
  movzbl %dl,%edx
  lea    D78(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  pop    %rbx
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
```

tool_calls: name: read_data
arguments: data_tag: D68
type: string
name: read_data
arguments: data_tag: D35
type: string
name: read_data
arguments: data_tag: D18
type: string
name: read_data
arguments: data_tag: D13
type: string
name: read_data
arguments: data_tag: D66
type: string
name: read_data
arguments: data_tag: D61
type: string
name: read_data
arguments: data_tag: D31
type: string
name: read_data
arguments: data_tag: D78
type: string

tool: D68: LAUNCHING THE (MMX_MIX) RESOURCE AUTOTEST...

tool: D35: - TEST OF THE (MMX_MIX) RESOURCE => OK

tool: D18: - TEST OF THE (MMX_MIX) RESOURCE => FAILED !

tool: D13:   + %d COMPUTATION(s) BEFORE ERROR...


tool: D66:   + OPERANDE 1 [%.3d %.3d %.3d %.3d]


tool: D61:   + OPERANDE 2 [%.3d %.3d %.3d %.3d]


tool: D31:   + ASM INSTR. [%.3d %.3d %.3d %.3d]


tool: D78:   + REF C CODE [%.3d %.3d %.3d %.3d]


assistant: ```c
int MMX_MIX_8b_AUTOTEST() {
  int i, j;
  printf("LAUNCHING THE (MMX_MIX) RESOURCE AUTOTEST...\n");
  for (j = 0; j < 10; j++) {
    int op1 = ((rand() % 65536) << 16) & (rand() % 65536);
    int op2 = ((rand() % 4 + 1) << 24) & ((rand() % 4 + 1) << 16) & ((rand() % 4 + 1) << 8) & ((rand() % 4 + 1) << 0);
    int op3 = instr_v8mix(op1, op2);
    int op4 = prog_v8mix(op1, op2);
    if (op3 != op4) {
      printf("- TEST OF THE (MMX_MIX) RESOURCE => FAILED !\n");
      printf("  + %d COMPUTATION(s) BEFORE ERROR...\n", j);
      printf("  + OPERANDE 1 [%.3d %.3d %.3d %.3d]\n", ((op1 & 0xFF000000) >> 24), ((op1 & 0x00FF0000) >> 16), ((op1 & 0x0000FF00) >> 8), ((op1 & 0x000000FF)));
      printf("  + OPERANDE 2 [%.3d %.3d %.3d %.3d]\n", ((op2 & 0xFF000000) >> 24), ((op2 & 0x00FF0000) >> 16), ((op2 & 0x0000FF00) >> 8), ((op2 & 0x000000FF)));
      printf("  + ASM INSTR. [%.3d %.3d %.3d %.3d]\n", ((op3 & 0xFF000000) >> 24), ((op3 & 0x00FF0000) >> 16), ((op3 & 0x0000FF00) >> 8), ((op3 & 0x000000FF)));
      printf("  + REF C CODE [%.3d %.3d %.3d %.3d]\n", ((op4 & 0xFF000000) >> 24), ((op4 & 0x00FF0000) >> 16), ((op4 & 0x0000FF00) >> 8), ((op4 & 0x000000FF)));
      return 0;
    }
  }
  printf("- TEST OF THE (MMX_MIX) RESOURCE => OK\n");
  return 1;
}
```