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
  push   %rbx
  sub    $0x18,%rsp
  mov    %esi,%ebx
  mov    %edx,%r15d
  mov    %ecx,%ebp
  mov    %r8d,%r12d
  mov    %r9d,%r14d
  movq   %xmm0,%r13
  movsd  %xmm1,0x8(%rsp)
  mov    %rdi,%rsi
  lea    D116(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movsbl %bl,%esi
  lea    D23(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%eax
  or     %r12d,%eax
  jne    L2
  mov    %r15d,%esi
  lea    D188(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L21:
  mov    %r14d,%esi
  lea    D29(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x50(%rsp),%esi
  lea    D22(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movq   %r13,%xmm0
  lea    D70(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm0
  lea    D12(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x58(%rsp),%rsi
  lea    D81(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,0x60(%rsp)
  je     L29
  lea    D13(%rip),%rdi
  call   <puts@plt>
L4:
  mov    0x68(%rsp),%rsi
  lea    D60(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x70(%rsp),%rsi
  lea    D14(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D65(%rip),%rdi
  call   <puts@plt>
  mov    0x78(%rsp),%rsi
  lea    D178(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x80(%rsp),%rsi
  lea    D177(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x88(%rsp),%rsi
  lea    D203(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x90(%rsp),%rsi
  lea    D141(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x98(%rsp),%rsi
  lea    D147(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xa0(%rsp),%rsi
  lea    D47(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xa8(%rsp),%rsi
  lea    D100(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L2:
  mov    %r12d,%ecx
  mov    %ebp,%edx
  mov    %r15d,%esi
  lea    D191(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L21
L29:
  lea    D10(%rip),%rdi
  call   <puts@plt>
  jmp    L4
```

tool_calls: name: unpack_data
arguments: data_tag: D116
datatype: string
name: unpack_data
arguments: data_tag: D23
datatype: string
name: unpack_data
arguments: data_tag: D188
datatype: string
name: unpack_data
arguments: data_tag: D29
datatype: string
name: unpack_data
arguments: data_tag: D22
datatype: string
name: unpack_data
arguments: data_tag: D70
datatype: string
name: unpack_data
arguments: data_tag: D12
datatype: string
name: unpack_data
arguments: data_tag: D81
datatype: string
name: unpack_data
arguments: data_tag: D13
datatype: string
name: unpack_data
arguments: data_tag: D60
datatype: string
name: unpack_data
arguments: data_tag: D14
datatype: string
name: unpack_data
arguments: data_tag: D65
datatype: string
name: unpack_data
arguments: data_tag: D178
datatype: string
name: unpack_data
arguments: data_tag: D177
datatype: string
name: unpack_data
arguments: data_tag: D203
datatype: string
name: unpack_data
arguments: data_tag: D141
datatype: string
name: unpack_data
arguments: data_tag: D147
datatype: string
name: unpack_data
arguments: data_tag: D47
datatype: string
name: unpack_data
arguments: data_tag: D100
datatype: string
name: unpack_data
arguments: data_tag: D191
datatype: string
name: unpack_data
arguments: data_tag: D10
datatype: string

tool: D116: 

 %s Benchmark Completed


tool: D23:  Class           =                        %c


tool: D188:  Size            =             %12d


tool: D29:  Iterations      =             %12d


tool: D22:  Threads         =             %12d


tool: D70:  Time in seconds =             %12.2f


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


tool: D81:  Operation type  = %24s


tool: D13:  Verification    =               SUCCESSFUL

tool: D60:  Version         =             %12s


tool: D14:  Compile date    =             %12s


tool: D65: 
 Compile options:

tool: D178:     CC           = %s


tool: D177:     CLINK        = %s


tool: D203:     C_LIB        = %s


tool: D141:     C_INC        = %s


tool: D147:     CFLAGS       = %s


tool: D47:     CLINKFLAGS   = %s


tool: D100:     RAND         = %s


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


tool: D10:  Verification    =             UNSUCCESSFUL

assistant: ```c
void c_print_results(char *name, char cclass, int n1, int n2, int n3, int niter, int nthreads, double t, double mops, char *optype, int passed_verification, char *npbversion, char *compiletime, char *cc, char *clink, char *c_lib, char *c_inc, char *cflags, char *clinkflags, char *rand) {
  char *evalue = "1000";
  printf("\n\n %s Benchmark Completed\n", name);
  printf(" Class           =                        %c\n", cclass);
  if (n2 == 0 && n3 == 0)
    printf(" Size            =             %12d\n", n1);
  else
    printf(" Size            =              %3dx%3dx%3d\n", n1, n2, n3);
  printf(" Iterations      =             %12d\n", niter);
  printf(" Threads         =             %12d\n", nthreads);
  printf(" Time in seconds =             %12.2f\n", t);
  printf(" Mop/s total     =             %12.2f\n", mops);
  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("    CC           = %s\n", cc);
  printf("    CLINK        = %s\n", clink);
  printf("    C_LIB        = %s\n", c_lib);
  printf("    C_INC        = %s\n", c_inc);
  printf("    CFLAGS       = %s\n", cflags);
  printf("    CLINKFLAGS   = %s\n", clinkflags);
  printf("    RAND         = %s\n", rand);
}
```