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

```asm
<print_aft_stats_linear_mba>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x60,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  test   %esi,%esi
  jle    L96
  mov    %rdi,%r12
  mov    %esi,%r13d
  lea    0x20(%rsp),%rbp
  lea    0x4c(%rsp),%rcx
  mov    %rbp,%rax
L101:
  movl   $0x0,(%rax)
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L101
  mov    %rdx,%rbx
  lea    -0x1(%r13),%eax
  shl    $0x4,%rax
  lea    0x10(%rdx,%rax,1),%r14
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x18(%rsp)
  movsd  D1(%rip),%xmm4
  movsd  %xmm4,0x10(%rsp)
  jmp    L32
L93:
  addl   $0x1,0x48(%rsp)
L108:
  movsd  0x18(%rsp),%xmm3
  addsd  0x8(%rsp),%xmm3
  movsd  %xmm3,0x18(%rsp)
  add    $0x10,%rbx
  cmp    %r14,%rbx
  je     L68
L32:
  mov    0x8(%rbx),%ecx
  mov    0x4(%rbx),%edx
  mov    0xc(%rbx),%r8d
  mov    (%rbx),%esi
  mov    %r12,%rdi
  call   <aft_tetra_qual_mba@plt>
  movsd  %xmm0,0x8(%rsp)
  movapd %xmm0,%xmm2
  minsd  0x10(%rsp),%xmm2
  movsd  %xmm2,0x10(%rsp)
  pxor   %xmm6,%xmm6
  comisd %xmm0,%xmm6
  jae    L93
  movsd  0x8(%rsp),%xmm5
  comisd D1(%rip),%xmm5
  jbe    L35
  addl   $0x1,0x44(%rsp)
  jmp    L108
L35:
  movsd  0x8(%rsp),%xmm0
  mulsd  D87(%rip),%xmm0
  call   <ceil@plt>
  sub    $0x1,%eax
  cltq
  addl   $0x1,0x20(%rsp,%rax,4)
  jmp    L108
L68:
  pxor   %xmm6,%xmm6
  cvtsi2sd %r13d,%xmm6
  movsd  %xmm6,0x8(%rsp)
  movapd %xmm3,%xmm0
  divsd  %xmm6,%xmm0
  lea    D0(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x48(%rsp),%r14d
  mov    %r14d,%esi
  lea    D13(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x28(%rbp),%r12
  mov    %rbp,%rbx
  lea    D74(%rip),%r13
L73:
  mov    (%rbx),%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  cmp    %rbx,%r12
  jne    L73
  mov    $0xa,%edi
  call   <putchar@plt>
  movsd  0x10(%rsp),%xmm0
  lea    D60(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %r14d,%xmm0
  mulsd  D4(%rip),%xmm0
  divsd  0x8(%rsp),%xmm0
  lea    D62(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D37(%rip),%rbx
L31:
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x0(%rbp),%xmm0
  mulsd  D4(%rip),%xmm0
  divsd  0x8(%rsp),%xmm0
  mov    %rbx,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x4,%rbp
  cmp    %rbp,%r12
  jne    L31
  mov    $0xa,%edi
  call   <putchar@plt>
L96:
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L8
  mov    $0x0,%eax
  add    $0x60,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L8:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D1
type_guessed: f64[2]
name: disassemble_data
arguments: data_label: D87
type_guessed: f32[2]
name: disassemble_data
arguments: data_label: D0
type_guessed: string
name: disassemble_data
arguments: data_label: D13
type_guessed: string
name: disassemble_data
arguments: data_label: D74
type_guessed: string
name: disassemble_data
arguments: data_label: D60
type_guessed: string
name: disassemble_data
arguments: data_label: D4
type_guessed: f64
name: disassemble_data
arguments: data_label: D62
type_guessed: string
name: disassemble_data
arguments: data_label: D37
type_guessed: string

tool: {"D1": [1.0,10.0]}

tool: {"D87": [0.0,2.5625]}

tool: D0: [mba] QS: q_avg: %12.8le  

tool: D13:  ## %6d # 

tool: D74:  %6d 

tool: D60: [mba]     q_min: %12.8le  

tool: D4: 100

tool: D62:  ## %6.2lf # 

tool: D37:  %6.2lf 

assistant: ```c
int print_aft_stats_linear_mba(double *vertex, int nt, int *tetra) {
  double q, worst, qs;
  int stat[11], i;
  if (nt < 1)
    return 0;
  for (i = 0; i < 11; i++)
    stat[i] = 0;
  worst = 1.0, qs = 0.0;
  for (i = 0; i < nt; i++) {
    q = aft_tetra_qual_mba(vertex, tetra[4 * i + 0], tetra[4 * i + 1], tetra[4 * i + 2], tetra[4 * i + 3]);
    if (q < worst)
      worst = q;
    if (q <= 0.0)
      stat[10]++;
    else if (q > 1.0)
      stat[9]++;
    else
      stat[(int)ceil(q * 10) - 1]++;
    qs += q;
  }
  qs /= nt;
  printf("[mba] QS: q_avg: %12.8le  ", qs);
  printf(" ## %6d # ", stat[10]);
  for (i = 0; i < 10; i++)
    printf(" %6d ", stat[i]);
  printf("\n");
  printf("[mba]     q_min: %12.8le  ", worst);
  printf(" ## %6.2lf # ", 100.0 * stat[10] / nt);
  for (i = 0; i < 10; i++)
    printf(" %6.2lf ", 100.0 * stat[i] / nt);
  printf("\n");
  return 0;
}
```