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    $0x58,%rsp
  mov    0x98(%rsp),%eax
  mov    %esi,0xc(%rsp)
  mov    %rdi,%rsi
  lea    D177(%rip),%rdi
  mov    %edx,0x4c(%rsp)
  mov    0x90(%rsp),%r15
  mov    %eax,0x40(%rsp)
  mov    0xa8(%rsp),%rax
  mov    %r8d,0x44(%rsp)
  mov    0xa0(%rsp),%r14
  mov    %rax,0x20(%rsp)
  mov    0xb0(%rsp),%rax
  mov    %ecx,0x48(%rsp)
  mov    0xc8(%rsp),%rbx
  mov    %rax,0x28(%rsp)
  mov    0xb8(%rsp),%rax
  movsd  %xmm0,0x10(%rsp)
  mov    0xd0(%rsp),%r13
  mov    0xd8(%rsp),%r12
  mov    %rax,0x30(%rsp)
  mov    0xc0(%rsp),%rax
  movsd  %xmm1,0x18(%rsp)
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  movsbl 0xc(%rsp),%esi
  xor    %eax,%eax
  lea    D28(%rip),%rdi
  call   <printf@plt>
  mov    0x44(%rsp),%r8d
  movslq 0x48(%rsp),%rdx
  mov    0x4c(%rsp),%r10d
  test   %r8d,%r8d
  jne    L75
  movslq %r10d,%rsi
  test   %edx,%edx
  jne    L5
L33:
  lea    D21(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L62:
  mov    %ebp,%esi
  lea    D41(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  movsd  0x10(%rsp),%xmm0
  mov    $0x1,%eax
  lea    D161(%rip),%rdi
  call   <printf@plt>
  movsd  0x18(%rsp),%xmm0
  mov    $0x1,%eax
  lea    D154(%rip),%rdi
  call   <printf@plt>
  mov    %r15,%rsi
  lea    D188(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x40(%rsp),%eax
  test   %eax,%eax
  js     L57
  jne    L25
  lea    D94(%rip),%rdi
  call   <puts@plt>
L46:
  mov    %r14,%rsi
  lea    D93(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x20(%rsp),%rsi
  lea    D165(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D22(%rip),%rdi
  call   <puts@plt>
  mov    0x28(%rsp),%rsi
  lea    D42(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x30(%rsp),%rsi
  lea    D91(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x38(%rsp),%rsi
  lea    D68(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rsi
  lea    D144(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r13,%rsi
  lea    D121(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  lea    D178(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D67(%rip),%rdi
  call   <puts@plt>
  lea    D37(%rip),%rdi
  call   <puts@plt>
  lea    D227(%rip),%rdi
  call   <puts@plt>
  add    $0x58,%rsp
  lea    D186(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <puts@plt>
  nopl   (%rax)
L25:
  lea    D219(%rip),%rdi
  call   <puts@plt>
  jmp    L46
  nopl   0x0(%rax)
L5:
  imul   %rdx,%rsi
  jmp    L33
  nopl   0x0(%rax)
L75:
  mov    %r8d,%ecx
  mov    %r10d,%esi
  lea    D142(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L62
  nopl   0x0(%rax)
L57:
  lea    D109(%rip),%rdi
  call   <puts@plt>
  jmp    L46
```

tool_calls: name: parse_data
arguments: tag: D177
datatype: string
name: parse_data
arguments: tag: D28
datatype: string
name: parse_data
arguments: tag: D21
datatype: string
name: parse_data
arguments: tag: D41
datatype: string
name: parse_data
arguments: tag: D161
datatype: string
name: parse_data
arguments: tag: D154
datatype: string
name: parse_data
arguments: tag: D188
datatype: string
name: parse_data
arguments: tag: D94
datatype: string
name: parse_data
arguments: tag: D93
datatype: string
name: parse_data
arguments: tag: D165
datatype: string
name: parse_data
arguments: tag: D22
datatype: string
name: parse_data
arguments: tag: D42
datatype: string
name: parse_data
arguments: tag: D91
datatype: string
name: parse_data
arguments: tag: D68
datatype: string
name: parse_data
arguments: tag: D144
datatype: string
name: parse_data
arguments: tag: D121
datatype: string
name: parse_data
arguments: tag: D178
datatype: string
name: parse_data
arguments: tag: D67
datatype: string
name: parse_data
arguments: tag: D37
datatype: string
name: parse_data
arguments: tag: D227
datatype: string
name: parse_data
arguments: tag: D186
datatype: string
name: parse_data
arguments: tag: D219
datatype: string
name: parse_data
arguments: tag: D142
datatype: string
name: parse_data
arguments: tag: D109
datatype: string

tool: D177: 

 %s Benchmark Completed


tool: D28:  Class           =                        %c


tool: D21:  Size            =             %12ld


tool: D41:  Iterations      =             %12d


tool: D161:  Time in seconds =             %12.2f


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


tool: D188:  Operation type  = %24s


tool: D94:  Verification    =             UNSUCCESSFUL

tool: D93:  Version         =             %12s


tool: D165:  Compile date    =             %12s


tool: D22: 
 Compile options:

tool: D42:     CC           = %s


tool: D91:     CLINK        = %s


tool: D68:     C_LIB        = %s


tool: D144:     C_INC        = %s


tool: D121:     CFLAGS       = %s


tool: D178:     CLINKFLAGS   = %s


tool: D67: 


tool: D37:  Please send all errors/feedbacks to:


tool: D227:  NPB Development Team

tool: D186:  npb@nas.nasa.gov


tool: D219:  Verification    =               SUCCESSFUL

tool: D142:  Size            =             %4dx%4dx%4d


tool: D109:  Verification    =            NOT PERFORMED

assistant: ```c
void c_print_results(char *name, char class, int n1, int n2, int n3, int niter, 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) {
  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            =             %4dx%4dx%4d\n", n1, n2, n3);
  printf(" Iterations      =             %12d\n", niter);
  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 < 0)
    printf(" Verification    =            NOT PERFORMED\n");
  else 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("\n\n");
  printf(" Please send all errors/feedbacks to:\n\n");
  printf(" NPB Development Team\n");
  printf(" npb@nas.nasa.gov\n\n");
}
```