user: 请将以下的汇编代码转换成C语言代码：

```asm
<MMX_MIX_8b_AUTOTEST>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    D29(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%r13d
L10:
  mov    $0x0,%eax
  call   <rand@plt>
  mov    %eax,%r12d
  mov    $0x0,%eax
  call   <rand@plt>
  shl    $0x10,%r12d
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  shr    $0x10,%ecx
  lea    (%rax,%rcx,1),%edx
  movzwl %dx,%edx
  sub    %ecx,%edx
  and    %edx,%r12d
  mov    $0x0,%eax
  call   <rand@plt>
  mov    %eax,%ebp
  mov    $0x0,%eax
  call   <rand@plt>
  mov    %ebp,%edx
  sar    $0x1f,%edx
  shr    $0x1e,%edx
  add    %edx,%ebp
  and    $0x3,%ebp
  sub    %edx,%ebp
  add    $0x1,%ebp
  shl    $0x18,%ebp
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  add    $0x1,%eax
  shl    $0x10,%eax
  and    %eax,%ebp
  mov    $0x0,%eax
  call   <rand@plt>
  mov    %eax,%ebx
  mov    $0x0,%eax
  call   <rand@plt>
  mov    %ebx,%edx
  sar    $0x1f,%edx
  shr    $0x1e,%edx
  add    %edx,%ebx
  and    $0x3,%ebx
  sub    %edx,%ebx
  add    $0x1,%ebx
  shl    $0x8,%ebx
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  add    $0x1,%eax
  and    %ebp,%eax
  and    %eax,%ebx
  mov    %ebx,%esi
  mov    %r12d,%edi
  call   <instr_v8mix@plt>
  mov    %eax,%r14d
  mov    %ebx,%esi
  mov    %r12d,%edi
  call   <prog_v8mix@plt>
  mov    %eax,%ebp
  cmp    %eax,%r14d
  jne    L29
  add    $0x1,%r13d
  cmp    $0xa,%r13d
  jne    L10
  lea    D12(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%eax
L18:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L29:
  lea    D68(%rip),%rdi
  call   <puts@plt>
  mov    %r13d,%esi
  lea    D79(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r12d,%edx
  sar    $0x10,%edx
  movzbl %dl,%edx
  mov    %r12d,%esi
  shr    $0x18,%esi
  mov    $0x0,%r8d
  mov    $0x0,%ecx
  lea    D36(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  shr    $0x18,%esi
  mov    $0x0,%r8d
  mov    $0x0,%ecx
  mov    $0x0,%edx
  lea    D58(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r14d,%eax
  movzbl %ah,%ecx
  mov    %r14d,%edx
  sar    $0x10,%edx
  movzbl %dl,%edx
  mov    %r14d,%esi
  shr    $0x18,%esi
  movzbl %r14b,%r8d
  lea    D65(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%eax
  movzbl %ah,%ecx
  mov    %ebp,%edx
  sar    $0x10,%edx
  movzbl %dl,%edx
  mov    %ebp,%esi
  shr    $0x18,%esi
  movzbl %bpl,%r8d
  lea    D14(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L18
```

tool_calls: name: read_data
arguments: data_tag: D29
type_infered: string
name: read_data
arguments: data_tag: D12
type_infered: string
name: read_data
arguments: data_tag: D68
type_infered: string
name: read_data
arguments: data_tag: D79
type_infered: string
name: read_data
arguments: data_tag: D36
type_infered: string
name: read_data
arguments: data_tag: D58
type_infered: string
name: read_data
arguments: data_tag: D65
type_infered: string
name: read_data
arguments: data_tag: D14
type_infered: string

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

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

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

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


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


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


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


tool: D14:   + 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;
}
```