user: What is the c source code of the assembly code below?

```asm
<MMX_SUB_8b_AUTOTEST>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x28,%rsp
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x24(%rbp)
  jmp    L27
L1:
  mov    $0x0,%eax
  call   <rand@plt>
  cltd
  shr    $0x10,%edx
  add    %edx,%eax
  movzwl %ax,%eax
  sub    %edx,%eax
  shl    $0x10,%eax
  mov    %eax,%ebx
  mov    $0x0,%eax
  call   <rand@plt>
  cltd
  shr    $0x10,%edx
  add    %edx,%eax
  movzwl %ax,%eax
  sub    %edx,%eax
  and    %ebx,%eax
  mov    %eax,-0x20(%rbp)
  mov    $0x0,%eax
  call   <rand@plt>
  cltd
  shr    $0x10,%edx
  add    %edx,%eax
  movzwl %ax,%eax
  sub    %edx,%eax
  shl    $0x10,%eax
  mov    %eax,%ebx
  mov    $0x0,%eax
  call   <rand@plt>
  cltd
  shr    $0x10,%edx
  add    %edx,%eax
  movzwl %ax,%eax
  sub    %edx,%eax
  and    %ebx,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%edx
  mov    -0x20(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <instr_v8sub@plt>
  mov    %eax,-0x18(%rbp)
  mov    -0x1c(%rbp),%edx
  mov    -0x20(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <prog_v8sub@plt>
  mov    %eax,-0x14(%rbp)
  mov    -0x18(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  je     L7
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x24(%rbp),%eax
  mov    %eax,%esi
  lea    D27(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%eax
  movzbl %al,%edi
  mov    -0x20(%rbp),%eax
  sar    $0x8,%eax
  movzbl %al,%edx
  mov    -0x20(%rbp),%eax
  sar    $0x10,%eax
  movzbl %al,%eax
  mov    -0x20(%rbp),%ecx
  shr    $0x18,%ecx
  mov    %ecx,%esi
  mov    %edi,%r8d
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D3(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1c(%rbp),%eax
  movzbl %al,%edi
  mov    -0x1c(%rbp),%eax
  sar    $0x8,%eax
  movzbl %al,%edx
  mov    -0x1c(%rbp),%eax
  sar    $0x10,%eax
  movzbl %al,%eax
  mov    -0x1c(%rbp),%ecx
  shr    $0x18,%ecx
  mov    %ecx,%esi
  mov    %edi,%r8d
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x18(%rbp),%eax
  movzbl %al,%edi
  mov    -0x18(%rbp),%eax
  sar    $0x8,%eax
  movzbl %al,%edx
  mov    -0x18(%rbp),%eax
  sar    $0x10,%eax
  movzbl %al,%eax
  mov    -0x18(%rbp),%ecx
  mov    %ecx,%esi
  shr    $0x18,%esi
  mov    %edi,%r8d
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x14(%rbp),%eax
  movzbl %al,%edi
  mov    -0x14(%rbp),%eax
  sar    $0x8,%eax
  movzbl %al,%edx
  mov    -0x14(%rbp),%eax
  sar    $0x10,%eax
  movzbl %al,%eax
  mov    -0x14(%rbp),%ecx
  shr    $0x18,%ecx
  mov    %ecx,%esi
  mov    %edi,%r8d
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L28
L7:
  addl   $0x1,-0x24(%rbp)
L27:
  cmpl   $0x9,-0x24(%rbp)
  jle    L1
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x1,%eax
L28:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D49
type_guessed: string
name: disassemble_data
arguments: data_label: D20
type_guessed: string
name: disassemble_data
arguments: data_label: D27
type_guessed: string
name: disassemble_data
arguments: data_label: D3
type_guessed: string
name: disassemble_data
arguments: data_label: D14
type_guessed: string
name: disassemble_data
arguments: data_label: D13
type_guessed: string
name: disassemble_data
arguments: data_label: D4
type_guessed: string
name: disassemble_data
arguments: data_label: D76
type_guessed: string

tool: D49: LAUNCHING THE (MMX_SUB) RESOURCE AUTOTEST...

tool: D20: - TEST OF THE (MMX_SUB) RESOURCE => FAILED !

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


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


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


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


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


tool: D76: - TEST OF THE MMX_SUB_8b RESOURCE => OK

assistant: ```c
int MMX_SUB_8b_AUTOTEST() {
  printf("LAUNCHING THE (MMX_SUB) RESOURCE AUTOTEST...\n");
  int i, j;
  for (j = 0; j < 10; j++) {
    int op1 = ((rand() % 65536) << 16) & (rand() % 65536);
    int op2 = ((rand() % 65536) << 16) & (rand() % 65536);
    int op3 = instr_v8sub(op1, op2);
    int op4 = prog_v8sub(op1, op2);
    if (op3 != op4) {
      printf("- TEST OF THE (MMX_SUB) 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_SUB_8b RESOURCE => OK\n");
  return 1;
}
```