user: Demonstrate the C code that generates the assembly output below:

```asm
<c_print_results>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,%eax
  mov    %edx,-0x20(%rbp)
  mov    %ecx,-0x24(%rbp)
  mov    %r8d,-0x28(%rbp)
  mov    %r9d,-0x2c(%rbp)
  movsd  %xmm0,-0x38(%rbp)
  movsd  %xmm1,-0x40(%rbp)
  mov    %al,-0x1c(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movsbl -0x1c(%rbp),%eax
  mov    %eax,%esi
  lea    D133(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,-0x28(%rbp)
  jne    L65
  mov    -0x20(%rbp),%eax
  cltq
  mov    %rax,-0x8(%rbp)
  cmpl   $0x0,-0x24(%rbp)
  je     L8
  mov    -0x24(%rbp),%eax
  cltq
  mov    -0x8(%rbp),%rdx
  imul   %rdx,%rax
  mov    %rax,-0x8(%rbp)
L8:
  mov    -0x8(%rbp),%rax
  mov    %rax,%rsi
  lea    D69(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L59
L65:
  mov    -0x28(%rbp),%ecx
  mov    -0x24(%rbp),%edx
  mov    -0x20(%rbp),%eax
  mov    %eax,%esi
  lea    D155(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L59:
  mov    -0x2c(%rbp),%eax
  mov    %eax,%esi
  lea    D94(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  movq   %rax,%xmm0
  lea    D103(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x40(%rbp),%rax
  movq   %rax,%xmm0
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x10(%rbp),%rsi
  lea    D170(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,0x18(%rbp)
  jns    L20
  lea    D108(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L16
L20:
  cmpl   $0x0,0x18(%rbp)
  je     L23
  lea    D174(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  jmp    L16
L23:
  lea    D160(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L16:
  mov    0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D73(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x28(%rbp),%rax
  mov    %rax,%rsi
  lea    D226(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D163(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D237(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x38(%rbp),%rax
  mov    %rax,%rsi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x40(%rbp),%rax
  mov    %rax,%rsi
  lea    D43(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x48(%rbp),%rax
  mov    %rax,%rsi
  lea    D194(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x50(%rbp),%rax
  mov    %rax,%rsi
  lea    D185(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x58(%rbp),%rax
  mov    %rax,%rsi
  lea    D95(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D35(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D140(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D164(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D207(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  nop
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D98
data_type: string
name: read_data
arguments: data_tag: D133
data_type: string
name: read_data
arguments: data_tag: D69
data_type: string
name: read_data
arguments: data_tag: D155
data_type: string
name: read_data
arguments: data_tag: D94
data_type: string
name: read_data
arguments: data_tag: D103
data_type: string
name: read_data
arguments: data_tag: D21
data_type: string
name: read_data
arguments: data_tag: D170
data_type: string
name: read_data
arguments: data_tag: D108
data_type: string
name: read_data
arguments: data_tag: D174
data_type: string
name: read_data
arguments: data_tag: D160
data_type: string
name: read_data
arguments: data_tag: D73
data_type: string
name: read_data
arguments: data_tag: D226
data_type: string
name: read_data
arguments: data_tag: D163
data_type: string
name: read_data
arguments: data_tag: D237
data_type: string
name: read_data
arguments: data_tag: D110
data_type: string
name: read_data
arguments: data_tag: D43
data_type: string
name: read_data
arguments: data_tag: D194
data_type: string
name: read_data
arguments: data_tag: D185
data_type: string
name: read_data
arguments: data_tag: D95
data_type: string
name: read_data
arguments: data_tag: D35
data_type: string
name: read_data
arguments: data_tag: D140
data_type: string
name: read_data
arguments: data_tag: D164
data_type: string
name: read_data
arguments: data_tag: D207
data_type: string

tool: D98: 

 %s Benchmark Completed


tool: D133:  Class           =                        %c


tool: D69:  Size            =             %12ld


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


tool: D94:  Iterations      =             %12d


tool: D103:  Time in seconds =             %12.2f


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


tool: D170:  Operation type  = %24s


tool: D108:  Verification    =            NOT PERFORMED

tool: D174:  Verification    =               SUCCESSFUL

tool: D160:  Verification    =             UNSUCCESSFUL

tool: D73:  Version         =             %12s


tool: D226:  Compile date    =             %12s


tool: D163: 
 Compile options:

tool: D237:     CC           = %s


tool: D110:     CLINK        = %s


tool: D43:     C_LIB        = %s


tool: D194:     C_INC        = %s


tool: D185:     CFLAGS       = %s


tool: D95:     CLINKFLAGS   = %s


tool: D35: 


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


tool: D164:  NPB Development Team

tool: D207:  npb@nas.nasa.gov


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");
}
```