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

```asm
<c_print_results>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %r9d,%ebp
  push   %rbx
  sub    $0x68,%rsp
  mov    0xb0(%rsp),%rax
  mov    %esi,0x14(%rsp)
  mov    %rdi,%rsi
  lea    D66(%rip),%rdi
  mov    %edx,0x5c(%rsp)
  mov    0xa0(%rsp),%ebx
  mov    %rax,0x20(%rsp)
  mov    0xb8(%rsp),%eax
  mov    %r8d,0x54(%rsp)
  mov    0xa8(%rsp),%r12d
  mov    %eax,0x50(%rsp)
  mov    0xc0(%rsp),%rax
  mov    %ecx,0x58(%rsp)
  mov    0xe8(%rsp),%r15
  mov    %rax,0x28(%rsp)
  mov    0xc8(%rsp),%rax
  movsd  %xmm0,0x18(%rsp)
  mov    0xf0(%rsp),%r14
  mov    0xf8(%rsp),%r13
  mov    %rax,0x30(%rsp)
  mov    0xd0(%rsp),%rax
  movsd  %xmm1,0x8(%rsp)
  mov    %rax,0x38(%rsp)
  mov    0xd8(%rsp),%rax
  mov    %rax,0x40(%rsp)
  mov    0xe0(%rsp),%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  movsbl 0x14(%rsp),%esi
  xor    %eax,%eax
  lea    D86(%rip),%rdi
  call   <printf@plt>
  mov    0x54(%rsp),%r8d
  movslq 0x58(%rsp),%rdx
  mov    0x5c(%rsp),%r10d
  test   %r8d,%r8d
  jne    L45
  movslq %r10d,%rsi
  test   %edx,%edx
  jne    L6
L66:
  lea    D51(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L63:
  mov    %ebp,%esi
  lea    D20(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  movsd  0x18(%rsp),%xmm0
  mov    $0x1,%eax
  lea    D25(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  mov    %r12d,%esi
  lea    D29(%rip),%rdi
  call   <printf@plt>
  test   %ebx,%ebx
  jne    L38
L35:
  movsd  0x8(%rsp),%xmm0
  lea    D196(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm1,%xmm1
  movsd  0x8(%rsp),%xmm0
  lea    D172(%rip),%rdi
  cvtsi2ss %r12d,%xmm1
  mov    $0x1,%eax
  cvtss2sd %xmm1,%xmm1
  divsd  %xmm1,%xmm0
  call   <printf@plt>
  mov    0x20(%rsp),%rsi
  lea    D76(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x50(%rsp),%eax
  test   %eax,%eax
  je     L25
  lea    D215(%rip),%rdi
  call   <puts@plt>
L17:
  mov    0x28(%rsp),%rsi
  lea    D164(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x30(%rsp),%rsi
  lea    D211(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D45(%rip),%rdi
  call   <puts@plt>
  mov    0x38(%rsp),%rsi
  lea    D15(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x40(%rsp),%rsi
  lea    D143(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x48(%rsp),%rsi
  lea    D125(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r15,%rsi
  lea    D84(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r14,%rsi
  lea    D160(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r13,%rsi
  lea    D221(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D59(%rip),%rdi
  call   <puts@plt>
  lea    D249(%rip),%rdi
  call   <puts@plt>
  lea    D124(%rip),%rdi
  call   <puts@plt>
  add    $0x68,%rsp
  lea    D200(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <puts@plt>
  nopl   (%rax)
L25:
  lea    D236(%rip),%rdi
  call   <puts@plt>
  jmp    L17
  nopl   0x0(%rax)
L6:
  imul   %rdx,%rsi
  jmp    L66
  nopl   0x0(%rax)
L45:
  mov    %r8d,%ecx
  mov    %r10d,%esi
  lea    D228(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L63
  nopl   0x0(%rax)
L38:
  mov    %ebx,%esi
  lea    D109(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L35
```

