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

```asm
<tabPrintTransform>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,0x14(%rsp)
  mov    %ecx,0x10(%rsp)
  test   %edi,%edi
  je     L81
  mov    %esi,%r12d
  mov    %rdx,%rbx
  test   %esi,%esi
  je     L81
  mov    0x10(%rsp),%esi
  lea    D84(%rip),%rdi
  mov    $0x0,%eax
  call   <tabprintf@plt>
  mov    0x14(%rsp),%edx
  test   %edx,%edx
  jle    L106
  movslq %r12d,%rax
  shl    $0x3,%rax
  mov    %rax,0x18(%rsp)
  mov    %rbx,0x8(%rsp)
  movl   $0x0,(%rsp)
  lea    D29(%rip),%r15
  lea    D7(%rip),%rbp
  lea    -0x1(%rdx),%eax
  mov    %eax,0x4(%rsp)
  jmp    L55
L81:
  mov    0x10(%rsp),%esi
  lea    D35(%rip),%rdi
  mov    $0x0,%eax
  call   <tabprintf@plt>
  jmp    L67
L18:
  lea    D31(%rip),%rdx
  lea    D43(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %r13,%rbx
  je     L23
L100:
  movsd  (%r14,%rbx,8),%xmm0
  movmskpd %xmm0,%eax
  test   $0x1,%al
  mov    %rbp,%rsi
  cmovne %r15,%rsi
  lea    -0x1(%r12),%eax
  mov    %rbp,%rcx
  cmp    %ebx,%eax
  jne    L18
  mov    (%rsp),%edx
  cmp    %edx,0x4(%rsp)
  lea    D52(%rip),%rcx
  cmove  %r15,%rcx
  jmp    L18
L23:
  mov    (%rsp),%ebx
  cmp    %ebx,0x4(%rsp)
  lea    D48(%rip),%rsi
  lea    D82(%rip),%rax
  cmovne %rax,%rsi
  lea    D93(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x10(%rsp),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <tabprintf@plt>
  add    $0x1,%ebx
  mov    %ebx,(%rsp)
  mov    0x18(%rsp),%rdx
  add    %rdx,0x8(%rsp)
  cmp    %ebx,0x14(%rsp)
  je     L106
L55:
  mov    0x8(%rsp),%r14
  mov    %r12d,%r13d
  mov    $0x0,%ebx
  test   %r12d,%r12d
  jg     L100
  jmp    L23
L106:
  mov    $0xa,%edi
  call   <putchar@plt>
L67:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D84
data_type: string
name: retrieve_data
arguments: data_label: D29
data_type: string
name: retrieve_data
arguments: data_label: D7
data_type: string
name: retrieve_data
arguments: data_label: D35
data_type: string
name: retrieve_data
arguments: data_label: D31
data_type: string
name: retrieve_data
arguments: data_label: D43
data_type: string
name: retrieve_data
arguments: data_label: D52
data_type: string
name: retrieve_data
arguments: data_label: D48
data_type: string
name: retrieve_data
arguments: data_label: D82
data_type: string
name: retrieve_data
arguments: data_label: D93
data_type: string

tool: D84: [

tool: 

tool: D7:  

tool: 

tool: D31: 	

tool: D43: %s%.3lf%s%s

tool: D52: ;

tool: D48: ]


tool: D82: 
 

tool: D93: %s

assistant: ```c
void tabPrintTransform(int r, int c, double M[r][c], int indent) {
  if (r == 0 || c == 0) {
    tabprintf("[]\n", indent);
    return;
  }
  tabprintf("[", indent);
  for (int i = 0; i < r; i++) {
    for (int j = 0; j < c; j++) {
      char *pre = signbit(M[i][j]) ? "" : " ";
      char *post1 = "\t";
      char *post2 = (j == (c - 1)) ? (i == (r - 1)) ? "" : ";" : " ";
      printf("%s%.3lf%s%s", pre, M[i][j], post1, post2);
    }
    printf("%s", (i == (r - 1)) ? "]\n" : "\n ");
    tabprintf(" ", indent);
  }
  printf("\n");
}
```