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

```asm
<permute_print_info>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  cmp    $0x1,%edi
  jle    L8
  mov    %esi,%r14d
  mov    %edx,%r13d
  mov    %ecx,%r12d
  mov    %r8d,%ebp
  mov    %r9d,%ebx
  lea    D40(%rip),%rdi
  call   <puts@plt>
  mov    %r14d,%esi
  lea    D33(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r13d,%esi
  lea    D120(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r12d,%esi
  lea    D2(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x38(%rsp),%esi
  lea    D78(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x40(%rsp),%esi
  lea    D110(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x48(%rsp),%esi
  lea    D133(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D63(%rip),%rdi
  call   <puts@plt>
  mov    %ebp,%esi
  lea    D12(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D50(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x30(%rsp),%esi
  lea    D3(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x50(%rsp),%esi
  lea    D126(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x58(%rsp),%esi
  lea    D119(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x60(%rsp),%esi
  lea    D55(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L11:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L8:
  lea    D123(%rip),%rdi
  call   <puts@plt>
  jmp    L11
```

tool_calls: name: unpack_data
arguments: label: D40
data_type: string
name: unpack_data
arguments: label: D33
data_type: string
name: unpack_data
arguments: label: D120
data_type: string
name: unpack_data
arguments: label: D2
data_type: string
name: unpack_data
arguments: label: D78
data_type: string
name: unpack_data
arguments: label: D110
data_type: string
name: unpack_data
arguments: label: D133
data_type: string
name: unpack_data
arguments: label: D63
data_type: string
name: unpack_data
arguments: label: D12
data_type: string
name: unpack_data
arguments: label: D50
data_type: string
name: unpack_data
arguments: label: D3
data_type: string
name: unpack_data
arguments: label: D126
data_type: string
name: unpack_data
arguments: label: D119
data_type: string
name: unpack_data
arguments: label: D55
data_type: string
name: unpack_data
arguments: label: D123
data_type: string

tool: D40: lib_vio> Map parameters BEFORE selected axis permutation: 

tool: D33: lib_vio>       NC = %8d  (# columns)


tool: D120: lib_vio>       NR = %8d  (# rows)


tool: D2: lib_vio>       NS = %8d  (# sections)


tool: D78: lib_vio>  NCSTART = %8d  (index of first column, counting from 0)


tool: D110: lib_vio>  NRSTART = %8d  (index of first row, counting from 0)


tool: D133: lib_vio>  NSSTART = %8d  (index of first section, counting from 0)


tool: D63: lib_vio> Map parameters AFTER selected axis permutation: 

tool: D12: lib_vio>       NX = %8d  (# X fields)


tool: D50: lib_vio>       NY = %8d  (# Y fields)


tool: D3: lib_vio>       NZ = %8d  (# Z fields)


tool: D126: lib_vio>  NXSTART = %8d  (X index of first voxel, counting from 0)


tool: D119: lib_vio>  NYSTART = %8d  (Y index of first voxel, counting from 0)


tool: D55: lib_vio>  NZSTART = %8d  (Z index of first voxel, counting from 0)


tool: D123: lib_vio> C,R,S = X,Y,Z (no axis permutation). 

assistant: ```c
void permute_print_info(int ordermode, unsigned nc, unsigned nr, unsigned ns, unsigned nx, unsigned ny, unsigned nz, int ncstart, int nrstart, int nsstart, int nxstart, int nystart, int nzstart) {
  if (ordermode > 1) {
    printf("lib_vio> Map parameters BEFORE selected axis permutation: \n");
    printf("lib_vio>       NC = %8d  (# columns)\n", nc);
    printf("lib_vio>       NR = %8d  (# rows)\n", nr);
    printf("lib_vio>       NS = %8d  (# sections)\n", ns);
    printf("lib_vio>  NCSTART = %8d  (index of first column, counting from 0)\n", ncstart);
    printf("lib_vio>  NRSTART = %8d  (index of first row, counting from 0)\n", nrstart);
    printf("lib_vio>  NSSTART = %8d  (index of first section, counting from 0)\n", nsstart);
    printf("lib_vio> Map parameters AFTER selected axis permutation: \n");
    printf("lib_vio>       NX = %8d  (# X fields)\n", nx);
    printf("lib_vio>       NY = %8d  (# Y fields)\n", ny);
    printf("lib_vio>       NZ = %8d  (# Z fields)\n", nz);
    printf("lib_vio>  NXSTART = %8d  (X index of first voxel, counting from 0)\n", nxstart);
    printf("lib_vio>  NYSTART = %8d  (Y index of first voxel, counting from 0)\n", nystart);
    printf("lib_vio>  NZSTART = %8d  (Z index of first voxel, counting from 0)\n", nzstart);
  } else {
    printf("lib_vio> C,R,S = X,Y,Z (no axis permutation). \n");
  }
}
```