tool_calls: name: read_data
arguments: data_label: D66
datatype: string
name: read_data
arguments: data_label: D86
datatype: string
name: read_data
arguments: data_label: D51
datatype: string
name: read_data
arguments: data_label: D20
datatype: string
name: read_data
arguments: data_label: D25
datatype: string
name: read_data
arguments: data_label: D29
datatype: string
name: read_data
arguments: data_label: D196
datatype: string
name: read_data
arguments: data_label: D172
datatype: string
name: read_data
arguments: data_label: D76
datatype: string
name: read_data
arguments: data_label: D215
datatype: string
name: read_data
arguments: data_label: D164
datatype: string
name: read_data
arguments: data_label: D211
datatype: string
name: read_data
arguments: data_label: D45
datatype: string
name: read_data
arguments: data_label: D15
datatype: string
name: read_data
arguments: data_label: D143
datatype: string
name: read_data
arguments: data_label: D125
datatype: string
name: read_data
arguments: data_label: D84
datatype: string
name: read_data
arguments: data_label: D160
datatype: string
name: read_data
arguments: data_label: D221
datatype: string
name: read_data
arguments: data_label: D59
datatype: string
name: read_data
arguments: data_label: D249
datatype: string
name: read_data
arguments: data_label: D124
datatype: string
name: read_data
arguments: data_label: D200
datatype: string
name: read_data
arguments: data_label: D236
datatype: string
name: read_data
arguments: data_label: D228
datatype: string
name: read_data
arguments: data_label: D109
datatype: string

tool: D66: 

 %s Benchmark Completed


tool: D86:  Class           =                        %c


tool: D51:  Size            =             %12ld


tool: D20:  Iterations      =             %12d


tool: D25:  Time in seconds =             %12.2f


tool: D29:  Total processes =             %12d


tool: D196:  Mop/s total     =             %12.2f


tool: D172:  Mop/s/process   =             %12.2f


tool: D76:  Operation type  = %24s


tool: D215:  Verification    =               SUCCESSFUL

tool: D164:  Version         =             %12s


tool: D211:  Compile date    =             %12s


tool: D45: 
 Compile options:

tool: D15:     MPICC        = %s


tool: D143:     CLINK        = %s


tool: D125:     CMPI_LIB     = %s


tool: D84:     CMPI_INC     = %s


tool: D160:     CFLAGS       = %s


tool: D221:     CLINKFLAGS   = %s


tool: D59: 


tool: D249:  Please send feedbacks and/or the results of this run to:


tool: D124:  NPB Development Team

tool: D200:  npb@nas.nasa.gov



tool: D236:  Verification    =             UNSUCCESSFUL

tool: D228:  Size            =            %3dx %3dx %3d


tool: D109:  Compiled procs  =             %12d


assistant: ```c
void c_print_results(char *name, char class, int n1, int n2, int n3, int niter, int nprocs_compiled, int nprocs_total, double t, double mops, char *optype, int passed_verification, char *npbversion, char *compiletime, char *mpicc, char *clink, char *cmpi_lib, char *cmpi_inc, char *cflags, char *clinkflags) {
  char *evalue = "1000";
  printf("\n\n %s Benchmark Completed\n", name);
  printf(" Class           =                        %c\n", class);
  if (n3 == 0) {
    long nn = n1;
    if (n2 != 0)
      nn *= n2;
    printf(" Size            =             %12ld\n", nn);
  } else
    printf(" Size            =            %3dx %3dx %3d\n", n1, n2, n3);
  printf(" Iterations      =             %12d\n", niter);
  printf(" Time in seconds =             %12.2f\n", t);
  printf(" Total processes =             %12d\n", nprocs_total);
  if (nprocs_compiled != 0)
    printf(" Compiled procs  =             %12d\n", nprocs_compiled);
  printf(" Mop/s total     =             %12.2f\n", mops);
  printf(" Mop/s/process   =             %12.2f\n", mops / ((float)nprocs_total));
  printf(" Operation type  = %24s\n", optype);
  if (passed_verification)
    printf(" Verification    =               SUCCESSFUL\n");
  else
    printf(" Verification    =             UNSUCCESSFUL\n");
  printf(" Version         =             %12s\n", npbversion);
  printf(" Compile date    =             %12s\n", compiletime);
  printf("\n Compile options:\n");
  printf("    MPICC        = %s\n", mpicc);
  printf("    CLINK        = %s\n", clink);
  printf("    CMPI_LIB     = %s\n", cmpi_lib);
  printf("    CMPI_INC     = %s\n", cmpi_inc);
  printf("    CFLAGS       = %s\n", cflags);
  printf("    CLINKFLAGS   = %s\n", clinkflags);
  printf("\n\n");
  printf(" Please send feedbacks and/or the results of this run to:\n\n");
  printf(" NPB Development Team\n");
  printf(" npb@nas.nasa.gov\n\n\n");
}
```