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

```asm
<imprime_tiempos>:
  endbr64
  push   %r14
  mov    %edi,%eax
  push   %r13
  mov    %r9,%r13
  push   %r12
  mov    %rcx,%r12
  push   %rbp
  mov    %r8d,%ebp
  push   %rbx
  mov    %edx,%ebx
  sub    $0x10,%rsp
  cmp    $0x5,%eax
  ja     L30
  lea    D102(%rip),%rdx
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  test   %esi,%esi
  notrack jmp *%rax
  nopl   (%rax)
  je     L92
  lea    D27(%rip),%rdi
  call   <puts@plt>
  nopw   0x0(%rax,%rax,1)
L30:
  test   %ebp,%ebp
  js     L24
  pxor   %xmm4,%xmm4
  lea    D40(%rip),%r14
  cvtsi2sd %ebx,%xmm4
  xor    %ebx,%ebx
  movsd  %xmm4,0x8(%rsp)
  nopl   0x0(%rax,%rax,1)
L8:
  mov    0x0(%r13,%rbx,4),%esi
  pxor   %xmm1,%xmm1
  movsd  (%r12,%rbx,8),%xmm0
  mov    %r14,%rdi
  divsd  0x8(%rsp),%xmm0
  movapd %xmm0,%xmm2
  mov    $0x2,%eax
  add    $0x1,%rbx
  cvtsi2sd %esi,%xmm1
  divsd  %xmm1,%xmm2
  movapd %xmm2,%xmm1
  call   <printf@plt>
  cmp    %ebx,%ebp
  jge    L8
L24:
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopw   0x0(%rax,%rax,1)
  je     L90
  lea    D124(%rip),%rdi
  call   <puts@plt>
  jmp    L30
  je     L195
  lea    D122(%rip),%rdi
  call   <puts@plt>
  jmp    L30
  nopl   0x0(%rax,%rax,1)
  je     L103
  lea    D115(%rip),%rdi
  call   <puts@plt>
  jmp    L30
  nop
  je     L35
  lea    D121(%rip),%rdi
  call   <puts@plt>
  jmp    L30
  nopl   0x0(%rax,%rax,1)
  je     L86
  lea    D69(%rip),%rdi
  call   <puts@plt>
  jmp    L30
L90:
  lea    D30(%rip),%rdi
  call   <puts@plt>
  jmp    L30
L86:
  lea    D73(%rip),%rdi
  call   <puts@plt>
  jmp    L30
L195:
  lea    D91(%rip),%rdi
  call   <puts@plt>
  jmp    L30
L92:
  lea    D96(%rip),%rdi
  call   <puts@plt>
  jmp    L30
L103:
  lea    D59(%rip),%rdi
  call   <puts@plt>
  jmp    L30
L35:
  lea    D52(%rip),%rdi
  call   <puts@plt>
  jmp    L30
```

tool_calls: name: unpack_data
arguments: label: D27
datatype: string
name: unpack_data
arguments: label: D40
datatype: string
name: unpack_data
arguments: label: D124
datatype: string
name: unpack_data
arguments: label: D122
datatype: string
name: unpack_data
arguments: label: D115
datatype: string
name: unpack_data
arguments: label: D121
datatype: string
name: unpack_data
arguments: label: D69
datatype: string
name: unpack_data
arguments: label: D30
datatype: string
name: unpack_data
arguments: label: D73
datatype: string
name: unpack_data
arguments: label: D91
datatype: string
name: unpack_data
arguments: label: D96
datatype: string
name: unpack_data
arguments: label: D59
datatype: string
name: unpack_data
arguments: label: D52
datatype: string

tool: D27: COPIA CLASICA

tool: D40: %fus	%i			%f


tool: D124: COMPARACION CLASICA

tool: D122: INSERTADO CON SOBREESCRITURA CLASICA

tool: D115: INSERTADO CLASICO

tool: D121: BORRADO CLASICO

tool: D69: CONCATENADO CLASICO

tool: D30: COMPARACION

tool: D73: CONCATENADO

tool: D91: INSERTADO CON SOBREESCRITURA

tool: D96: COPIA

tool: D59: INSERTADO

tool: D52: BORRADO

assistant: ```c
void imprime_tiempos(int type, int clasic, int iter, double *time, int tam_time, int *tam) {
  int i;
  switch (type) {
  case 0:
    (clasic) ? printf("INSERTADO CLASICO\n") : printf("INSERTADO\n");
    break;
  case 1:
    (clasic) ? printf("BORRADO CLASICO\n") : printf("BORRADO\n");
    break;
  case 2:
    (clasic) ? printf("COPIA CLASICA\n") : printf("COPIA\n");
    break;
  case 3:
    (clasic) ? printf("CONCATENADO CLASICO\n") : printf("CONCATENADO\n");
    break;
  case 4:
    (clasic) ? printf("COMPARACION CLASICA\n") : printf("COMPARACION\n");
    break;
  case 5:
    (clasic) ? printf("INSERTADO CON SOBREESCRITURA CLASICA\n") : printf("INSERTADO CON SOBREESCRITURA\n");
    break;
  }
  for (i = 0; i <= tam_time; i++)
    printf("%fus\t%i\t\t\t%f\n", time[i] / iter, tam[i], (time[i] / iter) / tam[i]);
}
```