user: Translate the below assembly code into C programming language:

```asm
<printTable>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%r12
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  mov    $0x2,%esi
  lea    D7(%rip),%rdi
  call   <printf@plt>
  lea    D17(%rip),%rdi
  call   <puts@plt>
  movq   $0x0,(%rsp)
  movq   $0x0,0x8(%rsp)
  movq   $0x0,0x10(%rsp)
  add    $0x30,%r12
  mov    $0x0,%r15d
  mov    $0x1,%r14d
  lea    D60(%rip),%r13
L3:
  lea    -0x18(%r12),%rcx
  mov    $0x4,%eax
  mov    $0x0,%ebp
L27:
  mov    (%rcx,%rax,1),%edx
  add    %edx,(%rsp,%rax,1)
  add    %edx,%ebp
  add    $0x4,%rax
  cmp    $0x18,%rax
  jne    L27
  add    %ebp,%r15d
  mov    %r14d,%esi
  lea    D72(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x14(%r12),%rbx
L42:
  mov    (%rbx),%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  cmp    %r12,%rbx
  jne    L42
  mov    %ebp,%esi
  lea    D3(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%r14d
  add    $0x18,%r12
  cmp    $0x5,%r14d
  jne    L3
  lea    D11(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rsp,%rbx
  lea    0x14(%rsp),%r12
  lea    D60(%rip),%rbp
L26:
  mov    0x4(%rbx),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  cmp    %rbx,%r12
  jne    L26
  mov    %r15d,%esi
  lea    D3(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L49
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L49:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D7
type_guessed: string
name: retrieve_data
arguments: label: D17
type_guessed: string
name: retrieve_data
arguments: label: D60
type_guessed: string
name: retrieve_data
arguments: label: D72
type_guessed: string
name: retrieve_data
arguments: label: D3
type_guessed: string
name: retrieve_data
arguments: label: D11
type_guessed: string

tool: D7: 
=== Sales Information table for the last %d days ===



tool: D17: SP No	Prod 1	Prod 2	Prod 3	Prod 4	Prod 5	 TOTAL

tool: D60: 	%6d

tool: D72: %5d

tool: D3: 	%6d


tool: D11: 
TOTAL

assistant: ```c
void printTable(int sales[][6]) {
  printf("\n=== Sales Information table for the last %d days ===\n\n", 2);
  printf("SP No\tProd 1\tProd 2\tProd 3\tProd 4\tProd 5\t TOTAL\n");
  int salesperson, product;
  int prodTotals[6] = {0};
  int salesPersonTotal = 0;
  int allSales = 0;
  for (salesperson = 1; salesperson < 5; salesperson++) {
    salesPersonTotal = 0;
    for (product = 1; product < 6; product++) {
      prodTotals[product] += sales[salesperson][product];
      salesPersonTotal += sales[salesperson][product];
    }
    allSales += salesPersonTotal;
    printf("%5d", salesperson);
    for (product = 1; product < 6; product++) {
      printf("\t%6d", sales[salesperson][product]);
    }
    printf("\t%6d\n", salesPersonTotal);
  }
  printf("\nTOTAL");
  for (product = 1; product < 6; product++) {
    printf("\t%6d", prodTotals[product]);
  }
  printf("\t%6d\n", allSales);
}
```