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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %rsi,-0x40(%rbp)
  cmpl   $0x1,-0x34(%rbp)
  jle    L95
  mov    -0x40(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  jmp    L12
L95:
  mov    $0x3e8,%eax
L12:
  mov    %eax,-0x1c(%rbp)
  cmpl   $0x2,-0x34(%rbp)
  jle    L44
  mov    -0x40(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  jmp    L19
L44:
  mov    $0x64,%eax
L19:
  mov    %eax,-0x18(%rbp)
  cmpl   $0x3,-0x34(%rbp)
  jle    L27
  mov    -0x40(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  jmp    L113
L27:
  mov    $0x3e8,%eax
L113:
  mov    %eax,-0x14(%rbp)
  cmpl   $0x4,-0x34(%rbp)
  jle    L29
  mov    -0x40(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  jmp    L28
L29:
  mov    $0x64,%eax
L28:
  mov    %eax,-0x10(%rbp)
  mov    $0x0,%eax
  call   <omp_get_max_threads@plt>
  mov    %eax,%esi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x10(%rbp),%esi
  mov    -0x14(%rbp),%ecx
  mov    -0x18(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  mov    %esi,%r8d
  mov    %eax,%esi
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  jmp    L104
L10:
  mov    -0x24(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  jmp    L63
L111:
  mov    -0x20(%rbp),%edx
  mov    -0xc(%rbp),%ecx
  mov    -0x24(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <dgemm_gflops@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rcx
  mov    -0x20(%rbp),%edx
  mov    -0x24(%rbp),%eax
  movq   %rcx,%xmm0
  mov    %eax,%esi
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x10(%rbp),%eax
  add    %eax,-0x20(%rbp)
L63:
  mov    -0x20(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jle    L111
  mov    -0x18(%rbp),%eax
  add    %eax,-0x24(%rbp)
L104:
  mov    -0x24(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jle    L10
  mov    $0x0,%eax
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: tag: D0
datatype: string
name: retrieve_data
arguments: tag: D15
datatype: string
name: retrieve_data
arguments: tag: D19
datatype: string

tool: D0: testing DGEMM %d threads 


tool: D15: maxm=%d, incm=%d, maxk=%d, inck=%d


tool: D19: m=n=%5d, k=%5d = %lf GF/s 


assistant: ```c
int main(int argc, char *argv[]) {
  int maxm = (argc > 1) ? atoi(argv[1]) : 1000;
  int incm = (argc > 2) ? atoi(argv[2]) : 100;
  int maxk = (argc > 3) ? atoi(argv[3]) : 1000;
  int inck = (argc > 4) ? atoi(argv[4]) : 100;
  printf("testing DGEMM %d threads \n", omp_get_max_threads());
  printf("maxm=%d, incm=%d, maxk=%d, inck=%d\n", maxm, incm, maxk, inck);
  for (int m = incm; m <= maxm; m += incm) {
    int n = m;
    for (int k = inck; k <= maxk; k += inck) {
      double eff_peak = dgemm_gflops(m, n, k);
      printf("m=n=%5d, k=%5d = %lf GF/s \n", m, k, eff_peak);
    }
  }
  return 0;
}
```